#modules

1 messages Β· Page 16 of 1

fickle glen
#

Also tried hash cracking and can't get anything

lament tartan
#

stuck on the file uploads attack assessment, have ||read php source and the only check im having trouble bypassing is "whitelist". everything i try either doesn't execute or i can't find the filename||

echo zenith
#

passwd, shadow & opasswd module, from Password attack. I have obtained the shadow file with the hashes, and I have tried with rockyou and mut_password and it does not find any password. Will I have to try some more password list?

woeful oxide
#

Hey guy - working on bash scripting module - conditional execution and got this error

#

im pretty sure my script should work

frigid monolith
#

yeah try using echo $var | wc -c instead of ${#var}

#

salt=$(echo $var | wc -c)

woeful oxide
#

thanks!

#

In my opinion this bash scripting module is poorly made

frigid monolith
#

did that work?

#

that's what I was missing and someone on here set me straight, not sure why the other idea didn't work...

woeful oxide
woeful oxide
#

you need to + 1 and don't use the echo -n flag

hollow hinge
#

Dm if you still need help

frigid monolith
echo zenith
thorn urchin
#

Or provided as reused credentials found on the system

echo zenith
thorn urchin
#

wdym you dont have to crack the backups

echo zenith
# thorn urchin wdym you dont have to crack the backups

is where the hashes are. That whole section tells you about getting hashes in both /etc/passwd and /etc/shadow, that's why they put both backups of those files, so you can see the hashes without being root. Now they ask me for the root password

thorn urchin
#

yeah, but that doesnt mean you dont crack the backups, you absolutely crack the backups

echo zenith
thorn urchin
#

You absolutely can

#

maybe your mut password list was genned wrong.

#

Idr which list was used for that page, but I remember that section being very straightforward

echo zenith
# thorn urchin You absolutely can

the mut list is well generated, I have cracked the rest without problems, I think the problem comes from somewhere else. Here I separate the encrypted passwords of all users and use this command -m 1800 for Sha512 or 6

#

and it does not find any password of any, I must be doing something wrong

sturdy igloo
#

any hints on windows privilege escalation skills assessment II question 2? Escalate privileges to SYSTEM and submit the contents of the flag.txt file on the Administrator Desktop

high dawn
#

i'm stuck at Parameter Fuzzing - GET, so if you help me I can help you soon πŸ˜‰

vital adder
frigid monolith
#

what are stuck on?

high dawn
echo zenith
frigid monolith
#

you should be sending <URL>?FUZZ=key

#

well, <URL>:<PORT>?FUZZ=key

vital adder
high dawn
frigid monolith
#

is there a specific page you should send it to?

#

πŸ˜‰

vital adder
high dawn
odd mountain
#

anyone else had to install rdesktop over xfreerdp on Parrot? I kept running into issues trying to install xfreerdp (assuming you vpn into the academy)

vital adder
#

try remmina

echo zenith
vital adder
#

np

echo zenith
odd mountain
heady nymph
#

Im working on the command injection skill assessment and Im having trouble getting started. I had a lot go on after I completed the sections and I am drawing a blank coming back to the skills assessment after all this time. Just need a push to get me moving again.

eternal moss
lament tartan
rustic sage
#

HOW AN OPERATING SYSTEM CAN BE HACKED

frigid monolith
#

WITH HACKER SKILLZ

vital adder
#

WITH A DIFFERENT OPERATING SYSTEM

vital adder
rustic sage
#

what to do to get banned from linux

heady nymph
vital adder
#

hint ||the move parameters|| also if you hit an error then you are in the right spot

covert vault
#

Can anybody assist me with Password Attacks - Hard Lab? I did the following: ||Brute forced Johanna's RDP login, pulled the keepass file, cracked that file, logged in using the alternate creds, pulled the system.save and same.save, and cracked the associated hash.|| Now I don't know how to proceed with the new creds for ||Johanna||

vital adder
#

check that user ||documents||

covert vault
vital adder
#

i mean the ||documents folder||

#

oh wait

#

wait what where did find ||system.save and same.save|| and after crack the ||keepass|| which user cred did you found?

covert vault
#

Ohhhh

#

Wait I think I had the username wrong

vital adder
#

yep

covert vault
#

Misread it in the hash file I made

#

Bless up

#

I am just dumb

vital adder
#

after cracking the ||logins.kdbx|| you should found the cred for user ||d|| and from there a different file and that will have the ||sam|| file

covert vault
#

I was trying to use the new password for ||Johanna instead of Administrator||

vital adder
#

ohh

covert vault
#

Yeah just a brain fart

#

Thanks for the help πŸ˜„

tight mesa
#

hello everyone

#

under Web Service & API Attacks, anyone knows if the api is running over UDP..?

rustic sage
#

Hi, I'm working on Footprinting Lab - Hard, and I've found the SNMP server, but cant find any valid community strings. Am I doing something wrong?

frigid monolith
#

still not finding the right extensions for web fuzzing... maybe I'm using the wrong list?

vital adder
vital adder
rustic sage
vital adder
#

yep that is the same issue i have the first time i do this i still can't get snmpwalk to work with snmp v3

#

hint in the snmp section they show 3 tool

frigid monolith
rustic sage
vital adder
vital adder
frigid monolith
#

The second one

rustic sage
# vital adder yep

Thank you for the help, but as far I can see, I cannot use braa to brute force community strings, and onesixtyone still isnt showing me any results.

vital adder
# frigid monolith The second one

so i just check and i don't know why that question don't have a subdomain because there 3 subdomain so you may running ffuf with the wrong subdomain but for the wordlist you can just use seclist ||web-extensions.txt||

vital adder
frigid monolith
#

I'll throw that list at it then

#

thanks

wind egret
#

when setting up a reverse shell for module targets, do I need to use eth0 or tun0? I thought I read somewhere that tun0 is what I should use after connecting to the academy vpn, but I can't seem to connect for the reverse shell. Code looks fine on paper

violet herald
#

How long should scanning all port in Getting Started > Service Scanning take?
When I use nmap with -p- flag the scan time grows to over an hour. Which is insane considerin that target spawn time is 120min. Am I doing something wrong? Using Kali linux with VPN

wind egret
#

scanning with -p- takes a hot minute. I remember leaving one going for about half an hour and it was only 56% or so

#

Hmm, the code looks fine for the reverse shell, it's uploaded to the site, but navigating only triggers the id part that was used to see if it would actually work.

thorn urchin
#

you can also adjust timing by using faster timing templates such as -T4 or -T5 its also useful to use verbose output such as -v so that you can investigate new interesting porta manually as they come in before the scan finishes.

wind egret
#

So, uh. I tried a different script for setting up the reverse shell and that worked. I think the example php code for setting up a reverse shell given for module 77, section 852 seems to be incorrect in some way? Unless it's just something on my end

warm lichen
#

Has anyone also had trouble with the last question on the Hacking WordPress module -- the RCE component.

I've tried ||using msfconsole to get an interactive shell, but it couldn't properly upload the file (but auth was successful so I know I wasn't screwing up the options at least)||

I've also tried the obvious path of ||using the themes editor to insert my php shell (I tried both a reverse shell and just a simple web shell). I can edit the 404.php file just fine, but when it comes to actually accessing the file under the wp-content/themes directory it results in a 500 error.||

The module is rated easy so I'm sure I'm missing something very obvious here. Can anyone point me to the right direction? It's the last question I need to answer before CBBH haha πŸ˜„

Edit -- I figured it out. It's because of the silly little way that PHP executes code blocks..

||The 2nd method works, but you have to put your payload before any of the other functions get called (so right at the beginning)||

solar zodiac
#

wow I thought I knew windows privesc... but this module has so much good content that I never knew about. ❀️ academy

ruby elbow
#

hi everyone! how you doing? anyone can drop a hint about the question "What's the contents of table flag3? (Case #3)", from Running SQLMap on an HTTP Request << SQLMap Essentials?

flint agate
#

Can anybody help on this one ? Command injection Bypassing Other Blacklisted Characters

west canopy
west canopy
flint agate
#

ok will try a bit more after the night shift : )))

solar zodiac
#

loved it πŸ˜„

west canopy
#

i got trashed by the final question

solar zodiac
#

hehe

west canopy
#

curious to see how you fare

solar zodiac
#

I havent been doing the questions yet

#

I like to read the module first πŸ™‚

west canopy
#

yes that is good practice

solar zodiac
#

im kinda surprised that it doesnt involve backing up a db and exfiltrating it

#

thats what i would expect pillaging to be

#

not what i expected out of the module - but better πŸ™‚

#

I didnt know about all the other stuff u can do πŸ˜„

west canopy
#

Pillaging for the sake of windows privilege escalation rather than Pillaging for pure data extraction

solar zodiac
raven cairn
#

Is this a problem with pwnbox?

solar zodiac
#

maybe try --fix-broken?

west canopy
#

its already on pwnbox, use cme instead of crackmapexec

#

binary has different name

#

must use sudo with it as well i believe

solar zodiac
#

I hear the paid vesion of CME has RDP spraying in it

#

kinda nifty πŸ˜„

west canopy
#

since the update where they added the little hacker guy background i believe

solar zodiac
#

I wonder when the pwnbox will be available from parrot os's site

#

it says coming soon πŸ˜„

upper pulsar
#

hi, did you finally manage to get the root flag ?

wheat garden
#

πŸ‘

raven cairn
#

Is this a problem on my end?

#

To me it looks like I am following the modules instructions

flint agate
#

Jared I am doing this command ||127.0.0.1%0a%09${IFS}${PATH:0:1}ls /home|| om Command injection Bypassing other blackilsted Characters can you give me a hint ?

trail obsidian
#

Anyone got a hint for Attacking Common Services - Hard? Trying to impersonate but it's just not working.

west canopy
#

that is certainly not right

sturdy igloo
#

any nudge on windows privesc skills assessment 2 question 2? Escalate privileges to SYSTEM and submit the contents of the flag.txt file on the Administrator Desktop

west canopy
sturdy igloo
flint agate
#

Jared, found a picture witch had the original command and I must say I really had no clue I had to put the ls command as the first command

wheat garden
#

If anyone available to help with password attacks - hard skill assessment. Found the password for backup.vhd file and have mounted it on a windows VM. But now im stuck doesn't appear to have anything immediately useful. Has some files that say access denied and two files which appear to be encrypted.

crystal widget
#

Hi, anyone available to provide some guidance on the Credential Hunting in Linux question? I have tried brute forcing the services, but can't find the password

trail obsidian
#

Figured out Attacking Common Services - Hard that syntax was a lil rough lmao.

naive ravine
#

Hi All, not sure if this is the right channel, feel free to point me else where.

Did anyone actually start doing doing Bug Bounty Hunting after completing the path? Is it doable or did you continue improving your knowledge further?

graceful mortar
#

anyone have problem with spawn a host?

#

hosts is downing here

urban plover
#

Hi

#

Can u help me how to do first task...

placid quest
#

@crystal widget what is the problem

urban plover
#

I can't connect vpn

warm turret
#

@flint agate look for 1nj3ct0r here on the channel and use the script i shared to generate your payloads. It works like a charm

#

@naive ravine i have 1 more module to finish the path and i'll start just after. I was busy solving the hacktheboo web challenges and i did it πŸ’ͺ. I think the bbh path is fair enough

night osprey
#

Am I suppose to hack....hack the box.....for more cubes? I only have 20

inner cave
#

Windows Privilege Escalation Skills Assessment. I managed to get webshell from vuln app but still have no clue how to turn it into a reverse shell. Could someone pls gimme me a nudge?

robust acorn
#

yo, whats'up

marsh ocean
marsh ocean
marsh ocean
marsh ocean
fathom mortar
#

hey guys, can anyone help me on password attacks ?

vital adder
odd kayak
#

@vital adder hey dude?

vital adder
#

hi

odd kayak
#

How can I play the CTFs challenges in HTB

#

Bcoz it's asking me to submit a flag ???

fathom mortar
vital adder
#

sure

odd kayak
#

How can I know my Flag name???

#

Help me to find out it πŸ˜₯

#

@vital adder ???

vital adder
#

which box?

odd kayak
#

Wait I wanna dm u

lyric quiver
#

Hi, someone does have a good source to get code injection snippets please ?

woeful oxide
lyric quiver
woeful oxide
#

I think I have another resource, give me one sec

#

Let turn on my computer

lament tartan
lyric quiver
valid sinew
#

Hey guys i am stuck on this question from network module: Split the network 10.200.20.0/27 into 4 subnets and submit the broadcast address of the 2nd subnet as the answer. Any ideas?

pliant sage
#

Hi, has anybody done the webshells and payload module? I'm trying to do the assessment but the browser of the machine that I access with NoMachine can't access any other website than the three designed for the assessment, which is preventing from answering a question. Has anyone faced the same problem?

heady nymph
foggy light
#

Hello people
Im doing the Nginx Reverse Proxy & AJP.
Im getting the following error

#

I have block the original server block and added modules code

snow mirage
#

is HackTheBox academy down rn? Im trying to run any of the boxes in the module im in and they wont spawn

covert vault
#

Can anybody assist with the Network Enumeration with NMap, I am trying to use ||netcat on port 80|| which the section of the module is focusing on, but it won't return the flag. ||The command I was using was: nc -nv myipaddress 80||

heady nymph
flint agate
covert vault
elder tapir
#

Hello, I am on the Attacking Common Services modules and on the "Attacking FTP" tab. I am not able to find any open FTP ports on the spawned box, I have ran nmap -sC -sV -p- {TARGET_SERVER_IP} against the target box and I am not able to see any open FTP ports. I have tried respawning the box multiple times, same thing.

#

this is the console output of that command

PORT    STATE SERVICE     VERSION
22/tcp  open  ssh         OpenSSH 8.2p1 Ubuntu 4ubuntu0.4 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey: 
|   3072 71:08:b0:c4:f3:ca:97:57:64:97:70:f9:fe:c5:0c:7b (RSA)
|   256 45:c3:b5:14:63:99:3d:9e:b3:22:51:e5:97:76:e1:50 (ECDSA)
|_  256 2e:c2:41:66:46:ef:b6:81:95:d5:aa:35:23:94:55:38 (ED25519)
53/tcp  open  domain      ISC BIND 9.16.1 (Ubuntu Linux)
| dns-nsid: 
|_  bind.version: 9.16.1-Ubuntu
139/tcp open  netbios-ssn Samba smbd 4.6.2
445/tcp open  netbios-ssn Samba smbd 4.6.2
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel

dusty quarry
#

bruh i must ask a question, i am wanted now, what i must do?

heady nymph
solar granite
#

Hey guys, I need some help with the file upload attacks skills assessment. I have found read the upload.php and see where my stuff gets uploaded, figured the naming convention, but I just can't find the files. I am trying to submit a file to /contact/upload.php, with a filename="ss.png", which is successful, but when I try accessing it at ||/contact/SPOILER-REMOVED_submissions/SPOILER_ss.png|| all I get is a 404. I also tried submitting via /contact/submit.php?Name=asdf1&Email=asdf2%40admin.com&Message=asdf3&uploadFile=ss.png, but the end result is the same: 404.

Edit: solved

heady nymph
cosmic dock
#

Dynamic Port Forwarding With SSH and SOCKS tunneling - The password specified for victor doesn't work.

#

And i've jumped VPN packs. This is ridiculous.

covert vault
brittle bluff
#

Hey in network enumeration with nmap. firewall and IDS/IPS evasion -Hard Lab i found 4 different service info. non work as the answear? im on the wrong track? πŸ™‚ Thanks

night pier
#

Anyone finish windows privilege escalation, the new pillaging section? I have the admin hash for the last question but it won't take it no matter what format I put it in.

shy warren
#

Hey guys, on shells & payloads module stuck on exploiting the first host β€œHost-01” I see the file upload vulnerability and i just can’t seem to get the reverse shell to work. I’m setting up the .war exploit file inside of the NoMachine VM. So I should up the listener for the shell with the spawned IP for LHOST, correct? Every time I travel to the created directory with the .WAR file, no revshell is received so I have a feeling my issue is my payload.

frigid monolith
#

How long should the LOGIN BRUTE FORCING - Skills Assessment take? I'm still on the first part, using seclists/names and rockyou...

shy warren
queen gazelle
#

Hey friends --
I am a lifelong member of TryHackMe but recently got a sub to HTB Academy as I am scheduled to take the OSCP on December 8th. I just completed the "AD Enumeration & Attack" course and it is really well done. Thank you to the team at HTB for your excellent work. For those who are interested in learning AD Enumeration & Attacks, this is one of the best courses I have done (and I've done quite a few!) -- It's a perfect mix of theory and hands-on learning. I documented all my steps and notes and now I have a full AD Attack notebook that walks through the various steps and enumeration. Excellent stuff!

A special thank you to @west canopy for allowing me to bug him when I would get stuck πŸ˜„

frigid monolith
#

oh nice I need to schedule my next attempt but I'll check that out first

queen gazelle
#

I'm really dissappointed with the quality of teaching you get with the OSCP and their bloated PDF. HTB is a much better platform for learning and I sincerely hope the HTB certs begin to take over and get more name recognition with HR.

raven cairn
#

How the guys do you afford OSCP??

queen gazelle
#

With tears

raven cairn
#

I'm 20 and broke so just wondering

queen gazelle
#

A lot of company's will pay but I paid $1,500 out of pocket for 90 days of lab access to terrible infrastructure

#

I got so fed up with OSCP, I made a diss song. Yes. I really did.
https://youtu.be/3XULwH5NSUk

I feel like I have hit a wall in my studies with the OSCP -- primarily due to the terrible quality of the Offensive Security course (..pdf?) and terrible infrastructure in their lab enivornment. It's silly that I am paying them $500/month for a PDF and shared lab access whereas THM and HTB offer private VMs for around $10/month.

This is totall...

β–Ά Play video
raven cairn
#

Based

#

Subscribed to your channel btw

dire birch
dire birch
frigid monolith
#

My job paid for academy

#

it really wasn't so bad

#

but you get your own infra

queen gazelle
#

Trust me, the OSCP lab time isn't worth it. It's really really bad. All the VMs are shared with students. They randomly get reset when you're working on them or do not work properly. The "labs" they have you do require randomly having to reset the VMs for the exploits to work.

HTB Academy, on the other hand, is top notch

frigid monolith
#

so you dont have to share with the normal students who just buy time

raven cairn
#

I just want to get hired

#

Anybody have advice?

#

Im still college student btw

queen gazelle
#

Yeah, OSCP is unfortunately the standard with HR. I started a YouTube channel as a virtual portfolio and to buld a personal brand so I can break into red team-type roles. I am not there yet though. I currently work as a senior analyst on the blue team side of things. My pay is great but I'd be willing to tkae a pay cut to move to red team or pentesting just because I find the work really interesting

#

If you're comfortable speaking, I think starting a YouTube channel to share what you're learning and to interview industry leaders is a great idea. I had the honor of interviewing John Hammond when I was just started. I literally just send him an email and, to my surprise, he got right back to me and was happy to sit down for a conversation.

raven cairn
#

I'm cyberesecurity club president at my school so I've been trying to publish my videos on my lectures

#

in fact today I am teaching about Car hakcing (reversing Can bus mostly)

harsh talon
#

Hi

raven cairn
thorn urchin
#

OSCP is still riding the rep from when they were the only hands on cert in the industry

frigid monolith
frigid monolith
#

that's most people's issue with ocsp

#

no guidance

#

at all lol

#

"tRy HaRdEr...."

#

lol

#

in some repsects they're right buuuut, this is something I paid for....

thorn urchin
#

well in their defense it originally wasnt necessarily meant to be a cert where you came in and learned. It was a cert where you came in and prover you already knew what you were doing.

frigid monolith
thorn urchin
#

they used to be super hesitant about saying beginners could take it. It was always, "we've had beginners take it and pass, but dont expect to succeed on your first attempt if youre new"

frigid monolith
#

and I'm not poopoo-ing offsec, just noting that the market has changed

thorn urchin
#

I suppose at some point that changed because $$$ but the content and format never did

frigid monolith
#

the academy was a great step in the right direction imho

frigid monolith
dire birch
#

i mean your payload

frigid monolith
#

wrong person I'm doing login bruteforcing

#

thanks tho!

dire birch
#

thats right xd

dire birch
shy warren
dire birch
#

sorry that nomachine is disconnecting me all the time

dire birch
frigid monolith
#

I feel like this list is too big....

#

not names.txt but rockyou lol obvs

dire birch
solar granite
frigid monolith
#

not there yet sry

vital adder
pastel ginkgo
#

Hi Folks, I'm working on the Password attacks module, is there a way to get crackmap to not show me every invalid input? For example I have about 2000 lines of this

vital adder
#

nope but you can put | grep "Pwn3d!" at the end

pastel ginkgo
#

Would something like this work then ? crackmapexec <prot> <ip> -u <list> -p <list> 2>/dev/null > answers.txt | cat answers.txt | grep "Pwn3d!"

#

or would that dump all the output to null?

#

As when I run it without the 2>/dev/null I get a ton of python errors

raven cairn
#

πŸ”₯ πŸ”₯ πŸ”₯

flint agate
#

I need help at the command injection assesement please

valid sinew
glad orbit
#

ATTACKING ENTERPRISE NETWORKS - Active Directory Compromise
Question: After obtaining Domain Admin rights, authenticate to the domain controller and submit the contents of the flag.txt file on the Administrator Desktop.
How can authentication in the domain controller?

gusty zinc
#

Id like to give some feedback / complaint on the "Documentation & Reporting" academy module. Is this the right place?

crisp merlin
#

Hey guys, can someone help with the Footprinting Lab - Easy? I’ve found the ssh files from the server but not sure where to go now. I’ve tried to connect using the id_rsa file but no luck

thorn urchin
crisp merlin
steady anchor
#

guys

#

i just got banned from anime souls fighter because my dumbass put a loadstring inside of a metatable

#

im so fucking stupid

#

and disappointed in myself

covert vault
#

Did they just add more to the password attacks module? I had it completed and now I no longer do

rustic sage
#

Someone already finished cracking into hack the box path?

covert vault
spark vector
#

For the Passwd, Shadow & Opasswd section on PASSWORD ATTACKS, I unshadowed the .bak files, but hashcat says it's going to take 5 hours to process. Can anyone help by verifying my root hash and hashcat command?

worn forge
#

Can I get a hand with the footprinting lab - hard? I am struggling with the SSH, I know I have to find another credentials to login ssh and then mysql but Im stuck, I cant find it

placid quest
#

@worn forge did u scan udp

worn forge
#

Yes I got the first SSH credentials but this user cant login mysql,
I searched for hidden directories, but nothing interesting

#

theres something else in UDP?

placid quest
#

@worn forge how did u connect to mysql

worn forge
#

I found the Mysql history but i cant find something interesting

placid quest
#

@worn forge what username did u use

worn forge
#

tom

placid quest
#

@worn forge use the password of tom to connect to the database like mysql -u tom -p

worn forge
#

I tried to crack the tom's password with ssh2john but still dont know what is the tom's pw

placid quest
#

@worn forge what u got the password when u used snmp

worn forge
#

I got a private key but no password

placid quest
#

@worn forge dm me

past quarry
#

Hello everyone! Please help me pass the module (https://academy .hackthebox.com/module/110/section/1054)
Task #1 Use Burp Intruder to search for '.html' files in the /admin directory to find the file containing the flag.
I was able to find the directory "/admin 200 OK" using Burp and ZAP. What should I do next? How do I get the flag?sadCat

solar granite
#

The php docs has a very similar example, but it's capital Y and returns all the digits of the year

wise jackal
#

Hi

tiny ledge
#

I'm trying to do 'Automated Scanning' part of File Inclusion, I'm at the part where I'm supposed to use ffuf to fuzz the parameter, can someone explain to me, what do I gain from this information shown here, the module does not explain at all, what am I supposed to be looking at? :

#

like what does this sentence mean, how do I get this information from the ffuf output?

solar granite
solar granite
hazy grotto
#

I'm working on the footprinting module. Domain information section.

I'm connected via the VPN and I'm running the same commands they are but I am getting drastically different outputs.

This is what they get.

#

What I am getting.

placid quest
#

@hazy grotto and ip address

hazy grotto
hazy grotto
placid quest
hazy grotto
#

OK. I understand that now. My next question is why didn't the module need an ip address in their command to get those results? I'm thinking if you run the same command as them. You should get the same results? Or am I missing something?

placid quest
#

@hazy grotto because it is not a vhost

hazy grotto
placid quest
#

No p

tiny ledge
#

Any help with: File Inclusion last assignment before Skills Assessment:

#

I don't have permission to write in the php.ini file or place a php file in the /var/www/html/

placid quest
#

@tough ibex how do u do pass the hash when doing reverse shell

solar granite
lyric quiver
#

I got a question, when multi encoded, how do you know which decoder to use ?

#

you do test randomly ?

solar granite
lyric quiver
solar granite
lyric quiver
#

yes it is

#

VTJ4U1VrNUZjRlZXVkVKTFZrWkdOVk5zVW10aFZYQlZWRmh3UzFaR2NITlRiRkphWld0d1ZWUllaRXRXUm10M1UyeFNUbVZGY0ZWWGJYaExWa1V3ZVZOc1VsZGlWWEJWVjIxNFMxWkZNVFJUYkZKaFlrVndWVmR0YUV0V1JUQjNVMnhTYTJGM1BUMD0=

#

I just want to know if tools exist to detect the encoding, so I can know which encoder to use, I already found for this one

#

but it took me some times

languid dawn
#

That's b64

lyric quiver
#

you know it because of = at the end ?

languid dawn
#

There are tools for encoding but they mostly don't work

#

You can check the size of the string, if it's a multiple of 4 that's probably b64

placid quest
#

@lyric quiver use cyber chef

solar granite
languid dawn
#

If it is not a multiple of 4 then it's something else

lyric quiver
solar granite
lyric quiver
#

so we just try randomly

languid dawn
#

You get used to encodings

solar granite
#

It's not really random, you can usually tell the encoding just by looking at it

languid dawn
#

They are relatively easy to tell apart

#

And they all have specific RFCs

#

So it's absolutely not random

lyric quiver
#

yes but on challenge

#

they are pretty random

languid dawn
#

You get used to it.

#

I can now read basically anything that is ascii but encoded

#

Be it hex or base 10 or whatever

#

Protip, have the ascii table on hand when dealing with strings

#

And cyberchef to switch encodings easily

lyric quiver
#

Ok, ty for your messages and help guys πŸ™‚

#

I'll keep going πŸ˜„

young anchor
#

hmmm

#

hi

lyric quiver
#

hi

young anchor
#

i have some problem with my code where should i share

#

is it here?

lyric quiver
solar granite
lyric quiver
#

ty

solar granite
#

For the module Command Injections - Advanced Command Obfuscation, is there a way to bypass | and ;? I tried it the tr way: ||$(tr%09'!-}'%09'"-~'<<<:)||, but it doesn't seem to work. On my machine it works fine with both tabs and spaces, but the output is blank whenever I try it on the victim

I have solved the question using another method, just wondering about this

bronze frigate
#

hi. need some help with Linux Local Privilege Escalation - Skills Assessment, how to get the tomcat manager password?

sly tapir
#

the encoding and decoding in Burp isnt bad...i was a bit confused when i used cyber chef

rustic sage
#

Hey I need help with the footprinting module section IPMI. For the question what is the account's cleartext password ?

I've been trying to change the ||PASS_FILE for the file rockyou.txt || and when I try to run the || metasploit module ipmi_dumpashes it says The following options failed to validate: PASS_FILE||

#

If someone can dm me it would be really appreciated

west canopy
woeful oxide
#

Guys

#

Is there a major difference between using burp intruder and wfuzz?

warm radish
frigid monolith
#

I know with ffuf you can emulate the different fuzz types (clusterbomb, sniper, etc.), not sure with wfuzz

warm radish
#

nvm i got it... of course, apparently i missed trying one thing, and just had to go back through everything and make sure i checked all the boxes

frigid monolith
#

still having some issues with the login bruteforcing skill assessments

#

taking too long, I must be using the wrong lists

frigid monolith
#

could someone at least just confirm that I shouldn't be using rockyou for this?

#

lol

lament tartan
#

for the new password attack stuff, "pass the ticket from linux" section.. i'm root and i've tried to import Julio's ticket to access SMB but for both tickets I get an error.. the output of "klist" looks like it does in the example though πŸ˜• solved after checking (||cron||) but dont think it was intended route

autumn vector
#

I need help I am trying to run pdf document file in my kali linux but it is not working it claims the pdf file is not supported and how can I move my pdf file from linux to windows 10

hasty hearth
#

Currently doing the "Getting Started" module, specifically the "Service Scanning" section. Under the "SMB" part, the command nmap --script smb-os-discovery.nse -p445 x.x.x.x is ran against the target machine with the following output:

Nmap scan report for doctors.htb (x.x.x.x)
Host is up (0.022s latency).

PORT    STATE SERVICE
445/tcp open  microsoft-ds

Host script results:
| smb-os-discovery: 
|   OS: Windows 7 Professional 7601 Service Pack 1 (Windows 7 Professional 6.1)
|   OS CPE: cpe:/o:microsoft:windows_7::sp1:professional
|   Computer name: CEO-PC
|   NetBIOS computer name: CEO-PC\x00
|   Workgroup: WORKGROUP\x00
|_  System time: 2020-12-27T00:59:46+00:00

Nmap done: 1 IP address (1 host up) scanned in 2.71 seconds```

The only problem is that when I run the command against the target machine, there is no "Host script results" section. Any advice?
thorn urchin
#

what command are you running and what output are you getting

fickle cipher
#

Anyone else having problems with the using web proxies module, specifically the burp intruder part? For the love of god it just doesn't want to find the 200 OK and it's painfully slow

#

can't even ping the ip so idk if it even has an established connection

hasty hearth
# thorn urchin what command are you running and what output are you getting

I am running nmap --script smb-os-discovery.nse -p445 10.129.83.70 and only get the following output:

Starting Nmap 7.92 ( https://nmap.org ) at 2022-10-26 14:42 EDT
Nmap scan report for 10.129.83.70
Host is up (0.041s latency).

PORT    STATE SERVICE
445/tcp open  microsoft-ds

Nmap done: 1 IP address (1 host up) scanned in 0.75 seconds
thorn urchin
west canopy
hasty hearth
fickle cipher
modest token
#

I need some help with Skills Assessment - File Upload Attacks. I understand that I'm supposed to try to read the uploads.php file to see where the uploaded files are going, probably with ||xxe || but I don't understand how I can trigger the ||xxe|| if none of the images I upload ever get displayed...

onyx rapids
fickle cipher
#

GET /admin/Β§Β§.html HTTP/1.1

onyx rapids
fickle cipher
#

Yeah I'm using the same SecLists common.txt

#

as presented in the module

#

but something in my mind is telling me that something is off because it's literally taking hours (1 request per second)

#

and I can't even ping the presented ip

onyx rapids
fickle cipher
#

I don't think that works

hasty hearth
#

I have another question regarding my module, namely the SMB share enumeration. The command includes 4 backslashes before the IP of the machine, is there a reason for this?

rustic sage
#

what happens when the link is clicked?

rustic sage
fickle cipher
#

thats like your home network

rustic sage
#

ik that

thorn urchin
#

bruh that's a private IP address range

rustic sage
#

no

#

its a virtual machine

thorn urchin
#

....

rustic sage
#

on a vpn network

thorn urchin
#

yes

#

I know

fickle cipher
#

it would work probably on your own network

#

but it doesnt work over the internet

thorn urchin
#

lmao some people

rustic sage
#

ok

thorn urchin
#

lookup what the private ip address ranges are

#

cause youre lack of fundementals are showing and embarrassing yourself

rustic sage
#

ok

fickle cipher
#

(s)he/they/them will learn

rustic sage
#

lmao

#

im quite new

fickle cipher
#

Go over the fundamental modules in htb academy to get some understanding

rustic sage
#

ok

thorn urchin
#

my recommendation would be if youre new to tread carefully and learn to ask good questions

rustic sage
#

is there a way to get the link to work on diffenent networks

#

and pls dont dos me

#

lmao

thorn urchin
#

and dont try to test things you dont understand to random strangers

rustic sage
#

ok

#

thx

thorn urchin
#

you would need to port forward your public IP to the server youre hosting

rustic sage
#

im just glad someone with good intentions saw it

#

ok

thorn urchin
#

theres nothing anyone could do, its was a private ip address

rustic sage
#

ok

#

thx

#

bye

thorn urchin
#

its like if I said guess what I know your local ip, 127.0.0.1 ooh scary

hasty hearth
onyx rapids
fickle cipher
#

Sure

warm turret
#

@lethal atlas thanks for the last push. Also thanks @vital adder . https://academy.hackthebox.com/achievement/433014/path/17

onyx rapids
# fickle cipher

Looks good to me, I found it using that, the regex filter you used makes it even faster

onyx rapids
# fickle cipher Sure

Actually your regex is different from mine, I used the one they mention in the guide.

plucky current
#

No, sorry. Looked back at my notes. That's not right either. Sorry.

fickle cipher
#

Idk I think that this part of the module is broken

#

theres no reason why zap fuzzer wouldn't work on the burp part,right?

timber hatch
#

interesting, i am at the module file inclusion, and there when i do the ../../../../..etc/passwd, than my antivurs pops up with the message: Attention intrusion prevented

why? did I not try to read the webpage /etc/passwd file?

onyx rapids
onyx rapids
#

To get the burp file, send the request to repeater, then right click on it and do copy to file. You have to do that from repeater window

fickle cipher
#

Thanks

onyx rapids
#

No problem, I tend to use FFUF whenever intruder is involved because I can't stand that 1 request per second nonsense

fickle cipher
#

Yeah it's quite dumb

#

but hey they gotta make money somehow I guess

onyx rapids
#

If it's any use, this is what burp file looks like

fickle cipher
#

Update, for anyone having the same problem as I had with the burp scanner in this module

#

Just use pwnbox for this task

#

something is wrong with the server

#

pwnbox fixes that

vital adder
# fickle cipher

so in the first images you are basically fuzzing /admin/(stuff from the wordlist).html but i can see thing like .bash_history in you wordlist so basically your burp are trying to access /admin/.bash_history.html and so on with the other stuff

fickle cipher
#

Yeah but there was something wrong with the server because I applied the same options in pwnbox and got different results

#

Same page (won't say which one) returned 400 on my machine and 200 on pwnbox

#

multiple times

#

all with the same settings

vital adder
vital adder
#

oh wait i think i did the same thing

fickle cipher
#

It 400s every request meanwhile on pwnbox I got a bunch of 400s and a 200 in the first 30 seconds

vital adder
fickle cipher
#

Theres something fishy with the server definitely

vital adder
#

yep the target some time bug out like that

#

just restart the target a few time and you should be good (i think)

fickle cipher
#

spent like 5 hours waiting for burp to go through 4000+ requests

vital adder
#

if some thing take that long i would just use other tool

fickle cipher
#

Should've went straight for the pwnbox

queen hatch
#

I'm working on Server-Side Attacks. Section SSTI Exploitation Example 1.

The message in the flag made me smile. Shout out to the maker

pastel ginkgo
#

Could someone point me in the right direction? I'm doing Password attacks and I used the custom ruleset they provide with their password list and made a new password list for hydra. But im 6000 tries in and I still havent gotten in xD

worn forge
pastel ginkgo
#

Section after

#

Password Mutations

worn forge
#

delete the first 17000 from the list then start it again

charred pawn
#

been stuck on network enum with nmap medium firewall evasion if somebody can help point me in the right direction

woeful oxide
#

Which flags are u using?

charred pawn
#

sudo nmap 10.129.2.28 -p 21,22,25 -sS -Pn -n --disable-arp-ping --packet-trace

#

like the reg kind of ones it shows in firewall and ids/ips evasion

#

i did nc -s 10.129.2.48 -v 8.8.8.8 53 as well but cant find the dns v ;-;\

#

pls help

pastel ginkgo
#

Try some of the evasion techniques listed

wheat garden
charred pawn
#

this time sudo nmap ip -Pn --script=dns-zone-transfer -p 53

#

do i need to use netcat for anything in this part? im not as used to nc yet

#

part of me thinks i have to use the nmap evasion technique scans while listening w nc but maybe im on wrong track :((

thorn urchin
#

yeah you're just not using the right suggestions from the module

#

read over it closer again

#

and try to understand why one thing would be useful in one context or the other

charred pawn
#

okay

#

i did it!!!!!!!

#

:D!!

#

woohoo!

#

thank you all!

marsh ocean
#

Any of you guys do the smb course in the pen test certification path?

#

In footprint?

#

Footprinting***

pliant vine
#

Hii

marsh ocean
#

Oh you got it nvm

pliant vine
#

I am new

#

I have no PC

#

I use Termux in android smartphone

whole hull
#

hello

#

Can someone help me please I'm new and I speak Spanish

marsh ocean
#

I don't know Spanish

#

I'm trying to get help but they're just bsing about the details of soc analysis

pastel ginkgo
#

what are you stuck on

thorn urchin
marsh ocean
#

I'm stuck on footprinting

#

The smb part

#

"find additional info about the specific share we found previously and submit the customized version of that specific share as the answer"

#

I figured it referred to editing smb.conf but that didn't seem to have the same results as the course, but maybe it wasn't the right one

#

And the share we found was samba share

pastel ginkgo
#

I dont have notes written down for that let me see if I can solve it real quick

marsh ocean
#

Right on

#

It's like the second one from the bottom. Tore the other ones up pretty easily.

pastel ginkgo
#

Yeah I dont remember spending long on smb

#

aka why I dont have notes

whole hull
#

@pastel ginkgo From the beginning

marsh ocean
#

When did Ryan Reynolds ever have a moustache?

pastel ginkgo
#

aha ha

#

found it

marsh ocean
#

Was i right about the. Conf?

pastel ginkgo
#

|| Try using one of the tools listed on the page, you might need to use git to clone it ||

marsh ocean
#

I'll give that a go. I think i know what you're talking about

#

Got it

#

Thanks

wheat garden
#

so im working on some of the new conttent in the password attacks module section Pass the hash question is "Connect via RDP and use Mimikatz located in c:\tools to extract the hashes presented in the current session. What is the NTLM/RC4 hash of David's account?" any one more familiar with using mimikatz know what commands need to be used? Not much explanation in the module its self on how to use mimikatz.

hazy grotto
#

FTP How did you do this?

#

Can you help with this?

marsh ocean
#

And a certain type of ftp has a certain default password

#

Nmap lets you know during the scan if it is such an ftp

hazy grotto
#

nice

#

when you download it. Where does it go again?

#

wait i think i got it thanks buddy

marsh ocean
#

Not a problem

wheat garden
#

just as I was about to complete the passwords attack module they add more stuff to it.

onyx rapids
#

Can someone help me with this? " Edit the php.ini file to block system(), then try to execute PHP Code that uses system."
I'm not a programmer and don't really know how to write up a php script to do this. I'm pretty sure I managed the block system part, but it's the testing it that I can't do

hollow hinge
onyx rapids
#

I created a php file with this code and ran it with php command and it seems to have executed successfully even though I blocked system function in php.ini
||<?php
$variable = system("cat /home/maxor/test.txt");
echo $variable;
?>||

hollow hinge
hollow hinge
onyx rapids
#

I followed that guide, maybe I'm missing something

hollow hinge
onyx rapids
#

That's my php.ini

hollow hinge
onyx rapids
onyx rapids
wide river
#

hi im at the shell&payload module anatomy of shell, i found the second answer but the first one still kinda stuck. how can i find the answer?

graceful mortar
#

WINDOWS PRIVILEGE ESCALATION

graceful mortar
#

Module: WINDOWS PRIVILEGE ESCALATION

Section: DnsAdmins

Question: Leverage membership in the DnsAdmins group to escalate privileges. Submit the contents of the flag located at c:\Users\Administrator\Desktop\DnsAdmins\flag.txt

Problem: I got a association to DNSAdmins Group but i can't get the flag.

Attempts: send DLL, got inside DNSAdmins group with netadm, used "sc.exe start dns" "sc stop dns" "sc query dns", still got ERROR: Access is denied to reg query or type c:\Users\Administrator\Desktop\DnsAdmins\flag.txt

#

@tranquil carbon

graceful mortar
#

instead use smbserver.py use python server to transfer the dll

#

admins need to make this section better, i saw a lot of peoples stuck in this section here

#

@blissful verge

marsh ocean
hidden trellis
#

can anyone help with file transfer in AD Enumeration & Attacks - Skills Assessment Part II onto SQL01

solar granite
#

Can I get a hint for the command injection - skills assessment? I can't figure which parameter is vulnerable.

north ermine
#

Greetings everyone !
I am currently working on Pivoting, Tunneling, and Port Forwarding - Skill assessment

I fail to find the third host to pivot to I found the credentials of a new users

Can someone help me ?

I tried :

Ping sweep from bin metrepeter shell
Ping sweep powershell & cmd
Zenmap ping sweep

vital adder
inner cave
#

Hi, I'm stuck on the last question skills assessment in Documenting and reporting. I see that the svc_rep does not belong to any group?

vital adder
north ermine
#

@vital adder Can I dm you ? The tool didn't find something new

vital adder
#

sure

ruby mountain
#

Asking for help: Module "Active Directory enum and attacking - Credential Enumeration - from windows"

When connecting to the windows box from the attackbox, the RDP connection stays for about 1 min and kicks me off. Is there a way to stop this and make it stable to use?

After connecting and using the system for 1 min, I get kicked with failed to connect messages.

#

Randomly comes back up and isn't usable (no clicks register etc)

#

a min later and back to

#

Have tried xfreerdp and remmina

#

FIX: change connection quality to Medium from Poor (connection is now stable)

#

Tell a lie back to old tricks!!! grr

Is there any support for these paid modules at all??

#

best lesson ever

languid dawn
#

Have you opened a ticket and raised the issue with support?
If not I suggest you try that option, HTB staff doesn't officially do support from the discord, they have a dedicated support platform.

ruby mountain
#

Yes sorry I didn't see this option until i read the FAQ, Spoke to Stefan who helped me resolve.

If anyone else gets similar, Change your VPN settings to TCP if on UDP for a better connection.

Seems a lot more stable now and I can run SharpHound.

#

Thanks for replying @languid dawn

languid dawn
#

No problem, happy to see it resolved and thank you for sharing how, that's not something everyone does πŸ˜„

ruby mountain
#

No problems at all, Have an awesome day ahead too! (thanks again all)

mossy epoch
#

Did you get it? Can you provide any more hints? I've found where to attack (ac**.php) and the errors returned is 400 but I'm stuck. Thx

solar granite
#

Thank you mate. Solved!

#

Could you also help me with this #modules message, I'm not sure I understand how to bypass | and ; if they're not allowed and I had to circumvent their use

Discord

Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.

solar granite
rustic sage
#

Can I have some help ?

Module: Footprinting

Section: Footprinting Lab - Easy

Question: Enumerate the server carefully and find the flag.txt file. Submit the contents of this file as the answer.

Problem: I can't connect to ftp

Attempts: I did a nmap scan and found 2 ftp port open 21 and 2121. I tried to connect to both of these with the credentials given in hint and it take an eternity to load to finally say 530 Login incorrect

pliant sage
#

Hi, I'm trying to complete the shells and payload live assessment thing (on NoMachine). I'm at the last question but I'm having some trouble, as eternablue through metasploit keeps failing to give me a shell. I've also tried uploading a .aspx shell directly through the website and have only suceeded once (other times it gets deleted or smth despite having removed all comments in the shell code) and even then that didn't give me enough privilege to read the flag. I'm kind ok stuck now, anybody could help?

vital adder
vital adder
rustic sage
pliant sage
vital adder
rustic sage
vital adder
#

dm me

spark vector
#

Hello everyone, wondering if I could get some guidance. Thank you.

Module: PASSWORD ATTACKS

Section: Passwd, Shadow & Opasswd

Question: Examine the target using the credentials from the user Will and find out the password of the "root" user. Then, submit the password as the answer.

Problem: I can't crack the root hash

Attempts: unshadowed both .bak files (tried more than once from own VM and pwnbox ), used hashcat with the 1800 hash mode on the unshadowed file and also just the root hash.

mellow turtle
#

@spark vector try using the mutated password.list as wordlist

#

I have a problem using xfreerdp :
xfreerdp /v:10.129.159.254 /u:.\Administrator /p:AnotherC0mpl3xP4$$
Can someone tell me what im doing wrong? I can't see the fault :/

spark vector
tired halo
#

Module name: Introduction to Bash Scripting

Section name: control flow - loops

I’m stuck at Control flow - loops.
My for loop:
for i in {1…28}
do
var=$(echo $var | base64 -w 0)
if [[ $i -eq 28 ]]
then
salt=$(echo -n $var | wc -c) #also used without -n and echo ${#var}, same result
fi
done

Result:
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
bad decrypt
140511816897856:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:…/crypto/evp/evp_enc.c:610:

I used pwnbox.
Can anyone help me please?

orchid grove
#

I’m having an issue logging in on the IMAP footprint module I know the commands for imap but when I login through OpenSSL but the Robin creds aren’t working for me. What am I doing wrong?

spark vector
mellow turtle
#

yes 😦

spark vector
mellow turtle
#

Like this?

#

Solution: xfreerdp /v:10.129.159.254 /u:.\Administrator /p:'AnotherC0mpl3xP4$$'

spark vector
#

That was my next suggestion, haha

mellow turtle
#

i tried with double

hard lodge
#

Anyone here I can DM about "AD Enumeration & Attacks - Skills Assessment Part II"? πŸ™‚

safe kraken
wide river
#

#Module: SHELLS & PAYLOADS
#Sections: Anatomy of a Shell
#Question: Which two shell languages did we experiment with in this section? (Format: shellname&shellname)

#Problem: cannot find the shell name
#Attempts: use ps, env

iron basin
#

Can anyone helped with a ssh issue of mine? I've obtained a ssh private key however I am not sure what to do or how to properly add it the the ssh config files in order to allow me to login to the target machine via ssh.

#

@wide river Are you entering the answer in the correct format?

placid quest
#

@wide river did u try powershell

wide river
placid quest
#

@wide river did u write bash&powershell

wide river
wide river
solar granite
marsh ocean
#

Footprinting, DNS. Last question, "what is the fqdn of the host where the last octet ends with 203?" I tried every word list in discovery/DNS/ and i haven't found any such DNS

thorn urchin
#

idr for that module specifically but have you checked for zone transfers?

marsh ocean
#

There was a separate question for zone transfers. What do you mean specifically though?

#

How do you get image posting privileges? I could post screenshots

#

Oh NVM

#

One sec

#

And the hint...

thorn urchin
#

if you can pull a zone transfer its worth also trying zone transfers on the various subdomains as well.

#

oh that one

marsh ocean
#

I see

thorn urchin
#

yeah iirc now theres a specific but common wordlist you want to use for that

#

iirc its a fiercer wordlist than others

marsh ocean
#

There's the one they used in the example, and there's 2 more like it, 5 and 20k but they didn't pull more

#

I'll try that one again

#

At least i think i used that one

thorn urchin
#

its also been a couple weeks so I could be jumbling some of the module questions in my head

marsh ocean
#

The struggle is real

thorn urchin
#

I know for certain that wordlist is used for one of the dns related early module questions, and I think its the one youre on, but I could be misremembering

marsh ocean
#

I'll try that transfer thing too

iron basin
#

@marsh ocean Theres a certain wordlist you need to use, a fierce one

thorn urchin
#

yeah I think they got that hint. But confirmation its the question I was thinking of is good.

#

if your tool doesnt find it with that wordlist, try a different tool. Good practice anyways

#

equally popular doesnt always mean equally effective. I remember one of the first security tools I wrote was a ftp bruteforcer because I was mad in the early 2010s that medusa kept missing the correct password in my tests.

iron basin
#

#Module: Attacking Common Services
#Sections: Attacking SQL Databases
#Authentication required: Authenticate to (IP) with user "htbdbuser" and password "MSSQLAccess01!"
#Question: What is the password for the "mssqlsvc" user?

#Problem: Cannot download sqsh on parrot OS which is needed to connect to MSSQL servers from linux. However I have used mssqlclient.py however login attempts are throwing and error. One error with windows auth enabled is non trusted domain. Another is a simple login failure.

thorn urchin
forest tapir
#

alright, i give... I'm in DNS footprinting. Main domain and 1 subdomain allow for Zone Transfers, nothing else.

Looking for a particular host that's not listed in either, but also doesn't have a hostname included in most wordlists?

thorn urchin
iron basin
# thorn urchin did you try mssqlclient with -windows-auth? also this sounds like a post for the...

Ah sorry, was not aware of that channel. I will post it there. And forgive me if my post wasn't clear, I have tried the flag -windows-auth but it gives me the following output:

sudo python3 mssqlclient.py htbduser@10.129.203.12 -windows-auth

Impacket v0.9.22 - Copyright 2020 SecureAuth Corporation

Password:
[*] Encryption required, switching to TLS
[-] ERROR(WIN-02\SQLEXPRESS): Line 1: Login failed. The login is from an untrusted domain and cannot be used with Integrated authentication.

thorn urchin
#

ah gotcha

#

I remember mssqlclient working for me on that one, but had to fiddle with the options

forest tapir
#

dnsenum gets refused. not sure why

thorn urchin
#

have you also tried it against some of the already discovered subdomains as well? I remember at least one question like that

forest tapir
#

already discovered meaning the external ones?

#

or "on the inside"?

#

pretty sure everything that's internal are just hosts

thorn urchin
#

yeah but the dns server doesnt know that

hearty stratus
#

hi, im currently on attacking sql. I managed to get cred for mssqlvc user. But Im stuck, I would aprreciate a hint, thanks

wind egret
#

Can I get a helpful nudge with this? I'm at the questions for module 77, section 859 and I'm nearly done with it. But I'm at the bit I need to work on- privilege escalation. I've managed to dig around the target ip and I think I know what I need to do, I'm just not sure how.

||I know it has to do with php, but I don't have access to write, so using tee to add in the reverse shell onto it isn't an option. linPEAs shows two vulnerabilities, but both require sessions for the options in metasploit and I haven't learned anything about that yet. I could look it up, but one would think that with a knowledge check, the answers can be obtained with what's covered in the module. ||

late walrus
#

Hello everyone, I'm currently doing the skill assessment for STACK-BASED BUFFER OVERFLOWS ON LINUX X86. Only problem, every time I try to connect to the target in SSH (from pwnbox) the SSH connection crashes after I issue a command such as GDB. I reseted the target numerous time but it keeps happening. Am I the problem or is it the target ?

blissful verge
#

hot off the presses, excellent new module written by @dense ferry ... check it out!

west canopy
timber hatch
zealous belfry
#

can somebody tell me what to do in the shells and payload assesment? Im so confused by the no machine thing and all that.

unique valve
wind egret
surreal rain
iron basin
cyan trail
#

hi

placid quest
#

@iron basin use mssqlclient

placid quest
#

@iron basin what command are u using

marsh ocean
timber hatch
#

ok now it worked...

#

never mind

placid quest
#

@placid quest remove -windows-auth

wind egret
marsh ocean
#

Ahh... One sec

iron basin
marsh ocean
wind egret
#

I've got two vulnerabilities via linPEAs, but one is a dead end because it requires software that isn't installed on the target machine and the other requires a session for one of the options and I wasn't sure on how to set that up. Could google it, but then I figured the answer, or one of them, would require stuff learned in the module itself

marsh ocean
#

Ok, are you doing the nibbles part or are you actually doing the knowledge check part

#

?

wind egret
#

knowledge check

marsh ocean
#

Ok, what i did there was metasploit

#

If you do the php thing, you're exploiting the plugin by uploading the code, triggering the reverse shell, and you're actually uploading that missing software with ftp

wind egret
#

so what do I put then for the sessions option for metasploit?

marsh ocean
#

Fall back to: Nibbles - Alternate User Method - Metasploit

wind egret
#

what I'm saying is when I show options to set them for the two exploits, they both have SESSION yes The session to run this module on

iron basin
#

@placid quest I got it to work. I believe that my issue previously was I didn't realize till examining my command closely that I put the user as htbduser and not htbdbuser, so when I tried to authenticate without adding the -windows-auth flag I still got a login error. I thought this was due to me misusing mssqlclient.py or some other issue. Sometimes its the smallest error on the users parts lol...

wind egret
#

unless there are other exploits to find, but searching php brings up 500 options.

marsh ocean
#

In the example it was 0, but it might be 1

wind egret
#

that's for nibbleblogs though, not this one. I don't think that would work if this target isn't using nibbleblogs

marsh ocean
#

The knowledge check in getting started... Does it say this?

wind egret
#

no, but enumeration of the target ip shows it's using gettingstarted, not nibbleblogs

marsh ocean
#

Crap, i meant to edit it

#

"spawn the target, gain a foothold..."

wind egret
#

which I've done

marsh ocean
#

Now you need to get user. Txt

wind egret
#

it's escalating to root that's my weak spot lol

#

the first question I've already completed

marsh ocean
#

Yes it is php

#

Um...

#

You do a user LS thing, and you enter it into the command line

#

One sec

wind egret
# marsh ocean Yes it is php

right, which I can't figure out how to exploit. I don't have write privileges and the two exploits from running linPEAS seem to be a dead end unless I wanna look up how to work with the sessions option for metasploit. I could do, but would rather figure this out with the knowledge given in the module.

marsh ocean
#

I've got you, one moment

#

They mentioned a website in the lesson, I'm trying to find it

#

I think it's GTFO bins

#

You search php ok think

#

I think***

#

And you'll find a code you can use

placid quest
#

@wind egret what is the problem

wind egret
marsh ocean
wind egret
#

ah, completely forgot about this site. Lemme try that

marsh ocean
#

You'll find out. I found the one i used, you'll know it when you see it

wind egret
#

need to reset the connections, didn't realize how long I've been at this lol

marsh ocean
wind egret
#

annnnnnd finally completed. Tyvm for the hints

marsh ocean
#

Not a problem

#

Glad i could help

open drum
#

Hi

hearty stratus
shy warren
#

Shells & Payloads - Live Engagement - Any pointers as to why I’m unable to land a shell using the .war file upload for the first host (Host-01). I create the JSP reverse shell payload with msfevon, but i may be setting the LHOST incorrectly. The LHOST should be the foothold IP (spawned IP), right? So i setup the payload and upload it to Tomcat manager. I set up with listener with the foothold (Inside VM). When I navigate to the upload directory, no shell is received. I have tried various payloads and I feel like I’m so close but missing something simple, I use ifconfig on the foothold machine to grab IP and I’m setting that as LHOST in the payload but having no success.

pastel ginkgo
#

also make sure your Lhost points to your machine aka check your vpn tunnel

#

if your going down that route

shy warren
#

Thanks for the tips. I’ll give that a shot

hazy grotto
#

Trying to figure out how you would figure out the path to a sambashare. I know the answer because I did this module without taking notes and now I'm going through it trying to "relive the experience."

smbclient -N -L //10.129.202.5

Sharename       Type      Comment
---------       ----      -------
print$          Disk      Printer Drivers
sambashare      Disk      InFreight SMB v3.1
IPC$            IPC       IPC Service (InlaneFreight SMB server (Samba, Ubuntu))

Reconnecting with SMB1 for workgroup listing.
smbXcli_negprot_smb1_done: No compatible protocol selected by server.
protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE
Unable to connect with SMB1 -- no workgroup available

onyx rapids
#

Can someone give me the exact curl command to run for "File Inclusion - Skills Assessment"? I'm done playing around with trying to ||poison the log with an agent header.|| Every time I go and inspect the log at ||ilf_admin/index.php?log=../../../../../var/log/nginx/access.log|| it just shows me the same annoying characters: "-" ""

OK Massive HINT. ||You need to use one of the "Notes" in the PHP Wrappers section to do this. Don't only rely on the log poisoning section.||

paper meadow
#

Hola

woeful oxide
#

Hola

paper meadow
#

I need help for hakear Facebook

woeful oxide
woeful oxide
woeful oxide
paper meadow
#

Quien abla espaΓ±ol

#

@woeful oxide I am in the correct

#

You speak Spanish

woeful oxide
#

No one is going to help to do some ilegal activity

frigid summitBOT
#
shoebill#9104 has been warned

Reason: Bad word usage

glass badge
#

Hey guys, for some reason I just finished the intro module and it won't let me purchase any of the other teir 0 ones

#

is there something else I need to do?

stiff stream
devout thorn
#

Hey guys, I'm stuck in "Print Operators" from "Windows Privilege Escalation/Windows Group Privileges"
I'm following the instructions but Capcom.sys driver is not loading

#

Furthermore, I have this message when lauching EnableSeLoadPrivilege.exe, which is different from the training material πŸ˜…

#

Any help would be appreciated πŸ™

vital adder
#

did you run cmd as administrator?

loud sapphire
#

hello all.

Why this?

Its a GIF8 shell.php file that i have successfully uploaded but i get that error......

devout thorn
tribal quail
#

Currently doing Three (still in starters) where you should try to find a subdomain. Now, I tried with gobuster vhost, ffuf changing the host,... but for some reason this fails. Even created my own wordlist with all two letter/digit combinations before I took a small look at the walkthrough and noticed that the subdomain was in my list.

So I started testing further and for some reason nor gobusternor ffuf correctly gives me the result that was needed while a simple curl does.

#

Ah, I can't create a thread here. But what I wanted to show was the result of both things without spoiling. I even made a wordlist purely with the word needed but it still gives no results with gobuster πŸ˜•

#

So not sure what I am doing wrong with gobuster/ffuf here that works fine with curl

#

Scratch that, with gobuster I got it working with the new --append-domain

lament tartan
#

Interested to know if anybody was able to use the metasploit joomla_bruteforce_login module for the Joomla - Discovery & Enumeration section. Even knowing the correct password (and setting the vhost) option in MSF I wasn't able to get it working

lament tartan
echo zenith
#

module Password Attack. in the medium lab, to find Mr. D’s password, is it another one of using the mut list and waiting 4 hours?

#

πŸ˜”

vital adder
#

hint for that user nope

echo zenith
#

I found pass Mr. J, but for D, nothing

mellow turtle
#

tom help me :/

vital adder
vital adder
mellow turtle
#

Passwords Attacks - Pass The Ticket - last question

vital adder
#

oh i haven't done the new thing in that module yet

mellow turtle
#

f

#

i dont know why i cant import that keytab

echo zenith
vital adder
#

wydm by "I already have user D,"? also no hint ||you can't brute force||

echo zenith
#

I've searched everywhere for files and can't find anything, I can only think of brute force.

vital adder
#

hint it isn't in a "file"

echo zenith
#

I think not

mellow turtle
#

lxuxer have u completed Passwords Attacks - Pass The Ticket ?

#

@echo zenith

echo zenith
#

nop

mellow turtle
#

._.

echo zenith
#

I want to finish the lab medium first

vital adder
#

@echo zenith shoot me a dm if you still need help with the medium lab

bronze frigate
stone elk
#

hello i am currently studying in class 12th in india right now if there any indian here who will kindly help me with my future study planing about my ethical hacking course. or which stream to choose after 12th class btw i have chosen bio group beacuse of my insufficient knowledge about computer science. please kindly help me. I'm planning to take BSC course after 12th class. please help me. thank you so much.

vital adder
#

i'm not from india or about to take the BSC course so i can't help you with any of that but if you want to learn more about ethical hacking or just computer science in general check this video to see which foundation skill do you need https://www.youtube.com/watch?v=lhz0-qAQlBM

Sponsor: https://go.intigriti.com/thecybermentor
Blog Post: https://tcm-sec.com/so-you-want-to-be-a-hacker-2022-edition/
Academy: https://academy.tcm-sec.com

Timestamps:
0:00 - Introduction
0:53 - Intigriti Sponsorship
1:55 - Building a Foundation
2:10 - Important Notes
5:37 - Basic IT Skills
8:28 - Networking Skills
12:38 - Linux Skills
17:04 ...

β–Ά Play video
stone elk
astral sedge
#

Hi currently solving Information Gathering - Web - Skills Assessment, searched the forums and discord chat for the hints of the last question ( Perform active subdomain enumeration against the target githubapp.com. Which subdomain has the word 'triage' in the name? ). Found one domain with triage in it but doesn't seem to be the answer. Am I missing something? ( PS I found the domain through results from https://subdomainfinder.c99.nl/ )

vital adder
#

so the question have been changed and i answer that question before it was changed to now i'm stuck with the old answer so i can't confirm your subdomain but that is the right tool try refresh the page or even a hard refresh to see if that work

rustic sage
astral sedge
#

randomly worked with the same answer I was trying for the last hour. Thank you.

vital adder
#

yea sometime htb page have i bug if you keep it open for too long (at least for me)

vital adder
rustic sage
#

thanks a lot!!!

#

its the app one???

#

or internal?

vital adder
#

just run the tool i can't tell you that far

rustic sage
#

may I ask you only if the ip is just the target ip?

#

this is what i read in the forum

vital adder
#

i think so

rustic sage
#

thanks a lot,Mrtom

iron basin
#

Can anyone provide some help with the module Attacking Common Services - Attacking SQL Databases? Currently able to connect utilizing impacket mssqlclient.py to the SQL server, however I am unable to execute any commands. I tried to use enable_xp_cmdshell however I was not able to run it due to denied permissions.

placid quest
#

@iron basin use another user

iron basin
#

@placid quest Yeah, trying to figure out how to execute the proper commands to use the impersonate functionality. Just not able to get any commands to work.

placid quest
#

@iron basin use responder to get the password of another user

shy warren
#

Shells&Payloads - Live Engagement - Essentially my question for the first Windows server we are attempting to get a shell on, do we start the listener on the foothold (spawned IP (NoMachine)that we remote into) or do we start the listener on our attack host (tun0)?

placid quest
#

@shy warren on ur local machine

shy warren
#

@placid quest thank you for the response. Will the msfvenom payload in the cheat sheet work for the .war file upload in tomcat manager?

#

Or does that payload need tweaking ?

placid quest
#

Create a war file and start a listener execute the file after u will receive a shell

iron basin
#

@placid quest I understand how to start responder to listen to capture the hash, however I am not sure how to get the hash to be sent. I am assuming i need to interact with the SMB server in someway in order for a connection process to occur where the responder can then capture the hash exchange.

placid quest
#

@iron basin no

flint agate
#

can somebody help me on File Upload attacks ? The part with Type Filters

vital adder
vital adder
flint agate
#

I don't know how to fuzz the parameters they are all blocked.
I don't understand why people use \x00.

vital adder
#

i didn't use that

flint agate
#

I uploaded a file with \x00.gif but can't find it

vital adder
#

wait so you are having issue finding the upload directory?

flint agate
#

.

#

I know the directory it's profile_images/

#

but I can't get cmd

vital adder
#

yeah because i don't think that extension would work

#

hint ||double extension||

flint agate
#

yeah I read your hints on older messages

#

I use the double extension

vital adder
# flint agate .

oh if you scroll down a bit from this messages you will see i said my access was F at that time so that isn't a right hint and i was just pointing that guy to the right payload

shy warren
vital adder
shy warren
iron basin
#

@vital adder Ye, trying to imitate the section. May I DM you some questions pertaining to the section?

vital adder
#

sure

shy warren
# vital adder nope use the one that have `172.16.1.5` (which i don't think is the docker one)

Such a simple revshell that i spent way too much time on. I was setting the listener to every single IP BUT the one you mentioned. Went down the rabbit hole of crafting different payloads when all i was doing was configuring it wrong. Ahh i feel dumb, but i guess it was a good lesson for me. Sincerely appreciate that tip. Such an easy task cant believe i was hung up that long. Kudos to @vital adder

flint agate
#

@vital adder did I get closer if it says extension not allowed ?

vital adder
#

no idea what you mean but i think so

flint agate
#

I managed to upload the gif file but you said you can't run commands from gif

echo zenith
flint agate
sturdy igloo
#

who can HELP File Inclusion Skills Assessment

flint agate
#

I am there

#

but on the filter types

#

any hints ?

vital adder
vital adder
sturdy igloo
#

not sure how to go about this. found out ||this is nginx by hitting welcome.php which gave an error. besides that i see index.php and main.php. with index.php i fuzzed page= but not getting far from there. cant find logs to poison.||

#

read through the whole module twice and still not getting it. something is wrong with me πŸ™‚

vital adder
#

hint you need to read the ||source code|| to find the ||admin panel||

sturdy igloo
rustic sage
#

would you teach your child to be a hackerπŸ€”

flint agate
#

is the ||gif|| extension good ?

vital adder
#

hint nope

flint agate
#

nope you say

#

but i did it

#

πŸ’ͺ

vital adder
#

nice

flint agate
#

I had to|| "switch the extensions"|| . I leave this here for anyone how will have troubles with Type Filters from File upload module

vital adder
#

yep that's what i was hinting

vital adder
vital adder
#

oh you found the right parameter but i'm not sure about that php file but why are you trying to read the file?

#

hint source code is the ||index file||

sturdy igloo
vital adder
#

i'll recommend a break but you need to read the ||index|| file first that's the source code file

echo zenith
#

Password Attack module, Pth. Has anyone found the Julio flag that is supposed to be in C:\julio\flag.txt? because it is not. are you trolling me?

#

i did the reverse shell but that flag is not there

echo zenith
lethal atlas
#

I dont have anything in password attacks about julio

echo zenith
#

password attack, pass the hash, new module

lethal atlas
#

not new, just updated.

echo zenith
lethal atlas
#

Well, I didnt know they had updated that so I cant help. But now I am curious and might have to go finish it

echo zenith
#

yes

vital adder
vital adder
#

yeah that is first machine that's where you need to run your netcat listener on and a rev on the DC01 host

high totem
#

Hey, question to Shells&Payloads module, Laudanum section - how do we know which laudanum file to use in the example? I mean just out of the blue /laudanum/aspx/shell.aspx is used with no explaination as to why this one

echo zenith
#

con CD01 no, con MS01 si πŸ˜–

vital adder
echo zenith
#

no, de Julio

vital adder
#

also did you set the ip to 172.16.1.5 ?

echo zenith
#

no

#

VPN

vital adder
#

and that's the issue

echo zenith
#

wtf

echo zenith
# vital adder and that's the issue

It is difficult without knowing English to learn with the google translator. It's either that or these people the htb explain themselves like a closed book.

blissful verge
#

hi all, just an FYI we made an infrastructure update to the The Live Engagement section (https://academy.hackthebox.com/module/115/section/1139) of the Shells & Payloads module to replace NoMachine with xrdp. it should give a much smoother experience. If you played that module already and had issues connecting to that box with NoMachine I recommend going back and playing it again!

stiff stream
#

Thank you for the all the hard work you're doing mrb3n!

lyric quiver
#

Hi, I literally don't know what to do on Inframation gathering module

#

tried a lot of thing, never worked up

#

but it seems I tried good things

#

Can I explain to someone who did it what I did

#

and he tell me what is bad please ?

#

Ok nice, host is accessible through HTB VM, but not from outside

lethal atlas
echo zenith
modest token
#

Could someone give me a nudge with Skills Assessment - File Upload Attacks. I managed to get the ||xxe|| working and took a look at the source code. I know where the files are stored and I know the naming convention. I stuck trying to upload php code. I've tried fuzzing for extensions, but the best response I've been able to get is "Only images are allowed", I haven't been able to successfully upload any malicious code.

iron steeple
#

Hi all. Can you please tell me what kind of hardware is needed for hacking (legal, not illegal) and pentesting? I mean laptop.

mellow turtle
#

@modest token have u tried magic bytes?

#

let me check i dont have notes of that

#

@iron steeple laptop

iron steeple
#

I do not understand you

mellow turtle
#

u just need a laptop

iron steeple
#

and the characteristics to work smartly?

mellow turtle
#

@modest token dm me

twin gulch
#

Hey guys, I’m at Credentials hunting in linux section at password attacks, where should I begin when starting to examine the target?

#

Found that ftp and ssh are running

#

Anyone?

rustic sage
#

I have a quick question, as a new member I'm pretty clueless so what does the number under the module (6 hours, 2 days) represent?

mellow turtle
#

the time it takes to complete it @stark summit

#

i think 2 days = 2*24=48 hours

twin gulch
#

Started hydra with the original files from the section on ftp

lethal atlas
twin gulch
#

Well yeah I tried

placid quest
#

@twin gulch brute force ssh

twin gulch
#

Doing it again, on username.list and my mut passwords file

placid quest
#

@twin gulch ok but think if u try xhydra everything may go faster

twin gulch
#

Really? How so?

lethal atlas
#

any nudge on how to extract the hashes using mimikatz? I have tried multiple ways and I am not getting anything for David Passwords attacks Pass the hash

twin gulch
#

Probably on ssh with t4

#

/

placid quest
#

@twin gulch i had to use t30

iron basin
#

Anyone mind providing some clarification on the module Attacking Common Services - Attacking DNS? The question asks to find all the domains for inlanefreight.htb, and then just provides a IP for the target. Do i need to map the target IP to inlanefreight.htb and then just use the tools to enumerate for sub domains? I have tried this just it has thrown errors and wanting to ensure this is the right path.

chrome wolf
#

@solar granite Can I DM you about the File Inclusion skills assessment?

vital adder
vital adder
iron plaza
#

Hey all, can anyone help me with the bash scripting ... trying to solve one of the questions right way but i get a command not found error... hoping someone might guide me to see where i goofed up

gusty fulcrum
iron plaza
gusty fulcrum
#

I am very short in skills but you can

timber hatch
#

can somebody tell me what's the problem here?

placid quest
#

@timber hatch sql injection

timber hatch
#

ok thanks, that was also my assumptionπŸ™‚
a friend of me is at a security event and asked me that question.
maybe a union injeciton could work?
something like:
cn' union select "","", schema_name, from information_schema.schemata-- -

upbeat remnant
#

hello guys

placid quest
#

@upbeat remnant hello πŸ‘‹

upbeat remnant
#

πŸ‘Œ

bronze atlas
#

with all due respect. i have been stuck here for 2 days can anyone help me i cant find the user:pass at the second question in LOGIN BRUTE FORCING -Skills Assessment website

glass pecan
#

hey everyone, can someone help me debug a small bash code, am doing the "INTRODUCTION TO BASH SCRIPTING " and am stuck at the "comparison Operators" i keep getting syntax error or core dump.

#

thank

vital adder
vital adder
#

which module?