Skip to content

Lutfifakee-Project/autopwn-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ‰ AutoPWN Environment (APE)

Version License OS Made in Indonesia

"The only secure system is the one that's powered off."


๐Ÿ“– Overview

AutoPWN Environment (APE) is a lightweight Linux-based security testing workspace designed to operate entirely in RAM. It provides a temporary environment for running tools, performing assessments, and automatically cleaning up artifacts when the session ends.


โšก One-Line Installation

curl -sSL https://raw.githubusercontent.com/Lutfifakee-Project/autopwn-env/main/ape.sh | bash

Permanent Alias Installation

echo "alias ape='source <(curl -sSL https://raw.githubusercontent.com/Lutfifakee-Project/autopwn-env/main/ape.sh)'" >> ~/.bashrc
source ~/.bashrc
ape

๐ŸŽฏ Features

Feature Description
๐Ÿš€ RAM-Only Workspace Everything runs inside /dev/shm/ with no persistent storage
๐Ÿงน Auto Cleanup Session artifacts are automatically removed on exit
๐Ÿ›ก๏ธ Security Software Detection Detects common endpoint monitoring and security products
๐Ÿ“ฆ Binary Downloader Download commonly used utilities on demand
๐Ÿ” LinPEAS Integration Convenience wrapper for privilege escalation auditing
๐Ÿ‘€ pspy Integration Real-time process monitoring
๐Ÿ”„ PTY Auto-Upgrade Automatically upgrades basic shells to interactive TTYs
๐ŸŽจ Custom Prompt Dragon-themed shell prompt
๐Ÿ‡ฎ๐Ÿ‡ฉ Made in Indonesia Developed by an Indonesian security enthusiast

๐Ÿ“œ Available Commands

Command Description
linpeas Run LinPEAS (auto-download)
pspy Run pspy process monitor (auto-download)
getbin <name> Download supported binaries
fastscan <target> Quick port scan (requires Nmap)
webscan <target> Basic web service enumeration
nclisten <port> Start a Netcat listener
bypass403 <url> Test alternative HTTP header combinations
help / xhelp Display help menu
exit Clean up and terminate session

๐Ÿš€ Quick Start

1. Launch APE

./ape.sh

2. Download Tools

getbin nmap
getbin ffuf

3. Scan a Target

fastscan 192.168.1.1
webscan example.com

4. Run Privilege Escalation Checks

linpeas

5. Monitor Processes

pspy

6. Start a Listener

nclisten 4444

7. Exit and Clean Up

exit

๐Ÿ›ก๏ธ Security Software Detection

APE can identify the presence of several commonly deployed security solutions:

  • CrowdStrike Falcon
  • Splunk Forwarder
  • SentinelOne
  • Carbon Black
  • Trend Micro
  • McAfee
  • Symantec
  • Sophos

๐Ÿ“‚ Workspace Design

All operations occur within a temporary RAM-based directory:

/dev/shm/.ape_<username>_<PID>

Benefits

  • โœ… No files written to persistent storage
  • โœ… Automatic cleanup on exit
  • โœ… No Bash history retention
  • โœ… Temporary files removed automatically
  • โœ… Reduced forensic footprint

๐Ÿ”ง Requirements

  • Bash 4.0+
  • Linux Operating System
    • Kali Linux
    • Ubuntu
    • Debian
    • CentOS
    • WSL2
  • curl
  • Internet connection (for downloading utilities)

๐Ÿ“‹ Usage Examples

Example 1: Basic Network Scan

./ape.sh
getbin nmap
fastscan 192.168.1.0/24
exit

Example 2: Web Application Testing

./ape.sh
getbin ffuf
ffuf -w wordlist.txt -u https://target.com/FUZZ
bypass403 https://target.com/admin
exit

Example 3: Reverse Shell Listener

./ape.sh
nclisten 4444

Example 4: Privilege Escalation Assessment

./ape.sh
linpeas
exit

๐Ÿ—‚๏ธ Available Binaries

Binary Command Purpose
Nmap getbin nmap Network scanner
FFUF getbin ffuf Web content discovery
SQLMap getbin sqlmap SQL injection testing
Netcat getbin nc Network utility
Socat getbin socat Advanced networking
Chisel getbin chisel Tunneling and port forwarding

๐Ÿงน Cleanup Process

Upon exiting, APE automatically performs cleanup actions:

  • โœ… Deletes workspace directory
  • โœ… Removes downloaded binaries
  • โœ… Clears shell history
  • โœ… Unsets sensitive environment variables
  • โœ… Removes temporary files

About

RAM-only stealth environment for pentesting. No traces. Auto-cleanup. EDR detection. Made in Indonesia.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages