Monday, February 2, 2015

I sell this tut on Hackforums for prolly 15$, made enough money so I share it here and everyone can profit from it.

This method doesn't include any carding methods, blackhat or cracking accounts. Everything is legal and you can probably make one premium account in just 30 secs.

You may want to start your own shop selling Spotify premium account with this. This tut is for reference only, i take no responsibility or anything relates to it.

Your Account will be upgraded to premium and you can do it unlimited times, no worries.

First, head off to https://www.spotify.com/us/ and register a new account. Then choose Upgrade.

... Since there are a lot of leaks from this method, i manage to hide the rest of it in this link. Use the link below to read the read of the method and let me know whether its still working on not. Tested working on March-05...

Sunday, February 1, 2015

So today Google Earth are putting out their promotion for Google
Earth Pro (which is $400 value). It's my free Sunday without any
homework so yeah i'm making an automatic script to auto register for
this product.

The idea to just to use the aliases of each Gmail in order to keep registering without getting new email. What alias is? So let's say you have an email address like abc@gmail.com, Gmail allows you to use aliases such as a.bc, a.b.c, ab.c in order to alternate for your main inbox. Whenever an email is sent to those alias inboxes, you can receive, read and reply from your own inbox abc@gmail.com

Taking advantage of it, I reuse my own class method to generate the alias it. It seems to be easy but th algorithm is a little bit confusing at first for me. So let's do a simple counting problem.

So there is a (x - 1) dots in total. Because dot can just be "on" or "off" so let consider them as binary string. Eg: 101 for a.bc.d . So in order to count how many aliases we have we just can simply count how many binary strings that we can generate from (n -1) chars. Since binary can only be represented as 1 or 0, so we have (n-1)^2 for the number of binary string. Wait, I forgot, let's exclude 0000 which is the original email address. So the total is (n-1)^ - 1. That's the counting and idea part. How can we turn it into python code?

Pretty much we just need to generate the list of that binary string first. There is a nice lib that can help which is itertools. What I did was :

lst = map(list, itertools.product([0, 1], repeat=len(username)-1))

Now we need to map each binary character into it corresponding position in the original username. We can iterate 1 by 1 and then insert the dot into the corresponding position in the username. 2 things to keep in mind that the first dot starts at index + 1 and the last dot ends at len-1. The second thing is that when you insert a dot, the original length changes so you need to keep track of the length of the string.

All put together, you can find my code at: https://github.com/nguyenph88/Google-Earth-Pro-Auto-Register/

Not sure when this promotion ends but I've created a hundred of licences so hit me up if you still need one :)

Sunday, January 11, 2015

As a part of my project, I sometimes need to register or buy some products that requires phone verification or text messages. Even though it's a guarantee from them that they will never "use your phone number for commercial purpose", but who knows. I've been receiving a lot of phone call, especially from those domain/hosting providers like 1and1, dreamhost, digitalocean etc... and a lot from other advertising firms that I don't really care.

Knowing that it would happen sooner or later, I've prepared myself by using Google Voice (sound like i'm advertizing for them ^^ but i've tried Skype before and they didn't meet my expectation). So instead of giving out your real phone number, you could get yourself a google voice number.

How it register? Well just follow all the step on Google Voice service, and link your phone to a Google Voice Number which you can choose. (good thing about this is you can actually search for your actual sequences that you like - So like my last name is NGUYEN, which corresponds to 64896, I searched for that sequences and got myself a nice 555-666-4896, or 555-66-NGUYEN.)

How does it help you to avoid unwanted call? So whenever you are registering for a product that requires a phone or text verification, just use your google voice, they will actually reach your voice mail or text you by the number that you have registered with Google. Sometimes they call and you don't want to listen, then just listen to the voice mail only :). You can actually translate those voice messages into text, which is really cool, or just simply give them a call back / text by using that google voice number. :D

Tuesday, January 6, 2015

I love automation and web testing/bot making, the problem is I just can only run it on my local computer or make a GUI app. This week I tried to expand the use of it to the world-wide-web to get more audiences. Tired of doing "python __init__.py", then why not do "http://www.yourwebsite.com/script/" ???

I'm not going into detail how to do each part, you are required to have a general idea and a common sense how to debug and fix the problem. It took me prolly 2 weeks to figure out how to run the server correctly and fix all the basic bugs. Let's start.

1. You need to have a VPS, I'll recommend DigitalOcean.com for the cheap and free 2 months VPS. If you decide to register then please register under my referral link so I can get an earning from you and you can get 2 free months.

2.Install either LAMP stack or ngix on your VPS. I'm using LAMP stack so if you decidde to use ngix you have to figure out the problem on your own. (Note: I tried ngix, there is 1 problem that because the script usually takes longer to finish thna normal, so you always be timed-out.) The framework I use it Flask.

How to install LAMP stack on your VPS: https://www.digitalocean.com/community/tutorials/how-to-deploy-a-flask-application-on-an-ubuntu-vps
How to install Ngix/Unicorn on your VPS: https://realpython.com/blog/python/kickstarting-flask-on-ubuntu-setup-and-deployment/

Just follow all the setup and you will be ready to run python on a web. From now on I will just give instruction based on LAMP stack (Apache) only.

3. Make sure you are logged as root, now do "source venv/bin/activate", then "pip install selenium".

4. Now follow this to install PhantomJS, make sure you have a copy of the executable bin in your current "yourweb" folder. https://gist.github.com/julionc/7476620

5. PhantomJS needs a ghostdriver.log file in order to run, you have to create a customize log file because visitors cannot trigger the script to create that file in the system. So now in "yourweb", let create a blank "ghostdriver.log"

6. Supposed your web is in "var/www/yourweb/" then you have to set the group to www-data in order to let visitors execute the script. Just do "chown -R root:www-data /var/www/yourweb/".

Now up to setting permission, this problem took me a whole week to figure out how to do that:

7. Now you have "phantomjs" and "ghostdriver.log" inside "yourwebsite", let do chmod 750 for phantomjs and ghostdriver.log

8. Keep in mind, in order for visitors to run those files, all related folders have to be set to 750 also. Now do chmod 750 for "yourwebsite" AND "WWW" <== I didn't chmod the "www" folder and It drove me crazy for couple days.