Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


Upload n' Sell Exploit filter_list
Author
Message
Upload n' Sell Exploit #1
This is my first Python script but it has a purpose Smile
What it does is gets the last sold file (yes this stuff is being sold for money) on Upload n' Sell and downloads it for free due to a silly mistake made by the site owners. It repeats ever 60 seconds.
So far I've got lots of interesting random files.
So here is the script
Code:
import urllib2
import urllib
import time
running = True

while running:
        x = "http://www.uploadnsell.com/download/"
        url = urllib2.urlopen("http://uploadnsell.com/check-sale.php")
        page = url.readlines()
        dllink = x + page[0]
        dlsite = urllib2.urlopen(dllink)
        dlpage = dlsite.readlines()
        filedl = dlpage[167][215:261]
        y = dlpage[167][263:400]
        x = len(y) - 21
        z = y[0:x]
        print "Downloading " + z
        urllib.urlretrieve ( filedl, z )
        print "File " + z + " Downloaded"
        print "Waiting 60 seconds"
        time.sleep(60)
Just put that into a file with .py as the extension and if you have Python installed it should run smoothly Smile
When the files are downloaded they go to the same folder the script is in so you might want to give it its own folder.

So far there is only 2 problems that I found. If two files are being offered on the site it crashes as the text grabbing thing can't work correctly.
The other problem is if there are no new items sold it will just redownload the last item again (I will most likely be fixing this)

Any code suggestions are welcome Biggrin

Reply

RE: Upload n' Sell Exploit #2
I think I fixed one of the problems Smile.
Now when 2 files come up it just ignores it and dosen't crash like before.
Code:
import urllib2
import urllib
import time
running = True

while running:
        try:
            x = "http://www.uploadnsell.com/download/"
            url = urllib2.urlopen("http://uploadnsell.com/check-sale.php")
            page = url.readlines()
            dllink = x + page[0]
            dlsite = urllib2.urlopen(dllink)
            dlpage = dlsite.readlines()
            filedl = dlpage[167][215:261]
            y = dlpage[167][263:400]
            x = len(y) - 21
            z = y[0:x]
            print "Downloading " + z
            urllib.urlretrieve ( filedl, z )
            print "File " + z + " Downloaded"
            print "Waiting 60 seconds"
            time.sleep(60)
        except:
            print "Two files were offered. This script does not yet support this"
            print "Waiting 30 seconds"
            time.sleep(30)

Reply

RE: Upload n' Sell Exploit #3
You should make it so that if you've already downloaded a file, it won't redownload it.
Awesome script though.
[Image: fSEZXPs.png]

Reply

RE: Upload n' Sell Exploit #4
Code:
import os, urllib2, random, time, re

if not os.path.exists("files\\"):
    os.makedirs("files\\")




itenNames = os.listdir("files\\")

itemIDs = []

while True:
    try:
        opener = urllib2.build_opener(urllib2.ProxyHandler({"https":"localhost:8118"}))
        site = opener.open("http://uploadnsell.com/check-sale.php")
        itemID = site.read()
        site.close()
        if itemID not in itemIDs:
            itemIDs.append(itemID)
            site = opener.open("http://uploadnsell.com/download/%s"%itemID)
            link = re.search("<div class='linkbox'><ul><li><a href=\"(.*)\">",site.read()).group(1)
            site.close()
            site = opener.open(link)
            fname = re.search("attachment; filename=\"(.*)\"",site.headers["Content-Disposition"]).group(1)
            data = site.read()
            site.close()
            if data != "PQR6D-VTRBW-J4QR6-6XC7J-T8KBJ":
                if fname not in itenNames:
                    itenNames.append(fname)
                    if not os.path.exists("files\\%s\\"%fname):
                        os.makedirs("files\\%s\\"%fname)

                    f = open("files/%s/%s"%(fname,fname),"wb")
                    f.write(data)
                    f.close()
                    print "Saved %s (ID %s)"%(fname,itemID)
    except Exception, err:
        print "ERR: %s" % str(err)

    time.sleep(30)

Configured to use my tor setup, feel free to edit the proxy to your liking. Will only save one copy of any file, and won't save some fake XBOX code someone loves to spam.

Reply

RE: Upload n' Sell Exploit #5
That is much better than mine! Thanks for sharing, I like your solution to the multiple files problem. I was going to try have two variables for each name check and compare them but this is much simpler.

Reply

RE: Upload n' Sell Exploit #6
(10-08-2012, 03:41 PM)w00t Wrote:
Code:
import os, urllib2, random, time, re

if not os.path.exists("files\\"):
    os.makedirs("files\\")




itenNames = os.listdir("files\\")

itemIDs = []

while True:
    try:
        opener = urllib2.build_opener(urllib2.ProxyHandler({"https":"localhost:8118"}))
        site = opener.open("http://uploadnsell.com/check-sale.php")
        itemID = site.read()
        site.close()
        if itemID not in itemIDs:
            itemIDs.append(itemID)
            site = opener.open("http://uploadnsell.com/download/%s"%itemID)
            link = re.search("<div class='linkbox'><ul><li><a href=\"(.*)\">",site.read()).group(1)
            site.close()
            site = opener.open(link)
            fname = re.search("attachment; filename=\"(.*)\"",site.headers["Content-Disposition"]).group(1)
            data = site.read()
            site.close()
            if data != "PQR6D-VTRBW-J4QR6-6XC7J-T8KBJ":
                if fname not in itenNames:
                    itenNames.append(fname)
                    if not os.path.exists("files\\%s\\"%fname):
                        os.makedirs("files\\%s\\"%fname)

                    f = open("files/%s/%s"%(fname,fname),"wb")
                    f.write(data)
                    f.close()
                    print "Saved %s (ID %s)"%(fname,itemID)
    except Exception, err:
        print "ERR: %s" % str(err)

    time.sleep(30)

Configured to use my tor setup, feel free to edit the proxy to your liking. Will only save one copy of any file, and won't save some fake XBOX code someone loves to spam.

Yeah - some guy keeps spamming his Skype resolver.
[Image: fSEZXPs.png]

Reply

RE: Upload n' Sell Exploit #7
Or sometimes pictures of children come up and I'm like "WTF?!"
Thankfully those come up less often.

Reply

RE: Upload n' Sell Exploit #8
^ Agreed. Inb4 reported to Upload'nSell Staff.

Reply

RE: Upload n' Sell Exploit #9
(10-10-2012, 08:46 PM)The Protagonist Wrote: Or sometimes pictures of children come up and I'm like "WTF?!"
Thankfully those come up less often.

People uploaded child pornography to Uploadnsell? I'm laughing at the idea of that.
[Image: fSEZXPs.png]

Reply

RE: Upload n' Sell Exploit #10
I've gotten some sweet programs from this and also some money making E-books.
So, thank you very much for this! Smile

Reply







Users browsing this thread: 1 Guest(s)