Resource Flags script
by chillywilly - Monday August 5, 2024 at 07:25 PM
#1
This bash script automates getting user/root flags from your kalibox, just supply the IP and also make sure you have ssh keys generated on kali or change the path to your pubkey

Hidden Content
You must register or login to view this content.
Reply
#2
didnt work , am i doing something wrong here ?

chmod x to script , created an ssh key 4096

changed the ip address and also the ssh location using nano

creates a root.key file

but the output is this -


Pseudo-terminal will not be allocated because stdin is not a terminal.
ssh: connect to host 10.10.x.x ( hidden )port 22: Connection refused
User Flag:
ssh: connect to host 10.10.x.x (hidden) port 2222: Connection refused
Root Flag:

would appreciate a little help
Thank you
Reply
#3
Thankyou for the script, hope it works  Smile
(08-05-2024, 07:25 PM)chillywilly Wrote: This bash script automates getting user/root flags from your kalibox, just supply the IP and also make sure you have ssh keys generated on kali or change the path to your pubkey

Reply
#4
(08-05-2024, 07:25 PM)chillywilly Wrote: This bash script automates getting user/root flags from your kalibox, just supply the IP and also make sure you have ssh keys generated on kali or change the path to your pubkey

sounds like a connection issue
are you on the vpn and the box spun up?
`Connection refused`
Reply
#5
nice share chillyBilly
Ban reason: Leeching | http://breachddyfwvcp4kzccos5oxtdbssmfbp...an-Appeals if you feel this is incorrect. (Permanent)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [FREE] CPTS 12 FLAGS pulsebreaker 59 1,150 03-28-2026, 06:26 PM
Last Post: vilas033
  [FREE] HackTheBox Academy - CBBH CDSA CPTS All Modules Flags Techtom 16 2,276 03-28-2026, 03:32 AM
Last Post: lulaladrow
  [FREE] HTB-ProLabs APTLABS Just Flags kewlsunny 23 2,348 03-28-2026, 03:30 AM
Last Post: lulaladrow
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 87 7,490 03-27-2026, 07:22 PM
Last Post: stn
  HTB Eloquia User and Root Flags - Insane Box 69646B 13 350 03-27-2026, 06:14 PM
Last Post: vlxw



 Users browsing this thread: 1 Guest(s)