Categories: Kali Linux

LinPwn : Interactive Post Exploitation Tool

LinPwn is a interactive tool created to assist you in post exploitation enumeration and privilege escalation.

Connection

  • Set your IP and port you want it to connect to in the Connection class.
  • Place the LinPwn binary on the target machine.
  • Run nc -lvp PORT on your machine and then run LinPwn on the target machine to get a connection.

Also Read – JSONBee : A Ready To Use JSONP Endpoints/Payloads To Help Bypass Content Security Policy Of Different Websites

Usage

  1. shell – This command Executes /bin/sh
    Example usage: (LinPwn: Shell) > id
    Type exit to return to LinPwn.
  2. readfile – This command will print the contents of a file.
    Example usage: (LinPwn: ReadFile)> /etc/passwd
    Type exit to return to LinPwn.
  3. enumerate – this command runs LinEnum.sh
    Example usage: (LinPwn) > enumerate
  4. download – This command downloads a file on the target machine
    Example usage: (LinPwn: Download) > https://exampleurl.com/file_to_download
  5. wificredz – This command gathers saved wifipasswords
  6. hashdump – This command gathers system password hashes

Compiling

I included a file called build.sh this is optional run bash build.sh to view the build options if you wish to use them.

R K

Recent Posts

Comments in Bash Scripts

What Are Bash Comments? In Bash scripting, comments are notes in your code that the…

2 days ago

Shebang (#!) in Bash Script

When you write a Bash script in Linux, you want it to run correctly every…

3 days ago

Bash String Concatenation – Bash Scripting

Introduction If you’re new to Bash scripting, one of the first skills you’ll need is…

3 days ago

Learn Bash Scripting: How to Create and Run Shell Scripts for Beginners

What is Bash Scripting? Bash scripting allows you to save multiple Linux commands in a file and…

4 days ago

Bash if…else Statement – Bash Scripting

When it comes to automating tasks on Linux, Bash scripting is an essential skill for both beginners…

4 days ago

Bash Functions Explained: Syntax, Examples, and Best Practices

Learn how to create and use Bash functions with this complete tutorial. Includes syntax, arguments,…

6 days ago