#modules

1 messages · Page 391 of 1

fathom pendant
#

The modules encourage you to use a bit of messing around with the information you're presented

#

alongside visiting the webpage of those cases gives you a basic hint of what to do

#

but you'd need to do some messing around in order to find where to start

#

while yes; sqlmap is an automation tool, to an extent, you still have to somewhat mess around in order to tell it where it start from -- then you can get it to do whatever you need to

valid viper
#

Unfortunately this is the majority of the game we are in.

#

Banging your head against the wall a good portion of the time is part of it.

#

Learning how to drown gracefully is a big part of hacking.

#

Also, OffSec is a LOT worse with this kind of thing XD

#

If you pay for an annual subscription, you get the walkthroughs 😉

#

Also, can somebody give me a hint as to how to exfil the username portion from the nosql module on the CWEE?

#

If you can't do that, please tell me whether I'm supposed to be getting it from the /login or /forgot endpoint XD

acoustic vector
#

I do pay for the annual subscription but walkthrough also does not go over the why, only this is how you do it. The course goes over the prefix and suffix usage, and even gives an example with the server side php code. But I'm struggling to see how I would have ever figured out the answer without having access to the php code. I'm not interested in just accepting the fact that I can run a script with provided parameters and get the answer, I want to know why I'm putting in the values and how to obtain them

valid viper
#

Or sqlmap -h

#

But honestly bro, you're probably never going to use SQLMap much anyway.

#

Not unless you are testing an app outside of production.

acoustic vector
#

I'm not doing a pentest, I'm going through the course. This shouldn't be such a mystery

valid viper
#

I feel you man, truly I do.

#

But let me tell ya, this is just the beginning.

#

It only gets worse.

#

A lot worse.

fathom pendant
#

the walkthrough is assuming you read the content and have a grasp on any of the fundamentals related, and just move forward with that assumption

acoustic vector
#

Exactly why I am here and not just moving on

#

So can you confirm that there is just no way that I would have been able to answer this without simply knowing common prefixes or did I actually miss something?

lusty thicket
#

the module expects you to check the manpage, like every other person

lusty thicket
#

if you're supposed to look at man pages or documentation then the expectation is that you do that

acoustic vector
#

....except --prefix is literally not even on the manpage or -h

lusty thicket
acoustic vector
#
  Injection:
    These options can be used to specify which parameters to test for,
    provide custom injection payloads and optional tampering scripts

    -p TESTPARAMETER    Testable parameter(s)
    --dbms=DBMS         Force back-end DBMS to provided value
#

where exactly?

lusty thicket
# acoustic vector ``` Injection: These options can be used to specify which parameters to te...
    These options can be used to specify which parameters to test for,
    provide custom injection payloads and optional tampering scripts

    -p TESTPARAMETER    Testable parameter(s)
    --skip=SKIP         Skip testing for given parameter(s)
    --skip-static       Skip testing parameters that not appear to be dynamic
    --param-exclude=..  Regexp to exclude parameters from testing (e.g. "ses")
    --param-filter=P..  Select testable parameter(s) by place (e.g. "POST")
    --dbms=DBMS         Force back-end DBMS to provided value
    --dbms-cred=DBMS..  DBMS authentication credentials (user:password)
    --os=OS             Force back-end DBMS operating system to provided value
    --invalid-bignum    Use big numbers for invalidating values
    --invalid-logical   Use logical operations for invalidating values
    --invalid-string    Use random strings for invalidating values
    --no-cast           Turn off payload casting mechanism
    --no-escape         Turn off string escaping mechanism
    --prefix=PREFIX     Injection payload prefix string
    --suffix=SUFFIX     Injection payload suffix string
    --tamper=TAMPER     Use given script(s) for tampering injection data```
acoustic vector
#

Well, that's not the output in Parrot OS

#

Also not exactly sure how that helps me in this situation

#

Ah, needs a -hh

lusty thicket
#

awesome

#

read the docs properly next time

acoustic vector
#

Ok, so again, how does this help me?

lusty thicket
#

idk

acoustic vector
#

Awesome, I revert to my initial comment "How very helpful"

tired olive
#

how do i leave a review on a module? cant find the option to

acoustic vector
#

You're giving me such great advice I'll be there in no time. Thanks buddy

#

Maybe next time you could say check the advanced help menu instead of the manpage? Because the manpage still doesn't have the option

cloud urchin
#

to be fair, they do go over prefix/suffix in the section, it's the first thing covered even if you didn't look at the advanced help menu. that said, to answer your question how would you know to use that prefix, selecting the correct prefix depends on the structure of the original sql query. it may need manual testing/guessing as to how it's structured or by experience or by guessing based off how you think the query is being sent.

#

you have to think of how the query is being sent and what it's looking up etc, which is why it's important to know what kind of db you're attacking, what kind of query it's making where you make your injection, etc.

acoustic vector
#

Thanks, that's all I needed to know

#

Well, I guess I would also like to know if there is something I missed that would clue me in to what query is actually being run but from what has been said so far it sounds like that is not available

cloud urchin
#

i did speak to that

#

inject basic characters manually and observe how the application reacts, error messages can reveal info, just simply by trying different prefixes, etc

acoustic vector
#

Ok, so as asked above, is there some place to leave feedback? In my opinion this is more of a skills assessment question than part of the course leading up to the skills assessment. This section should go over the common prefixes and suffixes and should include the prefix needed to answer the question

cloud urchin
#

it's covered in the previous module in the path, sql injection fundamentals

acoustic vector
#

I'm doing the Basic Toolset path at the moment. SQL Injection Fundamentals is not part of the Basic Toolset

cloud urchin
#

most likely because if you're using sqlmap they probably assume you have the fundamentals down, like how the queries are structured

#

that's just a guess though

acoustic vector
#

That's fair enough, and would make sense. I think the Basic Toolset needs an update if that is the case though

#

Or maybe I didn't understand the purpose of the Basic Toolset when I selected it. I was under the impression it was the best place to start

tired olive
#

Introduction to Bash Scripting / Working Components / Comparison Operators : for the last question, can someone please explain why $(var: -20) does not work to get the last 20 characters but tail -c 20 does? thanks

lusty thicket
#

i don't that's valid syntax

tired olive
#

it is

#

it gives the last 20, tail gives the last 19

lusty thicket
#

tail -c simply uses an external command to do the same thing

tired olive
#

yea which is why im confused

lusty thicket
lusty thicket
tired olive
#

still, why is tail -c 20 giving 19, where as var: -20 giving 20?

tired olive
#

had it right in the script tho haha

#

{var: -20}

lusty thicket
tired olive
#

so? why is that changing output here

#

i get the first is a substring

#

but why does it matter if its counting bytes?

lusty thicket
#

because characters are not always 1 byte each

tired olive
#

ahh

#

so -c is grabbing the last 20 bytes

#

where as -20 is grabbing the last 20 characters

lusty thicket
#

yes

pseudo kiln
#

does anyone know of a tool that can do attempt AXFR recursively ? Like if it initially found dev.domain.com via AXFR it will try AXFR with dev.domain.com to find internal.dev.domain.com and so on ? From what I searched online it seems there is only scripts

harsh gorge
#

I wish I had an answer for you but the best answer would be bash scripting

pseudo kiln
#

yeah, seems like it, I am surprised though, as this seems like a common thing to try

spark fox
#

my pawnbox is broken. cant spawn it. tried refreshing, clearing cache, changing browsers. Nothing worked. can i get some help?

cloud urchin
#

are you using EU region?

spark fox
#

tried singapore us india

spark fox
cloud urchin
#

i mean are you using HTB EU servers?

#

they have been having issues, if so, try US region

spark fox
#

im getting an error message each time saying something went wrong

#

please try again later

young ore
#

It’s the one above it

spark fox
cloud urchin
#

@tulip copper please don't post stuff that may spoil a skill assessment, also please don't post screen shots/commands of content above tier 0.

tulip copper
#

Where can I post my command and get help with why it doesnt work?

cloud urchin
#

your command does work

tulip copper
#

I mean I didn't get the intended result I guess

cloud urchin
#

i'll dm you

keen nacelle
#

Is this the right place to question my doubts ?

cloud urchin
compact patrolBOT
#

@harsh sandal (1201660294720667738) has been warned with a strike weight of 0.

cloud urchin
#

no, this server isn't baout that

harsh sandal
#

Oh i didn’t know

#

I’m looking for a sever for that

spiral sapphire
#

Anyone else gets broken targets? Frustrating when I spent over an hour on exercise and thinking I made a mistake, then suddenly target became unresponsive so I reset to another target. On another target the exercise worked right away and turns out I didn't even make a mistake.

cloud urchin
vestal mica
#

Hello

cloud urchin
vestal mica
#

Can you help me please

cloud urchin
vestal mica
#

HTB

compact patrolBOT
#

Note added.

cloud urchin
# vestal mica HTB

You can ask about modules from Academy here, or other things in other channels

spiral sapphire
harsh sandal
spiral sapphire
#

Anyways, I've now managed to finish the XSS module which was a lot of fun. Anyone suggest what module to do next?

harsh sandal
#

Someone I know had a video uploaded without there permission

#

That’s why

cloud urchin
harsh sandal
#

Not YouTube just a channel and that’s it I don’t want to hack the app

cloud urchin
#

Contact youtube.

spiral sapphire
#

SuperNut what's your favorite module?

cloud urchin
spiral sapphire
#

That's the Windows, yeah? I noticed there are tons of AD modules, haven't done any yet.

cloud urchin
#

yeah it's windows focused. i like a lot of moduloes though.

#

user behavior forensics was cool i thought

spiral sapphire
#

Sounds cool! I've really enjoyed the web app modules and learning tools like nmap and metasploit. I'm addicted to learning all from HTB 😄

#

Did you get a job in the field by learning from HTB?

cloud urchin
#

no haha i'm old and got into IT a long time ago

spiral sapphire
#

Nice! I work in different field than IT but at least it's super fun hobby for me

spare tendon
#

Hi everyone,

is there a problem with HTB Academy VMs because I can't open a VM since yesterday

spiral sapphire
vestal mica
#

What is the difference between the two learning progress figures mentioned above?

cobalt osprey
#

hi guys i am having problems with the end chapter exercise: when i go all down in the page instead to see the exercise i got diplayed the javascript code of the page

vestal mica
#

Send the decimal representation of the subnet mask of the following CIDR: 10.200.20.0/27 what is the answer friend

#

Hello

lusty thicket
vestal mica
#

discord was created to ask and answer, all related questions in a connected room, not for showing off and being pretentious, don't be afraid, problems to answer or what we know, help people, to broaden your horizons and your intelligence, as well as your abilities, basically, discord is just a, connector, and has no right to, dictate, or judge someone, ok.... if you believe in AI or robots, and submit to them, BULLSHIT, bullshit....ok

lusty thicket
#

ask

novel matrix
#

This is for modules related stuff only. Anything else will just be nuked

lusty thicket
normal dome
#

Anyone got any ideas on wht a lab machine keeps disconneting?
Module: Active Directory Enumeration & Attacks - DC Sync Attacks
I had no issues with previous module last night,
I have tried changing VPN servers, Using host machine rather then my VM, rebooted VM,
I have occasionlly had it connect and then the box just freezes and kills the connection

normal dome
#

thanks @novel matrix I should have mentioned I'm using US servers because of that

novel matrix
normal dome
#

I tried that and as I need content guidance it ends my conversation

#

oh they're back tomorrow

finite abyss
#

Anyone using Hydra, could you please guide.

hydra is not detecting correct password, it's my DB server. I just checked if hydra can detect that and it didn't.
MSSQL DB server running on Azure, uses SQL authentication
Tier: General Purpose - Serverless: Gen5

tsql -H myfreeserver-xx-redacted-xx.database.windows.net -p 1433 -U demouser -D myFreeDB
// This worked and I am able to login after entering password

At the same time I checked if
hydra -l "demouser" -p "password123" -s 1433 myfreeserver-xx-redacted-xx.database.windows.net mssql -m "DatabaseName=myFreeDB" -V
I can see it is trying the password, still the cred is not identified as correct one.
1 of 1 target completed, 0 valid password found.

Tried on Hydra version v9.2 and 9.5

dim crater
#

Hello, i need some help with Pass the Ticket in Password Attacks module.
It says that this command is indeed performing Pass the Ticket:
c:\tools> Rubeus.exe asktgt /domain:<domain> /user:plaintext /rc4:<hash> /ptt
How is using the hash only gets us a full PtT atttack? if the hash was enough what's the plus in using the .kirbi file? is it something about how the /ptt and asktgt flag work?I see in the output of this command that it is importing the base64 ticket. So im a little bit confused.
I want to understand the attacks and cause really well.
Thanks in advance !

worthy inlet
#

hello , there any one working on Exploiting Web Vulnerabilities in Thick-Client Applications ?

forest zenith
#

Hey, has somebody here done the ADCS attacks module? Stuck on the last question of the skill assessment

empty trout
#

can anyone tell me how to install sqsh

#

it have to be compiled and i am confused

lusty thicket
#

why not try other tools.

#

nmap, medusa, maybe impacket

fathom pendant
empty trout
#

mssqlclient.py from impacket . i think some commands are not wrking in it

lusty thicket
empty trout
#

pwnbox didnt have sqsh

fleet spear
#

could it depend on what authenticating system you use windows-auth or the other one

empty trout
#

in attacking common services in section attacking sql databases i cannot use the creds i bruteforced for mssqlsvc the que Enumerate the "flagDB" database and submit a flag as your answer. and cannot do privesck . the account i loggedin is unusable i cannot even know all the databasess

fathom pendant
#

But everything is done within the sql prompts

empty trout
#

yeah stole the hash and cracked it now what ???

fathom pendant
empty trout
#

thats the part i am unable to think of

true oak
#

Is the contents of the module "Introduction to Windows Command Line" up-to-date? I could not find the waldo.txt in cmd even after using the side-by-side solution. I found the file in a specific directory by using Windows Explorer. At that time the OS popped a message box saying "You don't currently have ..." and after clicking the ok button on it I could find the file in cmd with very same command which I used at first. I wonder if I forgot something in the module or previous ones, or the module is kind of outdated.

empty trout
fathom pendant
#

Did you add -windows-auth?

empty trout
#

yeah using mssqlclient

#

no let me try

fathom pendant
#

Or maybe it's -local-auth

#

It's mentioned in the section

fathom pendant
empty trout
#

it worked thanks @fathom pendant

empty trout
#

👍

true oak
amber ore
#

Hey. Can anyone give the cue on attack path in DACLS II - skill assessment 3 question. I got NT hash of ||TANGUI|| user but I can't find any good ACL rights with this user

amber ore
fathom pendant
#

nothing to do with htb academy modules @finite abyss i suggest asking in another more relevant channel

fathom pendant
fathom pendant
paper sage
#

did you figure this out? I to keep getting this error message even though i have the pass and user found in the smb client and according to write ups is correct

tranquil axle
amber ore
ancient niche
#

Good Afternoon guys someone has completed the module AI?

paper sage
tranquil axle
primal eagle
#

Anyone from eu knows if us servers are fast enough

#

Or is it all buggy and laggy

ancient niche
#

22 and 23 maintenance i have now

latent glen
#

In the sliver module, has anyone else come across repeated "rpc error: code = Unknown desc = implant timeout" errors?

#

its starting to be really frustrating, even when I set the timeout higher, it rarely works

wide wagon
#

How am I supposed to get wills password in Module "Credential Hunting in Linux", without the hint? Is it even possible?

ancient niche
#

ey guys i need help with this please. I'm stuck since 3 weeks

#

i don't know how to programm this

unreal tartan
#

Good afternoon, I'm new, I wanted to know what module do you recommend to start?

ancient niche
#

🙂

compact patrolBOT
unreal tartan
ancient niche
unreal tartan
ancient niche
#

you're welcome

ocean night
#

@unreal tartan Windows shouldn't stop you, you can either use a Virtual Machine running windows (most recommended), or use Windows Subsystem for Linux (WSL2) to run tools only available under Linux

#

I daily drive Windows, and ok rarely do bounty or modules, but am more than able to using WSL2. Reason for a Virtual Machine being the best option is that it keeps everything separate from your Host machine (Windows)

hearty hound
#

hey yall, quick question, on the htb academy lessons, do i need to use pwnboxos in order to complete them or can i just use my own stuff as I'd be more comfortable and it'd benefit me more to become more fluent in my own stuff

amber moon
#

in shells and payloads, final challenge... the first host's hint provided username and password... How to obtain those username and password without the hint? is it brute?

amber moon
hearty hound
amber moon
#

on CBBH modules most of the time I use my own box, but currently doing CPTS modules I keep using Pwnbox for faster result.

hearty hound
#

imma just play chicken with this train and if i need to move out of the way, then so be it

ocean night
hearty hound
ocean night
#

The only differences are that the Pwnbox connects automatically, and that it includes all (or if not the majority of) the tooling used in the modules 🙂

gilded radish
#

I know it's wrong chat, but where can I find some materials how to make a htb machine to submit it? I mean to make a setup, virtual box iso, setup flags, etc

ocean night
#

They may not cover everything, but they contain good advice.

gilded radish
#

thx

ocean night
#

np!

thick steppe
#

Guys I have done this in curl question and I am getting 50 as answer.

cat inl.txt | grep -o 'https://www.inlanefreight.com/' | wc -l

Now I need to get the path after the / and eleminate the duplicates, the answer is suppposed to be 33 or 34 but I dot know what exaactly to do like, I have tried uniq and sort -u but then it gets down to 1, can someone help what to search next

ancient niche
#

ey guys no one has completed it yes the module Ai

thick steppe
#

somepeople are suggesting to use regex in reddit but its in next module

autumn pilot
#

combine the python3 code from the previous sections and you will be able to create the model anonmous7

thick steppe
#

isnt their any way to extract the answer with sort, grep

#

I went though their man pages and all but so fat havent been able to get ahead

amber ore
thick steppe
ancient niche
#

guys I'm going to dinner good night all

light siren
#

anyone know if theres a path or module setting for the ccna?

cloud urchin
#

No one here can help you with that. This discord is about HackTheBox and their various platforms.

light siren
#

im asking about hack the box

#

i asked if there was a path or module to follow lol?

#

tried searching but to no avail

midnight pollen
#

Ok, do you have an idea where someone could help me? The 'OpenSecurity' Server is just accessable with a invitation link.

cloud urchin
light siren
#

oooo ok sorry

#

yeah cause i see a few of the crest things, but none for the ccna

midnight pollen
cloud urchin
fathom pendant
fathom pendant
light siren
#

yeah i have networking foundations, traffic analysis, pivoting tunneling and port on the list

#

i guess ill just do those ones next and follow the relative paths see where i end up

#

just trying to top bottom, so i can bottom up

graceful crypt
#

Is there a way to get support from Hack the Box employees?
My problem is that the automated submission of ISC2 CPEs is not working despite having alle connected in the past and an active VIP subscription?

empty trout
#

how to list tables in a database in mssql

#

the query they uused in section is not working

cloud urchin
#

best to say which module/section you're on

empty trout
#

attacking common services section attacking sql databases

cloud urchin
#

i used sqlcmd and it worked great

empty trout
#

i dont have windows

#

or should i spun a VM

cloud urchin
#

i would recommend a VM that way you have access to windows and kali at the same time

#

or parrot or whatever

empty trout
#

ok

cloud urchin
#

i think sqsh also worked for me

#

there's another tool too it mentions from impacket you can try

empty trout
#

sqsh is hard to install

#

i dont get it how to compile it

#

some environment variable . sybase something like this need to be exported

cloud urchin
#

what OS are you using?

empty trout
#

parrot

cloud urchin
#

ahh. i use kali, i think it just comes built in with kali.

#

you could see if it's on the pwnbox

#

you can try the impacket tool too

empty trout
#

no i checked it is not present in pwnbox

empty trout
acoustic owl
karmic coral
#

Sick!

young ore
#

It’s almost the same as the mysql, you just need to change one word

light siren
devout temple
#

Hello guys!

I am doing the Attacking WPA/WPA2 Wi-Fi Networks - Skills Assessment
Getting some tls error certificates:

wlan1: STA ba:56:b5:74:a0:51 IEEE 802.1X: Supplicant used different EAP type: 13 (TLS)
wlan1: STA ba:56:b5:74:a0:51 IEEE 802.11: deauthenticated due to local deauth request

I patched the eap_server_tls.c file to accept the certificate, but even after that I am still getting the certificate error from the client.
Someone could help?

viral lotus
#

hi all, quick one Linux Priv Esc - Escaping Restricted Shells, I have the flag but have been playing around with different ways the restriction of '/' makes it harder but I just want clarification is there only one intended method as the question says using 'different approaches' many thanks

queen ocean
#

Hello guys

#

Hello

dark hedge
#

hello, did you need something

safe star
#

Yo

devout temple
foggy monolith
#

PSWA in the Windows Lateral Movement Skills Assessment is returning ERR_SSL_KEY_USAGE_INCOMPATIBLE when I attempt to access it from Chrome on the machine I'm running Parrot on bare metal from. Any ideas?

#

Never mind, works fine from Firefox.

cerulean hinge
#

Hello, I'm not sure if it's the right channel, but let me know if not so I can delete my message.
Are there any course on HTB Academy related to cloud (either offensive or defensive modules) ?

cloud urchin
#

no there aren't

cerulean hinge
#

Thanks. Do you recommend a platform to learn about that topic ?

cloud urchin
#

i haven't checked it out too much myself, but i hear pwnedlabs.io is popular

cerulean hinge
#

Thanks !

quasi wave
#

which sounds very useful

cloud urchin
#

yeah i think some blue stuff too

quasi wave
#

between that there's most of the cloud services among Silicon Valley companies and government organizations

#

that would get you red teaming skills for more than 90% of Silicon Valley, more than 90% of government organizations, and more than 90% of fortune 500 companies

#

and the hacking skills would be usable with all of that

quasi wave
#

wow lmao

fickle crystal
#

lolll

#

im not entirely sure if you guys had the same results but

#

some wrong with that target url perhaps

scenic geode
#

Team, I was working on Pentesting > Information Gathering > Virtual hosts

Here, the solution that has been provided is not working.
I tried all possible methods but still it remains stuck.
Can someone help here from #modules team ?

signal rain
scenic geode
scenic geode
signal rain
#

Did you change the port?

#

Change the 81 from the command to the targets port and it should work

scenic geode
scenic geode
signal rain
#

No trouble was caused, I had issues when I did that module as well. Good luck boss

runic depot
#

hey has anyone done the token defensive module on academy

runic depot
#

Im just asking if anyone did it and would like to share what you thought about it

quasi wave
#

On the medium assessment for the Attacking Common Services module, I tried scanning common ports 1-1028 and found some stuff open. That was ok but nothing that was open was usable to access the server like the lab is telling me to do. I tried scanning for all ports -p- but it didnt work either because my pings were being blocked. Then I tried again but with Pn and it really didn't work at all because this was the output:

Nmap scan report for 10.129.128.59
Host is up (3.2s latency).
All 65535 scanned ports on 10.129.128.59 are in ignored states.
Not shown: 63203 filtered tcp ports (no-response), 2332 filtered tcp ports (host-unreach)

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

So now I'm trying an idle scan which probably won't work but I don't know what else to try.
#

Should I just start a new target?

#

and try the sudo nmap -Pn -p- ip-address again?

#

I also tried a connect scan because idle scan stopped vpn from working like I couldn't make it work

#

I tried using google as the zombie

#

but I felt like that was going in a bad direction so I switched from -sI to -sT

#

gonna try it again if this scan in different vpn config file won't work

ocean night
#

@quasi wave if you are given a port number, stick to the port number

#

Oh, VPN

#

NVM

#

My bad, thought it was a docker instance 🙂

quasi wave
#

no

ocean night
#

Yeah, I see that now, tired eyes.

quasi wave
#

I found when scanning common ports that DNS, SMTP, and POP3 are open a while ago. But hydra, medusa, and smtp-user-enum aren't getting anything. Port 22 is also open but I can't get a specific SSH username to crack the password of.

#

I even tried using hydra with same password and different screennames to try and enumerate SSH usernames

#

and none of this will work so I need to try every possible port

#
Nmap scan report for 10.129.128.59
Host is up.
Skipping host 10.129.128.59 due to host timeout
Nmap done: 1 IP address (1 host up) scanned in 900.40 seconds
                                                                  ```
#

so -sT is not working either

#

can someone help me out with this?

#

I literally tried everything I even tried attacking FTP which was the only other thing that I think might have been open.

ocean night
quasi wave
#

I think so ya

#

I scanned common ports multiple times

ocean night
#

Let's go to DM.. I don't do this often.. but I'll see if I can nudge

novel matrix
#

Introduction to Malware Analysis - Debugging

Following the module and replicating it step by step. However, each time I run the binary in x64dbg, sandbox detection box always pops. I've changed all addresses. Anyone avail for DM?

autumn pilot
#

go for it

tropic hearth
#

@naive sage so yea...I get back my b64 string after decoding..and..well..that's it

naive sage
tropic hearth
#

I did..but it was a previous answer

tropic hearth
#

:/ apparently @naive sage it was a typo in the 1337 so a c/p did what typing it didn't...who knows..

tropic hearth
#

yea

#

go figure... 1337 pr0b13m5

fathom pendant
#

yeah copy/pasting is almost always gonna be superior lol

tropic hearth
#

sometimes it adds spaces that I have to remove to condense the htb{} though

#

it'll be like htb {c oddddddddde }

fathom pendant
#

that's a skill issue

#

you can just condense it down with some simple functions or just not have skill issue 🙏

tropic hearth
#

nah, just gotta delete the spaces lol

#

no need to code for that

fathom pendant
#

i've not had any issues though with spaces in the middle of the code

tropic hearth
#

might be c/p between vm and metal

fathom pendant
#

unless you're referring to where it crafts the flag with 'str'+'str'+'str'

#

i've not had that issue

#

like...ever

fickle crystal
#

hey guys how long do i gotta wait for that pin to crack g

#

Login Brute Forcing

#

never mindddddd

#

got it

jagged brook
#

Hello everyone

#

I face an error with wordpress module in skill assessment

#

I can't access the target it's just give me an IP after fire up the machine and I scan it with wpscan and till me this site does not run WordPress and I try to access blog sub domain but I can't due to DNS problem so how can I fix this problem?

acoustic owl
jagged brook
#

Thanks I just add the IP and the subdomain in to my hosts file , the problem is solved

fleet spear
#

that why it could be good to start with the fundamental courses. Altough sometimes the wording of the supposed answers are abit anoying

heavy dome
#

There are several modules, File Upload Attacks & File Inclusion, that do not show parts of code. I tried several browsers with extensions and not and reloaded the page with CTRL+SHIFT+R

lean rune
#

Hello, im stuck on : https://academy.hackthebox.com/module/51/section/1592 "Environment Enumeration",
I successfully got a root shell but when I enter the flag, its not the correct answer, as root, I perform the command : find / -type f -name "flag.txt" but I see only the wrong flag on the machine

storm elk
#

Make sure there are no spaces at front/back

lean rune
#

Already check that Still not working

urban elk
lean rune
#

Oh okey

devout cliff
#

hey guys, im in the Pivoting, Tunneling, and Port Forwarding module. Im in the RDP and SOCKS Tunneling with SocksOverRDP section. I have RDP'd into the second machine but seem to be having an issue running the socksoverrdp-server.exe, as i try to run it and nothing happens. Any thoughts as to why this is happening?

worldly badger
#

Hello guys. Can you please give me good Cheat Sheets for web exploitation topics? such as SQLi, XSS, LFI, etc.. Every cheat sheet either large and full of not needed info or only commands/payloads

acoustic owl
#

Interactive cross-site scripting (XSS) cheat sheet for 2024, brought to you by PortSwigger. Actively maintained, and regularly updated with new vectors.

This SQL injection cheat sheet contains examples of useful syntax that you can use to perform a variety of tasks that often arise when performing SQL ...

glass terrace
#

What designation do we typically give a report when it is first delivered to a client for a chance to review and comment? (One word) can anyone gave me the answer

lusty thicket
flat lark
#

Anytime to do with MySQL 5.7.23

glass terrace
#

can you plz tell me the answer

acoustic owl
glass terrace
#

penetration testing prosess

flint palm
#

guys hello how correct syntax in finding details about localgroup in windows should be for example backup operators?

acoustic owl
flint palm
#

for the command net localgroup backup operators it gives me mistake but for command net localgroup administrators gives information I seem I am doing wront syntax?!

gray yacht
flint palm
#

no and I should?

glass terrace
#

oh it's Penetration Testing Process

gray yacht
flint palm
#

Thank you it worked))))

acoustic owl
glass terrace
#

no

acoustic owl
#

What is the name of the module and what is the name of the section?

glass terrace
#

Penetration Testing Process ,Post-Engagement(section)

acoustic owl
#

Read the chapter „Deliverable Acceptance“ again

glass terrace
#

thanks @acoustic owl

#

What is the name of the security standard for credit card payments that a company must adhere to? (Answer Format: acronym) hey @acoustic owl can you gave me the answer

acoustic owl
glass terrace
#

is it PCI DSS

flint palm
#

Hi Guys again why accesschk.exe is not working in cmd?

#

as a command?

fleet spear
#

usally helps if you provide some output

flint palm
#

is not it prohibited by rules here?

fleet spear
#

well if it is just error msg?

flint palm
#

not it is not an error message command provided in module is not working on target machine.... and I am interested why?!

snow mirage
#

Is Hack The Box openvpn down right now?

#

I can't get on Enterprise, Labs or on Academy

flint palm
#

for me works

#

I am going through the Windows Privelege Escalation Module

fleet spear
#

well how is it not working if it dosent give error message?

snow mirage
inland oak
#

Anyone familiar with this module ' window privillage escalation ' .. i have stuck for 3 days.. hmmmm

snow mirage
#

and select the one that isn't a default account priv

inland oak
#

means by using whoami /all cmd?

primal coral
#

hello guys ı need help about web enumeration I dont understend whats is the answer becouse ı cant fınd robots.txt file can you guys help me about ıt

gray yacht
inland oak
#

elevated PS session?

gray yacht
inland oak
#

I already use Powershell as admin also cmd.

primal coral
#

any one help me to?

snow mirage
#

strange, even with the client on my host and a new image of vmware it still isn't working

#

The only thing I haven't done at this point is pick a different server

stuck frigate
primal coral
#

yea ı do every think probably ı mıss somethıng

#

but ıdk what ıt ıs

solemn fractal
#

Good morning everybody hope you’re doing great I need some help getting root access to the Ubuntu 20.04.1 on penetration tester pathway privilege escalation module here is some information has anyone completed this module? I need some help with it please what kind of exploit I should use I have tried. Dirtycow cowroot but not compatible with the target any idea might help

gray yacht
humble ravine
#

Hi there, looking for help with "Working with IDS/IPS" module, i'm stuck at "Suricata Rule Development Part 2 (Encrypted Traffic)" section.

The question : There is a file named trickbot.pcap in the /home/htb-student/pcaps directory, which contains network traffic related to a certain variation of the Trickbot malware. Enter the precise string that should be specified in the content keyword of the rule with sid 100299 within the local.rules file so that an alert is triggered as your answer.

I started by looking at the local.rules file and "Content" is empty there, so from what I understood I should look trought trickbot.pcap, my problem is that I'm quite lost on how should I do this? I don't have tshark available

snow mirage
#

Is anyone else having issues connecting to their Open VPN on Hack The Box?

primal coral
solemn fractal
stuck frigate
snow mirage
#

So weird, I redownloaded the file as well, and switched the server

primal coral
#

guys do you know to ıssues ın my problem can you help me

snow mirage
#

It was a problem on HackTheBoxes side

primal coral
#

Its So Embarresing

#

please help...

dark hedge
#

if you want to increase your chances of getting assistance, put the module name and section name that you're working on as well as what you have tried

humble ravine
#

I tried to use both tcpdump and strings as I got suggested but yeah still stuck, I'm expeting to find an hex string but I'm probably looking for the wrong thing here

#

nevermind... I just have reading issues.

#

I completely missed the point of ja3, I solved it now

inland oak
#

complicated ahhhh

#

there is no walkthrough on window privillage escalation module.. Im starting to give up and stop the enrolled soon.. .

#

😂

young summit
#

anyone managed to solve the T2 Server Side: Skills Assessment?
I solved it but i'm looking for the intendend solution

west zodiac
#

Module: Footprinting Lab - Hard

I was doing this lab so i tried udp ports, but didnt give me anything. Then i ran it again and got a snmp port. After that i tried connecting but it was showing timeout. Then i bruteforce community strings didnt return. Then i did it again and i returned backup. then i tried to snmpwalk it and it says:
Timeout: No Response from 10.129.15.81

So the concerning thing is that even if i tried from PWNBOX, same false positives are happening. Any expereince with this problem what should i do. Im scared that it might happen again in future and potentially waste hours and may happen even in exam so wat should i do?

dense drum
#
Use cURL from your Pwnbox (not the target machine) to obtain the source code of the "https://www.inlanefreight.com" website and filter all unique paths (https://www.inlanefreight.com/directory" or "/another/directory") of that domain. Submit the number of these paths as the answer.

I am stuck, help.

I understand that I need grep -o combined with sort -u to uniquely list the paths, wc -l for the count but I am struggling with regex and striping etc

harsh gorge
#

Okay you’re on the right track you’ll need to use sed to validate the regex correctly

#

Should help you out

slate zinc
#

altho you are not supposed to grep for that
you need to chain the tools you have learned so far

novel parrot
#

Hello am trying to complete this task : Transfer Julio's ccache file from LINUX01 to your attack host. Follow the example to use chisel and proxychains to connect via evil-winrm from your attack host to MS01 and DC01. Mark DONE when finished. but am stuck at connecting back to DC01

I have manged to transfer the ccache file require for julio and here is the command I used for setting up chisel server:

sudo ./chisel server --socks5 --reverse
2025/02/24 19:29:39 server: Reverse tunnelling enabled
2025/02/24 19:29:39 server: Fingerprint h8S0dGz7u8bocnrew+nEOQky8Qupv3illaJTM3f+Z9g=
2025/02/24 19:29:39 server: Listening on http://0.0.0.0:8080
2025/02/24 19:30:14 server: session#1: tun: proxy#R:127.0.0.1:1080=>socks: Listening
frail kettle
#

I am on file system module, i followed the content and i can not figure out the correct answer, my answer is "NT AUTHORITY\SYSTEM", any advice
the Question is What system user has full control over the c:\users directory?
I run the following command
icacls c:\users
the output was as follows:
NT AUTHORITY\SYSTEM:(OI)(CI)(F)
NT AUTHORITY\SYSTEM:(OI)(CI)(F)
BUILTIN\Administrators:(OI)(CI)(F)

wanton estuary
#

Anyone finished intro to deserialization skill assessment 2. I'm struggling to get RCE. I can only get 500 error or redirect to local host. I think I'm unable to bypass a filter.

novel parrot
#

here is my krb5 config for reference:

cat /etc/krb5.conf 
[libdefaults]
    default_realm = INLANEFREIGHT.HTB

[realms]
    INLANEFREIGHT.HTB = {
        kdc = dc01.inlanefreight.htb
fathom pendant
indigo mirage
#

Hello, maybe someone could help me with this question?

Using the skills acquired in this and previous sections, access the target host and search for the file named 'waldo.txt'. Submit the flag found within the file.

fathom pendant
#

also the question states using evil-winrm to connect

#

not psexec

#

also: module is above t0 so avoid spoiling

#

i'm assuming for proxychains you used ssh -D to connect to the initial host

#

or some other pivot method

#

ligolo-ng avoids the whole proxychains nonsense

acoustic owl
#

@novel parrot If you assign several IPs to a domain, this is guaranteed to cause problems

novel parrot
fathom pendant
#

try cleaning up your hosts file first only leaving the lines relevant to your current task

snow mirage
#

...I'll see myself out 🚪 🚶

fathom pendant
#

@signal hound pass attacks is above t0 avoid spoiling things like usernames and files you need to dig for

#

that file is the last step

signal hound
fathom pendant
#

you should be able to via smb;

#

i suggest restarting the machine, waiting a min, trying again

rain saffron
#

sorry if this is a silly question, but what does a flag look like, I'm at this question and using tcpdump to intercept data while i used nc on each port, but i'm not really sure what i'm looking for

#

unless i'm in the wrong spot, this is what my output is looking like, so i could just be doing it wrong lol

fathom pendant
#

also module and section name is SUPER helpful

#

you're likely overthinking the problem

#

module and section name

#

that's helpful to have others help you

rain saffron
#

Network Enumeration with Nmap | Service Enumeration

fathom pendant
#

silly thing @novel parrot try with sudo

#

@rain saffron that module is above t0 so removing spoilers

#

one of the ports seems out of place

novel parrot
dark hedge
snow mirage
dark hedge
#

you only need to use nmap for this exercise

fathom pendant
#

be mindful when you receive a response from a server you may find a status code like 220

stable jacinth
#

Hi

fathom pendant
#

pushing you to think a bit outside the box

#

though i'm sure with a specific script type it'd work

dark hedge
#

oh, my mistake

#

it's been over a year since i've looked at the module

fathom pendant
#

the section also shows using nc and tcpdump

rain saffron
#

I got it, thank you 😄

#

definitely was overthinking lol

dark hedge
#

nice phonon pic

pseudo kiln
dark hedge
#

it'll be posted probably around May

rain saffron
pseudo kiln
#

I was hoping to listen to it before my attempt, oh well

dark hedge
rain saffron
#

ah ok nice, uni was my first non-plat fg, so i still play her from time to time, my friend group doesn't really play much uni, so most of my time with FGs is on +R and MBAACC

dark hedge
#

nice

green trench
#

Anyone can help with this one web attacks with ffuf
" In addition to the directory we found above, there is another directory that can be found. What is it?"

I'm getting all errors

fathom pendant
#

are you using the spawned target?

green trench
#

Yes

#

I rebooted my Kali

#

And spawned a new target still nothing

#

So I'm thinking I'm doing it wrong at this point

green trench
lusty thicket
#

your wordlist is tiny

#

filter by response code

signal hound
stable jacinth
#

Hi

#

What is this server?

#

My friend sent it to me

green trench
lusty thicket
stable jacinth
#

Yes but he didn't respond

#

Can you tell me

storm elk
#

read the server description

stable jacinth
#

Ok

fickle crystal
stable jacinth
#

Where server disruption

lusty thicket
stable jacinth
#

Wdym

lusty thicket
#

did you wait 5 minutes

storm elk
# stable jacinth Wdym

Read the server's name. Then Google - you will now have found out what this server is about

stable jacinth
#

Ok

storm elk
#

I wouldn't blindly join a server one of my friends tells me to join without knowing what I am in for beforehand

full patio
#

Is it the case that we should be able to access an instance/target spun up from the academy content, without first connecting to the academy VPN?

#

I think not, right? 🤷‍♂️

storm elk
#

If the IP is public, it is the intended way

#

If the IP is 10.x.x.x - you must connect to the VPN

full patio
#

👍 Cheers Sparkling

storm elk
#

🫡

fathom pendant
fathom pendant
signal hound
fathom pendant
#

You can mount it

fathom pendant
#

This is a very basic module. Maybe the user can see something they shouldn't

opal sphinx
#

hello I'am a beiggner so please help me in my startupprayge

compact patrolBOT
pulsar saffron
#

jhello

limber fog
#

Hi ! On the Hacking Wordpress - Attacking WordPress Users, it mentions the use of rockyou.txt, in a certain folder. In the PwnBox, I do not have that folder, is that normal ? Am I supposed to get the rockyou.txt file in another way ?

lusty thicket
#

clone seclists

#

you should have that anyway

young ore
#

Locate rockyou.txt

limber fog
#

Thanks ! In the end I just wget rockyou.txt, but I'm gonna try and find it

dark hedge
#

should be in /usr/share/wordlists

#

either there or in /opt

fathom pendant
#

one of the pwnbox locations is /opt/useful/seclists/Passwords/Leaked-Databases

slim otter
#

Just finished the DNS chapter in the footprinting module, can anyone help me understand why we brute force subdomains for discovered subdomains? Can’t find anything in the chapter talking about it apart from the domain diagram at the top

fathom pendant
#

Or more directly a zone transfer may be prohibited to b

#

But you can query a.b

tired bough
#

Hey is anyone having this issue with the sql injection fudimentals unit? the use a Union injection to get the result of 'user()' I did it and hit submit, and my awnsor went green, but the submit button is now grayed out and it wont let me continue

#

tried clearing cache and everything plus using a diff browser and it still wont let me continue or complete the section

safe star
#

Bro lost his sub

tired bough
#

nope, says im still subscribed to silver

#

i can hit next and it will go to the next portion but theres no green checkbox on it

#

also shows i have 40 out of 30 streak pts so thats odd

#

its like the form is stuck or something super weird

#

might be add block two secs

#

yeah nope still wont go through

#

so weird

ocean night
#

Any errors in the dev console?

fleet spear
#

if you just press shift ctrl R?

tired bough
#

looking one sec

#

tons

#

just one of them

#

i would post a screenshot but dont seem to be able to lol

#

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.segment.io/v1/m. (Reason: CORS request did not succeed). Status code: (null).

Error sending segment performance metrics TypeError: NetworkError when attempting to fetch resource. app-e5c4e728.js:7:241
IA https://academy.hackthebox.com/build/assets/app-e5c4e728.js:7
a https://fygapokei.hackthebox.com/htb-anal.js/v1/eLzeD0QoARKZ42pc8AGEUYpcFLpYkf0I/htb-anal.min.js:1
c https://fygapokei.hackthebox.com/htb-anal.js/v1/eLzeD0QoARKZ42pc8AGEUYpcFLpYkf0I/htb-anal.min.js:1

#

is another

fleet spear
#

i have a problem with the web requests crud api if i try to use web dev tools i can update london to flag and delete Baltimore but when i retrive flag the country_name is still the same

#

but if i use curl it works perfectly

#

or actually i could get it to work in dev tools if i dont update country_name

tired bough
#

im on my home connection, gigabit

#

sounds like social engineering

#

any htb staff online who could maybe assist?

dense void
#

Hello, I'm Belgian and I'm having some problems with this question because of the language barrier. Can you help me by telling me what I should put, please? for the Information Security Foundations chapter : Learning Process

#

thanks you

topaz lantern
#

@fathom pendant I'm not sure what's going on here, but this person is telling everyone to DM them lol

tired bough
#

yeaaaaaaaah it sounds like social engineering or a bot

#

new account, telling everyone to dm, super fishy

quartz lagoon
#

@gaunt scroll when you're doing the initial axfr query on the domain, you can brute-force each subdomain the query gave you iirc

dense void
#

caution mariana stan is a scammer

#

you sent me to a group where it asks me to pay by crypto

waxen totem
tired bough
#

Trying to scam in a room full of hackers is a very very very bad idea

#

thats like trying to rob a gun store lol

novel matrix
#

@ivory quest bye bye scammer

topaz lantern
#

Am I missing something with the whois command?

#

I cannot find the answer to my question on the module Thonk

waxen totem
topaz lantern
#

I'm typing the whois tesla.com but my output says nothing about admin at all

#

Section is obviously WHOIS

mild plover
#

Hey everyone. I'm doing the MacOS Fundamentals module, and there's a pwnbox, but no Mac VM to go to. Can't answer their questions. Other modules have a machine to jump to. Obviously I'm working off a PC. Am I missing something?

ocean night
#

We cannot virtualise Mac machines due to strict hardware restrictions on operating virtual Mac machines

mild plover
gaunt scroll
fathom pendant
#

it's unclear out of context tbh;
the context becomes more clear when you realize what spoofing is, it's just claiming that your MAC address is something that it's not; which i believe was set up in the section

fathom pendant
#

in a sense, transfer is prohibited

#

which is why the tool resorts to bruteforcing the subdomains

gaunt scroll
fathom pendant
#

there should be a tool in that module that is useful

#

also not all wordlists are created equal

gaunt scroll
fathom pendant
#

should be a fierce wordlist that'll net you results (at least with the bruteforce tool)

#

but you can create a script that uses nslookup/dig to do the same

#

also instead of dig axfr just... dig

#

zone transfers aren't the ONLY way of getting info

gaunt scroll
gaunt scroll
fathom pendant
#

that's all i have to say on that

gaunt scroll
fathom pendant
#

it's not the only query type

fleet spear
#

i like how it goes from the fundamental to want you to jump into reverse engineering java code that is hard

#

and on the hint says dont use the tools de obfuscate the code by yourself:)

waxen totem
#

Usual ARP starts off with a broadcast to get mac addresses to be saved in the routing table, the spoofed one shows that it's possible to just send a falsified record, then force the records to be updated with another request.

fleet spear
#

i would disagree line 1 and4 are evidence of arp spoofing

#

but if .101 would have claimed to be AA also and previously been BB that would have been spoofing or the other way around

#

now sleep GN

lusty thicket
#

yeah, this is not a good example

#

could have been 1000% better

fathom pendant
#

🤖

languid vortex
#

Hey everone, I'm working through Active Directory Enumeration & Attacks -> Privileged Access. I'm at the part where Bloodhound is being used for enumerating which servers/workstations a particular user can RDP or WinRM to using the built-in and custom cypher queries.

I ran the SharpHound collector on MS01 two separate times in two separate lab deployments and I can't reproduce the examples where the "Domain Users" group has a CanRDP edge to MS01 or the user forend has a CanWinRM edge to MS01.

#

Bloodhound just reports "No results match your criteria." This is also preventing me from being able to answer the questions at the end of the section for the same reason. Any ideas?

hidden urchin
#

In the module Footprinting -> Infrastructure Based Enumeration -> Domain section
after we got the company hosted server which we can investigate further why we are running it through shodan
what is the goal to do so

waxen totem
west zodiac
#

In the Module Information Gathering - Web Edition -> Utilising WHOIS.
Q2. What is the admin email contact for the tesla.com domain (also in-scope for the Tesla bug bounty program)?

Now when i run whois tesla.com i cant find a admin email, Is it removed from the records? what was the awnser? or am i missing something

wide wagon
#

I read the PTT on Linux module and have a question: how are ccache files created? I understand that I may find them on /tmp but how can I create them other then converting from kirbi file?

lusty thicket
#

you can request a service ticket using kvno, a ccache file will be stored in location you specify

#

it also gets stored when you authenticate to a kerberos server

#

iirc you can also used memory based credential caching as a fun trick, to keep this ticket entirely in memory

#

and it dissappears when the process exits

fathom pendant
#

CCACHE is a credential cache file; as the name implies it caches the credentials to prevent exhaustion of typing in credentials over and over again (used in kerberos authentication) so instead of needing to put in a user/pass when you want to connect to a service it first checks "hey is there a cache? or ticket/keytab? no? ok well gonna need to request from server"

#
solemn fractal
#

Thanks for your insight on this but I always overlooked into simple things don’t know why but can you pinpoint how I missed it and what I should do next to get this I have login with user 2 and I have permission to reach /bin/bash but don’t know how to get in there root access

fathom pendant
solemn fractal
#

Definitely I follow you keep going I also found private key but don’t have right to use it

fathom pendant
#

sure you do; why not copy it over to your machine

solemn fractal
#

I have tried it but still don’t allow me to execute scp or move to root for other options too

lusty thicket
pseudo kiln
nova knot
#

i'm currently stuck at "Getting started" knowledge check
i got the user.txt flag
but unable to escalate to root
i did linenum and found "User www-data may run the following commands on gettingstarted:(ALL : ALL) NOPASSWD: /usr/bin/php"

#

then tried
www-data@gettingstarted:/usr/bin$ echo 'cat /root/root.txt' | tee -a php
echo 'cat /root/root.txt' | tee -a php
tee: php: Permission denied

bright coral
nova knot
#

i'm trying to append it to get a reverse shell

#

by executing it

nova knot
#

any idea on how to go froward with it

bright coral
nova knot
#

i tried sudo

fickle crystal
#

Hey

bright coral
waxen totem
devout cliff
#

Has anyone gotten the SocksOverRDP plugin to work in pivoting tunneling and port forwarding module? I am having issues with the plugin, i think it is not running correctly.

#

i am expecting a popup when i run mstsc.exe that says that the plugin is running, i do not see it.

#

so when i execute the .exe on the next host it does not work

plain radish
#

Hey guys, I have doubt regarding the "Information Gathering - Web Edition" > Utilizing whois - What is the admin email contact for the tesla.com domain (also in-scope for the Tesla bug bounty program)? . I have tried 'whois tesla.com' but didn't got the admin email contact. In the solution the command is correct , then why email is not showing up ??

devout cliff
#

i also am trying to ping the 172.16.6.155 client/server from the 2nd pivot host and it is not showing up

signal hound
#

Hi im stuck at password attacks hard lab
I got the file i need to mount
I used guestmount to moumt the file at /mnt/vhd but there are no contents in there
What am i doing wrong?

devout cliff
#

ive spent about 4 hours on this section. I think im going to go try something else. SocksOverRDP seems like it just does not work very well.

bright coral
solemn fractal
waxen totem
golden gate
#

hey everyone

#

i was gonna ask smth but nvm
fingerguns

plain radish
grave oasis
#

hello lads, i'm doing the JWT Algorithm Confusion section and I'm having difficulties running docker since it's apparently not running. If i'm doing systemctl start docker it asks for some credentials which I have no clue where to find; am I missing something?
I've also tried with sudo before the docker command but the same happens

solemn fractal
#

On my local machine I have the id_rsa but still asking for password

urban elk
tropic agate
#

Sup

urban elk
solemn fractal
waxen totem
bright coral
urban elk
solemn fractal
#

Sorry guys I never had access to user2 yet

urban elk
#

(also, no need to run ssh with sudo)

solemn fractal
#

I cat the file and is staring with Beginning and Ending nothing else obviously to remove it out

thick steppe
#

Guys a question, lets say that you are stuck at a question in any module like I was in filter content curl question for like days on a single question and still was not able to solve it myself. In this kind of situations, is it worth spending hours or even days or just look answer somewhere, understand and move on to next module. Cause I am in InfoSec fundamentals path which is a prequisite for cpts, so I have a lot of modules to cover, this is just a starting point, some people say take your time and some say move on in reddit. Whats your opinion.

waxen totem
#

Time management is also a crucial skill for pentesting

#

and while learning it's ok to ask questions

lusty thicket
urban elk
#

also would say it depends on what you're stuck on. Is this something completely new to you ? Definitely normal, don't stay stuck too long, search for answers, note it down, you're learning. Is this something you should know ? Keep trying for a while.

plain radish
#

Guys , anybody completed the 'Information Gathering - Web Edition' can explain me how they have found the answer to the second question "What is the admin email contact for the tesla.com domain (also in-scope for the Tesla bug bounty program)?" under "Utilizing Whois" section.

tropic agate
#

0x08

urban elk
#

... well, I guess in a fun kinda way, it's not really

solemn fractal
#

I have no idea what to do right now guys I have removed the key and upload it again to my local machine and cat and there is nothing wrong with it and still asking me for password for both users do you think this is a bug have anyone done this before this module specifically or is there is an other technique I should look into cause I was like maybe two days working on it and I can’t get anywhere. Please let me know if you have use different technique than login with private key so I can look into it without wasting my time anymore. I really appreciate you guys. Thank you so much.

waxen totem
lusty thicket
#

pem encoded keys literally need those headers

plain radish
lusty thicket
waxen totem
bright coral
lusty thicket
#

not in this case

waxen totem
# solemn fractal

Ohhh it's the getting started module... you shouldn't have to ssh as user2 though...

urban elk
urban elk
thick steppe
# urban elk yeah, what they said, would just add that it's personal so come up with your own...

I am new to this, so if you have done filter content module in linux fundamentals all the questions after this section are unrelated to that section content, especially the curl one, so I am not supposed to know it but research it. But the thing is it was taking a lot of time and I was getting nowhere so I finally googled the whole question, got the answer and moved on to next section.

thick steppe
waxen totem
thick steppe
urban elk
#

^ and in case it was something you should have known, think of why you didn't think of it, and how you might next time

urban elk
#

so also don't worry too much. It's good that you're asking the question

thick steppe
#

They are supposed to be a knwldge check of the section rather than totally different things

lusty thicket
#

but this happens all the time in infosec

#

having to deal with missing information

#

i'd recommend you keep notes as a solution to this problem

thick steppe
#

I am a begenner, I dont know how to deal with this kind of thing, I do keep notes in obsidian

#

Also is it not possible to share your own notes to other, saw a discussion in cpts about that, I saw academy terms and contitions didn't say anything like that in it

#

you are sharing your own thing, how can they stpo you from sharing your things to others

lusty thicket
#

the platform considers it "leaking course content"

thick steppe
#

So I cannot ask somone for their notes even for like examle purpose,so I can know how they are supposed to be. The format and all that

#

Currently I am giving the whole section to llms and they summarize it for my notes, idk if that is how you are supposed to take notes

waxen totem
#

Notes are there to suppliment your learning first, and as a reference later

untold compass
#

bruh who's deleting

waxen totem
#

@untold compass we don't do that here, that's against HTB rules

waxen totem
#

<@&861185840277487616>

gray yacht
urban elk
#

one of us will get tired, and it won't be us

waxen totem
#

where da mods at damn

urban elk
#

lunchtime

waxen totem
#

@storm elk ya the last one I seen active 👀

urban elk
#

but thanks 0xW1LD for cleaning up in the meantime, that's gotta suck

thick steppe
waxen totem
thick steppe
#

I have no idea how are thay supposed to be if not llms, like there are bigass sections, llms breakit and summarize

waxen totem
#

notes are there to help you remember, not to remember for you, if you just pass everything to an LLM that knowledge doesn't go through your brain it just goes straight to the pages

thick steppe
#

I know its silly but Can somebody please show me how are notes supposed to be. Since giving whole sections to llms is not a good thing to do

thick steppe
solemn fractal
urban elk
solemn fractal
urban elk
solemn fractal
urban elk
#

no, this was the problem with your attempt to use the private key

solemn fractal
#

Yes definitely the private key did not work in either users

urban elk
urban elk
#

yep

solemn fractal
#

What is the problem do I need to use my public key to log into it or how is the process?

urban elk
#

what is that command doing ?

solemn fractal
urban elk
#

why are you trying to login as user2 ?

#

and with someone else's private key ?

solemn fractal
#

The private key is in root directory in the Target so it worked for both users and even though I tried to login with User1 and it didn’t work for some reason and I see the authorized key that does mean they allow access to Target using the private key

urban elk
#

you were user1, you became user2, and now you're trying to become root

near night
#

Hello Everyone
I am doing now this section : https://academy.hackthebox.com/module/158/section/1427 (Remote/Reverse Port Forwarding with SSH)
I did understand first everything , and I applied the exact same procedure that is in the lesson
so first created msfvenom -p windows/x64/meterpreter/reverse_https lhost=172.16.5.129 lport=8080 -f exe -o backupscript.exe
then I did Set Up a Metasploit Listener:
msfconsole
use exploit/multi/handler
set payload windows/x64/meterpreter/reverse_https
set lhost 0.0.0.0
set lport 8000
run
[*] Started HTTPS reverse handler on https://0.0.0.0:8000

I opened a new terminal and copied the backupscript.exe to the ubuntu pivot machine
scp backupscript.exe ubuntu@10.129.181.18:~/

then I ssh to that pivot ubuntu machine with dynamic port forwarding (not sure why we didn't just use the normal ssh) : ssh -D 9050 ubuntu@10.129.181.18
then I started the Python web server to serve up the msfvenom payload:
python3 -m http.server 8123

(and now here I spend around 4 hours to see how can I do the Invoke-WebRequest in the windows A , but since we don't have the user and pass, then tried a lot of things , at end I was thinking maybe something related to the previous lesson , then I remember the user:victor and pass: pass@123 which is not mentioned in this section , I tried it and it worked , and I loged in to windows A)
then I srtart powershell with Admin mode
run this command :
Invoke-WebRequest -Uri "http://172.16.5.129:8123/backupscript.exe" -OutFile "C:\backupscript.exe" (to get the backupscript.exe from ubuntu to windows A) (it shows 200 - in the ubuntu pivot machine which means that the file is downloaded)

then returned back to my host attack, and opened the terminal and run this command so I can get the reverse shell
ssh -R 172.16.5.129:8080:0.0.0.0:8000 ubuntu@10.129.171.18 -vN

and nothing happened , I feel that I did everything correct , but I am missing something here not sure what
Here what I got

solemn fractal
urban elk
solemn fractal
urban elk
#

if it's root's private key, sure. But surely you need to try to login as root, not as user2 ?

solemn fractal
gray yacht
solemn fractal
#

My dear, you are an excellent troubleshooter penetration tester. We got it my friend thank you so much. You save me a lot of time. I never thought about it. I tried to use User2 and User one all the time wow you don’t know how much I appreciate you my friend. Keep up the great work people like you deserve better. This is a team. I am looking for my friend. Thank you so much again.

near night
gray yacht
near night
#

ah !
Here it is
Execute actually no 🤣

#

let me try

gray yacht
#

Also, sorry about my initial response. I glanced over your question, but didn't read it completely and just assumed it was what is generally asked about that section.

near night
#

THIS IS COOOOOOOL
REALLY COOL
I never thought it will work

near night
#

I was thinking actually about executing it , but then I said naaah , maybe we can just follow the lesson

#

but thanks !

#

but what is the meaning of logging to the windows A using the passowrd and the username , and then gaining the reverse_shell ?
We already have the shell (powershell as an admin)

#

or maybe just for us so we learn how thinks works

gray yacht
flint palm
#

Guys hello I didn't understand what is ACADEMY-WINLPE-SRV01? I am passing through Windows Privelege Escalation

#

I understood this is some kind a server but where is that sever how to log into it?

#

RDP is not working

grizzled schooner
#

Password Attacks
Network Services

I've been running Hydra for the RDP question for the last hour and a half with no results... Am I missing something? Please @ with response, thanks

gray yacht
grizzled schooner
#

Yeah I got the previous ones, I'm not how to tune that, but I'll look at it when I can thanks

flint palm
#

Guys hello can anyone help me with my question. I am interested where I have to log in? In WIndows Privelege Escalation module?!

flint palm
#

Authenticate to 10.129.39.70 (ACADEMY-WINLPE-SRV01) with user "sql_dev" and password "Str0ng_P@ssw0rd!"

#

SeImpersonate and SeAssignPrimaryToken

#

this section

gray yacht
#

sql_dev so maybe via mssqlclient

flint palm
#

mysql you mean?

gray yacht
#

You can use whatever you think you need to, but I would use mssqlclient.py

lusty thicket
flint palm
flint palm
#

I am downloading and installing impacket now I didn't have it on my kali as I found now

gray yacht
#

You probably have it as impacket-mssqlclient

south heron
#

Yo

flint palm
#

No I did not as appeared installed it right now

fierce cove
#

Password Attacks :Password Reuse / Default Passwords -
I don't know what I can do with this assignment

#

I have Sam's user credentials, but I don't know what to do next.

gray yacht
lusty thicket
#

password attacks

flint palm
#

How to upload JuicyPotato there?

south heron
#

Twin sister attack?

gray yacht
# fierce cove mutating passwords

You've generally been performing password attacks against various services with different lists. Well, now you are given some creds, so maybe before using lists try passing those creds around against identified services. 🤷‍♂️

flint palm
#

Ricky how to upload JuicyPotato there? I am a bit stuck and nc.exe also

primal eagle
#

sorry guys but I'd have to say, the Session Attacks module is hard to read, since it feels so chaotic 😄

#

breaks away from how the whole course is written

gray yacht
flint palm
#

I connected with mssqlclient successfully but have no idea how to upload JuicyPotato there

#

and google also didn't give any useful information

gray yacht
#

It's time for me to make the donuts, so it's all you. netexec has a great wiki, so you can easily learn from their documentation.

dawn moat
#

Hello

#

I have been doing 2 million

#

And tried multiple ways to get reverse shell, but it aint workin

#

Eventhough the way they did in walkthrough video

urban elk
dawn moat
#

I am doing free machines

flint palm
urban elk
flint palm
#

Transfers didn't work here to be honest didn't manage to upload any file from my computer here

#

checking out netexec

cloud urchin
indigo mirage
#

Morning, maybe someone could help me with this question:

#

Using the skills acquired in this and previous sections, access the target host and search for the file named 'waldo.txt'. Submit the flag found within the file.

#

This is the module: Introduction to Windows Command Line

#

someone?

lusty thicket
#

using the skills acquired

gray yacht
indigo mirage
#

I am on stuck since 2 days

flint palm
#

checking out netexec also

gray yacht
flint palm
#

can I add you friendlist?

grim basin
#

does anyone know why my ssh isnt working here

#

oh sorry not ssh rdp

gray yacht
tardy trout
#

Hi@everyone

flint palm
indigo mirage
#

people, help me please

#

i am using everything and is not working

vestal mica
#

Hello

grim basin
#

nobody??

analog dock
#

The state of this channel

tardy trout
#

Hi@everyone

analog dock
tardy trout
analog dock
#

?

blazing nebula
#

Having some trouble with Linux Fundamentals

Trying to curl the www.inlanefreight.com website to try and filter the return and see how many unique directories there are

I'm not getting the proper return from curl because it's protected by Wordfence

#

So there's seemingly no way for me to complete the question as the module is asking me to?

#

Not sure why it would say to use cURL when there's a plugin in place to stop it being curled?

#

Wordfence thinks I'm a bot I guess?

fierce cove
#

I need some hints for module password attacks:Password Reuse / Default Passwords

#

I tried everything, but it doesn't help

tardy trout
#

@everyone who is real hacker here?

wide wagon
#

I am trying to crack a zip file with john like this: john -w=/home/user/vmshare/password.list --rules /home/user/vmshare/custom.rule ziphash.txt it quits after 1 secound an says it did not crack. If I create the pwlist upfront with hashcat --stdout -r /home/user/vmshare/custom.rule /home/user/vmshare/password.list | sort -u >pwlist.txt and use pwlist.txt it works... Why does the john with rules command not work?

tardy trout
#

¿

#

Hlooooooo?

thick steppe
tardy trout
#

Ok

#

How can I access dark web on Android?

grim basin
thick steppe
tardy trout
thick steppe
#

which country I meant

tardy trout
blazing nebula
#

Found a forum post anyway, that question fucking sucks

thick steppe
#

Thsi server is for htb

indigo mirage
#

I am using this command find / -name waldo.txt 2>/dev/null

#

that is not working

tardy trout
urban elk
tardy trout
wide wagon
indigo mirage
#

htb-student

thick steppe
indigo mirage
#

Am i not new i some little things

tardy trout
indigo mirage
#

I think there is something wrong on the module

urban elk
# indigo mirage Yes

I don't have that module. Has that section not taught how to search for files ? I'm finding it funny that it would have taught a Linux command instead, unless in a very specific situation that I wouldn't expect that module to get into

indigo mirage
#

I don't know, that is weird or I am doing something wrong

thick steppe
indigo mirage
#

I am not new, but I am doing everything since the begining

urban elk
fierce cove
#

Is there someone here who has finished password attacks:Password Reuse / Default Passwords
i need some help

indigo mirage
urban elk
tardy trout
indigo mirage
urban elk
indigo mirage
#

find or where is not working

thick steppe
urban elk
thick steppe
#

how the heck did you get on here without going to htb

thick steppe
#

this guy is here and have no idea about the server

urban elk
indigo mirage
tardy trout
urban elk
thick steppe
#

where did you get the link

tardy trout
indigo mirage
indigo mirage
thick steppe
#

I meant you get the link from htb website or whereever, this is htb academy, wwe are here to learn stuff, I am new ask someone else whatever you want to ask

indigo mirage
#

I am ssh to acces to my target and using where and find, but the file does not appeared on the screen

tardy trout
#

I have just one question only one "how to access dark web" someone can tell me ?
And Why are u ignoring my question???

blazing nebula
#

So that cURL question was actually a fuckin regex question in disguise

thick steppe
blazing nebula
thick steppe
#

Please only ask questions here if its related to a HTB Academy module

tardy trout
blazing nebula
blazing nebula
#

If you ask again I'll just assume you're trolling and block you

thick steppe
#

where are mods

thick steppe
vivid wave
#

is this the correct channel to report an issue with a vm? getting an error while attempting to rdp from both browser-attack-box (parrot) and my kali vm on vpn

module - Password Attacks - Windows Lateral Movement - Pass the Ticket from Windows

command - xfreerdp /v:10.129.86.17 /u:Administrator /p:AnotherC0mpl3xP4$$

error -
Do you trust the above certificate? (Y/T/N) y
[10:35:11:786] [5313:5340] [WARN][com.freerdp.core.nla] - SPNEGO received NTSTATUS: STATUS_LOGON_FAILURE [0xC000006D] from server
[10:35:11:786] [5313:5340] [ERROR][com.freerdp.core] - nla_recv_pdu:freerdp_set_last_error_ex ERRCONNECT_LOGON_FAILURE [0x00020014]
[10:35:11:786] [5313:5340] [ERROR][com.freerdp.core.rdp] - rdp_recv_callback: CONNECTION_STATE_NLA - nla_recv_pdu() fail
[10:35:11:786] [5313:5340] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1

tardy trout
#

Sorry@everyone 😣

acoustic owl
tardy trout
#

You all guys keep learning & I'm leaving this server

vivid wave
acoustic owl
vivid wave
# acoustic owl Put the password in quotation marks

tried that as well, ill share the output from that below as its slightly different:

xfreerdp /v:10.129.86.17 /u:Administrator /p:"AnotherC0mpl3xP4$$"
[10:47:19:257] [22019:22020] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0
[10:47:19:257] [22019:22020] [WARN][com.freerdp.crypto] - CN = MS01.inlanefreight.htb
[10:47:19:458] [22019:22020] [WARN][com.freerdp.core.nla] - SPNEGO received NTSTATUS: STATUS_LOGON_FAILURE [0xC000006D] from server
[10:47:19:458] [22019:22020] [ERROR][com.freerdp.core] - nla_recv_pdu:freerdp_set_last_error_ex ERRCONNECT_LOGON_FAILURE [0x00020014]
[10:47:19:458] [22019:22020] [ERROR][com.freerdp.core.rdp] - rdp_recv_callback: CONNECTION_STATE_NLA - nla_recv_pdu() fail
[10:47:19:458] [22019:22020] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1

#

also tried putting the common name in my host file, no dice tho. and also tried putting the username in quotes :/

#

also this output i'm sharing is from the parrot browser box so def not an issue w/ my vpn

acoustic owl
#

You are in Pass the Ticket, right? Wouldn't you have to log in with a ticket instead of a password?

vivid wave
#

yeah correct pass the ticket. instructions are to rdp into that host then perform pass the ticket with the tools on the windows host

acoustic owl
#

Let me check my notes