#modules

1 messages · Page 528 of 1

vale salmon
#

I can try. DM me?

placid osprey
#

Even tried with pwnbox as well, same result. What am i doing wrong? nmap 134.209.17.29 -sC -sV -Pn works perfectly on starting points machines but not on this specific section in academy

west canopy
#

@placid osprey try just navigating to the ip:port in your browser. Typically nmap scans arent helpful against docker targets

sharp torrent
#

Anyone can assist w/ Windows Privilege Escalation module with DNSAdmins group ? I'm unable to restart the dns service :/

west canopy
#

@sharp torrent this section took me several tries to get it right, i don't really have any other suggestions besides going through the section very slowly. Make sure you are using cmd and not powershell, etc. I had to use a reverse shell dll in order to get the flag

sharp torrent
#

ahhhh, okay, i'll give cmd a shot, thanks.

#

got it 🙂

west canopy
#

nice work

warm shadow
#

Yo im stucked in SMTP module - question "Enumerate the SMTP service even further and find the username that exists on the system. Submit it as the answer.". I enumerated by nmap andf i got result

"| smtp-enum-users:
| root
| admin
| administrator
| webadmin
| sysadmin
| netadmin
| guest
| user
| web
|_ test"

#

but nothing is correct

#

can somebody help me?

west canopy
#

@warm shadow try using ||smtp_enum in metasploit||

noble dune
#

Thanks

quiet halo
#

I'm doing the Windows Privilege Escalation Module and for a task, I need to run accesschk.exe and PipeList.exe. I get an error for both. Is there a folder where these to programs are installed?

west canopy
#

@quiet halo check C:\Tools\

quiet halo
warm shadow
#

THREADS in options are important?

leaden quail
#

HI, im stuck at the Web Service & API Attacks - Skills Assessment, can someone help

#

just get the response "Missing SoapAction header"

mystic perch
#

How can I fix this for the XSS module. I can't listen to port 80.

leaden quail
#

dont use port 80

#

you should always use ports < 1023 for custom stuff

mystic perch
#

yeah i did thx

rapid pine
#

hey all, working on cross-forest kerberoasting from linux in the AD enum module and keep getting "Temporary failure in name resolution" when running GetUserSPNs.py; I've tried specifying nameservers for both domains in resolv.conf and it didn't seem to help. any help?

main scarab
#

Hey, has anyone finished the Knowledge Check on Getting Started? I'm stuck on the second half, I'm able to get a foothold just fine but I'm afraid I'm not sure where to go for privilige escalation. I'm not sure what to do with the info gained from LinEnum or sudo -l. I'm afraid I don't know what to do with GTFObins either.

devout vector
#

hey im working on the LFI Module i was able to find the answer to the first question but im unable to traverse paths because the webpage doesnt really give me any clue on the directory im in can someone help

devout vector
#

@main scarab DM me

main scarab
#

@devout vector Ah apologies. Turns out I was ||using the GTFO commands incorrectly before running the php shell||

tawny rain
#

hi everyone

main scarab
#

but ty!!

tawny rain
#

in windows fundamentals module,the target is not responding with ping command

#

do you know any solutions for this problem.Thanks

#

also it wont work using ssh protocol

modest token
#

Has anyone finished the Footprinting module? I'm stuck on the last question in the IMAP/POP3 section: Q: Try to access the emails on the IMAP server and submit the flag as the answer. (Format: HTB{...}) --- This is what I've done, I've added the IMAP server along with robin's username and creds to thunderbird, but I get an empty mailbox. Then I used the openssl s_client command to connect to the IMAP server from them command line I found 1 email in one of the inboxes, subject of the email is ||flag || but its blank! I'm really stuck on this one. Can someone give me some advise?

main scarab
tawny rain
tawny rain
undone girder
#

Im tackling the SQL Injections Fundamentals and im stuck at the writing a file section the exercise im supposed to write a web shell to find the flag but after succesfully injecting a web shell dont know how to proceed.Any tips..

west canopy
#

@modest token DM me 🙂

placid osprey
normal marsh
normal marsh
solid ravine
#

Help I’m stuck in the web request module- specifically with the first challenge. I can’t seem to figure out how to get the flag using curl to download the file returned by ‘/download.php’ in the server. I tried curl “ip address:port” / download.php … I’ve tried curl “ip address “/download.php … and a dozen other ways. I can download a file named “download.php “ but it doesn’t have a flag in it

normal marsh
#

curl -o

solid ravine
#

Tried that and didn’t come back with a flag

normal marsh
#

Oooh, nevermind. Let me think...

solid ravine
#

It’s been killing my brain. I’m not even sure if this flag will come back looking like previous ones (bunch o letters and numbers)

west canopy
#

@solid ravine just need to curl the download.php URI

solid ravine
#

That’s what I did. So is the flag the is the damn name next to HTB?! Seriously? I was thinking it would be letters and numbers similar to the machine challenges.

#

Tricky tricky tricky

west canopy
#

Yea sometimes it will just be a hash, other times it will be a phrase in leetspeak

solid ravine
#

Thank you for the help! Sincerely appreciate! I was pulling out my hair haha

errant lava
#

Stuck on the knowledge check of the Junior pen test… I was able to get a foot-hole but I am having a hard time now… I see my user has access to run ||sudo in usr/bin/php|| plz help

west canopy
normal laurel
#

could someone assist me with the File Upload Attacks Module, Type Filters Section please?
Question: The above server employs Client-Side, Blacklist, Whitelist, Content-Type, and MIME-Type filters to ensure the uploaded file is an image. Try to combine all of the attacks you learned so far to bypass these filters and upload a PHP file and read the flag at "/flag.txt"

west canopy
#

@normal laurel DM me 🙂

normal laurel
devout vector
#

can someone help me with LFI PHP Filters i found the php file that they want but idk how to read it

polar widget
#

Atom is typing

#

Our saviour

#

Among with Jared and Bunny

vital adder
vital adder
austere pendant
#

Good evening anyone available for a chat on Firewall IDS/IPS evasion hard lab

#

im so close i know it lol

west canopy
#

@austere pendant sure

austere pendant
#

hi there and thank you

west canopy
#

did you find ||the "hidden" port?||

austere pendant
#

@west canopy scanned it and two ports are open 80 and 22

west canopy
#

try doing ||an all ports scan and set your source port to be something trusted||

austere pendant
#

im doing a -sU scan now did a nmap -p- and 22 and 80 were open

#

ok so use source port as 22

west canopy
#

try 53

austere pendant
#

ok thank you brb

west canopy
#

to make it look like you are DNS 🙂

austere pendant
#

example nmap -p- -g53

#

target ip?

#

i found the hidden service lol

#

now i nc to it right

vital adder
#

Hi, I just finished the Pivoting, Tunneling, and Port Forwarding module Skills Assessment and I'm a bit confused with the last question why is the drive that has the flag on the Domain Controller mounted on the ||workstation from question 6?|| Is that intended? And why? Shouldn't you need to pwned the Domain Controller to get the flag?

austere pendant
#

@west canopythank you i solved it lol i appreciate this communityt

vale salmon
#

Could someone give me a nudge on finding the ldapadmin password for the Windows Priv Esc Skills Assessment Part I? I have elevated privileges and have answered all the other questions, but this one is eluding me. I've used findstr and tried going through files, but no luck.

west canopy
#

@vale salmon i was able to get it with findstr

vale salmon
#

Ah found it. Not the wrong parameters, but looking from the wrong base location. Lol. Thanks.

austere pendant
#

/rank

uncut mirage
#

Hi, I'm already stuck in the Default Credentials section of the Borken authentication module. I've been fuzzing/bruteforcing the page with Zap and Ffuf using the mentioned CIRT lists for both username and password. I've tried various other default credential/password lists from the SecLists dir, in addidtion to that I've also tried a few custom lists, all without any luck. DM me please, many thanks!

random kettle
#

Password Attacks: Kira's zip and ||Will bak's|| files are taking forever to crack the hashes, any sanity check?

vital adder
vital adder
random kettle
summer lava
#

I'm kinda wonder if girls, ever hack ? anyone here ?

polar widget
#

Anyone who's doing bug bounty hunter pathway

#

I need a company
Couldn't get much time these days and it has exhausted me

#

So wanna continue it

full mica
#

Hello, I am stuck for quite some time on the last question of Attacking Active Directory - Skills Assessment 1.
I have the credentials for user TPY.
I copied Mimikatz over to MS01 and tried to use “lsadump::dcsync” and the NTLM hash for user TB
* to pull of the DCSync attack on MS01 via Powershell remoting.
However, I am getting an RPC error message:

"ERROR kull_m_rpc_drsr_getDCBind ; RPC Exception 0x00000005 (5)"

I also tried to perform the DCSync-Attack using Impacket (wmiexec.py and secretsdump.py). However, the 10.X.X.X network of our Kali Box can only reach out to the Winweb Server that served us as entry point into the network. MS01 and Domain Controller are located in 172.X.X.X. Is there any other way to reach out to the DC from Linux?

I have tried Impacket’s secretsdump, wmiexec, psexec, evil-winrm... against the winweb-server without any success.

spare condor
#

did you resolve this? I have the same problem (btw I think the format is correct)

#

@sly nebula Can I DM you?

vital adder
#

@spare condor shoot me a DM if you still need help and pls don't spam people twice

iron plaza
#

Can anyone DM or point me in the right direction for Basic Bypasses in File Inclusion module? I am stuck at "The above web application employs more than one filter to avoid LFI exploitation. Try to bypass these filters to read /flag.txt" tried to path encoding and null bytes but did not get anywhere.

vital adder
iron plaza
#

should I keep adding more before the flag?

vital adder
iron plaza
undone crescent
#

Is anyone else unable to connect to any machines via pwnbox or vpn I can only ping them and that’s it

full mica
#

Happens for me on a regular basis. Try resetting the VPN

undone crescent
full mica
#

I contacted support numerous times. They never were of any help. After resetting waiting, trying again it worked at some point

full mica
strange aspen
#

can someone help me with the nmap hard lab?

random kettle
#

Anyone completed PA hard lab mind dm'ing me? ||VHD||

rustic sage
#

Hey!

Attacking Common Services - Attacking DNS section. It's not clear what the answer should be submitted. I did all the enumeration using several tools but it's not clear what to submit?

vale salmon
full mica
#

even better!

normal laurel
#

Good Day,
could someone assist me in DMs with the Skills Assessment Question for File Upload Attacks?

austere pendant
#

@strange aspengood morning i can help you

warm shadow
#

"Enumerate the custom script that is running on the system and submit its output as the answer."

My ideas ran out, any hints to this? SNMP module

#

i tried snmpwalk / braa / onesixtyone (with few SNMP diciotaries) but i can't find that script

rustic sage
warm shadow
#

geez im not too patient - found that

#

thx 🙂

devout vector
#

can someone give me a hint for LFI RCE for PHP Wrapperss

strange aspen
#

Footprinting/imappop3 can someone give me a hint? What is the admin email address?

strange aspen
#

Footprinting/imap+pop3 can someone give me a hint? What is the admin email address?

west canopy
#

@strange aspen DM me

shut owl
#

Could I get some help with Active Subdomain Enumeration in Information Gathering - Web Edition? I've been stuck for about a day and what I feel like should be simpler than it should.

undone crescent
#

can anyone help with Web Service & API Attacks - Skills Assessment please, i cannot find where we are supposed to send the xml to,

rapid pine
#

anyone able to help with AD enumeration & attacks - skills assessment 1?

west canopy
#

@rapid pine sure, where are you stuck?

rapid pine
west canopy
rapid pine
#

@west canopy cool to dm?

west canopy
#

of course 🙂

full mica
#

@west canopy Last question of AD skills assessment 1, can you help me regarding DC sync (see my post above)?

west canopy
#

@full mica i was able to solve it using ||secretsdump.py (authenticating as tpetty) , and then after obtaining the admin hash connected to the smb share (passing the hash)||

full mica
#

Okay, but you cannot reach MS01 from your linux server, just the foothold machine, correct?

west canopy
#

I can interact with all machines on the 172.16.6.0 from my attack machine

#

thanks to meterpreter autoroute + socks proxy

#

and proxychains

tawny rain
#

how to connect using RDP to a windows machine with command line,

west canopy
#

@tawny rain i usually just use xfreerdp

full mica
rustic sage
patent rose
#

Hi @exotic ginkgo , did you get any reply to your message?I think I'm in the same position, I got the filename the folder and the domain. And when I assemble all of that into an URL (that I tested in my browser and which open a nice page with a big "You don't have access!" in the middle), it says "wrong answer". I tried to remove the PORT (because I found that logic for a generic answer), but the same "wrong answer" .... what do they call "full page URL"?

barren stone
#

Am I crazy, or is this just wrong? "NTFS permissions on files and folders in Windows can be managed using the File Explorer GUI under the security tab." -This is mentioned in the awful Windows Fundamental academy that I am finding I have to literally spend a week on each page in order to understand what is kind of going on and seeing other things being just wrong. Why did they even waste time writing that NTFS permissions can be accessed through File Explorer, when 1.) that's wrong, or at least I can't access it through there, but rather 2.) it's just easier to right click and go to properties to the security tab? Again, am I wrong?

barren stone
vital adder
vital adder
patent rose
patent rose
vital adder
normal laurel
#

Good Day,
could someone assist me in DMs with the Skills Assessment Question for the File Upload Attacks module?

vital adder
onyx dust
#

is anybody around who can assist with broken authentication - skills assessment ??

#

i need to know if i am making my password list the right way

west canopy
#

@pulsar pilot sqlmap essentials right? i can try

#

sure

normal laurel
#

How did you solve it?

#

because the function isn't working for me-

chrome obsidian
#

anybody worked on werkzeug, but it didnt have a console to exploit?

vale salmon
#

I'm on Windows Privilege Escalation Skills Assessment Part II. Could someone possibly give me a nudge on the first part? (Finding the iamtheadministrator domain admin account credentials)

woven copper
#

Hey could someone give me a hint on Linux privilege escalation , the flag4
I was able to get it but not on the intended way

rich mulch
distant stream
heady hamlet
#

So I have been working on Attacking Web Apps with ffuf and feels like I have hit a bolder in the road. I have got to Parameter Fuzzing - GET and I am getting nothing. could use a little push in the right direction

deft bough
#

gm guys

#

Can anyone help me

#

couldnt install apache2 on pwnbox

random kettle
#

jr pt path, should be Medusa not Hydra

polar widget
random kettle
#

any hint on Attacking FTP task? non of the provided lists worked for the brute force including making a mutated one. Did extra enum and found another user tried BF'ing it on FTP and still. Would appreciate the help

worthy yoke
#

hi everyone, i am stuck at Command Injection - Skills Assessment module, i found ||"from"|| parameter where move file can inject command, i use ||2470930823.txt%7c%7cwh'oa'mi ||to get username but only getting the message ||"malicius request denied"|| , can someone suggest me about Command Obfuscation ?

slender wagon
#

hello

sick quest
#

Hello guys , I just need any one to correct me if i'm wrong
in this question i've decoded the temp pass first from ||base64|| then ||hex|| and the structure was pretty obvious so i've written the following for the temp pass of the admin ||htbadmin:admin@academy.hackthebox.eu:unbreakable|| and encoded it first to ||hex|| then ||base64|| but it still gives me wrong credits when logging in , am i doing anything wrong ?

carmine lark
#

I'm trying to crack a hash using the following command.
sudo hashcat -a 0 -m 100 hash.txt /opt/useful/SecLists/Passwords/Leaked-Databases/rockyou.txt -r rule.txt
however all i get is the output "exhausted" after only running for a few seconds.My problem is am i forced to believe that hashcat ran through the entire rockyou.txt wordlist in seconds.
anyone have a suggestion

#

i'm trying to crack an SHA1 hash

knotty falcon
# normal laurel How did you solve it?

I solved it using the bash script provided. I had trouble earlier because I was copy/pasting the whole script into the terminal and hadn't realized that the > symbol was just the terminal prompt, and not a part of the script. So you shouldn't be pasting the all the > symbols into your command line --just the contents that follow it. Dumb oversight on my part.

normal laurel
#

Thanks for the info tho

carmine lark
#

Session..........: hashcat
Status...........: Exhausted
Hash.Name........: SHA1
Hash.Target......: 46244749d1e8fb99c37ad4f14fccb601ed4ae283
Time.Started.....: Sat Jul 16 15:40:38 2022 (4 secs)
Time.Estimated...: Sat Jul 16 15:40:42 2022 (0 secs)
Guess.Base.......: File (/opt/useful/SecLists/Passwords/Leaked-Databases/rockyou.txt)
Guess.Queue......: 1/1 (100.00%)
Speed.#1.........: 3443.1 kH/s (0.33ms) @ Accel:1024 Loops:1 Thr:1 Vec:8
Recovered........: 0/1 (0.00%) Digests
Progress.........: 14344384/14344384 (100.00%)
Rejected.........: 0/14344384 (0.00%)
Restore.Point....: 14344384/14344384 (100.00%)
Restore.Sub.#1...: Salt:0 Amplifier:0-1 Iteration:0-1
Candidates.#1....: $HEX[206b6d3831303838] -> $HEX[042a0337c2a156616d6f732103]

hollow shard
#

hello

worthy yoke
#

hi

hollow shard
#

can anyone help me pls

#

im just getting started

west canopy
#

@carmine lark make sure you are using the right rule

worthy yoke
carmine lark
#

You make my life easy @west canopy , thanks man

west canopy
#

lol np

rustic sage
#

Hey, can someone give me a hint in Linux Privilege Escalation? I need to read the flag4.txt. What is the external service that is running on the box? I find only mysql. How can I escalate the privileges on mysql?

west canopy
#

@rustic sage for flag4 we actually want to attack ||Tomcat||

#

@worthy yoke i think your injection point might be a bit off.

rustic sage
#

I get the password and the username for the website which is running on port 8080, there is anything what I can do in this website

west canopy
#

@rustic sage we can use|| msfvenom to create a malicious WAR file , upload to the tomcat server, and catch a reverse shell||

rustic sage
#

something like LFI/RFI ?

worthy yoke
west canopy
#

sec ill DM you

torpid estuary
west canopy
#

@sick quest i might be able to help 1 sec

west canopy
#

@rustic sage DM me

rustic sage
#

hey guys

#

did anyone finished stack-based overflow windows x86

#

im stuck on remote exploitation for 8 hours

#

i made exploit and did everything they asked for but somehow i cant get a reverse shell connection

#

The above server has 'CloudMe' listening on port 8889 Try use the exploit you built to get a reverse shell and read the flag on desktop user?

rich mulch
#

Hi guys,
I am stuck as question 2 (Attacking SMB Services)
Any hints?

sturdy agate
#

Could someone please help me with the Footprinting module? I'm stuck on the last question of the smb section where it asks to submit the full path to the specific share. I've tried entering the path I got from rpcclient netsharegetinfo sambashare, and every linux compatible version of the path I can think of but none of them have worked.

west canopy
#

@rustic sage i might be able to help

#

@sturdy agate make sure you are not|| including the C: drive||

placid quest
#

@sturdy agate start with /

sturdy agate
#

XD facepalm thank you @placid quest and @west canopy ! I was wayy overcomplicating that

vital adder
rich mulch
vital adder
rich mulch
rich mulch
#

thanks

onyx dust
#

Hello. I am working on HTB Academy Module Linux Local Privilege Escalation - Skills Assessment. I have recovered flags 1 - 3. I am struggling on Flag4.txt. I have found the credentials needed to login to an external service. I have found the location of Flag4.txt. However, I do not have the access to use 'cat' on Flag4.txt. I am fairly new to HTB, and the discord community, so if I need to put my question into a different format or include other information, please let me know. If anyone could give me a nudge, or ask me a question to get my brain pointed in a better general direction, on how to recover Flag4.txt, that would be appreciated.

west canopy
#

@onyx dust did you get your shell ||through metasploit , or by using msfvenom to create a WAR file?||

onyx dust
#

Apologies, I am still pretty new, so I may not understand this terminology. (Though I recognize it is embarrassingly basic.) I am logged in as user2 (using an alias for the actual user name to avoid spoilers). So logged in as user2@targethost.

west canopy
#

have you ran nmap against the target?

onyx dust
#

Yes. I see two external services. I am have admin login credentials recovered for one of them, on port 8080.

#

Also, now that I see the rest of the message, I have not used metasploit or msfvenom.

#

I have found several WAR files, however, related to the target external service.

west canopy
#

try logging into ||tomcat and get to a place where you can upload a war file. Then use msfvenom to create a reverse shell war file .||

#

Once you upload it , navigate to it and catch a shell 🙂

onyx dust
#

Thank you. I will take a look at that as a path forward. I will also investigate metasploit to see if I can learn two ways to overcome the challenge. @west canopy , thanks for the advice.

vale salmon
#

So I am working on the Second Skills Assessment for Windows Privilege Escalation and I have tried everything I can think of to find the credentials for the iamtheadministrator admin domain account, but cannot seem to figure out what to do to get it. A nudge in the right direction would be fantastic.

west canopy
#

@vale salmon try using findstr

heady hamlet
#

Is this thing working?

round lagoon
#

ok i'm at the whitelist filters of the file upload. I get the correct extensions and uploaded correctly, but getting File Not Found 😦

devout vector
#

hey guys im trying to finish this part of Try to gain RCE using one of the PHP wrappers and read the flag at / but when i run the command "curl -s -X POST --data '<?php system($_GET["cmd"]); ?>' "http://206.189.26.97:31610/index.php?language=php://input&cmd=cat /" it doesnt work 😢 can someone help me the cmd =id works but the other command doesnt

fossil crescent
devout vector
#

okay i will url encode it

#

thank you

#

@fossil crescent so i tried using url encoding and i end up with an empty result is there anything else i can try

normal laurel
#

Hello could someone assist me with: SERVER-SIDE ATTACKS > SSTI Exploitation Example 1, I executed the os-shell-
but this hidden environment variable is really hidden because I can't find it 😭

vale salmon
#

So, in finishing up the Windows Privilege Escalation Skills Assessment Part II I was able to use pwdump to dump password hashes, but when running them through hashcat, I keep getting separator unmatched. What might cause that? Nevermind. I need more coffee.

light yacht
#

Hey I am having problem with same question could you help me ?

rain marlin
#

I'm having issues in the Windows Fundaminetals module in the "Introduction to Windows" selection at the point where setting the target for RDP command: { xfreerdp /v:<targetIp> /u:htb-student /p:Password} I'm getting errors in the Workstation, one of which is "WARNING: CERTIFICATE NAME MISMATCH! Might anyone know where I may have messed up at or could assist in guiding me in the right direction to resolve this issue?

winged ferry
#

I need help with Type Filters Section in File Upload Attacks Module. I have uploaded the shell but it is showing an error while I try to execute it

austere pendant
#

@rain marlinhi there im having trouble with the same model even after i specified /cert:ignore

devout turtle
#

Hello, I am having trouble in connecting to the academy machines. Host is unreachable even from the VM instance provided. Can anyone help?

heady hamlet
devout turtle
#

if you look at the screenshot on this link you will see what exact error I am having now...

#

it is same if I connect via vpn and my own machine or if I open the vm instance given on the academy website

heady hamlet
#

I can ping the machine so I would suspect it is up

devout turtle
undone girder
acoustic owl
devout turtle
acoustic owl
devout turtle
#

look at the ss for refrence

coarse dove
#

Hi, can you please help me with the LOGIN BRUTE FORCING Skills Assessment web, question 2. I try this : hydra -l user -P /opt/useful/SecLists/Passwords/Default-Credentials/ftp-betterdefaultpasslist.txt -f 206.189.25.173 -s 31216 http-post-form "/login.php:user=^USER^&pass=^PASS^:F=<form name='login'" no wordlist .txt work the parameters ar user=admin&pass=password rockyou, -05, -10, etc. .txt not work. Wath i not see ? I wish you a god day.

acoustic owl
sonic wagon
#

How can i get the IP for academy machines ?

#

I mean..... It's not posted anywhere in the module page.

acoustic owl
sonic wagon
#

Yeah.

#

I understand......

#

I mean in a instance where the time to spawn the box has expired.

#

So i can attack the machine locally by connecting to the VPN.

acoustic owl
#

No, then you have to start a new instance.
Then you can access it again.

sonic wagon
#

It cannot be done though.

#

It says 0/1

#

What is the purpose of the VPN file then.

acoustic owl
# sonic wagon It says 0/1

Oh, you mean the PwnBox.
If you haven't bought any cubes, you can only start it once a day. But you can use a VM instead and then connect via VPN. Then you can reach the target via VPN.

sonic wagon
acoustic owl
sonic wagon
#

That's not the problem.

#

The problem is that the IP for the target machine is not posted.

acoustic owl
sonic wagon
#

Oh my......

#

That's the problem.

#

After the first instance of the box has been spawned it becomes impossible to obtain the target IP.

acoustic owl
sonic wagon
#

Oh..... HaHaHa.

#

I didn't see "Click her to spawn the target system!"

#

Thanks.

sonic wagon
#

I think the VPN is broken...........

#

2022-07-18 00:16:22 Initialization Sequence Completed

Though cannot ping the machine.

acoustic owl
sonic wagon
#

Right......

#

I deleted all my tun interfaces.

devout turtle
#

maybe there is some issue with the target machine

#

cause VPN is working properly

#

I have checked it multiple times, made a new linux VM to start fresh.

#

is there anything with free account, do I have to buy the subscription to get proper access.

acoustic owl
devout turtle
# acoustic owl

my VPN is connected properly just not able to ping the target machine maybe this is some issue with the target machine only will raise this in customer support tomorrow.

vital adder
#

@devout turtle what openvpn version are you using?

devout turtle
#

openvpn 2.5.7

acoustic owl
vital adder
acoustic owl
devout turtle
#

and yes I am using Kali...

west canopy
vapid grove
#

"What is the FQDN of the host where the last octet ends with "x.x.x.203"?", Footprinting module, been stuck in this for a while ago, can somebody help?

rain marlin
west canopy
#

@vapid grove DM me 🙂

hollow thunder
#

I have a simple question about scanning/enumeration

west canopy
#

i might have a simple answer

hollow thunder
# west canopy i might have a simple answer

When it comes to scanning a machine what is the most efficient way to go about doing a udp scan?

Should I be doing a separate scan for udp or is there a way to include both tcp and udp

west canopy
#

i think you have to do them separate but im not 100% on that

#

i will usually do like regular nmap scan followed by all ports scan followed by udp scan

hollow thunder
#

Okay. I should start regularly including udp scans then

west canopy
#

yes for sure

hollow thunder
#

Im on footprinting - hard thats why im asking

normal marsh
#

If using --top ports I'm pretty sure nmap knows to bounce between TCP and UDP. But if you're doing a -p- without specifying -sU it might only scan 65k TCP ports. I'm not entirely certain... So hooray for experimentation!

fleet magnet
#

hey guys, anyone assist on What is the FQDN of the host where the last octet ends with "x.x.x.203"?". Think I've found all the zones.

fleet magnet
random kettle
#

Anyone completed Attacking SQL (Attacking common services module)?

light yacht
# west canopy yes for sure

Hey Jared ! I am at skills assessment-using web proxies 3rd and 4th question. And When I was looking back to get some tips I saw you helped all the people who has a problem with it. I was wondering If you could help me to solve them?

west canopy
#

sure

light yacht
west canopy
#

ok

random kettle
vital adder
fleet magnet
#

Hey, anyone able to discuss IMAP and find flag, logged into imap and found one email but no flag, what am i missing?

acoustic owl
fleet magnet
#

@acoustic owl yeah, tried adding to mail client aswell but get no mail

opaque iron
#

SUP

hollow thunder
#

I have the private key on footprinting lab - hard, and changed the permissions to 400. User is T and not authenticating. A slight nudge please.

Do I have to get the other key using what i got?

placid quest
#

@hollow thunder change permissions to 600

hollow thunder
placid quest
#

@hollow thunder which module are you on

hollow thunder
#

Footprinting Lab - Hard

placid quest
#

@hollow thunder if you have private key change permissions and use ssh with tom

lyric echo
#

Hey yall!! Anyone able to help provide any hints for the command injection assessment? been stuck on this for for a while now

west canopy
#

@lyric echo have you found the injection point?

hollow thunder
lyric echo
heady hamlet
#

Anyone else having problems trying to connect or use basic commands on the spawned machines? Can't even ping the box

west canopy
#

can you run a simple command like ls

lyric echo
#

@west canopy No, I get an "Malicious command" error

west canopy
#

@heady hamlet yep i just had an RDP session disconnect now i cant ping the box

placid quest
#

@hollow thunder check if your private key is correct

quiet rune
#

someone help Use what you learned in this section to obtain the flag which is hidden in the environment variables SSTI module

west canopy
#

@quiet rune i might be able to help

west canopy
#

@rustic sage i get the same error on my kali VM , i have not found a fix for it

#

have you tried it from pwnbox?

vital adder
#

try hcxpcapngtool

normal laurel
#

Hello, I'm stuck in "Server-Side Attacks - Skills Assessment" and I have cheked the js file- but I have no idea whats happening in it 😭 can someone assist?

grizzled cobalt
#

What is the pwnbox we spin up for every module? Is that supposed to be some version of Kali?

west canopy
#

its ParrotOS, similar to kali

#

i feel like its a more lightweight kali

grizzled cobalt
#

Ok, so when I tell it to install a tool, say searchsploit for example, does it get it from the same place as Kali?

west canopy
#

sorry not sure what you mean exactly

#

i mean stuff like file/folder locations will vary

#

like seclists is in /opt/useful/ on pwnbox

#

but /usr/share on kali

#

@normal laurel i might be able to help

normal laurel
west canopy
#

okie

grizzled cobalt
#

I'm just trying to understand how, when one of these modules says "You can install [toolName]", this ParrotOS or Kali or whatever platform we're using knows where to go to get that tool.

#

Kind of new to this whole Linux thing

west canopy
#

i mean usually we will install tools using apt or by cloning a github repository

#

and the process is basically the same for any linux distro

grizzled cobalt
#

What's apt short for?

west canopy
#

aptitude i believe

#

apt package manager

grizzled cobalt
#

Gotcha.

woven copper
#

Hi anyone who has made the OSINT module that let me DM him , its about the Locations coordinates question

polar widget
uneven lake
#

hello

#

please i need some help, with my openvpn

#

i can't connect to the vpn key for the module 'SETTING UP'

#

this is the error message i get..

#

2022-07-18 00:54:04 WARNING: Compression for receiving enabled. Compression has been used in the past to break encryption. Sent packets are not compressed unless "allow-compression yes" is also set.
2022-07-18 00:54:04 DEPRECATED OPTION: --cipher set to 'AES-128-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-128-CBC' to --data-ciphers or change --cipher 'AES-128-CBC' to --data-ciphers-fallback 'AES-128-CBC' to silence this warning.
2022-07-18 00:54:04 OpenVPN 2.5.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 5 2022
2022-07-18 00:54:04 library versions: OpenSSL 3.0.3 3 May 2022, LZO 2.10
2022-07-18 00:54:04 OpenSSL: error:0A00018E:SSL routines::ca md too weak
2022-07-18 00:54:04 Cannot load inline certificate file
2022-07-18 00:54:04 Exiting due to fatal error

#

please can someone help me out with a fix?

woven copper
uneven lake
#

how do i do that ?

stable sparrow
#

hey guys, I'm stuck at attacking common services - sqldb. I can't seem to install sqsh as "E: Package 'sqsh' has no installation candidate ". I thought sqsh came pre-installed on ParrotOS. Can anybody please offer me tips? 🙂

uneven lake
woven copper
# uneven lake how do i do that ?

If you search on this chat ,there is an old comment for a user whith the commands you need , just search the error here or google maybe

vital adder
uneven lake
uneven lake
void shadow
#

Although just changing the vpn file would have worked

uneven lake
#

hello, please does anyone know how i can get my ISC2 Member ID

rustic sage
#

still stuck in Attacking Common Services - Attacking DNS section, help me

vital adder
rustic sage
rustic sage
rustic sage
# vital adder yep

what is the wordlist to brute? I tried several from seclists and nothing, three of them only found

vital adder
#

@rustic sage btw this module is verry buggy and there is one guy i help in my dm about this section he can't find the right subdomain the have the flag and i can confirm that's a bug, that subdomain will not show up in any brute force no matter what tool you use so if you found all 8 subdomain (include 2 nameserver subdomain) and still can't find the flag dm me

random kettle
vital adder
random kettle
vital adder
random kettle
vital adder
random kettle
old cove
#

need help with this i am submitting the name server but it's not accepting

vital adder
old cove
#

so both domain and ns

vital adder
old cove
#

how would that look like?

vital adder
formal sphinx
#

I am stuck on Firewall and IDS/IPS Evasion - Easy Lab (Network Enumeration with Nmap). The problem is that while i was looking at the status.php my wappalyzer showed it was ||Ubuntu|| but when doing nmap it only shows only ||Linux versions||. I accidentally entered ||Ubuntu|| and it was right answer, but i don't want to do modules like that (where i guess the answer). What is the right way to get to the answer?

heady hamlet
#

It got me wondering if there might be a problem with the US VPN connection. So I have tried both the US and EU servers with zero luck

random kettle
#

why do everytime i run the vpn a new tunnel opens up and the previous opened tunnels remain open? i tend to change their status to down everytime

spare maple
#

hi

#

Try using request repeating to be able to quickly test commands. With that, try looking for the other flag. can anyone help me with this

#

got stuck😩

broken warren
#

Can someone point me in the right direction on footprinting final lab easy. I used ssh audit and found fingerprints I guess? But I'm not sure how my config file plays into it?

polar widget
polar widget
spare maple
#

module = using web proxies ; sec= repeating req

polar widget
#

DM

#

Because I'm not on desktop

spare maple
#

was stuck for 7hrs straight lol

spare maple
formal sphinx
#

I didn't even think about that XD

strange aspen
#

can someone give me a hint getting started knowledge check last question?

#

After obtaining a foothold on the target, escalate privileges to root and submit the contents of the root.txt flag.

clear bough
#

hi, can anyone help me with module "AD Enumeration & Attacks - Skills Assessment Part I" with the question "Submit the contents of the flag.txt file on the Administrator desktop on MS01" .... i don't know hot to do this question....

devout vector
#

@strange aspen Dm ME

surreal rain
#

I may be worth reworking through the module to achieve this goal. Everything you need to know/do is in the module.

clear bough
worthy inlet
#

hi all , any one can help in using web proxies module ?

woven copper
surreal rain
woven copper
#

Someone on OSINT module, Location question i am sure that i have the cities but that digits for the coordinates , nothing works !

rapid pine
#

any bump on where to find creds for ||tpetty|| in AD skills assesment 1?

west canopy
#

@rapid pine try running ||lazagne from an elevated powershell||

broken warren
#

has anyone had trouble installing Openvas? from the vulnerability assesment module? i ran sudo apt-get install gvm && sudo openvas, but i get an error saying (openvas:44634): sd main-WARNING **: 15:52:28.249: init_openvas: Can not open or create log file or directory. Please check permissions of log files listed in /etc/openvas/openvas_log.conf. but when i check the config file i dont see anything that really pertains to user permissions. i went back and re ran sudo apt-get install && sudo openvas it said everything was installed, but i still cant openvas.

slow ruin
#

Did you ever figure out the issue you had? I am having the same issue when logging in to the Management Studio. I do have the creds from the i********.txt

west canopy
#

@slow ruin were you able to ||RDP into the target as the administrator?||

#

@broken warren i have openvas as it's own vm in virtualbox. I think openvas/nessus should already be installed on the machines in the module.

slow ruin
west canopy
#

@slow ruin try to ||RDP as administrator but use the same password as sa||

#

i could be totally off on this btw my memory is foggy

slow ruin
#

Will give it a go thanks!

devout vector
#

is anyone else getting an issue with the LFI File Uploads i got to the GIF8*****.txt file but the flag isnt there ?

#

nevermind i got it

silk helm
#

hello world.

#

wondering if someone might help me figure something out.. currently working through HTTP methods and I dont understand one of the exercise descriptions. I do wish the entry level stuff had more "hand holding" and explain what it wants me to do. lol

west canopy
#

which module/section do you need help with?

silk helm
#

Exercise: Try to view the response headers by adding -i to the above request, and see how an authenticated response differs from an unauthenticated one.

#

typing that in produces nothing. which I get, there is no address.

west canopy
#

sounds like they just want you to do curl -i

silk helm
#

however its telling to type that in

#

but curl -i what exactly?

#

admin:admin@<SERVER_IP>:<PORT>/

#

any website?

#

with port 80, or 443?

west canopy
#

one sec ill take a look at it

silk helm
west canopy
#

lol thanks for noticing

silk helm
west canopy
#

which module is tis

#

this*

silk helm
#

HTTP Fundamentals>HTTP methods and codes. first page i belive

#

scroll down past the GET command area

#

or rather GET request.

west canopy
#

do you mean Web Requests?

silk helm
#

yes

#

the exercise for "HTTP Basic Auth"

west canopy
#

oh i see it now

#

my bad

silk helm
#

I THINK i got it now.. the website it wants me to go to the the "target" 104.248.173.13:31892

west canopy
#

sounds right 🙂

silk helm
#

why didnt it just say that?! lol "scroll down to the target to get the link you need for this exercise" would be amazing

#

nope. stilll not working. Id learn so much faster if I didnt have also figure our what it is they want me to do lol

west canopy
#

spawn the target at the bottom and then use that ip:port for all of the steps of the section, you should be able to recreate each step

silk helm
#

I did, and I got the flag.. BUT, I'm wanting to understand it. I proved I can follow directions, but I need the why.. and how. So for instance, I go to google analytics and can see the search =flag. why would I then do a cURL search? and how what I know what to put in the cURL command line? Such as the Authorization?

ivory tide
#

Hi hi, is it just me or is the binary exploitation module is gone

west canopy
#

looks fine on my end

ivory tide
#

oh, my bad., its a pathway. I thought it was a module.

west canopy
#

yep 4 modules make up the path

ivory tide
rustic sage
#

Hello

#

i need some help in HTB Academy
Working With curl

#

who can help me ? . . .

silk helm
rustic sage
#

:))))

#

do U have any way to solve this ?!

#

i'm working on this for 2 days
and i have only 1 response
the server says it need a verificated cookie 😐

rustic sage
shut owl
kind fox
#

For anyone struggling with the CRUD API section of the Web Requests module ("First, try to update any city's name to be 'flag'. Then, delete any city. Once done, search for a city named 'flag' to get the flag."):

You need to delete more than one city. I had to delete two before it would give me the flag when I searched for the one I'd renamed to flag.

rustic sage
#

i got delete all cities
but i didn't find flag !

cedar folio
#

im bashing my head against the wall with the xss module, can anyone give me a nudge? "find the name of the user in the /home folder" question on "bypassing other blacklisted characters" - i've got characters that dont get caught, but i cant get any output for commands afterwards

west canopy
#

@cedar folio you mean Command Injections?

#

i was able to complete it using ||a combination of ${IFS} and ${PATH:0:1}||

cedar folio
west canopy
#

what if you try ||ls /home|| ?

cedar folio
#

i only see the successful ping - maybe i need to use something thats not && as the operator?

west canopy
#

yes try a different character

cedar folio
#

ok thanks, thats prob where im messing up

cedar folio
silk helm
#

these early mods absolutely need to be better explained lol what they want me to do, and WHY im doing it, and WHY i would want to do it, and WHEN its time to do it.. lol having to spend 2 days trying to figure out the question is kind of a buzz kill.

west canopy
#

sec ill DM

cedar folio
#

i think i have it, it wasnt ; 😐

broken warren
#

When I mount an smb using sudo impacket-smbserver share -smb2support /tmp/smbshare. How do I access the files in that /tmp/smbshare? Like, view , move and remove from my linux terminal, so I can then copy to another machine using powershell

west canopy
#

just open another terminal and navigate to /tmp/smbshare

broken warren
light yacht
#

Hey I stuck in same place ? Could you help me ?

rustic sage
#

@light yacht I never got a resolution or a response. I haven't been working on that module. Im gonna come back to it tomorrow once I'm done with sql injection fundamentals

rustic sage
#

@light yacht no worries.

fossil crescent
#

Anyone avail for a nudge on Attacking Common Services - Easy Skills Assessment? (I found valid creds, and can do some things, but seemingly to no actual useful avail...)

vital adder
west canopy
#

@light yacht i was able to find the answer with ||whatweb||

light yacht
placid quest
#

@silk helm which module

fossil crescent
#

@vital adder -- realized what I was missing -- thanks

vital adder
fossil crescent
#

no -- happy to dm you what I did (may well be CVE, just realized something I hadn't tried)

normal laurel
#

Could someone assist me with the Broken Authentication Module, Weak Bruteforce Protections section, 2nd question?
Work on webapp at URL /question2/ and try to bypass the login form using one of the method showed. What is the flag?

rustic sage
normal laurel
#

interesting-

rustic sage
radiant dagger
#

Now I'm facing it too. what can i do with the creds?

normal laurel
rustic sage
normal laurel
#

Is a username and password required for that question or nah?

rustic sage
#

They are irrellevant

normal laurel
#

Could it be a random IP or it needs to be soemthing specific

rustic sage
#

The IP is "logical" so to say

#

How familiar are you with IPs?

normal laurel
#

somewhat familiar

rustic sage
#

Can you tell me the difference between private and public IPs?

normal laurel
#

searches

rustic sage
#

^^

normal laurel
#

Simply,
Public - global
Private -local

rustic sage
#

indeed, like 192.168.0.1, where you might find your router

#

I'd suggest reading a bit about local host

wind edge
#

@unreal patio I'm stuck on the same module you were asking about this time last year, the "cracking common hashes" exercise for the Hashcat module. I'm guessing you figured it out, even though nobody responded to you, because it looked like you moved on to asking about a different Hashcat question... can you give me any hints for this common hashes exercise? I've tried a few built-in rules already like best64.rule, combinator.rule, d3ad0ne.rule, leetspeak.rule and a few hybrid rules. I have a feeling its one of the bybrid rules, but I'm not so sure. There's so many to choose from! I've spent HOURS on this already. Plz. anybody.

west canopy
#

@wind edge try using ||the d3ad0ne rule with hash mode 1000||

radiant dagger
#

AD Enumeration & Attacks - Skills Assessment Part II :

Submit the contents of the flag.txt file on the Administrator Desktop on the SQL01 host.

found the creds neXXb:D@ta_XXXXXn! Do I have to run some potatos to get a root(privilege escalated) reverseshell to the host? anyone here to give a nudge,please

west canopy
#

@radiant dagger are you connected to the mssql database?

radiant dagger
west canopy
#

@radiant dagger so i suspect you used ||xp_cmdshell to run whoami /priv||.||Juicy potato would probably work here as well|| but personally i used ||printspoofer and move it over using certutil.exe, then used printspoofer to change the password of the administrator.||

radiant dagger
#

would be easier

#

I'll try the spoofer

west canopy
#

also i tested and you can run ||powershell commands through xp_cmdshell , just need to put powershell.exe before the command||

radiant dagger
#

great to know that, thank you!

west canopy
#

np hope this helps

onyx dust
#

Hello. I could use a nudge in the right direction for the Linux Privilege Escalation module, Skills Assessment:

I have recovered flags 1 - 3. am trying to get flag 4.

I have a shell as User 2, but I do not have any sudo privelages as this user. I logged in at this user by finding credentials in a file.

I have found flag 4, located in a directory related to an external service. But I can't access it as User 2.

I have found admin login credentials for the external service with Flag 4. I have tried using Firefox and using Curl commands but I cannot access it.

#

How can I leverage the admin credentials I found? Or should I investigate other paths? I see a process running as root under this user, so I may try that.

#

I also found id_rsa information for this user, but when I try to SSH in using them, it keeps asking me for a password and does not escalate my privileges.

stable echo
#

hello

#

i am new

#

how to setup htb

#

IN web

#

i have

west canopy
#

@onyx dust did you find ||credentials for Tomcat? If so try logging in and then use msfvenom to generate a malicious war file and upload it.||

#

or i think ||tomcat_mgr_upload ||will work in metasploit

onyx dust
#

@west canopy, yes, I found the credentials for Tomcat. I tried msfvenom but I have not used msfvenom before and I have not trained myself on it yet, so I was having trouble.

I have two questions:

Is there an academy module that covers msfvenom?

Is there another way to look at the problem that draws from the material covered in the module? (msfvenom wasn't covered yet in the module or the prerequisites, as far as I can tell.)

west canopy
#

i'm not sure , msfvenom is used quite a bit in the binary exploitation modules

onyx dust
#

No worries, thanks for the advice.I have gotten some experience with metasploit, I could give that a shot. If that doesn't go, I will try to learn more about msfvenom and give that a go.

west canopy
#

if you are curious there is a retired box called Jerry where its basically just compromising tomcat

#

just google "msfvenom war file" to find a command

onyx dust
#

Good to know, thank you! Much appreciated.

shut owl
#

Has anyone here finished the Intro to Assembly Skills Assessment? I could use a nudge.

lusty star
#

AD :ennumeration and attack ... any support will help

radiant dagger
#

I stuck on it too.

#

Submit the contents of the flag.txt file on the Administrator Desktop on the MS01 host

rain valley
#

Hello! I need help with Footprinting Lab -Easy: i was able to get the public and private keys from ftp. I'm trying to copy the public key over to the remote server using the cmd: ssh-copy-id -i ~/.ssh/id_rsa.pub user@ip but i get identity_sign: private key /home/kali/.ssh/id_rsa contents do not match public
ceil@10.129.23.7: Permission denied (publickey).
Anyone please help

heady hamlet
#

So far this morning I have tried the Getting Started, NETWORK ENUMERATION WITH NMAP, Web request and I can't ping any of the servers. Which Getting Started and Web Request share the same server

placid quest
#

@rain valley you can copy the private key and change the permissions

lusty star
jagged zenith
#

Hey guys

#

How complete privatege escation

visual mountain
#

Hi I'm stuck on Website Lab in Login Brute Forcing. I've really tried everything and seen all posts about it my command is ||sudo hydra -l user -P ../../usr/share/seclists/Passwords/Leaked-Databases/rockyou.txt -f <IP> -s <PORT> http-post-form "/admin_login.php:username=^USER^&password=^PASS^:F=<form name='log-in'"|| Can anyone help me?

distant arrow
#

Has anyone had any issues with the Introduction to Web Applications Common Web Vulnerabilities not accepting the answer using the ||Arbitrary Code Execution vulnerability|| name or is it by another one?

vapid grove
#

Hi, im stuck in footprinting lab medium, after finding some creds in NFS, and doing rdp but seems like arent the same for SQL.. Im lost there

distant arrow
quaint marsh
#

Attacking Common Services-Attacking SMB

#

which password dictionary to use? the one given in the hint does not give the correct answer!

normal laurel
#

Could someone assist me with the Broken Authentication Module, Weak Bruteforce Protections section, 2nd question?
Work on webapp at URL /question2/ and try to bypass the login form using one of the method showed. What is the flag?

quaint marsh
#

were you able to resolve the issue?

#

were you able to resolve the issue?

broken warren
#

Has anyone else had trouble with File transfer module, windows section? copying the syntax for smb server and ftp server. i keep getting errors. windows will say directory doesnt exist when i try to follow the steps for smb server. And when i try sudo pip3 install pyftpdlib i get pip3 isnt installed. but if install it it says its already installed.

spare condor
safe leaf
#

Anyone out there that can give me a hand on sqlmap essentials skill assessment?

vital adder
vital adder
safe leaf
#

I have gotten well past that point

#

I have the attack vector and have configured some of the suggested options, examined errors and tried to rectify them

#

It looks like the underlying query is an insert to me based on context and the errors that pop up, so I configured the prefix to close it properly to do a stack injection. It says it is vulnerable to the stack injection, but then it does it with sleep and doesn't actually return any results or start doing anything useful

#

Have tried without the prefix then it says vulnerable to time based and also uses sleep and never returns

vapid grove
#

Footprinting Lab Medium - Getting this error and no way to get through it : No process is on the other end of the pipe

vital adder
#

@safe leaf oh did you use the ||Tamper-Script|| ||between||

safe leaf
#

yes

#

looking up other people who have had problems, all the advice would seem to indicate that i've done everything required and it should just work, but it isn't, but no one else seems stuck where i am stuck

vital adder
#

also did you set ||level / risk|| to max

safe leaf
#

I did

#

is the using the prefix correct?

#

It says vulnerable to injection with or without (just different types) but neither returns for me

vital adder
#

oh that's weird shoot me a dm if you still need help with that i'll help troubleshoot

safe leaf
#

will do, let me get my environment up

vital adder
vital adder
normal laurel
vital adder
normal laurel
#

Burp

vital adder
#

@normal laurel can you send me a screenshot of you burp request

slow ruin
#

Anyone able to provide some insight for Footprinting Lab - Hard? Trying to get initial creds but having some trouble understanding community strings. Or maybe my commands are not giving me community strings because not sure how they are supposed to look like

my god just figured it out...

rustic sage
#

input value

devout vector
#

can someone help me grasp a better understanding of log poisoning on the module File Inclusion

visual mountain
rustic sage
#

Attacking Common Services - Easy, need a hint please

I've found creds and two files on FTP

west canopy
#

Wish i could help bud but you're farther into that module than me 😦

clear saffron
#

Introduction to Bash Scripting
I'm currently stuck at the very first question of the module for quite some time now.Have tried various methods all leading to the exact same results.Which correlates that I'm probably not understanding the question properly.Could anyone please gimme a DM to put some clearance on it?

west canopy
#

@clear saffron sure DM me 🙂

silk helm
#

Hello world. I'd appreciate any insight.. Working on HTTP Headers. On the

#

on the page it says "If we clear the Network tab in our browser devtools and try to log in again, we will see many requests being sent. We can filter the requests by our server IP, so it would only show requests going to the web application's web server (i.e. filter out external requests), and we will notice the following POST request being sent:"

#

I think I'm doing it right on chrome, but when I go to the search box and type in "server_IP" everything just disappears. Which, as would have guessed... left me confused. lol

#

What am i doing wrong? or is this a function of chrome on a mac?

slow ruin
#

Anyone available to help me on Footprinting Lab - Hard? Found the ||.sh|| file on ||snmp|| however not sure how to look at the contents of the file using braa

west canopy
#

Can someone give me a quick sanity check regarding Attacking Common Services - Attacking SQL Databases?

pseudo kiln
#

Hey,
I'm working on Login Brute Forcing -Skills Assessment - Service Login.
I've made my user.txt (15 login name) and my pass.txt (2245 passwords after cleaning up regarding the password policy).
Now I have try to brute force SSH but I got disconnected before it finishes.
I would enjoy a little hint as waiting is boring...

woeful oxide
#

Guys, could someone give me a hand?

#

Ik the ip is different but that 'cause I restarted the target

woven copper
#

You have to put the IP follow by the domain name in the /etc/hosts file
And then you can use whatweb againste the domain name
Whatweb -a3 http://app.inlanefreight.local

woeful oxide
#

got you

#

I was thinking i needed to do that but wanted to ask first

#

getting same error

west canopy
#

don't use https

woeful oxide
#

just http or nothing ?

west canopy
#

http

#

ya see what happens

woeful oxide
#

Found CMSmap tool

#

For me at least works better than the whatweb

tulip plinth
#

Hi can someone help me with the "Skill Assessment - Broken Authentication". I found all the information needed to access the user profile but I don't see the admin panel?

vapid grove
#

Hi, i'm stuck at module "Information Gathering - Web edition" at vHost, i can't seem to find any vhosts, because all are prompting the same size.

FIXED - Try using gobuster

last grail
#

Hey all, can i get a lead in "Web Service & API Attacks" module, skills assessment? I crafted a correct soap. Cant get sqli on it.

woeful oxide
#

"Information Gathering - Web edition" skill assessment

#

IDK what's wrong

west canopy
#

@woeful oxide yes sublist3r does not work, but I managed to find the answer by ||googling "subdomain finder"||

#

@tulip plinth were you able to log in as the ||support.xx|| user?

devout vector
#

very much need some quick understanding can someone dm me for Local File Inclusion Automated scanning ive gotten everything else done just dont know how to make it search for /flag.txt using the worklist

west canopy
#

@devout vector all of the LFI payloads point to /etc/passwd, so once you get a good match with FFuF, just modify the payload to point to /flag.txt

tulip plinth
west canopy
#

@tulip plinth try manipulating the cookie

last grail
#

Hi, can i get a lead in "Web Service & API Attacks" module please?

woeful oxide
west canopy
#

np nice work 🙂

lethal atlas
#

if you forged a new cookie use it.

#

DM me

devout vector
west canopy
#

instead of ../../../etc/passwd, you would do ../../../Flag.txt

devout vector
#

thank you

final frigate
#

Hi, I'm doing the File Inclusion module, in the section of uploads i have successfully did the rce, but I can't find the flag, just a strange file which doesn't give anything, if anyone could dm me for help please

#

I don't know if is an error of the machine or mine

west canopy
#

@final frigate not sure if this helps but ||the name of the flag isn't "flag.txt", it's just a random file hash||

final frigate
#

Yes I know, but for some reason the file is blank and the name it isn't the flag

#

Well, I can't get it with some of the uploads options, but other works for me

#

I don't really understand why but at least works

woeful oxide
#

is this normal?

#

idk really understand how to get the flags

rustic sage
#

How does your /etc/resolv.conf look?

woeful oxide
#

like this

rustic sage
#

I'm not 100% sure if I remember correctly, but I think you need to add the IP of the dns into the resolve.conf

woeful oxide
#

i think you're talking about the hosts file

west canopy
#

@woeful oxide try doing a ||zone transfer with dig axfr||

rustic sage
#

Fair haha

woeful oxide
#

the command right?

placid quest
#

@woeful oxide you need to look for zone tranfer

woeful oxide
#

like this ||dig inlanefreight.htb axfr|| ?

arctic acorn
# woeful oxide wdym?

The server that spawns is nameserver, so when you use dig you need to use that nameserver. The earlier DNS section of the module explains how to do so.

woeful oxide
#

how do we identify the axfr zones?

quiet prism
#

anyone able to help out with hashcat module masked attack? there seems to be an inconsistency

radiant dagger
#

The Administrator hash can only login to the SQL01

west canopy
#

@radiant dagger i used the ||metasploit web_delivery exploit to get a meterpreter shell and then used hashdump.||

quiet prism
#

anyone for som help with hashcat?

radiant dagger
#

never used it before

west canopy
#

be sure to set|| TARGET 2 (for powershell, by default its set to python) and set payload to a windows meterpreter||

errant lava
#

I’m trying to find the DNS server version of this machine and I’m having hard time… any hint? I tried to run nmap -sS -sC -sV -p- -oA resolute but I didn’t get what I needed

grizzled cobalt
#

Getting Started - Public Exploits:
I can't get nmap to return anything at all, so I'm not sure how I'm supposed to find the services that the target is running. If I run it vanilla, it tells "Host seems down. If it is really up, but blocking our ping probes, try -Pn. When I do that though, the only thing different that appears is that "All 1000 scanned ports are in ignored states", as well as "905 filtered tcp ports (no-response), 95 closed tcp ports (conn-refused).

vital adder
vital adder
quiet prism
#

i'm not sure what i'm doing wrong

grizzled cobalt
vital adder
errant lava
#

I’m on the IDS/IPS evasion module

#

Network enumeration

vital adder
radiant dagger
west canopy
#

srvhost needs to be same as lhost

#

your LHOST looks unusual

#

not a standard tun0 ip

radiant dagger
#

i'm running the msf on the ssh host

#

the tun0 is 10.x.x.x the ens224 is the 172.16.7.240

west canopy
#

oh gotcha

radiant dagger
#

yeah, just save one pivot

west canopy
#

what payload did u set

#

i feel like that should be working

radiant dagger
#

windows/meterpreter/reverse_tcp

west canopy
#

try windows/x64/meterpreter

radiant dagger
#

trying

#

success on that payload. Thank you Jared!

west canopy
#

np nice work 🙂

radiant dagger
#

Did you run it with the sprintproof.exe or promote yourself after the meterpreter shell?

west canopy
#

i think i first just used|| printspoof.exe to change the admin password, then i authenticated as admin somehow, then ran the web_delivery. ||I could be totally off though my memory is foggy

radiant dagger
#

cool cool

#

still the wrong hash. I think maybe HTB patched it. forcing you to use their intended way

west canopy
#

sec letm e check my notes

#

i might be confused about where u are and what ur doing

radiant dagger
#

This meterpreter shell is on SQL01. we got root access and dump the hash

#

The Administrator hash should be able to login to the MS01 as well

west canopy
#

yea my notes the hash values are different

radiant dagger
#

I know another clear credential way can access the MS01 now

west canopy
#

i see mscache passwords and hashdump passwords

#

maybe i ran lazagne?

radiant dagger
#

i ran lazagne, snaffler and mimikatz them all. All the same result, the hash is not working

#

I know your hash is probably bda..SNIP...99

west canopy
#

nope

radiant dagger
#

oh, okay. I know that one is working

#

Thank you Jared, I'll just drop it and go with the easy way.

austere pendant
#

anyone working on XSS

grizzled cobalt
#

How can I get msfconsole to show me a list of relevant commands I can run while I have an active exploit?

radiant dagger
#

you mean when you under meterpreter?

sage jackal
#

Anyone able to help on Attacking Common Services - Easy Lab? I found a username for one of the services but couldn’t find valid passwords yet. Also noticed the vulnerable service but I need valid credentials first

woeful oxide
#

guys

#

anyone out there who can give me a hand on the active subdomain enumeration?

#

with the axfr zones

vital adder
undone imp
#

Good morning, can i ask here some questions?

placid quest
#

@undone imp what question

undone imp
#

@placid quest About the last page in windows foundamentals, Skills Assessment

undone imp
#

Nothing?

sage jackal
wispy willow
#

can someone help me with the broken auth skill assessment? cant find the admin panel

vital adder
wispy willow
#

oh

#

thnx

#

like the panel should pop up if im on the correct?

wispy willow
#

thnx

placid quest
#

@undone imp i haven't done windows fundamentals

wispy willow
#

can you pls give me any hint about the roll?

#

im in the other but dont see it

vital adder
wispy willow
#

thnx

alpine vault
west canopy
#

@alpine vault you will need to decode base64 multiple times. If the string gets smaller each time you decode, you are on the right track

alpine vault
#

@west canopy thanks! ill try it out

#

that was it! thank you!!! in the future how do I figure that out on my own?

west canopy
#

if you see an equal sign at the end of a string, its likely base64

fair cloak
fair cloak
fair cloak
rain valley
#

I need help with Footprinting Lad - Medium: I found the credentials for the "sa" account but when i tried to login to the SQL server i got this error (see image).

acoustic owl
astral perch
#

File Inclusion Module

#

Anyone was able to solve this?

#

am able to execute the commands through CMD, but idk how to reach the flag

woven copper
#

did you try ls / ?

astral perch
#

I want to do something like cd c:/ & type flag.txt
but am unable to run those

west canopy
#

you will never be able to just change directories because you dont have a full blown shell.

woven copper
#

im pretty shure that justo for the parameter its 'cmd' does'nt mean that its a windows host, but here one trick , if you have RCE you cand add in the end of the comand 2>&1 , on both system an you will see the error !

west canopy
#

just need to enumerate using dir

arctic acorn
#

In general, all hosts in the Academy are Linux boxes, unless there's a specific reason they have to be Windows, like working with AD.

west canopy
#

Can i get a sanity check on Attacking Common Services - Easy Lab? I can't seem to figure out what ||the xampp webroot is (i'm not having success writing to C:\xampp\htdocs\ )||

Edit: SOLVED! Thank you @acoustic owl

woven copper
arctic lark
#

hey everyone looking a little help for getting flag4 on the Linux Local Privilege Escalation - Skills Assessment, i dont know if i'm on the right track or not

acoustic owl
cedar folio
#

hey folks, im embarassingly stuck on the 1st question of Broken Authentication - I tried making a list of the user/pass combos in scada-pass.csv from SecLists, but that didnt work, then just been guessing at which lists to use - any tips?

acoustic owl
cedar folio
#

lol very simple manual copypasta - thanks - the question said "brute force", so i pulled out ffuf without even thinking

lapis slate
#

I am having trouble getting the correct answer to the first question in the Introduction to Bash Scripting module. My code is running without any errors but the value that I get isn't the right answer. Any help with where I am going wrong would help, thank you.

fossil crescent
#

So just finished Attacking Common Services - Hard -- feel like in order to solve, one needs to make a bit of a leap... Not "difficult", but I only knew what to do because of other training...

rustic sage
onyx dust
#

@west canopy, I followed your advice and I got flag 4 in the Linux Privilege Escalation module. Thanks for the guidance! I'm tracking down the final flag 5 now, then I will (finally) 100% this module.

errant lava
#

I’m stuck on Firewall and IDS/IPS evasion - Medium Lab. I’m having a hard time finding the DNS server version… plz help

west canopy
#

@errant lava if you still need help feel free to DM me

raven cairn
#

Could I have help finishing up the command injections skills assesment? I have been stuck for waaaaay to long

raven cairn
#

Just having issues getting my injection to work

rustic sage
#

Ok

raven cairn
#

I talked to jarednexgent. Should be able to get the flag now; issue is resolved

hazy grotto
#

FYI if you didn't know. It's a commercial

radiant dagger
#

AD Enumeration & Attacks - Skills Assessment Part II OMG, worked on it for over two weeks now

#

Just last two questions left, need some nudge, please help me gang.

west canopy
#

@radiant dagger did you find the password for the ||CT059|| user?

radiant dagger
west canopy
#

@radiant dagger In my notes I have myself ||RDPing into 172.16.7.50 as CT059, then using windows net user command to change the administrator password.||

radiant dagger
#

I have the hash of administrator on .50 already. But yeah, I can do that as well

west canopy
#

hmmm i am confused by my notes

#

because i show myself connecting to ||172.16.7.50 and then changing the administrator password there||

#

but then using ||evil-winrm to connect to 172.16.7.3 as administrator||

#

ohhhh because i did ||net user administrator <password> /domain ||

radiant dagger
#

ooo

west canopy
#

that gives Domain Admin 🙂

radiant dagger
#

Thank you Jared, let me try it

#

ROOTED 😱

west canopy
#

nice work 🙂

radiant dagger
#

Thank you so much Jared. 🤩

west canopy
#

you're welcome

sage jackal
#

Attacking Common Services - Hard Lab; I haven’t been able to login as John anywhere with the secrets file from SMB, any hint?

#

I have logged into RDP and MSSQL as fiona but not haven’t gotten anything yet

west canopy
#

@sage jackal ||fiona|| is the only account you need

sage jackal
#

I found the linked server; do I have to execute commands at the linked server ? 😵‍💫😵‍💫😵‍💫

west canopy
#

maybe 🙂

heady hamlet
#

So let me ask a question... Why is it that if I connect through the US-VPN I don't get a connection but if I connect with the EU-VPN I do?

polar compass
#

Morning all, I'm working on the command injection module for the CBBH path. I'm on page 7 (Bypassing Other Blacklisted Characters), has anyone experienced the target machine when refreshed or started instantly crashes? I'm using pwnbox to attack so no VPN issues

clear bough
#

hy man , i have an issue with "AD Enumeration & Attacks - Skills Assessment Part II" with the question "Use a common method to obtain weak credentials for another user. Submit the username for the user whose credentials you obtain." , i have imported the tool in powershell but when i run this tool it is stucked at this point and i don't know why :
[] Now creating a list of users to spray...
[
] There appears to be no lockout policy.
[] Removing disabled users from list.
[
] There are 0 total users found.
[] Removing users within 1 attempt of locking out from list.
[
] Created a userlist containing 0 users gathered from the current user's domain
[] The domain password policy observation window is set to minutes.
[
] Setting a minute wait in between sprays.

#

can anyone know why this tool is stuck here??

acoustic owl
acoustic owl
uncut mirage
#

Hi, I'm stuck in the Skills Assessment section of the Server-Side Attacks module.
I get presented with a login screen, and in the question I'm told not to create an account. I'm thinking fuzzing for default credentials with Ffuf or use SQL map to dump the databases, but that seems out of scope since this lab is about Server-Side Attacks.

I have no idea hos to proceed. Please help!

Many thanks! Feel free to DM me.

acoustic owl
silent knoll
#

@visual snow can you pls send me your notes regarding the skills assessment from broken authentication

zealous gyro
#

Good day everyone! Could someone show me how I can copy-paste the example bash script in the module into either vim or nano inside the Terminal of the parrot VM that is spawned please? I have tried Shift-Ctrl-C and Shift-Ctrl-V which I thought should work in this scenario, but it doesn't. What am I missing here?

arctic acorn
silent knoll
#

Hello, can someone help me with the broken authentication skills assessment?

vital adder
silent knoll
#

Yes

vital adder
#

yes that's the account ||support|| and pls put spoiler tag on that

vital adder
silent knoll
#

But how to i log in as a different user? Brute force is not possible because of time outs

#

And tampering the cookie is not getting me logged in

vital adder
silent knoll
#

I already know how to encode my own cookie

#

So i know the encoding/hashing algorithms

vital adder
#

@silent knoll oh that's weird so even if you use the same cookie encode method with the admin user it still doesn't?

silent knoll
#

||user admin.us cannot have requested role||

vital adder
pine cargo
#

Hey there, I just finished flag7 in the sqlmap essentials module by handcrafting an sql injection, and I was wondering if someone could help me figure out how to do it with sqlmap

#

Is pasting the sql injection against the rules of this channel?

#

Nevermind, just got it

#

|| I'm surprised you have to specify it with the switch even though it's in the default range, or I guess I'm understanding that wrong||

spare maple
#

a button that appears to be disabled. Try to enable the button

final frigate
#

In the Stack-Based Buffer Overflows on Linux x86 module, why it referers always about the call function but only the second one? There is a call function before but the module don't talk about it

rustic sage
#

can somebody help me with Password Attacks -Password Reuse / Default Passwords? Need to find mySQL credentials. I'm able to login with sam's ssh account, but can't find any info about mysql creds. Tried to pivot mysql port and use hydra, but it is very slow. any hints?

vital adder
analog scarab
#

can some1 help me with zone transfers?

#

What is the FQDN of the IP address 10.10.34.136?

spare maple
#

could some one help me in skill assessment of using web proxies module. last question alone

analog scarab
spare maple
#

intercept wat?

#

metasploit req

analog scarab
#

y

#

u need to use module and then set proxies to burp

spare maple
#

i did and it said 404 not found

analog scarab
#

its straightforward...little room for a mistake

dull moon
#

Evening , i recently signed up with HTB abd Academy, are you able to confirm with me that everything is all good as I accidentally deleted the message

ripe radish
#

go lets go

spare maple
vivid pecan
#

hello

analog scarab
#

and you should see intercepted requests and responses in burp/zap

spare maple
#

sry mate.

#

i already got my answer. the mistake i did was not reading thr question properly... its abt the dir not the page

analog scarab
#

np

spare maple
#

😁

quiet prism
#

ok these hashes are getting wild now. i ran it through hashid and it was like EVERYTHING lol. can someone point me in the right direction?

civic sorrel
#

Awesome

lapis slate
rapid pine
#

AD Part II - looking for a bump... do I need to pivot from ||sql01|| to ||ms01|| for administrator flag or is it a different attack? I have a system meterpreter shell open on ||sql01||

vivid pecan
fossil crescent
#

Hopefully you've gotten past it, but if you haven't -- I used linux/x64/meterpreter_reverse_tcp both both payload generation and the payload for the multi/handler to catch and it worked.

#

Thx for that!!! Yeah def the "right" answer is WRONG, and the WRONG answer is "right"... 😡

eager crescent
#

Need help on the “Intro to assembly” module data movement question-Add an instruction at the end of the attached code to move the value in "rsp" to "rax". What is the hex value of "rax" at the end of program execution?

I’ve tried moving the immediate data itself with the syntax

Mov rax, rsp

And also tried using brackets to move the actual value instead of the pointer

Mov rax, [rsp]

However using gdb to answer the question, both attempts failed

vestal obsidian
#

Hello. Is anyone available to talk about the medium lab in Network Enumeration with Nmap module?

random kettle
#

ZAP HUD, anyone got it working? Using web proxies module

tight glen
#

anyone here able to give me a hint on sqlmap essentials os exploitation? im on the second question, found a way to upload files but not sure how to output the flag im looking for

vestal obsidian
twin stirrup
#

On the SMTP Footprinting module would anyone share how they did it without metasploit?

west canopy
#

Anyone available for a nudge on the Documentation & Reporting Practice Lab? I was able to ||dump the hash for the lab_adm user, but I'm not able to crack it or pass the hash anywhere.||

Edit: SOLVED! Thank you @distant stream

shut owl
acoustic owl
# twin stirrup On the SMTP Footprinting module would anyone share how they did it without metas...
twin stirrup
random kettle
shut owl
acoustic owl
acoustic owl
sage jackal
#

Attacking Common Services - Hard Lab; I struggle with figuring out the mssql commands at the linked server, I was able to get the table name and column names but not the values…

#

And haven’t been able to find a guide with easy to understand execute commands at linked servers

acoustic owl
sage jackal
rapid pine
# sage jackal No I wasn’t able to get the syntax correctly. The different syntax that I have t...

I haven't done that module so not sure what you're trying to piece together but the payload all the things github has some pretty helpful mssql commands https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/SQL Injection/MSSQL Injection.md

GitHub

A list of useful payloads and bypass for Web Application Security and Pentest/CTF - PayloadsAllTheThings/MSSQL Injection.md at master · swisskyrepo/PayloadsAllTheThings

zealous gyro
radiant dagger
vocal forge
#

Hey all. Anyone having difficulty with the Knowledge Assessment in 'Cracking into HTB?' I've only managed to get Metasploit to work for it once, and my attempts to pull off the exploit manually haven't done any good.

#

so frustrating that MSF only worked the one time. Not sure what I'm messing up there.

sage jackal
quasi wave
#

I'm trying to find inode of shadow.bak file but no such file exists

#

this is in Linux Fundamentals path

#

I just thought I would ask

#

could someone help out?

#

thanks

#

nevermind figured it out

#

solved challenge

#

lol

radiant dagger
low girder
#

Anyone here has done AD Enumeration & Attacks module? I'm confused with the question

#

oh nvm my bad I skipped few parts

vocal forge
#

I'm wondering if maybe the default payload in MSF is why my meterpreter sessions are encountering an unknown error at time of upload. No idea why they worked that first time though..

quasi wave
#

would it be ideal to complete operating systems fundamentals path and information security fundamentals pathway before even going near the bug bounty pathway?

#

I feel like that would be ideal

sage jackal
quasi wave
#

I'm doing Linux fundamentals path and I'm having some trouble with find function

#

in one command its not letting me specify more than 25k AND less than 28k

#

its also denying privileges to find many of the files in the output

#

and it won't let me save it to a file

#

I'm doing TryHackMe concurrently and I already completed PreSecurity, but this looks more extensive than PreSec path

#

its harder too

#

currently doing web fundamentals path on THM while I do Linux Fundamentals on HTB

#

does bug bounty path really cover enough to make real money doing bug bounties?

#

would it be ideal to enroll in pentesterlab beyond that point?

#

just a thought

#

I'm wondering would it be ideal for me to restart Linux Fundamentals Path?

#

how can I restart it from the beginning

#

I think I forgot a lot of it

#

thanks

iron river
#

hi there, is anyone available to help me with Skills Assessment - File Upload Attacks?

I manage to read the source code and know where the files are uploaded to and know the file renaming

I am having difficulty with uploading a file with a filename/extension that work

been doing something like cat.phar%00.jpg. the upload is successful i think but then it kept telling me the url dont exist

coral sundial
hollow mantle
#

hi there, is there any good tools to patch a elf format file?

#

like patchelf

coral sundial
hollow mantle
#

that sound more like a runtime debugging tool, I'm trying to find some tools to manipulate ELF format, like: compile a small piece of code and inject into a shared-library

#

if such tool exist