#modules

1 messages · Page 491 of 1

tidal mango
#

which module are you on?

rustic sage
#

Yes, ok i'll trying later x) Thx to your help ! ^^

flint helm
#

*local file inclusion for the section

rustic sage
#

I’m still stuck on the Getting Started/Publix Exploits

tidal mango
#

Weird part is I see the flag but when I submit it its says incorrect....

tidal mango
atomic light
#

for networking fundamentals they talk about putting your printer on a seperate network. does that just mean a second router? or does it need a second internet connection like a second modem?

tidal mango
atomic light
#

oh ok

scenic apex
#

hahaha i feel the same way when i find out that "htb-student" is not the username😅

kindred canyon
#

how to find the windows NT version? can someone help

#

please

#

I'm doing the windows fundamental

#

please help me

atomic light
#

INTRODUCTION TO NETWORKING
Page 10
Subnetting

#

is this a typo? 192.168.129-254

#

i think that should show 192.168.1.129-254

atomic light
#

anyway, its not important

#

can i get some help with the first question?

#

Submit the decimal representation of the subnet mask from the following CIDR: 10.200.20.0/27

#

i know what the remainder is and i tried the number associated with the remainder in the chart but it says its incorrect

#

then i tried typing the ip with the range of that number but that was incorrect too

#

can someone pm me?

neon shard
#

@atomic light Dm'ed you

woven sluice
#

Anybody else fall at the first hurdle trying to ssh without choosing a user? 😆

flat edge
#

I'm stuck here too. Can someone help please ?

vernal saddle
#

Can anyone help me with this question in the linux fundementals cthing: "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."

neon shard
#

yea sure

#

shoot me a dm

vernal saddle
#

kk

quiet forum
#

Hi guys, i need your help.

#

i'm having trouble to start instance

#

the site is prompting an error message

#

Error message --> `There is no available instances. Please try again later.

#

how do fix this

#

Please help me out guys, I want complete the current module I'm working on today

#

🥲

rustic sage
#

its the same for others to, i guess all we can do is wait for the fix.

atomic light
#

try terminating the instance. then close the tab and go to the section. start instance. then start target

quiet forum
#

Restart my machine😂

#

still the same problem

#

Started learning python while they fix this issue

neon shard
#

always usefull

quiet forum
#

its working again

#

BANZAI!!

worn ridge
#

alright so i've done this both on and off the VPN and i get the same result, but i'm on the first question of the Service Scanning section of the Getting Started module.

"Perform an nmap scan of the target. What service is running on port 8080?"

I run 'nmap <target> -Pn -p8080' and I get back the service as being http-proxy, but it keeps telling me the answer is wrong

pallid needle
#

Hey all! I'm on the Knowledge Check part of Getting Started. I've found the correct (I think) exploit on metasploit and everytime I try to use it, I get a "no session created" error. I setup the RHOSTS to the target IP and LHOST to my IP. Anyone have advice on what else to look at?

quick swallow
#

I tried but cant find the answer. It gives me lots of lines when i execute command

#

What is the damn name of the config file 😭

tired perch
bronze ruin
#

yes, use metasploit can pass it. i also did it. but Exploiting vulnerabilities manually is important

bronze idol
#

Hey there, i´m working my way through the "Linux Fundamentals" and got stuck at the last question of the "File Descriptors and Redirections"-part. Could someone give me a hint?

neon shard
#

sure!

#

Dm me

quick swallow
#

Can someone help me with that config file name?

neon shard
#

sure

#

Shoot me a dm

quick swallow
#

@bronze idol dm me.. Cox i have almost finished

split elk
#

took a break for a few days and I come back and it all makes more sense 😊

fading moth
#

In subnetting, I dont understand the purpose of adding 2 to the mask. In the module it says "Now we increase our subnet mask by 2 bits". Yes but fucking why?

tawny plume
#

You're dividing the network by 4. To add more 4 more addresses to the network part you add 2 bits (2 bits can hold 4 different values 2^2=4). Because the whole address is 32 bits in total you lose 2 bits that can hold the host part of the address

#

@fading moth

distant notch
#

I am stuck on the linux fundamentals and i am on the working with web services part. it says to start a simple http server on port 8080 with npm and im not sure how to do it

#

the hint says "Npm is a package manager that allows you to download a basic web server package. This package also provides the option to specify the port. No need to install it. How would the command look after installing the corresponding package with a specified listening port?" but idk what package to download

tidal mango
obtuse igloo
distant notch
#

i got it

#

thx

deep tusk
#

can someone help me pls? im stuck at the union question at sql injection fundamentals because i don't know how to connect with the sql server without credentials and nmap shows that the given port is closed

dusky temple
#

Hi guys is anyone else having issues with the remote mysql server on the SQL INJECTION FUNDAMENTALS module?

dusky temple
icy snow
#

Anyone got a minute to help with a getting started module? Can’t get this php reverse shell to work

amber holly
#

make sure ufw has ports open, and you have edited the reverse shell script to point to your attack box ip

deep tusk
#

@dusky temple in the question its "connect to the mysql serever above" and the server hast no webserver on it which i can use

vapid iron
#

Hello Everyone,
anyone has a minute to help me with the Firewall and IDS/IPS Evasion - Hard Lab , just need to bounce some ideas ...

barren tundra
timber nimbus
#

ls

distant notch
#

I am having a bit of trouble with a part of the linux module in the academy. it is asking me to find a config file that has been created after 2020-03-03 and is smaller than 28k but larger than 25k? i used the find command and got 2 results and neither work. anyone know what is wrong?

hidden harness
#

i have a question for the linux fundamentals course. i did ssh username@ipaddress and i have to find the machine hardware name using uname. it says it is "Linux", howver the answer is incorrect and the hint only says to try uname. i'm kinda at a loss here, can anyone tell me what i'm doing wrong?

hazy grotto
#

look at the uname options or man page

hidden harness
#

got it, thanks!

quaint marsh
#

Which option needs to be set to execute a command as a different user using the "su" command? (long version of the option)?

#

can anyone help me with this?

rustic sage
#

i am not sure what you need

#

sudo su????

hazy grotto
#

I got hung up on the su command question last night. The key is make sure you understand the question is asking about executing a single command, not starting a login shell as that user

rustic sage
#

idk

#

sr

quaint marsh
#

i'm too

rustic sage
#

need help here!

#

@quaint marsh

#

can you?

quaint marsh
#

htb-suo6...?

#

yes or no?

rustic sage
#

no

#

it didnt worked

#

wait

#

no

drifting knoll
#

@quaint marsh pls be careful with spoilers

turbid tiger
#

but you can do it

rustic sage
#

i just lost 10cubes at this 😁

#

can i get my cubes back?

drifting knoll
rustic sage
#

nah i just have 10 cubes less

turbid tiger
# rustic sage

it's easy man, u can try every single word on that output

#

you're on the right track

rustic sage
#

ok

#

Come on!!!!

open sable
#

Having trouble finding a display filter for wireshark that only shows reply packets. Anyone know what to use?

quaint marsh
#

who finished Linux basics?

#

right?

#

or apt list --installed | wc -l

#

?

barren tundra
# quaint marsh right?

Hello buddy. I think with this way you are counting the packages from dpkg, not the installed

mint lava
neon shard
# quaint marsh right?

both are the correct way of looking up the installed packages, but if you inspect the output before counting it (e.g. save it to a file and open it), you might understand why it's not quite the correct number right away

rustic sage
#

need help here!!!!!!

stray prairie
#

What is the HTTP method used while intercepting the request? (case-sensitive)

i got stucked here i tried some answers like MITM/ man in the middle attack/ intercept client request and such. Does the answer shows on the burp suite tab and on the results ?

rustic sage
#

idk

#

can you help me?

stray prairie
#

@rustic sage im actually new also i dont know the answer but i think you need ssh username@targerIPAddress im not sure

tawny plume
#

@rustic sage are you sure you put the password in right?

rustic sage
earnest crypt
rustic sage
#

not mine

#

i changed the user name from bob to mine

#

but

#

ACCESS_DENIED

iron hawk
#

@stray prairie get?

vapid iron
#

can anyone assist with the nmap hard lab ?

stray prairie
fossil glade
#

I just started htb but i am also clueless on how to access the share to get flag.txt

iron hawk
#

@stray prairie soo the answer wasn't "get"?

bronze ruin
#

hi guys ,i am suck in the GETTING Started Module on Privilege Escalation. sudo -l shows me user1 can not do anything.any hint?

#

done,

stray prairie
stray prairie
iron hawk
#

Alr

drifting sleet
#

++join Moderation

red obsidianBOT
#

You've been added to Moderation

drifting sleet
#

apreel fools btw

west rampart
#

===========================================

Anyone who spams this channel get muted for 24 hours
(with the ++join moderation command)

===========================================

tall elm
#

++join moderation

red obsidianBOT
#

You've been added to Moderation

raw iron
#

have you solved that problem yet? I am having the same problem and cant escalate privileges

rustic sage
#

++join moderation

red obsidianBOT
#

You've been added to Moderation

cerulean inlet
#

Hi everyone, as a preface I have ADHD so I am terrible at reading things and remembering them, so please go easy on me.

I have no idea what I should do for this question, should I be using the bash terminal? And then am I supposed to somehow get access to the target IP and find out the info? This is in the Linux module fyi

stray prairie
leaden vapor
#

bobs password is: Welcome1

#

I have a question, in the Getting Startedmodule in the section Service scanning it says that you are supposed to use the command ps smbclient -U bob \\\\10.129.42.253\\users
(The ls command resulted in an access denied message, indicating that guest access is not permitted. Let us try again using credentials for the user bob (bob:Welcome1).)

How do they know that the username is bob and that the password is Welcome1?

I had to do that to be able to asnwer the question:
Access the SMB share folder called 'flag' and submit the contents of the flag.txt file.

I dont understand where the bob user comes from

rustic sage
#

I am on working with files and directories from linux fundamentals, My question is how do I know inode number of shadow.bak? I tried ls -i and stat commands but no use.

quaint marsh
#

do I need to count from top to bottom this file in order?

#

what index are we talking about?

#

I'm just from Russia and I have to translate the entire text, because of this there are translation errors.🤷‍♂️

#

Maybe there is someone here who speaks Russian?

rustic sage
#

hello

strange aspen
#

nmap easy firewall evasion - can someone give me a hint?

idle frigate
#

this is my first CTF (datadog CTF). I am not sure what I am supposed to do. Reading stuff like "You will find the first flag there" means nothing to me.

rustic sage
#

It is the same for me.

#

Was there supposed to be instructions in email that was to sent yesterday? If so I did not get them.

old lynx
#

could someone help me with the Public Exploits getting started module

#

what is the filepath, im using metasploit

quaint marsh
#

what do you need to answer?

quaint marsh
#

Remmina for Rdp 👍 programm

#

Module: Linux
Filter Contents
q: 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.?

strange aspen
#

nmap easy firewall evasion - can someone give me a hint?

light idol
#

well anyone intrested in teaming up for ctf competition

strange aspen
#

nmap easy firewall evasion - can someone give me a hint? please...

worldly iron
#

can't believe i managed to plow through the subnetting tasks, what a chore lol

neon shard
#

nice going!

true valley
#

When doing the POST method exercise on the Web Request section I cannot login using admin:password. Am I supposed to be able to do this or not?

strange aspen
#

nmap easy firewall evasion - can someone give me a hint? please...

tall elm
ivory bough
patent blaze
#

Good evening everyone.
I’v been working in File Inclusion – skills assessment for while, and so far I was to read the source code of
||admin ||

and

||ilf_admin/index.php||

However I’m not getting any futher than this.
Reading through the discussion I notice that is log poisonning, but I’m not even able to read /etc/passwd

I would appreciate if anyone helped me

bronze ruin
#

hi ,how to copy the key?

lilac wren
#

Windows Fundamentals - Introduction to Windows
the command Get-WmiObject -Class win32_OperatingSystem does not work

elfin bridge
raw iron
#

Has anyone found the second flag on knowledge check on getting started?

bronze orbit
raw iron
bronze orbit
#

sure

stray prairie
#

whats wrong in here
PUT /flag.php HTTP/1.1

flag.php <?=cat/flag.txt;?>

GET /flag.php HTTP/1.1
it gives me

flag.php NANtxt why this answer is wrong

#

Create a file named "flag.php" with contents '<?=cat /flag.txt;?>' and request it to get the flag. this is the question

#

am i wrong in the syntax ?

stray prairie
#

i figured it out

#

is there any way to change to do this ` why it need space bar

past wharf
#

Hey guys sorta having trouble here : Which option needs to be set to execute a command as a different user using the "su" command? (long version of the option)
I've used su --command, and pretty much all the other options i can use for su

vagrant loom
#

Hi, Im stuck in the question of WebRequest module > section Post Method where is asking to login via guest:guest, and try to get to the admin user from what you learned in this section.

so what i've done was opened burp and tried to intercept the login post form that sending to the /login.php.

im able to login by just setting user n pass as guest. however i tried to send it with json type but redirect me to the login page again. so that doesn't accept json

POST /login.php HTTP/1.1
Host: 188.166.168.204:32701
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
Content-Type: application/json
Content-Length: 29
Origin: http://188.166.168.204:32701
DNT: 1
Connection: close
Referer: http://188.166.168.204:32701/login.php
Upgrade-Insecure-Requests: 1

{"username":"guest","password":"guest"}

since the server doesn't accept json type, i have no other option to try the admin in this way username=admin&password[$ge]=0 and i get to the login page and i get Login Failed msg right away.

The question is abit confusing for me. asking to login as guest and get admin ?

what am i missing here? anybody can guide me pls?

#

even when i try username=guest&password[$ge]=0 i get Login Failed. is that technique really works? if so why cannot get the guest to login in this way?

#

just wondering

strange aspen
haughty pendant
frigid vector
#

Hello everyone!

#

could you help? i cant solve this task: Use "systemctl" command to list all units of services and submit the unit name with the description "Load AppArmor profiles" as the answer.
I use this command systemctl list-units --type=service | grep apparmor, after that the system give me these strings: apparmor.service loaded active exited AppArmor initialization
snapd.apparmor.service loaded active exited Load AppArmor profiles managed internally by snapd

what shall I write in the answer-string? I've tried all possible variants.
(oh yeah, and i already connected to ssh)
sorry for the stupid question 🙂

past wharf
#

you absolute beast

#

HOW CAN I BE SO DUMB, it says AFTER SU, i kept typing, su --comand

past wharf
#

Thank you so much :)

mint lava
mint lava
scenic apex
#

please help i have a question about File Inclusion / Directory Traversal module on academy

scenic apex
#

Using the LFI to RCE vulnerability run the command 'uname -a'. Submit just the Linux Kernel version number as your answer (i.e. Debian 3.19.42-2)

#

this is on the second page

mint lava
#

Are you using Bursuite?

scenic apex
#

i already tried everything like session poisoning and run command &cmd=id

#

yes

mint lava
#

or the 2nd method?

scenic apex
#

the burpsuite method

frigid vector
mint lava
#

No problem

#

Is there any staff member available to check the SQL injection module. I believe there is an issue with the server in the INTRO SQL . Tried form instance Pwnbox and get this error message ERROR 2002 (HY000): Can't connect to MySQL server on '188.166.168.204' (115)

quaint marsh
quaint marsh
#

because, should start with ||HTB {4lw4y5||

stray prairie
#

should i send a post with that to get the flag ?
or just decode it

stray prairie
#

atlas i solved thanks @quaint marsh i was required to use curl i was just stucked on the repeater

rustic sage
#

@rustic sage it's a good investment :) Iam so impressed how nice HTB and how much effort they invest for the modules but I also still not know the answer
Where is the different between List 1 & list 2 ,but do not tell me still keep trying maybe I can find it

vagrant loom
#

@haughty pendant thanks for the highlight. i will try again and pay more attention to the request.

#

@mint lava thanks

#

Btw, the burp > proxy tab in the pwnbox doesnt have button to open the builtin browser, i must open up the firefox and set the proxy then use. is that the way you guys do as well?

scenic apex
brazen wyvern
#

Hey everyone! I'm confused by the answer for the fundamentals GET method module. I think I have the answer but it won't accept the answer I'm, so I assume it's the way I'm formatting it. Can anyone assist me by letting me bounce my answer off them?

vagrant loom
#

@haughty pendant no chance, spent 2 hours to manipulate the cookie and other techniques on the section itself. but still no idea how to the get admin user.
The question at the end of the POST section is also confusing. idk what should i look for really? admin user? what is that mean? haha

what kind of the crypto is this btw b351d0a59e56a2cd6676 ?

rapid mesa
#

@vagrant loom I'm stuck at the exact same problem as you, have you figured out a way to get this done?

rapid mesa
#

@vagrant loom Nvm i figured out how to do it, Dm me if you still need some help!

keen surge
#

Hi everyone I'm stuck, I need a hint, although I change from guest to admin cookies, I don't see any other options:
"Login with the credentials (guest:guest), and try to get to the admin user from what you learned in this section and the previous section."sadCat

cerulean vine
#

Can someone help me with this please

#
Try to identify the services running on the server above, and then try to search to find public exploits to exploit them. Once you do, try to get the content of the '/flag.txt' file. (note: the web server may take a few seconds to start)```
cerulean vine
haughty pendant
# vagrant loom <@!280765665936277504> no chance, spent 2 hours to manipulate the cookie and oth...

In the module they discuss a specific keybind in burp you can use to decode that! To avoid spoilers I will only say that the string you have in your message is an encoding. Burp has a keybind as well as it’s own tab/tool for decoding the method used for that as well as others.

A further hint to get you to the right place is the keybind to decode that to plaintext instantly is ctrl + something.

Lmk if you still can’t find the right spot.

keen surge
#

I decoded the word guest to admin, but this is not the answer

dim plover
#

What is the path to htb-student's home directory?

haughty pendant
sweet heron
#

Hey all! I'm stuck in windows fundamental module, in the windows security section: "What non-standard application is running under the current user ?" I'm using powershell to list tasks with tasklist but I can't find it...

agile kindle
#

WEB REQUESTS - POST Method
I'm also having a problem with this activity. after decrypting, editing and resending the cookie in the request, I receive a page with "welcome admin_XXXXX"
I realized that the cookie accepts anything in the edit, but nothing works. I didn't see any flag

quaint marsh
quaint marsh
rapid mesa
#

!rank

frigid summitBOT
novel matrix
leaden vapor
#

If i have an exploit like: CVE-2020-1927

#

how would i search for that using msfconsole?

leaden vapor
#

Can somone please give me a hint:

#

Is it an Apache or wordpress exploit i have to use?

#

The hint says: "Search for plugin exploits" so i assume it has something to do with word press

#

nvm i just read that

flint moth
vapid blade
#

Hello, I'm a beginner. If anyone has any tips for me to start hacking, feel free to DM me. I hope you guys can help me.

red obsidianBOT
frigid vector
#

Hello guys! I am stuck at these questions (at the Linux fundamentals): Find a way to start a simple HTTP server using "npm". Submit the command that starts the web server on port 8080 (use the short argument to specify the port number); Find a way to start a simple HTTP server using "php". Submit the command that starts the web server on the localhost (127.0.0.1) on port 8080.
Could you help me to solve it and explain? I just broke my head but don't know how do this task.
here the hint:
"Npm is a package manager that allows you to download a basic web server package. This package also provides the option to specify the port. No need to install it. How would the command look after installing the corresponding package with a specified listening port?"
Have tried so many variants like: python3 -m http.server 8080 etc....

Thanks in advance!

west rampart
#

Read the question again

#

And use Google for that package Manager

frigid vector
# west rampart Read the question again

yeah, I've spent more than 2 hours for it but all my tries goes without results:)
There is no mention about this process (i mean at this module), and of course I've tried to find the answer at google.

tawny plume
frigid vector
#

but anyway the answer at this question don't need already (did it):Find a way to start a simple HTTP server using "php". Submit the command that starts the web server on the localhost (127.0.0.1) on port 8080.
first question is still actual

tawny plume
#

It is a really badly worded question. I managed to find something in the forum about it when I was stuck

frigid vector
worldly iron
#

Is there any issues known to the web requests module and the burp task? When i press forward the thing just dissapears and doesnt give me the pink response

west rampart
#

But did you googled npm web server ?

frigid vector
#

oh my God i did it!)

#

😆

west rampart
#

Nice

#

See, wasn't that hard right

frigid vector
#

yeah easier than i thought:)

#

but I've spent more than two hours on it "facepalm"

worldly iron
#

In the web requests fundamental module - im supposed to intercept a request to the 206.189.25.23:30147 and click forward to get a server response, but when i click forward the whole section just goes empty and doesn't give me the response. Anyone know why?

west rampart
#

Can you send me a screenshot of the question

worldly iron
#

it's not really a question, it's part of the module itself to do the burp request thing

west rampart
#

Which section ?

worldly iron
#

Web requests

#

3rd section

#

Request and response

#

i get this screen where it says request to http://206.189.25.23:30147, but when i click forward it just disappears and doesn't give response

west rampart
#

Show me your responses

worldly iron
#

^ above

#

btw i wish these pictures in the modules used headers, so it would be easier to point out what picture im talking about

west rampart
#

Followed this : After this, the request should be intercepted by Burp and appear as above. In order to intercept responses, click on Options and tick Intercept Server responses.

worldly iron
#

yes i did all that

#

i have the intercept responses enabled

#

then i went back to proxy

#

and clicked forward

#

but no response, everything just dissapears

#

anyone know why?...

west rampart
#

It's not right

#

Send me screenshots in dm

split elk
#

wait, thats not right? it gave me that response too (from detectportal.firefox.com) thing, but then I was able to answer the questions from the information in the box it gave me so I just... oh no did I just get the answer and the thing not work as intended?

#

O.o

#

I am confused.

worldly iron
#

I am able to answer the questions, because that has nothing to do with what your doing on the pwnthebox

#

you can just get the answers from the module screenshots

split elk
#

yeah you can lol

#

wait then I have to go do it again

worldly iron
#

These modules can be so freaking confusing

split elk
#

mhm but they are fun, and I enjoy them and in the end i just want to learn something new each time, and I always do.

#

also, actually re-doing the one that apparently was not working and I didnt know 😂

worldly iron
#

I mean yeah they are fun when you are actually learning and progressing. But some of these modules, just like this, first of all you have no idea wtf you are actually doing, and second of all you follow the steps 100% but don't reach the same end result

#

then what do you do? Im stuck on this one step of the module for hours

split elk
#

Yea you're right there, which is why we all should probably mke a habit of coming back and referencing what we are doing with other users :) i sure will from now on, when I was doing the windows one (we i have not finished) i asked on each one, but felt i was being a pain always trying to be 100% so i stopped.

#

I see that may have been a bad idea, lol.

worldly iron
#

Very tilting

#

i guess i just move on without ever figuring out why it didnt work

rustic sage
#

hi i m new here but i cant talk in general why not ?

worldly iron
#

General is for HTB i believe. This is just the AHTB

split elk
rustic sage
#

ow i wanna hack an game but i m new in that things

split elk
#

Well you have your goal, now learn :)

#

and good luck 🌿

split elk
rustic sage
#

yeah but how i can learn it ?

worldly iron
#

AHTB starts from fundamentals. If your only purpose is to hack a specific game i guess just google that.

rustic sage
#

and i guess its an very hard game to hack

worldly iron
#

Also hacking a game can be illegal so i suggest not going for it

rustic sage
#

i can mod some little games but thats all

split elk
# rustic sage yeah but how i can learn it ?

sign up for the academy, and like everything in life you can't want to run before you can walk, so start with some basics on the site then move up, although I cannot see this discord condoning an illegal activity like hacking a game.

#

for your goals you probably want a subscription too 😉

rustic sage
rustic sage
worldly iron
#

its free

split elk
rustic sage
#

ok thx but i wanna hack fortnite but i guess thats inpossible

split elk
#

and its free, but if you want the harder stuff, that costs more cubes (which you earn from completing free stuff that you get) you probably have to pay, as you cannot acquire that much with it being free.

split elk
rustic sage
#

or can you try it ?

split elk
#

Tried what?

rustic sage
#

hacking fortnite

split elk
#

Gosh no, dont even play games, lol.

#

And even if I did, I would not do that.

worldly iron
#

Yeah jolocool i dont think this is the right platform for you

split elk
#

Its again, illegal.

rustic sage
#

o ok

worldly iron
#

or for your purpose that is

rustic sage
#

i think i go bye

split elk
#

More your purpose, the entire thing is "ethical use" - so illegal stuff no no

west rampart
#

Read the rules

flint moth
slate arch
#

can i have a nudge on the privilege escalation section of the getting started module? i can see how to escalate to root as user2, but not how to login to user2

dire kayak
#

Question regarding an Nmap fundamental course. One of the questions is regarding finding the host name, it provides you the target IP, yet any commands I run with nmap are not displaying the host name, I even tried the -A option , still same issue , exact wording of question is "Enumerate the hostname of your target and submitg it as the answer. (case-sensitive)

slate arch
#

Is the target on linux or windows?

#

I think it should be -sP but idk

dire kayak
#

target linux , -sP displays 1 host up but won't give specifics

slate arch
#

idrk i think you need the distro maybe find custom scripts to do that

lavish anchor
#

Hi guys , any one online here ?!

west rampart
#

Here

#

@lavish anchor

quiet forum
#

Hi guys, need a little help regarding the windows fundamentals module

#

Question : What non-standard application is running under the current user ? (The answer is case sensitive).
Section : Windows Security

#

If anyone is online please point towards the right direction

#

Thanks in advance!

quiet forum
#

Hey it okay guys, i got the answer. Just have to remove .exe from the application😂

#

The question didn't specify not to include the .exe extension😩

umbral basalt
#

@quiet forum same thing happened to me lol

rustic sage
#

hey

umbral basalt
#

I'm working on the Getting Started module under Service Scanning. I'm trying to access the SMB share folder 'flag'. Ive enumerated the share folders but I am unable to interact with them using the smbclient tool. Any suggstions?

rustic sage
#

i dont really know much about hacking and coding and stuff

#

can i learn something in this server?

#

:>

obtuse scroll
#

Actually you can’t, but you can go to the HackTheBox Academy >> academy.hackthebox.eu

And you can learn something, but this server is only for support.

#

^^

#

@rustic sage

urban sage
#

Kind of a good way to think of it yeah. Learning is really up to you.

timid marlin
#

Hi, is there any way I can earn cubes for free?

novel matrix
#

@timid marlin Buy modules since, you spend 10 and you get 10 back

timid marlin
#

I'm new to HTB and I just hacked my login. I would like to try some labs but I don't have the skillset and I don't have the money to buy cubes to learn them

urban sage
#

Tier0 modules are available for free.

timid marlin
lavish needle
#

Hey! Can anyone help with the Web Request module POST method section question? I feel like I've tried everything i know and made a lot of new progress but still can't figure it out : (

#

@timid marlin I just reckon you do the the modules you can afford since you don't have the money for them

neon shard
#

@lavish needle Sure, hit me with a dm if you still need help

plain nymph
#

hi

#

what are we doing here ?

dim plover
#

can anyone clear my doubts ?

tired perch
#

Like learning the way to solve it and not just the answers

plain nymph
#

htb academy what

tired perch
#

++academy

red obsidianBOT
flint moth
#

Can some help me in Remote file Inclusion please

dim plover
#

Which shell is specified for the htb-student user? how can i find that answer

unborn yarrow
#

I'm stuck in buffer overflow academy
[19:59]
Buffer = "\x55" * (1040 - 100 - 150 - 4) = 786
NOPs = "\x90" * 100
Shellcode = "\x44" * 150
EIP = "\x66" * 4'
[19:30]
How large can our shellcode theoretically become if we count NOPS and the shellcode size together?
[19:59]
I think 250 but it's wrong

#

Can some help me

dim plover
#

Which shell is specified for the htb-student user? how can i find that answer

autumn pilot
#

Have you carefully read the material in the section/module

flint moth
#

Little help in Remote file Inclusion!! anyone please

dim plover
#

yes i read it

#

but after that i find so much difficulties to understand the questions.....

#

can anyone help me a little ?

#

bas thoda sa

flint moth
#

@dim plover I think you should check Environment

dim plover
#

i check every where

#

but i can't get a single help

flint moth
#

Can you tell what you found till now?

dim plover
#

i found some answer

#

but not alll

#

because i can't understand it's meaning properly

unborn yarrow
flint moth
#

@unborn yarrow it saying expect parameter 1 to be string, array in httpxxxx on line 1

#

@dim plover check Environment you will find your answers

dim plover
#

means

#

i already used that hint part

#

so... it end now

flint moth
#

So what you found?

#

Can I dm you @dim plover ?

unborn yarrow
dim plover
#

ok

flint moth
#

@unborn yarrow when I Attack the target instead of execution of command it says it is expecting string ==> expects parameter 1 to be string , array in http://xx.xx.xx.xx:8080/shell.php on line 1

unborn yarrow
#

I haven't see this error in this module yet, just follow course and find the flag.

hardy quarry
#

hey guys, just want to ask if you know the command for this question? i have been on this question for 6 hours already. somebody help

#

Here is the question.
"Find a way to start a simple HTTP server using "npm". Submit the command that starts the web server on port 8080 (use the short argument to specify the port number)"

Here is the hint for the question.
"Npm is a package manager that can allow you to download a basic web server packet. This packet also provides the option to specify the port. No need to install it. How would the command look after installing the corresponding package with a specified listening port?"

flint moth
#

@hardy quarry can I dm for help?

hardy quarry
flint moth
unborn yarrow
flint moth
#

@unborn yarrow yeah you are right but why it happens?

unborn yarrow
unborn yarrow
flint moth
#

@unborn yarrow Nope I haven't started it yet , thanks a lot !!!!!!!👍 👍 😭

lone kindle
#

"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'." does anyone know how to do this one? (Getting started, Privilege Escalation)

tough mauve
rocky lotus
#

hello

stable orchid
#

Anyone know how to find the kernel version for the Linux Fundamentals course? I tried using uname -v as well as uname -r and it said neither one were correct

ivory bough
lone kindle
stable orchid
ivory bough
modern totem
#

Hi dudes. I have quastion. How do I get cubes?Buy or with each solved module will be more cubes?lovethebox

ivory bough
#

You get cubes with each solved module, but just the ones you spent on the module
So basically you stay the same

lone sky
#

Hello I'm new to HTB, I need help in finding Apache😅

novel matrix
#

What?

lone sky
#

That module named "Cracking into the hack box"

#

cracking into the hack box > web requests > request and response

#

I'm totally new to this sorry😵

ivory bough
#

Hey, could someone help with a question of Windows fundamentals ?
I feel like I am not even looking for the right think or I am submitting the answer with the wrong format

ivory bough
twin raft
#

Hi everyone, sorry, i need help. I am on Linux Fundamentals; service and process managment. I don't know how i can solve the question, the question says: Use "systemctl" command to list all units of services and submit the unit name with the description "Load AppArmor profiles" as the answer. But I have no idea how to do it, I would appreciate if someone could tell me what to put in the terminal to get the answer

twin raft
#

Is the answer?

unborn yarrow
twin raft
#

How can I get to that answer?

unborn yarrow
unborn yarrow
twin raft
#

I see, The ssh thing, if I have it, but then grep is the one that helps a lot, right? :O

unborn yarrow
slate arch
#

for the getting started module privilege escalation part, i have been stuck on how to go to user 2 for a while. could i get a nudge in dms?

neon shard
#

ye sure

#

gimme a dm

patent bison
#

Hello I am trying to connect to MySQL through command line and i get next error "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)" This error happens in SQL Injection Fundamentals in UNION clause

unborn yarrow
patent bison
#

@unborn yarrow SQL Injection Fundamentals - Union Clause (page 11)

unborn yarrow
#

I have omitted this section because there could be a server-side version error.

unborn yarrow
patent bison
#

so this section cannot be solved at the moment?

unborn yarrow
patent bison
#

ok. i will move to next lesson and later finish this one

#

thanks for info!

tawny plume
#

In the module Web Requests, Section POST Method. What am I supposed to submit? It asks for the admin user but it doesn't accept the name displayed when you log in as admin or the admin cookie. I've tried including and removing the word admin and the underscore

vague kraken
#

Hello everyone! I'm new member and got my first problem. I started with first module and I got stuck with question in 'learning process' - 'What is the difference between the two numbers of the learning progress mentioned above?' 😦 For real, I tried with almost everything and I feel dumb when all of my answers are incorrect. This is such easy question and I'm lack of ideas. Does anyone got same problem?

neon shard
#

Well

#

Both of you, send me a dm

tawny plume
#

The numbers are 1 and 37.7 you might be misreading them

neon shard
#

@tawny plume you still need help?

tawny plume
#

Please

vague kraken
#

Yea, I know what numbers are

tawny plume
neon shard
#

I sent you a message on that

ivory bough
#

Hello!
I need help with this question of Windows Fundamentals
Which Windows NT version is installed on the workstation? (i.e. Windows X - case sensitive)
I've found the OS version, name, etc with the systeminfo command and even graphically, but know I think I am looking for the wrong thing, any advise would be really helpful!

#

but now*

dim plover
#

i think it's help you

ivory bough
#

Thanks a lot! I will try it

dim plover
#

it's ok 🙂

neon hawk
#

Hi! I'm stuck on this question:

#

What is the path to the htb-student's mail?

#

I'm using LS to look at all the differnt folders but I can't find anything

slim token
slim token
neon hawk
ivory bough
#

alright 😄

neon hawk
#

I used env

#

and it showed a bunch of info

ivory bough
#

That´s a way I guess
When I solved it I just looked around using cd and ls

neon hawk
#

I couldn't find the right path using LS 😦

ivory bough
#

It was confusing indeed

dim plover
#

then you find your all answer

neon hawk
#

yeah, I used env

#

and found everything I needed for that section

dim plover
#

then you see the MAIL in it

#

just check it

#

again

rustic sage
#

Hi guys, tying for quite some time now, but I cannot get the flag resolved for JavaScript Deobfuscation (https://academy.hackthebox.eu/module/41).

Got the .js file looking good and readable and followed the instructions in there (from my pov). I always receive a keychain back which I want to decrypt. This ends in a text that's readable half the way but ends with an error message.

Thanks in advance for someone who can guid me through!!

rustic sage
#

Hello, Im stuck on the POST method question of the Web Requests module. I can make the page say Welcome admin_somethingsomething but that is obviously not correct. Does anyone have a hint on what I have to do here? Thx!
edit: ok got it ...

rustic sage
#

Hi guys/girls, i'm wondering what i'm doing wrong with the module "getting started" and with the service scanning subject. The question about the service on port 8080 is bothering me.
I see that multiple people have the problem on finding the right answer and it seems i have the same issue. I see the result from the Nmap + the service scanning. But the results are not current. So what am I missing here? Can someone push me in the right direction on what i should look for?

drifting smelt
rustic sage
#

guys, anyone know how to solve this?

#

How many files exist on the system that have the ".bak" extension?

#

find / name *.bak -type f 2>/dev/null | wc -l ... i think this is right but dont work rn

rustic sage
#

im dumb

sweet heron
#

😛

sweet heron
#

I too need help with hydra on the brute force module, assessment 1: I'm getting a "missing colon" error in my command if someone wants to check it out please! EDIT: The error was in the file, not in my command. I'm good.

rustic sage
sweet heron
#

what section of the module? I'll try to help.

obsidian crown
#

Please tell me the answer to one question "Identify one of the non-standard update services running on the host. Submit the full name of the service executable (not the DisplayName) as your answer."

sweet heron
next lava
#

Can anyone please help me wit this question? I tried many answers lol

Use WMI to find the serial number of the system.
rustic sage
#

@next lava wmic bios get serialnumber

next lava
#

i tried that

#

with the vm pare

#

part?

#

maybe wrong format?

#

theres spaces

rustic sage
#

Sorry that's windows command.

#

Have you tried
sudo dmidecode -s system-serial-number

next lava
#

lol its this Get-WmiObject -Class Win32_OperatingSystem | select SystemDirectory,BuildNumber,SerialNumber,Version | ft

#

prob just need to select SerialNumber

rustic sage
#

Ah so powershell

next lava
#

ya i couldnt find it using MS-DOS

rustic sage
#

Couldn't determine if this was a linux box or windows. Good to know

next lava
#

yep hopefully helped someone else lol

rustic sage
#

Weird that it didn't let you use cmd commands

next lava
#

it does

#

doesnt give right answer lol

rustic sage
#

Maybe launch cmd from powershell then run wmic bios get serialnumber ?

#

ahh

next lava
#

yea i tried maybe a formatting issue

#

ya

#

i think it formatting thing

rustic sage
#

Powershell is the way to go anyway

next lava
#

true, true!

rustic sage
#

@next lava by chance with the cmd command did it return SerialNumber To Be Filled By O.E.M. ?

next lava
#

No it returned this

#

Serial Number

#

VMware-42 [hex]

#

Your command would usually work,

#

I think its bc its a vm

rustic sage
#

Agreed

old lynx
#

Could somebody help me

#

I need some help for the privilege escalation question 2

#

"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'." does anyone know how to do this one? (Getting started, Privilege Escalation)

rustic sage
neon shard
#

@old lynx still need help?

neon shard
#

Hey @hybrid urchin , shoot me a dm

hybrid urchin
#

thats really how you do it? I havent been taught any of this yet in academy

#

@stray prairie

stray prairie
#

@hybrid urchin we got diffrent module i was on javascript deobfunction

rustic sage
#

Whom you are taking to? 😅

Used your syntax + xml header but receive a partly wrong answer. The key was HTB in my case. But I receive blablabla + error message. Blablabla = the flag (at least partly) but the line ends with an error message though.

stray prairie
neon shard
#

well

#

That key doesn't seem decoded

viscid edge
#

Hello, I am having difficulty with this easy module: INTRODUCTION TO BASH SCRIPTING, comparison operator.
Create an "If-Else" condition in the "For"-Loop that checks if the variable named "var" contains the contents of the variable named "value". Additionally, the variable "var" must contain more than 113,469 characters. If these conditions are met, the script must then print the last 20 characters of the variable "var". Submit these last 20 characters as the answer. Firstly I am checking for if var contains the value, if it does I am checking the number of chars, but there is nothing that matches both criteria. Don't know what I am doing wrong. Need some help, thanks.

rustic sage
rustic sage
# sweet heron what section of the module? I'll try to help.

this is the section where I'm stuck in - Source Code:
https://academy.hackthebox.eu/module/41

  • found the script
  • applied deobfuscation (jsnice.org) and got the nice .js with the instructions
  • instructions applied:
    curl -s http://ip/:PORT/serial.php -X POST -H "Content-Type: text/xml" -d "<Request><flag>HTB{1_4m_7h3_53r14l_g3n3r470r}</flag></Request>

--> received a flag back, but after decoding it with Base64 following outcome appears:
7h15_15_a_53cr37_m3554g3base64: invalid input

rustic sage
#

Poki, I´ve found the admin and password, but cant login with the credentialf found.....I was able to upload a php shell inside var/liv/mysql.....but i can ivoke it.... any hints ?

harsh pine
hearty saffron
#

becuase /var/liv isnt part of the website

rustic sage
stray prairie
rustic sage
stray prairie
#

whats th question

rustic sage
stray prairie
#

Using what you learned in this function, try to deobfuscate 'secret.js' in order to get the content of the flag. What is the flag? this question ?

rustic sage
stray prairie
#

this was the hint Don't just beautify it, deobfuscate it!

#

given

#

no need to decode there

rustic sage
stray prairie
rustic sage
tidal mango
#

can anyone help with the very last question in the file inclusion/ directory traversal? I must be missing something I have tried I think everything from the course and had no luck... Skills Assessment - File Inclusion/Directory Traversal "Assess the web application and use a variety of techniques to gain remote code execution and find a flag in the / root directory of the file system. Submit the contents of the flag as your answer."

subtle acorn
#

hey everyone i hope you are all well i need some help about service scanning module

mint lava
rustic sage
#

What is the name of the hidden "history" file in the htb-user's home directory?

#

i just cant figure this one out

#

ive been to the folder and have ls -al |grep history

#

all that shows me is bash_history..., yet that isnt the answer

#

can anyone help?

#

btw Linux Fundamentals

tawny plume
#

the . is part of the file name

#

@rustic sage

rustic sage
#

?

#

really

#

that is all

#

thank you so much!!!

tawny plume
#

A lot of the answers need to be exact. The . is considered part of the filename so it needs to be included

rustic sage
#

ive been trying everything and thought im stupid

#

you are the best

neon shard
#

@rustic sage I think it might be noteworthy why there's a . before the filename, and why it's part of the file name: they're hidden files (so for instance if you use ls they wouldn't be listed but ls -a does. So the file bash_history is vastly different that the file .bash_history, the latter being hidden

rustic sage
#

ah ok thank you

neon cape
#

Can someone help me please with this question? Send a GET request to flag.php with two parameters num1 and num2 such that their sum is 1337.
Web requests on Get Method. I am brainstorming for almost an hour and I ran out of patience and ideas. If someone can help me pls dm

lethal reef
sweet heron
covert rivet
sweet heron
covert rivet
#

I got it. || Forgot to add the -d||

static crypt
#

Im so lost with this, its literally the first thing and i feel so dumb

#

its the Interactive Section with Target of the first module and i just dont know what theyre asking or how i do it

lethal reef
#

And what is the question @static crypt

rustic sage
#

@sweet heron thx man. I was totally stuck in doing the stuff learned on the page.

modest token
#

Hey all! I'm stuck on fundamentals > knowledge check, its the module where we need to bust into the getsimple server. I got a shell on it with metasploit, got the user data and upgraded the shell, then I piped linenum.sh in and ran that. I got the results back and saved them but I feel like such an idiot because i dont know what to do with them. I know that the way to get root probably has something to do with ||/usr/bin/php|| and maybe this too? ||sudo_as_admin_successful ||but I'm just too dumb to figure what to do next. I have all the pieces in front of me but Im too much of a baboon to put them together!!! can someone plz give me a kick in the right direction? maybe drop a hint? 🙂 ????? plz??

modest token
mint lava
hot tartan
#

im stuck on the linux fundamentals module. I dont understand how you find the path to the htb-student's home directory or the email this whole section confused me tbh

neon shard
#

@hot tartan , I'll Dm u

empty gust
#

im stuck on the linux fundamentals module. I dont understand how you find the path to the htb-student's home directory or the email this whole section confused me tbh

static crypt
#

sorry for the late response, i slept and did some other stuff

wild spire
#

Can anyone give me a nudge on the very last box on the getting started module? Feel free to PM me and I can explain my situation further.

neon tree
#

Can someone help I am stuck on linux fundamentals. I can't seem to start apache2 service whenever I do sudo systemctl start apache2. This is what is highlighted in red: (code=exited, status=1/FAILURE)

novel flax
#

Guys, how do i get this file .txt ??

#

File saved in: /root/.msf4/loot/20210408182022_default_138.68.189.41_simplebackup.tra_255543.txt

#

I got it from a exploit

#

But i dont have this ".msf4" in my machine, or even "loot".

restive siren
#

ATTACKING WEB APPLICATIONS WITH FFUF - Parameter Fuzzing - GET: Can you some give me a hint on how to answer it? I've added the domain and subdomains to the hosts, I've ran the commands, but I don't understand what they want, I probably have the answer but I don't how to put it. Thanks! PM accepted!

uncut temple
#

They want you to find the accepeted parameter for that page

#

so you neet to use ffuf to FUZZ and find that parameter 😛

restive siren
#

I think I've tried that, I guess I need to try harder LOL, Thanks @uncut temple !

uncut temple
#

@restive siren sometimes the answer is so simple that we miss it in the output of the command. I had problems with the VM since the progress doesn't stay in the last line and keeps filling the screen with progress lines, I had to use the parameter that ffuf provides to avoid that. Are you using it to display only the results?

restive siren
restive siren
#

@uncut temple can I PM you?

novel matrix
sweet heron
#

Anyone good with bash scripting? I need a hint for the comparison operator section. I can't seem to create a good if-else statement to compare two strings.

loud dew
#

Hi there, could someone please give me a nudge on getting started module - knowledge check. I got the meterpreter session open and got user flag. I type shell to get the shell, but it`s not responding to any commands. What am I doing wrong here?? Ta

wild spire
#

@loud dew Hey so I'm stuck on the same part of the knowledge check. Do you mind if I PM you a question real quick?

modest token
ornate bloom
#

HELP plz
Getting started
Web Enumeration
Q: Try running some of the web enumeration techniques you learned in this section on the server above, and use the info you get to get the flag?
Nmaps says it seems to be down
I cant ping the target
I cant gobuster it
I cant enumerate for suddomains
I cant curl or banner grab anything

What iam missing here ?

mystic crescent
#

*Getting started
-Public exploits
I scanned all the open ports on my target, the public exploits match the service but not the version so what I’ve used on metasploit doesn’t work for me. Help please and thank you!

mystic crescent
uncut temple
uncut temple
rustic sage
#

Hey Everyone!
I'm stuck on the last section of the getting started module (Knowledge section). I got the user flag through metasploit, looking up GetSimple, running the first exploit with a generic shell and also managed to run LinEnum.sh in the shell which told me that /usr/bin/php can be run with root but i can't figure out how to get root access from this. i've tried running php comands but it just gets stuck in a weird loop where everything i type just gets printed back to me. Is there anyone who can offer some help on this? Cheers and thank you for any help!

uncut temple
uncut temple
#

Please don't post here what you do, you may spoil some others path ;). I haven't used that function so I don't know if that one works the same way. In this case I was more oriented on getting what I wanted that getting a shell 😉

rustic sage
uncut temple
#

Once you've solved it try getting the shell with another function I will try that too 😛

rustic sage
uncut temple
#

congrats!!!

#

You need to think outside the box 😛

frigid vector
neon shard
#

Hey please don't post your commands here, it might spoil things for someone else

hardy quarry
#

Hi. i need your help if you can give me hint on how to tackle this question:

Module - Linux Fundamentals
Path - File Descriptors and Redirections

Question:

  • 0 How many total packages are installed on the target system?

Hope you can provide me insights on this. you can DM also. Thanks

uncut temple
frigid vector
#

yeah, browser just stuck on loading

neon shard
#

What question are you at?

uncut temple
#

Ok, the problem is that you are not forwarding the communication

neon shard
#

You have to forward the reuqests in order to send them to the browser

#

In the intercept tab of burp

uncut temple
#

you have a button in burp and you need to forward the message to the server in order for it to pass through

frigid vector
uncut temple
#

yes

frigid vector
#

I tap on it but the load is still going

neon shard
#

You have to forward all the requests

uncut temple
#

keep taping until no message is received in burp

#

then you will have the web page in your browser

frigid vector
#

Yeah, I tapped on it and even got the response - "HTTP/1.1 200 OK", but in the example (in section of the module) they got a cookie, so I'am not

#

and my browser still didn't load the page (after I text my login and password)

neon shard
#

try accessing the page without burp on the proxy on

#

if it loads, it's not burp

#

or the port

#

I'm going to assume the target and instance are working correctly

uncut temple
#

You need to log in with user guest. Did you do that?

#

just log in without burp, then start burp and reload page, you will be able to intercept the communication and see the cookie

frigid vector
#

Oh guys it's working now:))

#

thank you!

frigid vector
frigid vector
uncut temple
#

but you can't, you don't know the password 😄

frigid vector
#

in this case (at this section ) I know the admin password actually but anyway is working with only guest log in 😐

#

anyway I can continue:) sorry for stole your time

uncut temple
#

then you get farther than where I got, I didn't need the admin password to complete the task, just needed the system to take me as an admin

frigid vector
#

you know actually I could be wrong and mb I made mistake in translating the task (I 'm still try to learn English)

#

😆 it's getting more and more fun

#

)

uncut temple
#

Then you have a double challenge, understanding the task and acomplishing it 😛 . Let me know if you need an explanation of what the challenge is

frigid vector
#

thanks man!) appreciate...

unborn yarrow
sullen forge
#

All this time I thought, in order to hack into anything, you'd need help with that

#

That there's no way you can do it on your own

#

Guess I was wrong

cerulean vine
#

clear

tame trout
#

Hi there!

#

Thanks for accepting me on the server

#

I have a question:

I am doing the module on Web requests and in the section on POST requests and we are asked to "try to get the admin user from what we learnt from this section" but after doing it I see no flag. Is there anything to get?

I had issues of conectivity with my virtual machine that relates to those encountered by so I tried to do the section from my own machine with curl. I loged as guest with curl to get the cookie and save it and then going as guest to /admin/dashboard.php with that cookie but I don't see anything interesting to submit.

merry sparrow
#

literally as i posted it it ran lmfaooooooo sods law strikes again

#

smh

uncut temple
#

@tame trout you see no flag because you haven't done it yet. Keep trying 😉 the flag will be displayed on the webpage.

boreal verge
#

umm im new the first link sent me here

ivory bough
frigid vector
#

and I'am still trying to do this crappy task:Login with the credentials (guest:guest), and try to get to the admin user from what you learned in this section and the previous section. (web requests module - post method section)

blissful hare
#

i am on javascript obfuscation module and stuck with the question where i have to send POST request using curl in /serial.php can someone help me with that

neon shard
#

sure

#

send me a dm

blissful hare
#

hint says it starts with 'N' and ends with 'Z' please help me

neon shard
#

I sent you a dm

frigid vector
#

Manipulate the cookie as discussed in the previous section? hm I thought that I tried all possible variants... so could someone explain me, why I didn't get phpsessid cookie? only auth=

unborn yarrow
frigid vector
#

yeah i've tried to decode cookie auth=... to base64

#

but it was my cookie

#

and it doesnt get a result

unborn yarrow
#

that cookie is just for 1 user

#

and you can see the name of user in cookie after decode

#

so if you want login to admin you must have cookie of admin

#

you should guest the cookie and encode

#

use it in burpsuit to login

frigid vector
#

i've tried to text one more user like admin=... and forward

#

hm ok anyway

unborn yarrow
#

don't need '='

#

you don't need password

frigid vector
#

I'll continue my tries

#

oh

unborn yarrow
#

you can try encode 'admin'

frigid vector
#

🙂 I think I began to understand ... right now I'll try

#

thanks

unborn yarrow
#

you can't guess because you do not really understand how cookies work

frigid vector
#

hm

#

yeah

#

what shall I know to solve it?

unborn yarrow
#

You guessed the rule of cookie is related to user name

#

in this case, decode(username)=cookie

#

Try each case you can guess

#

encode(username)=cookie, \I wrote mistakenly

frigid vector
#

thanks:)

#

I'll try

sullen forge
#

Thank you for accepting me on this server! I appreciate it!

uncut temple
#

@unborn yarrow that was a huge hint 😉

unborn yarrow
uncut temple
#

That's why I say that the hint is huge 😛

sullen forge
#

What's this all about?

sullen forge
#

Guys, anyone?

unborn yarrow
sullen forge
#

What's this all about?

#

Nevermind, I'm logging off now

#

See later

frigid vector
#

could you slightly direct me?;)

#

I encode adm

#

after I encode the cookie which I have default (guest cookie)

#

adm name encode to base64

#

cookie encode to ASCII

#

wrote that in the cookie string

#

and I've got this - Welcome, ��{�n��^{ߍ�!

#

😫

#

mb I text it in wrong string?

mint lava
#

@frigid vector read the hints you were given here, you over complicate it. Try to simplify it for you so you understand it

frigid vector
#

I'm on the right track

#

:)))

unborn yarrow
flint moth
#

Hi can someone help me I am stuck at LFI Harding Tips 2nd question how I can use curl to execute a php file ?!

empty gust
#

i am stock in my path

#

questiom

#

question

frigid vector
#

but I think that almost finish

unborn yarrow
frigid vector
frigid vector
flint moth
unborn yarrow
unborn yarrow
unborn yarrow
#

contact with url instead

flint moth
#

@unborn yarrow In hint it is written ==> "Place a PHP File in /var/www/html/ which contains a PHP Webshell using SYSTEM(), then use curl to execute the file. Be sure to restart apache after editing the PHP Configuration!"

unborn yarrow
flint moth
#

@unborn yarrow FILE INCLUSION / DIRECTORY TRAVERSAL module Harding Tips under Wrap Up

unborn yarrow
unborn yarrow
unborn yarrow
flint moth
#

@unborn yarrow Yeah I have already checked my code but the thing is How I am gonna execute it using curl

frigid vector
#

ty

unborn yarrow
frigid vector
#

I mean the sequencing

#

o

#

i did

#

encode admin

unborn yarrow
frigid vector
#

yeah I did this, I don't know where to insert this code

#

I did this a few hours ago:))

unborn yarrow
#

delete cookie user guess in burpsuit and replace cookie of admin

ivory bough
#

What I could recommend you in order to more less understand it, is to log multiple times, step by step using Burp so you can see where you should change it (in what step)
You already know how to do it, but probably are doing it in the wrong moment (as It happened to me)

frigid vector
#

and tap on forward

#

SUCCESS!!!!!!!

#

that vm just has insane crazy lag... and I just i couldn't wait for the browser response

sullen forge
#

You know, anonymously

#

and NOT by phone

olive lodge
#

hi everyone. got a question about SQL Injection module's very last challenge. I want to double check something..

#

can I ping someone? 😄

#

actually nvm

deep tartan
#

hi guys

#

im doing the getting started module

#

and im stuck in the enumeration section

#

"Access the SMB share folder called 'flag' and submit the contents of the flag.txt file."
After connecting to the SMB port and seeing the shared files, i cant find the flag folder

#

ive tried both smb ports, 445 and 139

uncut temple
#

What's inside the user share?

deep tartan
#

i already connected to the users folder but i cant list the directories inside it( dir command)

uncut temple
#

What table of contents section are you in?

deep tartan
#

Service Scanning

#

sorry

#

i said enumeration

#

fuck xd i meant port scanning

#

i need to go to bed after completing this hahaha

uncut temple
#

You have one kind of access denied, have you tried others?

deep tartan
#

yes

#

one of them i cant connect at all

#

the other one doesnt let me "dir" neither

last ridge
#

I am stuck on the Login Brute Forcing module, on question #1 before the skills assessment. The questions say to "try to brute force the SSH login in the server shown in the server below" but I am having no luck. I have tried hydra with most of the username/password combination files. I have also tried several of the username lists and password lists from SecLists without luck. I do not know any information about employees at this point so creating a custom username and password list doesn't sound like that would work. I'm sure I must be missing simple since I'm not even to the skills assessment yet. A nudge would be greatly appreciated.

uncut temple
#

@deep tartan so you are connected right?

deep tartan
#

yes i am

uncut temple
#

you don't have listing access

deep tartan
#

yes

uncut temple
#

try other things

#

The hint here is on the test question itself

deep tartan
#

i got it

uncut temple
#

cool

deep tartan
#

xd thanks

#

hehehe

uncut temple
#

YW

deep tartan
#

hi guys

#

i got yet another problem xd

#

so 2 modules later and now im in the Public Exploits section

#

this is the only task to do
" Try to identify the services running on the server above, and then try to search to find public exploits to exploit them. Once you do, try to get the content of the '/flag.txt' file. (note: the web server may take a few seconds to start)"

#

i was thinking about nmaping the server to see the running services and then starting my search on exploits related to those services

strong axle
#

I am doing the Windows Essentials course on Academy and I am sort of confused by the syntax of something like this:

PS C:\htb> Get-Service | ? {$_.Status -eq "Running"} | select -First 2 |fl

Can anyone explain the " $_.Status " portion of this?

deep tartan
#

$_.Status is the status of the service...This can be "running" or "Stopped"

#

Get-Service (gets all services) | ? {$_.Status -eq "Running"} (only show the running ones) | select -First 2(out of the running ones, show only the first 2 ones of that list) |fl

deep tartan
#

np bro :3!

strong axle
#

On yours, you can always "nmap -oX" to output nmap to an XML and then use "searchsploit --nmap {filename}" to look for vulnerabilites from the nmap

#

is $_ an alias for the info being piped from the first command then?

#

I am terrible with Windows lol

west relic
#

is there any website where I can rent a system like the academy one that I can view from my browser? I want it to have a gui just like the academy box but I need persistent storage too

strong axle
west relic
#

oh, time to use the free credit then

#

ty

pulsar mesa
#

Im sure its been asked but, on the linux fundamentals, i cant seem to get the right answer for the "run command as a different user" ive always used -l. in this case it wants the long version but it wont accept -login as correct. Im sure its something obvious that im missing.

strange aspen
#

Su

unborn yarrow
#

Hi guys, I need help, I don't understand how ffuf filter respond. In the Filtering Result lession, there is an example that uses the -fs 900 flag to filter the result size = 900 but the result displays size = 0.

#

user@htb[/htb]$ ffuf -w /opt/useful/SecLists/Discovery/DNS/subdomains-top1million-5000.txt:FUZZ -u http://academy.htb:PORT/ -H 'Host: FUZZ.academy.htb' -fs 900

   /'___\  /'___\           /'___\       
   /\ \__/ /\ \__/  __  __  /\ \__/       
   \ \ ,__\\ \ ,__\/\ \/\ \ \ \ ,__\      
    \ \ \_/ \ \ \_/\ \ \_\ \ \ \ \_/      
     \ \_\   \ \_\  \ \____/  \ \_\       
      \/_/    \/_/   \/___/    \/_/       

   v1.1.0-git

:: Method : GET
:: URL : http://academy.htb:PORT/
:: Wordlist : FUZZ: /opt/useful/SecLists/Discovery/DNS/subdomains-top1million-5000.txt
:: Header : Host: FUZZ.academy.htb
:: Follow redirects : false
:: Calibration : false
:: Timeout : 10
:: Threads : 40
:: Matcher : Response status: 200,204,301,302,307,401,403
:: Filter : Response size: 900


<...SNIP...>
admin [Status: 200, Size: 0, Words: 1, Lines: 1]
:: Progress: [4997/4997] :: Job [1/1] :: 1249 req/sec :: Duration: [0:00:04] :: Errors: 0 ::

#

we can see size of admin is 0

uncut temple
unborn yarrow
#

in above examble. filter size 900

#

but result admin size 0

uncut temple
#

you are telling ffuf to avoid printing results with size 900, admin is printed because it doesn't have a size of 900

unborn yarrow
#

Wow thanks, and match is opposite with filter?

uncut temple
#

exact, you want to filter out sizes you don't want. you don't know the size of the files you are looking for

unborn yarrow
uncut temple
#

yw

deep tartan
#

@uncut temple what modules did you do on htb academy?Im a newbie but i am taking a web related computer science course in Uni so i already know something

#

my goal is to be able to do some htb machines

#

atleast the easy ones completly by myself

uncut temple
deep tartan
#

noice

#

i already did most of those

#

except "Linux Fundamentals", "Intro to web applications" and "Learning Process"

#

how did you reach Script Kiddie on htb then?

#

did you learn outside of htb academy?

uncut temple
#

I already knew about those courses

deep tartan
#

aah fair enough

uncut temple
#

some times easy machines are too easy 😛

deep tartan
#

the starting point ones are not easy xd

#

Archetype requires doing a bunch of stuff

#

they could make it easier tbh xd

#

do you think i can hack any machine using only port scanning and public exploits?

#

with this ^, i mean is there any machine that requires only these 2 aspects of pentesting?

uncut temple
#

in the easy ones probably, but not straight forward they always have sonmething to make you think a bit

deep tartan
#

uhmm fair enough xd

#

i guess trying one doesnt hurt

#

did you do the starting point ones?

#

if yes, which one was the easiest for you

uncut temple
#

It's been a long time I'm not active there, and it has changed.

#

do you have VIP?

deep tartan
uncut temple
#

It was for me, you have access to the old machines thus, you can whatch videos or read walkthroughs (there are a lot, but ippsec vids are great and 0xdf walkthroughs) and then you can practices that on the old machines

#

its very usefull to learn

#

not strictly necessary, but if you can aford it I would recommend it

deep tartan
#

i can afford it and was already thinkin about buying it tbh

#

i also bought some modules on HTB Academy

uncut temple
#

I might buy some when I have finished the free ones

deep tartan
#

the Login Brute-Forcing and the Network Enumeration one too

uncut temple
#

I want to start playing on HTB again, but time is a constraint in my case

deep tartan
#

same here, uni gets tough sometimes! But i always find little bit of time to learn a bit on HTB 🙂 my major problem is procrastination.

uncut temple
#

wait till you're working 😛

deep tartan
#

xd damn

#

basically you only have weekends i assume xd

uncut temple
#

not only that, and a lot of interesting topics pending for time

wild spire
#

!rank

frigid summitBOT
novel matrix
hollow cedar
#

hi

flint moth
#

Hi can anyone help me in ==>Edit the php.ini file to block system(), then try to execute PHP Code that uses system. Read the /var/log/apache2/error.log file and fill in the blank: system() has been disabled for __ reasons .

#

In hints it asked to execute a php file using curl but I don't know how to do it

last ridge
crisp saddle
#

so uuum any hints for these 2 problems in the linux fundementals course:

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?

stray prairie
#

https://academy.hackthebox.eu/module/23

Using the file inclusion find the name of a user on the system that starts with "b".

im stuck on this part and i cant find the user i dont have any clue on which directory it goes

crisp saddle
autumn pilot
#

have you connected to the target?

crisp saddle
#

ah forgot to connect to the target and just thought the instance was the target

#

thanks for the help @autumn pilot

rustic sage
rustic sage
#

I cant find in the fundamental modules the answer from :
What is the name of the hidden history file in the htb user's directory ,how can I go inside the folder ? I know that I can locate the folders with ls -a
But when I get to the user folders
I have
.
..
User#####
How can I go inside?
Thanks

dusty quartz
#

Hey I need help with two questions in the Linux fundamentals. In the System information it’s asking for the shell for the htb-student and I used ssh to connect and command echo $0. The shell that’s coming up is bash but when I put in the answer It doesn’t take It. Anybody can help?

drifting knoll
#

@dusty quartz pls be careful with spoilers

dusty quartz
#

O sorry lemme crop

rustic urchin
# strong axle is $_ an alias for the info being piped from the first command then?

Get-Service | ? {$_.Status -eq "Running"} | select -First 2 |fl
Get-Service returns Service Objects (anything in Powershell is an Object), which are piped to Where-Object.(?) is an alias. Which has a parameter -FilterScript and is used here without it's name. $_ Refers to the current object in the Pipeline and .Status is to access it's property.

Get-Service | Where-Object -FilterScript { $_.Status -eq 'Running' } | Select-Object -First 2 | Format-List

Powershell is really worth a look and not just a Windows thing anymore.

stone slate
#

Hi, I am currently learning "Linux fundamentals". I have to SSH to a target but I am not able to do so today. I have done it in the past (yesterday) but unable to do so today. Can someone please help??🥲

#

i am in the "Service and Process Management" section of "Linux fundamentals"

neon shard
#

sure

hardy quarry
#

hey guys, what's up? badly need ur help on this linux question below:

How many services are listening on the target system on all interfaces? (Not on localhost and IPv4 only)

Do you have hints for me here? does this mean i need to check the ipv4 interface only? Thanks

regal wagon
#

me too

sullen forge
#

sympLiced

#

netstat -q

sullen forge
bronze parrot
#

attacking web apps with ffuf
the later questions are phrased : Using what you learned in this section, run a parameter fuzzing scan on this page. what is the parameter accepted by this webpage?
just to confirm, this means that the parameters are on the page xxx.xxx.xxx.xxx:PORT.php? or not?
i took a few days away, and am doing somethign wrong since i came back..

sullen forge
#

Joker (2019) is the best

limber cairn
#

i need help please

dusty quartz
#

Can someone please help me out I’m honestly confused.

restive siren
bronze parrot
bronze parrot
uncut temple
#

oh, sure. It is explained in the module. Server will keep responding page not found so you have to filter those answers

restive siren
bronze parrot
uncut temple
#

Confirm you've done the previous steps: subdomain resolution and all that

dusty quartz
#

The help page doesn’t really help

#

Only thing I see is login and that’s not the answer

restive siren
#

Check the manual of su, has more detailed information on the command

bronze parrot
bronze parrot
rustic sage
uncut temple
deep tartan
#

@rustic sage wait

#

lemme check

rustic sage
#

Thank you 😄

deep tartan
#

@rustic sage start by reading whats in the website

#

that the IP is hosting

#

and search a bit about the plugin that they are advertising

#

from there its really straight forward

#

use "search <plugin name>" on msfconsole to find the exploit

#

the awnser isnt in service enumeration, its just a plugin exploit that the website has

#

oh, and i forgot

#

when you use the exploit

#

you gotta change the folder

#

change this to /flag.txt