Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Shell 

pyThrow - Skype Spammer Batch/VBScript/Python

pyThrow


Someone requested a Skype spammer, and so I made one today on my spare time. It doesn't clean up after itself, and all files are stored in your 'Temp' directory; So deleting them shouldn't be difficult.

Screenshot: http://www.forumrunner.netau.net/files/pyThrow.jpg

EDIT: I've fixed some bugs;
  • misspelled argument during function call

  • misspelled object in script 'installmod.vbs'


If any other bugs are found please report them below.


Code
''' pyThrow - Throw spam @ skype whores in the form of py.

    @echo off & cd %temp% & cls & if not /%1/==// goto :%1
    title pyThrow - Press Ctrl+C to exit & color 9f
    call %0 getpy & call %0 installpy & call %0 getmod
    call %0 installmod & call %0 pyThrow & goto :eof

:getpy
    if exist "getpy.vbs" (del /q /f "getpy.vbs" > nul)
    if exist "python.msi" (del /q /f "python.msi" > nul)
    (
        echo function fetch^(file, drop^)
        echo set xmlhttp = createobject^("msxml2.xmlhttp.3.0"^)
        echo xmlhttp.Open "get", file, false
        echo xmlhttp.send^(^)
        echo if xmlhttp.status = 200 then
        echo set stream = createobject^("adodb.stream"^)
        echo stream.open
        echo stream.type = 1
        echo stream.write xmlhttp.responsebody
        echo stream.position = 0
        echo stream.savetofile drop
        echo stream.close
        echo set stream = nothing
        echo end if
        echo set xmlhttp = nothing
        echo end function
        echo fetch "http://python.org/ftp/python/2.7.3/python-2.7.3.msi", "python.msi"
    ) > "getpy.vbs" & cscript /nologo "getpy.vbs" & goto :eof

:installpy
    msiexec /i python.msi /qn targetdir="%temp%"
    goto :eof

:getmod
    if exist "getmod.vbs" (del /q /f "getpy.vbs" > nul)
    if exist "skype4py.zip" (del /q /f "skype4py.zip" > nul)
    (
        echo function fetch^(file, drop^)
        echo set xmlhttp = createobject^("msxml2.xmlhttp.3.0"^)
        echo xmlhttp.Open "get", file, false
        echo xmlhttp.send^(^)
        echo if xmlhttp.status = 200 then
        echo set stream = createobject^("adodb.stream"^)
        echo stream.open
        echo stream.type = 1
        echo stream.write xmlhttp.responsebody
        echo stream.position = 0
        echo stream.savetofile drop
        echo stream.close
        echo set stream = nothing
        echo end if
        echo set xmlhttp = nothing
        echo end function
        echo fetch "http://pypi.python.org/packages/source/S/Skype4Py/Skype4Py-1.0.32.1.zip", "skype4py.zip"
    ) > "getmod.vbs" & cscript /nologo "getmod.vbs" & goto :eof

:installmod
    if exist "skype4py" (rd /s /q "skype4py" > nul)
    (
        echo set fso = createobject^("scripting.filesystemobject"^)
        echo if not fso.folderexists^(".\skype4py"^) then
        echo fso.createfolder^(".\skype4py"^)
        echo end if
        echo zipfile = fso.getabsolutepathname^(".\skype4py.zip"^)
        echo outputfldr = fso.getabsolutepathname^(".\skype4py"^)
        echo set objshell = createobject^("shell.application"^)
        echo set filesinzip=objshell.namespace^(zipfile^).items
        echo objshell.namespace^(outputfldr^).copyhere^(filesinzip^)
        echo set fso = nothing
        echo set objshell = nothing
    ) > "installmod.vbs" & cscript /nologo "installmod.vbs"

    python skype4py\skype4py-1.0.32.1\setup.py install
    goto :eof

:pyThrow
    if exist "pyThrow.py" (del /q /f "pyThrow.py" > nul)
    copy /y %0 "pyThrow.py" > nul
    echo Contact List:
    python pyThrow.py
    goto :eof
'''

# fucking imports are fucking...
import sys
from Skype4Py import Skype

try:
    # nipple pinching skype...
    skype = Skype()
    if not skype.Client.IsRunning:
        skype.Client.Start()

    # hooking skype client...
    skype.Attach()

    # display contact list...

    for finger in skype.Friends:
        print '\n  [*]', finger.OnlineStatus, '-', finger.FullName

    # declare variables...
    sendto = raw_input("\n - Username: ")
    message = raw_input(" - Message: ")

    # spam...
    while 0 < 1:
        skype.SendMessage(sendto, message)
except:
    sys.exit(0)
[Image: ed8URKg.jpg]


Very nice. Thanks for sharing, this is awesome!
Wow this is actually possible? I didn't expect it to be, nice job!
〴⋋_⋌〵 Skype is currently giving me shit! Can someone verify that this is working properly?
[Image: ed8URKg.jpg]


It didn't work for me. Python didn't get installed.
Perhaps it's aborting because there's already an existing 2.7.3 Python onboard?
(Mar 1, 2013 11:40 AM)SoulByte Wrote:  It didn't work for me. Python didn't get installed.
Perhaps it's aborting because there's already an existing 2.7.3 Python onboard?

Perhaps; I don't understand why it wouldn't work. I figured it was just because I wasn't logged into Skype. Fuck. It was fucking working fine before I posted the damn script!

Thanks for testing it.
[Image: ed8URKg.jpg]


thanks for sharing will be using for sure
I'm really new to this stuff, but I saved the code as a .bat, and nothing happened. Can someone point me in the right direction? Sorry, but thanks.
You need to have Skype installed, and you must be logged into Skype.
[Image: ed8URKg.jpg]


Nice release.

I did not even think it would be possible.
You have my respects sir, 🤝
I get an error everytime..Do I copy all of the code?
I just C/P'd the script, re-installed fucking Skype, and executed 'pyThrow.bat' and it's working perfectly fine. Here's a screenshot: http://www.forumrunner.netau.net/files/pyThrow.jpg
[Image: ed8URKg.jpg]


(Mar 3, 2013 08:13 PM)iGnite Wrote:  I just C/P'd the script, re-installed fucking Skype, and executed 'pyThrow.bat' and it's working perfectly fine. Here's a screenshot: http://www.forumrunner.netau.net/files/pyThrow.jpg

Python isn't always added to the path variable.
AFAIK, you install it into "%temp%\Python27", so you should replace "python.exe" with "%temp%\Python27\Python.exe":
(Mar 4, 2013 08:32 AM)SoulByte Wrote:  Python isn't always added to the path variable.
AFAIK, you install it into "%temp%\Python27", so you should replace "python.exe" with "%temp%\Python27\Python.exe":

At the very beginning of the file I execute the change directory command:

Code
...echo off & cd %temp% & cls & if not /%1/==/...

Everything is executed within the 'Temp' directory.
[Image: ed8URKg.jpg]


Thanks a lot and keep up the good work using this perfect tool.
Python is good and available for all users and that's what this community needs, a free scripting tool. [/align][/i]🤗


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Shell] by Robert RougeSep 24, 2026 10:02 AM 4 219 Sep 24, 2026 10:02 AM
Last Post: Anonynuk
by DramaKingNov 28, 2023 01:58 AM 3 366 Nov 28, 2023 01:58 AM
Last Post: jleeme
[Python] by Bass_ReevesAug 20, 2023 01:44 AM 9 631 Aug 20, 2023 01:44 AM
Last Post: Lucky4L