Temporary Advertisements:
Ad
Ad
Ad
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
(Aug 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
(Aug 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

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Leeching | http://c66go4clkqodr7tdjfu76jztjs7w7d3fajdeypxn73v4ju3dt7g5yyyd.onion/Forum-Ban-Appeals if you feel this is incorrect.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [FREE] HackTheBox Academy - CBBH CDSA CPTS All Modules Flags Techtom 110 14,204 2 hours ago
Last Post: Kazahk
Heart [FREE] HackTheBox All Cheatsheets Tamarisk 85 11,221 2 hours ago
Last Post: Kazahk
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 165 34,707 Today, 08:27 AM
Last Post: groningen1981
  Finding solutions/flags/writeups for challenges meomeothantai 0 158 Today, 04:13 AM
Last Post: meomeothantai
  [FREE] HackTheBox Dante - complete writeup written by Tamarisk Tamarisk 625 115,375 Today, 03:26 AM
Last Post: kevin25hxl

Forum Jump:


 Users browsing this forum: 1 Guest(s)