#modules
1 messages · Page 482 of 1
PUT /flag.php HTTP/1.1
Host: 178.62.0.100:30806
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Connection: close
Upgrade-Insecure-Requests: 1
Cache-Control: max-age=0
Content-Length: 21
<?='cat /flag.txt';?>
Use get request
Now
Did u get the msg the file has been uploaded
In that response
yea
So u need to just make a get request
HTTP/1.1 200 OK
Server: nginx/1.10.3 (Ubuntu)
Date: Fri, 04 Dec 2020 18:08:27 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Content-Length: 13
cat /flag.txt
thats the response the page just displays that text
Just study that page once again
If ur not getting after trying also
Just ping me
hmm ok, thanks
hey guys
Hello
im doing the java obfuscation module
and im up to decoding
so far everything went ok, but then it asks me to post "serial=............"
and what i got
so i do that
then it gives me another string to decode
i decode it
and try to put it in as the result
when it didnt owrk i tried using it as a serial
and it also didnt work
any tips or ideas on what to do here?
Skills assessment in java deobfuscation is there anything wrong with that js script because when I'm using it in pretfier its showing me a syntax error
Saiko u just need to decode it and post the result to the server
U will get the output
@twilit fractal guess i needed to know how to run a shell command in php heh thanks for the guidance
Ur welcome
Skills assessment in java deobfuscation is there anything wrong with that js script because when I'm using it in pretfier its showing me a syntax error
I'm getting unrecoverable syntax error
Stack-Based Buffer Overflows on Linux x86 : Submit the size of the stack space after overwritting the EIP as the answer. (Format: 0x00000)
Do I sub the value of EIP from 0xFFFFFFFF to get the result?
@rustic sage take a look at the hint
info frame + info registers eip + x/x $esp + x/x $eip . it's more I don't understand the logic of "stack space"
https://miro.medium.com/max/800/1*1Or1lGJksfMPGUqHOZXVUw.png
when looking at this I try to subtract different values
x/100x $sp also don't make me understand it more
why don't you follow the hint?
hint is : With "help info" in GDB
use it
hello everyone ! I'm new at this channel and I was hoping if someone could just answer a quesion of mine ?
Just ask the question instead of asking to ask 
gotcha ! lol
info all-registers gives me (raw 0x00000000000000000000) from st0 - st7
and esp 0xffffcd80, but 0xffffffff - 0xffffcd80 = 0x327F does not work either
info args & info locals = No symbol table info available
info proc just gives me the payload in ascii
which options do you have with "info proc"?
gives me process 2044
info proc all
Start of stack: 0xffffce40
0xffffffff−0xffffce40 = 0x31BF ; not correct
experiment more with "info proc"
@rustic sage stop sharing details here
use "help" for the commands, think smart not hard
look at the options you have and GDB provides
I'm in system information from linux fundamentals and so far I've noticed that I can start Myworkstation without a problem, however right under it there's this " start the target ".
What is it for ?
Do I need to start it do solve the questions ?
so the question wants to filter unique domains, yes?
i have no idea how to remove duplicate and same patterns from that 🤔
look for linux commands that can de-duplicate lists of things
I dont't get it
yes
is info proc all > Start of stack the right path?
could you please make it crystal clear ?
do I have to netcat or something like this ?
click on Target: Click here to spawn the target system!
it will be the target that u need to work on it
then u need that GET VPN Key
download it and open it in ur VM machine with sudo openvpn /downloaded VPN Key's location
let it be open
open another terminal tab and u r ready
all this information is covered in the intro to academy module
do I have to use nmap to find what user a ProFTPd sever is running under?
thx
Academy HTB is the best learning platform i've ever seen
no @small moat you should be ssh'd into that box to find this information
annd glad to hear you like it davy!
I am ssh'd
so why would you nmap a box that you are on? you can find all that information out using tools on there
because I'm not sure what to do? that's why I asked
the module content should cover things like how to check running processes
ok thanks
the ftp service is going to be a running process - show running processes, look for the one you want and see what user it is running as. Have a read of the content again to refresh yourself. Everything you need to do is covered
break main & break bowfunc does not give other value on info proc mappings for calculate the stack space
Whats xfreerdp? I have connected to rdp and same error the powershell not recognize it
xfreerdp is the rdp solution they mention using to connect to the target
stack space = buffer + ebp + return address + name-parameter right?
@ember heart Am I able to open the VPN key with a linux os instead of a VM ????
VM = virtual machine (whatever OS)
u have to be familiar with VMware and virtual box for this kinda stuff
gotcha
info proc files $pid = Too many parameters: files $pid
tried https://sourceware.org/gdb/current/onlinedocs/gdb/Process-Information.html but don't get any further
with info proc status for 'its stack size' but nothing
converted VmStk: 136 kB to hex = 0x1269760 but wrong
Stuck at Linux Fundamentals "How many services are listening on the target system on all interfaces? " - I already searched this chat for solutions. I tried: netstat -l | wc -l but its rejected
How can I get ALL services from all interfaces?
have you seen the output of nestat -l?
doing a count of lines from that isn't gonna work as you will have headers and other info in there
Thats a good hint...
make sure you are filtering the right stuff and only counting the lines you actually need
I tried netstat -l | grep LISTEN | wc -l
thats just gonna show all listening ones
the question wants some specific ones
read the question again
How many services are listening on the target system on all interfaces? (Not on localhost and IPv4 only): OK so they do not want those who run on localhost only, so no unix sockets which leaves me with the TCP/UDP connections but that also is rejected
guys i need help
when evaluating skills - Web Fuzzing, I no longer found any extensions other than php
i did many hours
my last section is just crazy https://prnt.sc/vw3y5i
how make it ?!
@ivory dock That question confused me too. I believe they only want IPv4 connections. Needs to be reworded I think.
I did get through that one the other day but cannot 100% remember if it was just ipv4 but preeeeeeeety sure it is.
@tulip jacinth I am on the last skills assessment for that right now too. Remember you are fuzzing VHOSTS.
ofcourse i add all subdomains in to /etc/hosts
Remember your ffus syntax for fuzzing vhosts.
Your screenshot is confusing me. I just use command line with no coding so its just one long command.
https://prnt.sc/vw4cqj just a for cycle in fish-shell
Remember the different syntax for fuzzing public subdomains vs vhosts. Also remember to check if your fuzz list has a "." already in the list so your not fuzzing for ..php etc
thx! i did it this, just another file-list
Whats helped me get through those "stuck" moments is just walking away and then redoing the entire module from scratch with new notes the next morning. I hit the reset switch. First time learning anything new is filled with so much information that makes it easy for your brain to get focused on one thing and lose track of everything else that led up to it.
Hello guys . I am stuck at In Windows Fundamentals/ Windows Services & Processes question. I think my command is perfect , I even put in the end | ft -auto to see the full name of the services . As a result I can clearly see a non-standard update service in the cmd window, but the answer isn’t correct .
Lol never mind guys , I found it 😅😅
Hi guys im stuck in question 3 in JavaScript deobfuscation module in skills assessment, i got the flag in the question but it says incorrect answer. I also checked the hint for it and done it. Any help is appreciated. Thanks
Nvm i erased a single character in the flag XD
I agree, I'm in love with that platform😆
hey, I figured it out the find options for first question, and I used 2 time -size option to find only the specific file. But I was wondering if I can use only 1 time the -size option and enter 2 sizes.
For instance, instead use -size -5k -size +3k using only -size (and than enter 2 sizes)
Is it possible?
I cannot get the response of this website: „http://206.189.25.23:30147“ Please somebody check it.
bro chill out
@languid fjord @urban sage
can any of you do sth about that?
thank you ❤️
np
👀
No, but I would suggest turning your data on and off to get a new IP, just in case. Lets hope its dynamic hey.
?
He posted your IP in chat, so he might be trying to take it a little bit further than just snooping as revenge. Maybe.
What should I do?
You're on a phone. So just turn your data off and on again.
How?
On android you just pull the drop down bar at the top down and press on data. No idea how you do it on an iphone. Never used one.
Google will help with that one.
Keep in mind that I am very far from an expert, so that is just what I suggest, because that is what I would do.
He can hack you through WiFi if he's sitting in your room or outside your window
Besides that, no
Hey, can anyone help me with a question in the Linux Fundamentals module? It's one of the questions in the filter contents section
Fell free to DM me
yeah sure DM me @pastel narwhal
Hey, Can someone help me?
Like it's personal is anyone up?
is it htb related?
I don't know what it means
I don't know anything about hacking
I was told that I would get some help here
So I'm here
Need to hack a discord account
Or
If possible need to hack a mobile
No
What you want help with is illegal
Continue this conversation and you wont remain on the server. Like dpgg said, read the rules. If you are unable or unwilling to follow them then please leave
Thank you
Stack-Based Buffer Overflow on Linux x86 @ read the flag /root/flag.txt - Shell works but SUID not triggered, only shell as htb-student so can't read the flag. hint?
are you running it whilst in gdb?
ahh. understand. thx
now you've got a working exploit do it straight to the program and it will do what you expect
@tough fjord i have got a question
depends on what it is
currently i am doing this Web Requests module
i got to the question "Login with the credentials guest / guest and try to get to admin." so i am at the admin page and i have no idea what should i use as an answer.
yeah - so login as guest, and escalate to admin
investigate the cookie
decode it, see what it does,
decode the cookie?
login, and check the cookie value in the headers in burp
decode it
when you are successfully logged in as admin the flag will be on the page
ok. Thank You
Hey @tough fjord so I think I did it. But still can not see the flag ;d
then something is not quite right
Welcome, admin_149e5af8264a45c2c7337!
ok
i tried to use admin_149e5af8264a45c2c7337
yeah
so do you know what that number is at the end that appears with guest account?
cookie number?
it's just a unique value assigned to the guest account - multiple people use guest accounts and there needs to be a way to tell them apart
yeah, everytime you login as guest it will give a different one
so i have to start from the beginning? ;d
no
just think about it
that value added to guest is just a random unique identified
would an admin account need something like that?
from the way you asked the question, i must say: no, admin doesnt need it ;p
i don't understand @fleet moth
if you had solved the task you would have the flag
when you sucessfully login as a proper admin account the flag is displayed on the page
if the flag is not on the page then you have not done it correctly
Welcome, admin_149e5af8264a45c2c7337!
thats not a proper admin account
why would an admin account need a unique identifier appending to it - something reserved for guest accounts in this instance?
why do i receive this message then? if i am not an admin... this is really confusing...
what is the name of the valid admin account?
admin (probably)
does admin = admin_149e5af8264a45c2c7337
could someone give me a hint as how to find the answer to "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 of that domain. Submit the number of these paths as the answer." I know I use cURL and I tried reading the manual but I didn't see anything I will keep looking though the manual but I thought I'd ask, I know i have to filter it for all unique paths but I just am lost.
When you get the admin flag make sure to remove the final '!' in order to get the cubes.
-In Web Request: Post Method
Hi! Could someone help me with the web request module
I'm at the same point as @fleet moth
I'm not getting the flag, and I don't know what else to do
Hey I am currently doing the Web Request module as well but having issue connecting to inlanefreight.com on port 80. When going to http://inlanefreight.com it automatically loads the https page. Do I have to change something in the browser's settings? Even admin:password@inlanefreight.com automatically redirects to the https page. Please @me when you respond thanks
Also thru IP:port
@sinful talon spin up the target instance just above the questions. That is what you practise against
Replace inlanefreight with the ip port and it should load a sight
Hi I'm trying to figure it out how many packages are installed on target machine in Linux fundamental.
I used packet manager to list all installed and combine with wc tool. But the number is wrong. I'm not listing all packages?
Have you looked at the output of your first command to see if it lists anything on a line that isnt a packagr
oh do you mean that if I list all packages install can I output something is not packet too?
Like is the first line a list of headings
And when you run wc it counts that as well
So you may need to filter on something to only get the installed packages
ok, I did it. The problem for me is that because there so many packets with word "installed" at the end that I didn't notice that there are some without . With your tips I did grep "installed" too and yeah. Thanks so much for this! Now I understood.
No problem
Hey could someone lend me a hand in the post module? I got the cookie, I changed it but I'm getting a message with 2 characters on the dashboard
Same Problem
@crimson stratus I had to encode my cookie first... do not send it in cleartext
@ivory dock yeah I already solved it, thanks tho!
I don't understand this question, how do I answer? Web requests fundamentals, => POST request => Login with the credentials guest / guest and try to get to admin.
With Burp, I sent the GET request with the auth=token_admin cookie, once logged in as a guest.
I try to add the name of the admin I get with a 200 answer, but I still get an error
@rustic sage backticks ` and not single quotes '
@tough fjord Do I indicate the name of the admin in the answer? "Welcome, hgehhuhgeigiehri!"
When you have got access as an admin the flag will be there
ok
@tough fjord thanks for the help
Guys where's the modules
Under the modules option when you login to academy.hackthebox.eu
Npq
@tough fjord It is not easy to understand some steps of this tutorial, can you add some explanations or examples for a better understanding and better assimilation of the steps, thank you. , thank you. I have the flag now !
which bits are not easy to understand?
the exercises are designed to make you confirm your understanding - not just copy paste commands
removed for spoilers - will dm and explain
I'd run "openvpn" with the vpn key from system information, however since then I have no idea how to proceed. If I either use MyWorkstation or my terminal ?
work through the modules and complete the exercises
thx
sorry but in the linux fundamentals, in filter content the last question. Unique paths are they referring to all links that are posted on page or something different?
All inlanefreight links
ok thanks, sometimes I'm wondering if I'm understanding well the question because of english😅 so thanks again
Hey guys I’ve just began the “Windows Fundamentals” course. On the first exercise the terminal is saying “Get-WmiObject: command not found”
I have a problem
Im doing the linux fundamentals module right now and when I try to log in with ssh it wont type out the password
When I try to type the password nothing comes out
@stone iron yo
Hi @cinder bobcat
When I type out the password its just says its wrong
And im carefully entering letter by letter
Caps also werent locked idk what to do
True😅
Yeah
Hey guys 🙂 I'm taking the Linux Fundamentals course and I'm sort of stuck on the question:
How many services are listening on the target system on all interfaces? (Not on localhost and IPv4 only)
Can someone guide me in the right direction? I'm assuming I should be using the ss command along with the wc -l command.
should be netstat -tulpn | grep -i listening
something along those lines
or | grep -v "127\.0\.0" the wording for that question I admit is confusing
Sweet! Thanks @sick vine, I'm still trying to figure out how linux works so questions like this come off as super intimidating 😅
no worries man feel free to ping me directly if you have any more. keep it up!
Thank you! I appreciate it! 😄 You'll probably see me here often. I really wanna get this stuff down.
umm guys I know we are not allowed to ask for answers directly so can anyone give me a hint or something for this question from Linux Fundamentals
What is the path to htb-student's home directory?
I can't find htb-student anywhere, I tried entering ssh password but it keeps showing permission denied
have you turned on the target instance?
then ssh to it with ssh htb-student@ip that appears when you spawn instance
yeah I did that
I also entered the password correctly twice but it still shows permission denied
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 of that domain. Submit the number of these paths as the answer.
- 1 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 of that domain. Submit the number of these paths as the answer. any hints
I'm also stuck at same question
ssh -l htb-student [ip] ?
yes
[password]
What do you mean??
I do it this way, and it works. Sorry for bad english. 😄
can you help on the 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 of that domain
Sorry, but I don't understand. 😄 My English is poor. :S
Okay dont worry😆
What is the path to the htb-student's mail? any hints
@daring nimbus check your env
sorry if I am asking a lot but I am new to this stuff
Which kernel version is installed on the system? (Format: 1.22.3)
I used the command uname -v but I am not getting which matches the format
you will get a lot of output in that - you just need to find which part of it is the kernel version
#1 SMP Parrot 5.5.17 -1 parrot1
this is what I am getting
yeah my bad got it thanks
no problem
guys, I'm stucked in " 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 of that domain. Submit the number of these paths as the answer.", any hint or sth else???? I've tried grep, sort and all filter stuff
yep - you need to chain a few tools together to get the output
even a bit of regex if thats the way you want to go
sigh stuck at
Filter Content - Linux Fundamentals for 2 hours now 😂
but damn good challenge . really squeezing my brain out. i almost forget to take a break too
i think i havent reach there yet. its just the listening services question.
i might be tired due to overthinking. should sleep and continue tmr
ah - add filters slowly
so start with just a command that will display all listening services
see what you can filter on to only display those listening. then how you can filter to remove those on localhost (127.0.0.1) and how to only show those that are ipv4
i see ! thanks man !
very helpful
what i did was list out all listening services which is netstat -al
but i didnt really filter
i think i misintepret the question ... damn
but thanks @tough fjord u put me on the right track !
the urge to turn on my laptop and go for another round is real 
no problem, a couple of grep commands will get you there
Anyone done the Bufferoverflow module? I don't understand the question "How large can our shellcode theoretically become if we count NOPS and the shellcode size together?" Can anyone help me out?
NOPS + Shellcode = ?
Thats what I thought, but it says incorrect answer
Hey guys I’ve just began the “Windows Fundamentals” course. On the first exercise the terminal is saying “Get-WmiObject: command not found”
Anybody 😥
I'd like to learn how to pull local IP addresses on my router to test breaching capabilities on one of my computers. Maybe I can branch off and go from there. Granted, I have the IPs, but I want to know how to pull them should I not know them at all.
Hello
@cinder bobcat have you rdp into the windows box and using powershell
Why i cant write on medium modules , im actually learning on file transfer and its medium level
you need to verify / link your account on here to your hackthebox account
Can anyone help me out with the buffer overflow module? Some of the questions just don't make sense to me
I still cant login with SSH to htb-student with IP
Its all fine until it asks for the password
When I start typing in the password its acting as if im not typing anything
Idk what to do
@tough fjord help me please
it is supposed to be like that
you can copy and paste the password
and press enter
Now im stuck again, I cant find path to htb-student mail and I dont know how can I find what is the specified shell for htb-student
Cant find it
Tried to search on yt how to find the specific shell but no results
And I cant seem to find anything related to mail
find out how to view environment variables
@tough fjord Just wanted to say thanks for your contributions in this thread. They have helped me a lot.
no problem
@tough fjord I did
hi
Hi
I was doing linux fundamentals, question is , in order to create a new users home directory which option needs to be set with 'useradd' ..... I tried sudo useradd -m and it shows incorrect answer. Could anybody let me know what I'm doing wrong
hi, i need cloudflare uam mod bypass script
I want special software
I will pay your fee
what will be the purpose
@dusty token
Hi can any one tell me what is the path to the mail of htb student I’ve tried /var and all the other combinations
I’m in Linux fundamentals I swear this stuff is squeezing my brain all out I’m loving it god that says allot about me XD
Check your environment info
Yeah
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 of that domain. Submit the number of these paths as the answer.
Solution please
sorry but we don't give answers - the aim of the exercise is for you to work with the tools to get used to combining them to achieve things like this
get the file. then find items you can filter on to only show the urls. then find a way to remove the junk that surrounds it
then find a way to only show the unique ones
then a way to count the entries
I also ran into this issue.. I think your issue is that you are uploading the .txt file rather than the whole .zip directory. When I uploaded the entire zip directory, unzipped it while SSH'ed into the target machine, and ran the hasher function I got the correct flag
Hi guys Which option needs to be set to execute a command as a different user using the "su" command? (long version of the option)
can i get a hint i dont undestand should i check in su-h Or some were else
nvm found it
Hi guys, could anyone tell me what one needs to know in order to start your adventure with hack the box and start solving tasks?
no programming etc?
not sure lol but i guess so 😉
Well the academy is we’re you learn
Bte the ctf and chalenge place is we’re the real shit happens
You need allot of knowledge
So try to learn in the academy first
sure, I get it now. Thanks 🙂
how do you find it?
I mean what are your impressions on the thing? Hard, bearable?
@zenith laurel What is your knowledge level at? Have you used a VM before? Do you know what a VM is? Have you used linux before?
Why its a problem in powershell pwnbox
Does not recognize the commands of the module im learning
@sudden summit I've used VMs, installed some linux distros and were using it just as a regular user, managed to install xampp anyway with some tuts but have little deeper knowledge about it, i can do some python but nothing advanced and some html, css and a bit of php.
Can anyone help?
"How many packages are installed on the target system?"
I write this: apt list --installed | wc -l
A few auxiliary sentences. Am I thinking well?
and I write this: dpkg -l | wc -l
grep for installed
i didnt understand when it was explained to me, but apparently without grepping itll show you something in addition to just installed or something to that affect too @rustic sage
per the person that it explained it to me:
- doing the grep will show the true result for the packages that show 'installed' from the list
- apt list --installed --> will show you the list but if you look to the right --> [installed,automatic] you'll see something that says this like a bunch of em
- from them you want to filter out the ones that don't have [installed]"
Thank you! ❤️
np
im personally stuck on teh filtering section. i find it extremely difficult to determine the right combination of commands. so if you get there and understand it better than I, let me know plz 🙂
playing with the tools will sure get you use to what output they provide, but if you dont understand the output then you wont be able to combine multiple commands
even more so if you dont know what to input to get the desired output.
for example what im on: How many services are listening on the target system on all interfaces? (Not on localhost and IPv4 only)
no where in any of the previous lessons is there any mention of 'interfaces', let alone what it means or how to check them. I went though and did a ctrl +f and checked.
i can netstat, npm, service status, top, etc with any number of parameters and not know what im looking at (even with the help of google searches). ive gone back and re-read sections multiple times with no clear answer or hint as to what should be used to determine if im looking at 'all interfaces'
A line has to be drawn at some point in what knowledge should be assumed.
Netstat will display what you need. Then its a case of filtering to show what the answer requires
@zenith laurel Your all set then man. Install Kali on a vm and start with the fundamentals modules in the Academy.
@sudden summit Thanks!
i sorted for all listening in netstat but it still says the answer is wrong
netstat -a | grep LISTEN | wc -l
netstat -l | wc -l
Ok. So you are listing all listening services
But the question wants you to ignore any listening on localhost (127.0.0.1)
And to only include ipv4. So ignore any ipv6
Look at the output of netstat. See if you can differentiate between the ipv4 and ipv6 services..then figure out how to filter those out
ahhh, it should be typed like that, was thinking it meant "not only on local and IPv4"
only ipv4 makes much more sense
$ netstat -a | grep LISTENING | grep -v "127.0.0.1|localhost" | cut -d":" -f1 | wc -l
ive tried about 5 variations of this and im getting the same (wrong) output
That will.still have ipv6 stuff i think
netstat -al | grep LISTEN |grep -v localhost |grep -v 127.0.0.1 |grep -v [::]:* | wc -l
netstat -al | grep LISTEN |grep -v localhost |grep -v 127.0.0.1 |grep -v :: | wc -l
and a ton of variations
i keep getting a different outputs but none are incorrect
many are the same
im starting to hate the number 86
Have you looked at the output of your attempts before piping to wc
just did and it looks like my grep -v arent removing anything...
is it even viable to use multiple grep -v with |
It is
ok so now i used htb-student@nixfund:~$ netstat -a | grep LISTEN |grep -v localhost |grep -v "127.0.0.1" |grep -v "[::]:*" | grep -v "tcp6"
and im seeing it remove the stuff, but when i add back the wc -l it still outputting 86
netstat -l is for listening services
Should definitely not be getting 86 as the answer
htb-student@nixfund:~$ netstat -l | grep -v localhost | grep -v tcp6 | wc -l
105
htb-student@nixfund:~$ netstat -l | grep LISTEN | grep -v localhost | grep -v tcp6 | wc -l
93
im not getting anything in output that is localhost (or local IP), nor any ipv6 when checking without wc -l
Try -lnt
Hi @tough fjord or anyone here. Wondering if you could give me a hand with the exercise on Web Requests module -> POST method. I seem to be missing something with this exercise and havent quite gotten the right challenge response yet.
I have done such things as used base64 encoded version of 'admin' and 'admin_xxxxxxx..' as the auth cookie value, but still i don't get the response to the challenge. I know I am missing something fundamental or maybe I'm looking too far, but any tips or guidance will be helpful.
Haaaa I see, I over looked that. I will test that out shortly.
u mean connect to the target without vpn ?
Hey there!
I'm doing this How many total packages are installed on the target system?
I'm sure I'm using the right command but it's not marking it correct
is there is something trivial im missing ?
Im doing Linux Fundamentals to refresh my memory
- File Descriptors and Redirections -
hello i am preety new to HTB i have done CEH now have to go for OSCP but i want to start from beginner to OSCP and suggestion how a beginner can start in HTB
Absolutely spot on @dapper belfry . Couldn't have imagined that all I was missing was the newline character. Appreciate the help again 🤝 👍
actually i've run sudo openvpn but no idea how to preceed. But is it possible to access the target locally ?
you either need to be on the vpn - or the target is publicly accessible
it's not possible to have the content on your local machine to do without an internet connection - if thats what you mean
@tough fjord here’s what I’ve done. I downloaded the VPN key and opened it with sudo openvpn. Right after, I opened another tab and tried to ssh to the target through my terminal, but I got time out. Any idea of what I’m doing wrong ?
are you able to ssh in thru the pwnbox
hi
into the target
@patent blaze download the vpn key, then sudo openvpn academy.opvn .
u shd see last line " initializing complete " or something like that
u then can connect to the target
@timid grove Yes, I saw that line “initializing complete”. But the remaining question is, how do I connect to the target ? Should I ssh to in another terminal window ?
yes sir
just open a new tab or a new terminal window and connect it
but dont close the terminal that is running the openvpn
Ok @timid grove thank you
case sensitive?
I'm struggling to identify unique file paths following the curl of inlanefrieght.com under the linux fundamentals > filter content section, using grep followed by sort and wc at the moment, am I on the right lines?
im doing it as of now, i gonna try what i have in mind either later or tmr when i wake up 😆
Let me know how it goes
hey ??
I'm currently stuck on the same and also know that i'm using the right command(s) but still no matching number; no hints available so maybe there is someone who could give a hint on this one?
it worked yesterday when I checked it
Any additional hints maybe?
Nevermind got it! But still wondering if thats correct haha
I thought I was getting that “initializing complete” as last line but it turned out I’m. The service keeps restarting. Any idea what I might be doing wrong ?
tun ? Sorry, but I don't know what that means
I'm trying with an Ubunto os, so I don't think firewall and this kinda stuff would be a problem
check the output of ifconfig
it will show the interfaces - tun is typically the interface for the vpn. if you have tun0 it's all good. if you have tun0, tun1, tun2, tun3 etc it isn't
thank you so much. I think I'll be able to solve it with all this information I've just provided
the same here, I think I'm using the right command but the answer is wrong, could anyone give me a hand?
hello all,
maybe can who tell me what mean address EBP register in to "Take Control of EIP"
this is offset? address after run prog? or something else?
I use all tools r2 gdb but wrong answer...
ebp is base pointer and have the base address of stack
may be from ebp onwards ur data has been overflown
try to locate content from ebp or from esp
then jump to that specific register and execute shellcode
oof.. been stuck a couple hours and alrdy read through the prior advice on where i'm stuck..
I'm in the POST method section of the WEB REQUESTS module..
I'm at the part where I think i'm logging in as admin... I get this: Welcome, admin_xxxxxxxxx!
No flag in sight, i'm guessing i'm not at the end yet but any hints on where to go from here would be great!! Thanks!!
@tough jolt play with cookie a bit more.
thnx haha .. hrm can u gimme a lil more nudge towards a direction haha.. im coming up empty
The cookie generates a random hash for each guest right? Would it need to do the same for members that arent guests?
oh gosh... tiro mentioned that earlier.. but it didn't click in my brain until you mentioned it -_- @sudden summit thnx buddy, what an oversight
All good bro. Im learning from so many stupid oversights myself. Kicked myself a few times when looking up how to do something and then realising I actually have the knowledge but just didnt think of it. All part of developing a strong methodology
it was deceiving since it was alrdy telling me i was admin when technically i wasnt haha
haha yeah. I find most challenges and skills asses do that kind of thing. Its to teach you outside the box thinking.
yeap like what agent said. PM if you still cant get thru.
Hello everyone, I need your help because I need to learn about how to start http-server on port 8080 with npm please give in an idea and how to find every services on state listen all can us Help me?
I used nmap, netstat together pipes and grep and wc -l to account the lines of result, I need an idea thanks
and curl to find source code web and account the paths
The netstat question is a bit confusing. It actually wants to list only listening ipv4 services. Check out the man page for netstat on how to list only v4 listening services. Google for npm http server as your going to be doing a looooooooot of googling if you want to learn infosec.
I wanna join a ctf team. I am a complete noob. Any other noob intrested? We can be a team
A ctf team of noobs
sure @crystal swan
hello there, sorry to bother you guys but i currently stuck on Windows Fundamental at questions "which Windows NT version is ....?" i got the version number and build but always get incorrect answer, ant hint would be great, thank you guys
I have some problems in Linux fundamentals...
[10:03 AM]
so i am looking for hours for answer for this questions, think its bugged...
[10:04 AM]
Which kernel version is installed on the System(Format: 1.22.3)
What is the name of the network interface that MTU is set to 1500?
[10:04 AM]
so in machine I've typed
uname --kernel-version
ip link list
[10:05 AM]
and everything i put in answer, got me an error...
@surreal tusk and this one
What is the path to the htb-student's mail?
I expected the answer to be /var/spool/mail
Ya got it thanks
can we not just give the answers away please
hints and nudges on where to look to discover the answer is a better way to learn
hi
o get the cubes back from this module, answer the following question. What is the difference between the two numbers of the learning progress mentioned above?
I get this quetsion in laering procces module, I tried so many things like continuously, increase your performance by 1% per day
but i couldn't come up with the right answer
any help? 
oh no
u have to do subtraction my friend
u will feel weird asking this question the moment u solve it 😩
either that or u are overthinking
@knotty lantern there is one maths problem in the section - it is the answer to that. check the hint
i feel weird already
THX guys
take a loot at ssh first
Hello guys/girls,
I'm stuck on the Linux fundamentals where we have to find the name of the service with the description "Load AppArmor Profiles".
I found the service with the command 'systemctl --type=service' but when I type the corresponding name in the textfield, I always get an error.
Check many times for a typo and try with or without .service at the end but doesn't solve the issue.
Can someone help me to get through it ?
I'm stuck on the Buffer Overflow module, "Determine the Length for Shellcode". I don't understand what the question is looking for:
"How large can our shellcode theoretically become if we count NOPS and the shellcode size together? (Format: 00 Bytes)"
I've tried the size of the shell code + NOPS. Just not getting it. Can anyone help?
i have a question also... could I go SSH from my machine in Oracle, or should I just use this laggy website machine?
@potent cloud if u create using msfvenom u will get the information there
like size of shellcode
have somebody already completed the Linux Fundamentals module?
half way there
I have completed Linux Fundamentals
me too
70% completed , will complete tomorrow
I'm stuck with the command to list all the packages installed, could you give me a hand please?
which content exactly?
apt list --installed gives u all packages installed but its telling wrong answer
will figure out tomorrow
yes, I'm using the command
apt list --installed | wc -l
but is wrong, also I tried with
dpkg -l | wc -l
apt list --installed | here you need to filter out to only show installed | wc -l
🤔
yes, I applied a filter in order to get just the packages installed but is still wrong.... thinking what else could be....
have you set grep before wc -l
yes
then maybe you are not filtering on the right thing
I'm having trouble with the linux intro becasue when I ssh to the ip and login, The cmdline freezes and wont let me run any commands, anyone know a fix to this?
never mind it finally started working haha
hey
Not here. We aren't going to help you with anything illegal. Please refer to the #rules @sharp birch
so what is this server
It's a server for Hack the Box a cyber security training platform. https://hackthebox.eu/
You don't need to know how to do it to protect from it. And knowing how it's done doesn't help. Don't click on links from people you don't know and you are find 99% of the time. If you slip up then you can power off your modem for a while to change your IP or call your Internet Service Provider and explain the situation to them. They should be able to change it as well.
I'm afraid there isn't anything we can do. As I mentioned you can try powering of your router for a day or calling your Internet Service Provider.
Thx !! got the flag 👍
Are u sure that u r looking in the right place ? 😋
found the solution, was not looking in the target system 😩
I don't know about oracle. But if you download the VPNkey you can actually open that and right after ssh to the target.
Is
the machine hardware name Linux?
I'm at linux fundamental and i just stuck there
Linux is branch of operating systems.
take a look at uname utilities
Does the user management part need to be done logged inside the target ?
yeah
The Web Requests module uses a website called inlanefreight as an example login system. In the module it seems that this is set up as an example website, but both inside the vm and in real life, it's a completely different website. Am I missing something here? I can't seem to actually do any of the activities
@turbid scarab The website should just be the public ip and port number you past into your browser. If your pasting the same IP it cannot possibly be two different websites. Should be no domain name. Just the ip addresse and port. ie: http://0.0.0.0:1111
It isn't given as an IP though, just the URL. In the example you are shown the URL inlanefreight.com. In the screenshot you get a 401 code, but in real life it's an actual website. Later you are given the URL of a search page for this fake website, but if you actual use this URL you get a 404.
What exact module of the HTTP Requests is it and il have a look
Ahh yeah I see. Just above the questions "Spawn Target Machine". Thats the machine you want. Ignore the domain in the screenshots.
Well. IN the questions section I should have said
I don't think I understand. The same thing happens if I try from the machine. In order to be able to do the exercise, I need to go to that domain.
Click on spawn target maching and copy past it into your browser
Ok my bad, I was actually just mixing up the target and the vm, didn't realize i needed to spawn the target despite your doubling down on that. Cheers
All good bro
I may be over my head in this, but I really enjoy the challenge. I am in User Management now. Dang!!! 
hello can anyone give me a hint abt systemctl for load app armor profiles
Yeah, hint is that you need to find it there
Find the corresponding description and you will have your answer 🙂
have you connected to the target?
did you do ssh to target?
yes
then find it, it will take you some time to search through all the descriptions
ok then
Hello y’all i am having difficulty with the Linux fundamental module specifically with the question about how many services are listening on the target machine in the filter contents section. I would appreciate a nudge if anyone is willing to pm me
use the command to display all listening services - look at the output then figure out what you need to do to filter it to remove the lines you are not interested in
@gentle herald please help me with the web service questions
guys ho do i ssh to an ip with user and password?
Please someone help me with this > find a way to start a simple http server using npm submit the command that starts the web server on port 8080
Search for information about http server in npm on your favorite search engine. You should get the answer quickly.
Thanks 👍
hey, say ive got my hands on a Disk with alot of nested directories. is there a tool on kali that can map and show it efficiently?
thanks
I am struggling with the question What is the path to htb-student's home directory? still don't get to the end, is something to do with specific folder or a terminal command to show me the path!? Thank you
I dont know how to answer that question without giving you the answer
your home directory is basically your user folder
so what is the path to that
i.e on Windows it would be C:\users\agent_tiro\
I tried that path I have to try to see what I am missing there
Hi,
Linux fundamentals => Filter contents => 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 of that domain. Submit the number of these paths as the answer.
What is a unique path ?
Dear @red obsidian my head is exploding I am out for today, will continue today again having fun to unlock new achievements
Shame and remorse about what?
I am at WEB REQUESTS==>PUT and DELETE Methods 2 days in a row
Create a file named "flag.php" with contents '<?=`cat /flag.txt`;?>' and request it to get the flag.
My PUT:
PUT /flag.php HTTP/1.1
Host: 178.128.40.63:30032
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Connection: close
Upgrade-Insecure-Requests: 1
Cache-Control: max-age=0
Content-Length: 22
'<?=`cat/flag.txt`;?>'
And after GET:
GET /flag.php HTTP/1.1
Host: 178.128.40.63:30032
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Connection: close
Upgrade-Insecure-Requests: 1
Cache-Control: max-age=0
Content-Length: 22
'<?=`cat/flag.txt`;?>'
Am getting this:
HTTP/1.1 200 OK
Server: nginx/1.10.3 (Ubuntu)
Date: Sat, 12 Dec 2020 05:41:33 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Content-Length: 2
''
What am doing wrong? Sorry for my eng.
well firstly there is no space between cat and the file you're trying to read
Oh my god, am i so stupid think you
hi guys, i'm stuck in post method(web request), now i found the cookie of guest user and i have send it to decoder and decode as base64 and found guest_xxxxx... , now i change guest_ in admin_ and encode it as base64 and past it in auth= section for send to the server.when i send it to the server it respond me with the same cookie that i have before encoded but i didn't see the flag....please help me!!!
Why would an admin account need a unique id in the username?
Another member in this channel made a good point about this question. If a website has a lot of guests that log in at the same time, the site would need a way to distinguish one guest from another right? In this scenario, we can see that each guest is assigned a unique, random looking number after the guest identifier (guest_xxxxxxxxxxxx). However, if logged in as a known user, would that unique identifier be necessary?
@digital pewter good to see people remember my advice 
i spent 2 days on this man . dont give up ! hint is just like agent says
@final sequoia that looks good to me. Try it in a browser as well
Removed it as it contains the answer pretty much
Haha no worries
thank you...i resolve it!!!
I need some help with the "Use WMI to find the serial number of the system." question of the Windows fundamentals. Basically, I've found a serial number like VMWare-some random numbers but I get an error when I enter it. I feel like I'm missing something but can't find what
did u connect to the spawn target ?
hello ! anw web request, post method section. for the cookie header htb academy says PHPSESSID, but when i do it on my instance it says cookie: auth . is there any difference ?
not particularly for this
for my challenge , log in with guest and try to get to admin ?
as in after logging in as guest, i switch out to admin
or ?
login as guest, then play with the cookie and see how you can become an admin
got it
finally understand the concept
i was about to head to bed since its 8 morning here . right before i fall aslp i remember i didnt "properly" check my cookies 😩

guys
Find a way to start a simple HTTP server using "npm". Submit the command that starts the web server on port 8080.
to this challenge i gave the exact responde
response*
and it says error
its very strange, any suggestions?
the npm http server starts on port 8080 by default. start the server by manually giving it the port to start on and submit that as the answer. If that makes sense...
basically just imagine it doesent start on 8080 and you need to start it on 8080
I want to learn hacking can anyone help me
Hello I am in web requests module and i can't pass POST method section. Help me with solution
@nova tide Start at https://academy.hackthebox.eu/ . Use Kali in a virtual machine.
@spice dawn play with the cookie
please send me the solution
Thats not how hacking works kgb.
Hacking is thinking outside the box and making things behave in ways they were not designed to. For your POST question, think about what a cookie is and what it is meant to do and then look at the cookie you have and think about how you might be able to manipulate it to get the server to think you are the admin and not the guest.
Hacking is solving these kinds of problems. You cannot just ask for solutions on a pentest...
Exactly what swepss said @spice dawn giving you the solution just means you haven't bothered to learn it the same way everyone else who completed it has. You are welcome to ask for hints or nudges to get you on track but straight up wanting the solution will just mean you will struggle on a similar problem in the future as you never bothered to build a base understanding
U got this ! Try harder ! I manage to clear it this morning 
yes in fact i tried to manually write the port
and it still says me error
I am currently in Windows File Transfer Methods and need to upload the attached zip file to the target. Do i need to provide credentials for the target machine? I tried to upload from my host windows but windows could not establish a connection when using Invoke-WebRequests within the PowerShell...
Hello guys. Need Help.
Module LINUX FUNDAMENTALS
Navigation
What is the index number of the "sudoers" file in the "/etc" directory?
Can't get the right answer
i do ls -l > file and then get line number with sudoers file. i tried nums from -3 to +3 and no success. also filtered out directories. same result(
what im doing wrong?
(in bg burp brutes number)
@ivory dock rdp into windows and download the file
@mental kindle there is a specific way to get index numbers using linux cmd
Look at options for ls
ok. ill see. thanks
@tough fjord But first i need to upload it to the Windows target...
No. Login to windows and download it
Forcing file uploads isnt possible outside withoug auth is only possible in some circumstances. None of them present in this instance
Hey. I want to ask about the POST method in web request too. I dont understand what the question is . I copy-paste the cookie that the server answers, but it doesnt seem to be what we need
What flag? I am lost.. Do you mean in burp ? i follow the various steps in that section but i dont get it. Thanks for the answer though
yo why ssh command so laggy
A bit of a tricky one that Cookie.
Doing linux fundamentals and stuck at the below question:
Name of the config file that has been created after 2020-03-03 and is smaller than 28k but larger than 25k?
I tried:
find / -type f -name '*.config' -newermt 2020-03-03 -size -28k -size +25k -exec ls -hla {} \;
I'm getting a bunch of files on target machine with all permission denied tag
Anyone please help.... Stuck for two days at same question
Hmmm use redirection command too, to throw away all the permission denied tag
I tried redirecting permission denied tag adding 2>Desktop/error.log
Now terminal is not showing anything but when I open the error.log ....I has the same output as I was getting before
Dude thanks!!! I tried restarting the terminal and it worked ..... Thank you so much !!!!!
idk what happen here but happy to know that i point you in a good direction 👍
can anyone help me with web requests module's question?
post method section?
it says login with guest/guest and try to get to admin.
Hint says: Cookies
I tried encoding and decoding of cookies but none works.. What am I missing?
the curl one?
@rancid badger look at the cookie and what it represents. Then modify it and see what happens. Apply that knowledge to what you need to do
Thanks I found my way..!!
Yes the CURL one
u need to filter all those things u dont want
and only take the domain path
good if u open a notepad or a piece of paper and jot it down on what u filter, i did those when clearing it. take me a few days 😫
how u get the "pro hacker" and other roles ? looks cool tho
you need to verify your hackthebox account
To talk in other channels you need to verify yourself first:
- Send
++verifyin the #bot-commands channel - Follow the instruction you will receive in PM (i.e send
++identify <Account Identifier>directly to the bot
(The instructions are available in the #welcome channel)
ahhh i see ! ah im not that good to get a code for account yet 😫 slowly .. 😢
never mind i got it 🙂
you will get it eventually 😄
good job !
thanks man !
my bad should have open the vms, was using my own parrot
HAHAHHAH ! it happens at time . i use my parrot on my system and ssh to the target
yeah 😦

I am in the Linux fundamentals course. I've ssh'd successfully before, but now when I attempt to execute the command it just gives me a blank line. Help please!
are u using vm or personal system ? or the instances ?
u're right . i never tried ssh from the instances tho . i just tried but somehow couldnt get it
i think im doing it wrong
It's worked before.
Kinda bizarre.
Hi, is there anyone having issues with opening the very first url on the Web Request course? The one asking to open http://206.189.25.23:30147
Site seems to be down or rejecting requests even without using burp
Any help is appreciated
For my problem, I reached out to support and it finally worked.
Nobody helped me with the question
Why in pwebox the powershell does not recognize the commands
nice one bro
In the Linux Fundamentals Course->The Shell->System Information there is the question of how to get the path to htb-student's mail. Any hints on that one? I have everything else.
powershell does not recognize linux command or ?
read up the commands on the same page
Wouldn't it just be pwd? I used that and ls and I can't find it.
right, so I was just using pwd, cd to go to some other places and ls to list everything out. Am I going the wrong way with this?
Right now, I'm using lsof to see if I can find mail and the file path associated.
try checking in ur environment variables
Got it, I feel dumb
congrats ! its okay ! it will get harder 😂
Lol, I don't know why that eluded me. I'm further along already, that was just one I didn't get and it kept bothering me.
👍
Hi, I'm having trouble with the Web Request post method.
I think I found the correct way to get into the admin panel but once there I have no clue what I should enter as flag. The reason why I think I'm there is because my welcome message in the admin panel is different
Hi NeonZz, im triying to get that flag too
Hi, I found it I was really close I just made a stupid little mistake 😅
Any hint for the get request flag.php bla bla?
I swear to go I am putting the curl command and it does make sense so not sure what the right answer is
Any help appreciated 🙋🏼♂️
Alright, no worries, I got it in the end, was missing to enter user and password previously
@tidal flare Can you give me a hint what to do with the cookie and where to change it - texteditor, burpsuite or elsewhere?
I have read, that the unique "admin" doesnt need the generic id in form of user_909450x099fsd9f. But i am not sure where to manipulate it. I am also a little bit confused because of in the guide there is a Cookie: PHPSESSID= and in my version i only see Cookie: auth= ? Whats the difference?
Hi, I'm new to this all also, but I had Cookie: auth as well and it still works so I guess that you don't need to worry about that
For the hint I would suggest to kind a follow the steps provided who were in burp 😉
And a second hint for the cookie would simply be don't overthink it too much 😉
Ok great - but where do i intercept it or change it? I see in firefox cookie quick manager this cookie, i also see that the value of the cookie is representated on the website, but should i input "admin:password" in the textbox? Current Value of the Cookie is: guest_cb16eb04033923ea4b27 but i entered this as a hint... !? 😦
So euhm I'm trying to explain without spoiling here so it will be a vague explanation. What I did was to follow all the steps explained in the module
after that I needed a hint and that hint was cookies, so what I did then was to do all the steps again and look what the closest step was towards the hint cookie
after that I used my knowledge from the GET method and POST method and mixed it together to get the flag
Ok got the flag - thanks 🙂 I tried it nearly the same way but i have forgotten to make it "unreadable" again and then copied to much for the answer... 🙂
Ohh yeah you copied the "!" as well? XD
😫 yesss haha
Trust me you are not the only one, I made the same mistake 
Linux Fundamentals - Find Files and Directories.
Submit the full path of the "xxd" binary.
I dont understand what it is asking me. Can someone please poke me in the right direction? I've lost the scent completely on this one...
you should ask yourself the following:
- What is a path?
- What is a binary?
- What is "xxd"?
Thanks for the message 🙂
From what I understand, a path is something like /var/backups
a binary is a file is something that has been compressed to 0s and 1s?
and I have no idea what this xdd is
So maybe my question should be, what is xdd referring to?
maybe "xxd" is a binary?
what else you can do if that command doesn't work?
so far I have tried locate, find, and which
both locate and which didn't work, so I am guessing I need to play around with the options of find
omg
that was lot of searching when in the end it was a typo jaja
anyone could throw me a hint for the post part? been on it for a couple of days already and im clearly missing something, is the /admin directionary part of it or its just part of the website backend?
hmm i managed to get the flag. wierdly enough it seems like i've already done it but only now i see the flag. very well
hiya, I'm prob being really dumb, but I'm having a bit of trouble with one of the ending cURL questions:
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 of that domain. Submit the number of these paths as the answer.
||I've managed to pull the html with just the basic curl command, and tried filtering through that with grep for 'https://', which got me all of the urls, but there were doubleups (due to the two navbars). I'm probably just reading over an argument in the curl manual thing, but||
would I be able to get a slight nudge in the right direction? thanks in advance
@long fog u need to verify ur account 🙂
curl is tricky no doubt. i would say yes on what u did but only take inlanefreight.com path . 😋
oh cool, thanks a lot
👍
@timid grove how
hi , im currently on web requests module on page 3 they asked me to enter the target URL into the URL bar, but when I did it, it doesn't uploding
has anyone done the windows fundamentals module. I am having trouble figuring out how to get the workstation build number and could use a push in the right direction
didnt reach to this point yet, sorry
no problem, I have not done web requests yet so I don't know how to help you either. Hope you figure it out
its ok,
first u have to connect to the target by using rdp command, the guidelines are on the page . second the answer to ur question is also on the same page
for yours, make sure ur target time is not expired. copy paste the whole thing and paste it on the firefox url
hello everyone!!!, ive been beating my head against the wall with this module linux fundamentals. I dont think the reading materials covers what the questions I'm not complaining however I do need hel on some of these questions like Which shell is specified for the htb-student user?
it covers
experiment with the provided commands
?????? ok none of the previous answers where in the reading before the questions
page 5, system information . there's list of commands from whoami to lspci
did u see it ?
I connected to the page but I cant figure out where to find the build number
I feel stupid lol, i follow the command, ive got the second question done but still cant get the build number
i did like you said,, but it didn't work
dont be hehe ! its good that it squeeze our brain, well thats how i feel about it.
it is a good thing, that's why i like doing stuff like this, thanks for trying to help
study the pic of the windows versions, there's an example of command down there that print out both version and buildnumber. now if u only want the buildnumber, what will you type ?
its working on my side, are u using instance or vm ?
it would be easy if i just could send a screen shot
pm me then
how i can send it
snapshot it using snipping tool if u want , then send it on me personally
Why am I behavin' the dumb?
Can anyone help me with this question?(linux fundamentals)
What is the path to htb-student's mail?
Give me some hint..!!
no answer , only hint
Have you checked the environment?
Oh! Nice!! I didn't try that, but re-reading earlier section helped me find the answer
Yo! Can someone explain me why I'm getting different results when looking for installed packages with 2 different commands (linux fundamentals)? The commands are apt list --installed | wc -l and dpkg --list | wc --lines . I even get a different number when i use a 3rd command dpkg-query -l | grep "^ii" | wc -l . Kinda stuck on this for a while.. tried different approaches but cannot wrap my head around what I'm doing wrong.
Hello people, I'm having some trouble with the Web Requests fundamentals. The challenge at the bottom of the unit "POST Method" asks me to login with credentials guest/guest and try to get admin. The prior units do not explain how to do this? Could someone give me some guidance please 🙂
Start with paying attention to ur cookies
cookies with random strings right ? can u make it to readable strings ?
base64 decode?
well u can try 🙂
thanks! :p ill give it a go now

@brittle berry different output because different tools display stuff differently.
Still cant do it -_- I can only see one cookie which when decoded translates to guest_5961850a13bba93b617d! I dont see how this will give me admin :/
When you login what do you see displayed on the screen
So if different tools display stuff differently then the answer to a question "how many total installed packages are on the machine" should differ right?
Is there a relationship between that and the cookie?
@brittle berry no. The answer is set. But those tools display different things so you need to use the right arguments and filter for the right content
Look over the output from the tools and see if there are things you could filter on
@tough fjord Not that I can see lmao. I think iv been trying to figure it out for so long now that its all jumbled up in my head lmao
Login. Look at what is shown on screen. Examine cookie. Then have a think dude.

ill give it another go 🙂
A cookie is just a way of saying who you are to keep authenticated
@tough fjord im completely lost
im assuming if a cookie is a way of authenticating yourself then there will be some sort of admin cookie? If i change my cookie to this admin cookie it might work? Ive spent ages trying to find a cookie that might not exist lmao
almost there. execute what u think now.
Thanks man
I think I might know :p
Got it :p thanks for the help @timid grove @tough fjord
congrats man
Good work
hello
hi, little question about de post section. Maybe i'm idiot, but i found the cookie, modify them to be admin and send the good request, like a good boy. Now i've *welcome, admin_blablabla" that nice.. but i don't know what i need to write inside the answer ?
that doesn't sound like you are logged in as an admin account
if you were logged in as admin then the flag would be displayed
but you are very close 😉
okaay 👍
Great, glad I joined because I've been stuck in the same place as @tepid hearth for a few hours now.
welcome
Very close but far away. That's nice challenge, i'm thinking that i did wrong something but where... That's another question😆
did you get it then?
no, always the same. Admin panel
Welcome, admin_a1e7f2f2e29cc034d39d7!
but anything more now.
hmm , you are 98% there 😆
😆 the most harder is the remaining 2% hahah. I continue
Think about it logically
A guest account is used by multiple people..so assigning a unique id to each session /username login makes sense
Now does that make sense for an admin account which isnt meant to be used by multiple people
np
yes I do and I'm trying to figure out which one, thank you
I have problem with one question in the Linux Fundamentals module. It asks me "How many total packages are installed on the target system". So I tried: dpkg -l | wc -l and apt list --installed | wc -l. I got to number 748. However, this answer is incorrect. What should I do? Any hints?
hello @karmic crater
what page is this again ?
i finally finish with all the fundamentals 😩
About the Linux Fundamentals, I just can't get the command(s) for extracting unique paths from inlanefreight.com right. Can anyone help with the command?
I just solved it
i am just getting to it
After u curl, find the domain path and start to filter it . What i did was, everytime i filter i redirect it to a text file so that i can " cat " the text file and start to filter again .
Congrats man ! Curl is up next 🤣
Damn that curl question is hard
Any idea how to extract only the links from the whole html?
oh with grep -oP
Oh man I got it!
I'm working on the module Web Request, the POST method section. In the browser i can't login with admin:password
I can login with guest:guest
But in Burp suite i can't login with
username=guest&password=guest
What do i wrong?
Hello! So , I am not sure if i am not getting something or if just need to turn it off and on again. I think i finished the post module. I have an "admin" panel that says the flag is {insert letters and numbers and such} but when I use that as the answer its says its wrong... any help would be appreciated.
same here SoCO
Linux Fundamentals (name of the config file that has been created after 2020-03-03 and < 28k and >25k )
When I use the command without additional options, it shows the list of config files but when I with options set, it says permission denied? Any clue ? Help Needed!!!
Though I got the answer the other way (using x command inside the y command), I would still like to get some clue if there is other way around.
it is, i spend more than a day for that. but it was a good challenge.
pay attention with the cookies and the page after u login as guest
only copy the flag and nothing else
there's alot of ways of executing it actually so i think its fine ! 🙂
how did you solve that? I want to know the other way too.
what i did was the finding the extension of the file and etc, then redirect all permission denied to null and ls
👍
i am stuck, anyone help?
keep trying man !
are you still getting permission denied or is it something else?
i think he is doing the package installed now
word, I feel like the permission denied thing didn't make sense to me until the lesson immediately after, like the redirecting permission denied to null thing
mhm its pretty useful when u know how to use that tool when looking for stuff 🙂
I was not stuck on the permission denied, but packages problem , though I solved both by now
I was not stuck on the permission denied, but packages problem , though I solved both by now
nice
congrats man
I feel like I don't understand what I'm filtering for in this part. I'm obviously just overlooking something, but the only thing I can think of is to just look at the cleanest output file I can think of and try to count off paths and try to filter around them. Is it the case the you need to keep adding different filters or am I missing something else?
number of opened port == number of services running? Am I right?
Damn I am dumb
only filter inlanefreight.com path. anything before or after, remove it.
basically what u see is blahblahblahwww.inlanefrieght.comblahblahblah, throw away the blah
but remember, they ask for unique domain path
what page again is this ?
I am overthinking a problem, How many services are listening on the target system on all interfaces? (Not on localhost and IPv4 only)
Page 15: Filter contents
I tried looking sockets, services, processes , all those that relates to services i n one way or other.
I am adding complication only.
<@&486603600085123073> theres a spammer here
Member banned
skid
oof wow what happen haha
oh, only take IPV4 only
the rest all dont take, according to the question
can someone help me i dont know what to do here
reread the content carefully
@drifting knoll i dont know what the task mean by "num1 and num2 such that their sum is 1337" please help
In the notes its says you can send 2 request via a get using the &, right?
yes....
So if you send a get request to get the port_whatever=a you are telling the system give the thing called port_whatever=
so what if you tell the system I need to things
two*
umm but the target is an ip so i just need to do http://<iphere>?port_code=a&&port_code=b ?@summer silo
yeah, you are close but are you asking for the "port code"?
No problem! Glad i could help!
yeah, I have coped and pasted the flag and nothing else but It still says incorrect answer. Looks like a few others are having the same issue.
Can anyone help me with linux filters
if there is a ! remove it from the end of the flag
I'm sorry I didn't get u
it was for n33tn0w0rk
Filtering for the unique paths is the part I don't understand. I list the occurrences, and then try to filter them down from there, but I can't get which occurrences need to be filtered out. Is it something earlier in the line like "stylesheet"? "href?" Is it a bunch of different filters? Is awk necessary? I got the answer literally hours ago, but I still don't understand how
The best way is to use regex, but combining awk, grep, sort, uniq will work as well. You are looking for unique URI's. At least thats the way I interpreted it.
Word, I guess I need to just keep at it. Thanks
bunch of filters correct. u can use awk too . i use that
I appreciate it
Hey everyone!
We have just released two more Tier 1 modules for you.
[Easy] Introduction to Bash Scripting:
https://academy.hackthebox.eu/module/details/21
[Medium] DNS Enumeration Using Python:
https://academy.hackthebox.eu/module/details/27
Log in to HTB Academy and continue you cyber security learning
Log in to HTB Academy and continue you cyber security learning
Hello, I just made it trough the systemctl question in Linux module. I was wondering if it was possible to couple the command with some kind of | grep Load AppArmor profiles ?
ok it looks like I got it already
Hey guys, I'm working on cracking into hack the box, Post Method module. The Content-Type portion. I'm intercepting the login request and changing the Content-Type to application/json, then adding { "username" : "admin".... The server will not accept the credentials and give me the 302 Found response. Any ideas?
nice
I think will just Post the credentials, but that isn't the admin password so it won't let you actually log in. What can you POST that will actually let you in?
Hi everyone, I am new around here name is Zeb, silly question but has anyone come across on the linux fundamentals. Service and process management the systemctl start ssh asks for a password that I haven't come across it from the beginning of the course. Can anyone help?
This is the lesson
This is what I get when I intercept the request and the first pic I sent is my alteration
Help
your mask seems to be pretty worn out, let me know where i can send you a new one asap
@rustic sage typically to get help requires a bit more effort on your part. All youve done is post a picture of a question
Do you mean when trying to ssh into the target? The password should be right by the username
Ok so from these pictures, it seems what you've done is intercept your own request to the web server(1st picture), and then altered it before passing to the web server (2nd pic). You need to send the request with the guest credentials you do have, and look through that response for something.
Thanks a lot! I'll work on that
No worries, I spent a lot of time on this question iirc because I didn't really understand what burp suite was doing. Hang in there, some of this is pretty confusing.
Right on. ty
the problem is that I don't know what the question refers to, start an http service using npm?