Using Python3 and Python2 on Windows OS with pip support

Hello everyone.Today,I am going to share how to use Python3 and Python2 with pip support  on Windows OS.If you try to install latest Python version 3.6 ,it provides you the option of adding Python 3.6 to PATH ,but this is not provided by Python2 installer still.Many users may find it difficult to use both version with corresponding pip on Windows OS.

So,I am sharing this method which helped me to use Python2 and Python3 simultaneously.

STEPS :

1.Download Python3 and Python2 installer from python.org .

2.Run Python3 installer and tick(enable) “Add Python 3.6 to Path” as shown in screenshot so that you can run Python3 by python command on Terminal/Shell.

p3s

 

3.You can run Python3 by using python command and its pip by using pip command.

4.Run Python2 installer and install Python2 .

5.Now ,you need to edit system environment  variable PATH as shown in screenshot below  for using Python2  and its pip2 in Terminal/shell :

path_setup

 

6.Click on Edit Button .After that all the enteries of  PATH  variable will be displayed.Now,click on New Button and add this entry as shown in screenshot:

C:\Python27\Scripts

path_edit.JPG

 

7.Click on OK button to save and make it sure that the entry added to PATH varaiable is not C:\Python27  . Otherwise , python command will run Python2 instead of Python3 .

8. Again add a new entery PY_PATH to system variables and set its value to 2 if you want to run python2 by using py command.

9.Now, you can use Python 3 by using python or py -3 . You can use pip for python 3 by pip or pip3 command .You can use Python2 by using py command or py-2 command .You can use pip for Python2 by using pip2 command.(See Screenshot)

pipnnn.JPG

 

If every step is followed correctly,you will see Python3 and Python2 running successfully with pip support in Terminal.

If you have any query or you need help,post in comments.I will be glad to help you.

Thanks for reading my post.I hope my post will be useful to Python users who are using Windows OS.

 

 

 

Bitly v1.00.0 pys60 app for Symbian S60 by gauravssnl based on bitly_python API

Bitly v1.00.0 pys60 app by gauravssnl based on bitly python API

Geneate bit.ly short URL of any long URL easily and exapand bit.ly URL to get original link.

Bit.ly URLs are used for sharing links on social networking sites and on blogs to make long URLs shorter.

Download link : Bitly app v1.00.0 by gauravssnl.zip

Screenshot :

ss

 

Features :

-Generate bit.ly link

-Expand bit.ly link

Steps :

1. Register an account on bitly.com by visiting this link : https://bitly.com/a/sign_up

2.After that ,you need to get your bitly Access Token of your account

3.Now open Bitly app , and enter your Access Token in Settings from menu.

4.Now,click on Connect .If your Access Token is correct, you will be successfully logged in and your users details will be displayed. If this does not occur, check your Access Token and try again.

5.Now,you can generate bit.ly short URLs and expand bit.ly URLS to get original links

Thanks : Jehiah Czebotar (bitly_ api author)

Thanks everyone.

Py Pastebin v1.00.2 PyS60 App for Symbian S60 by gauravssnl

Py Pastebin v1.00.02 pys60 2.0 app by gauravssnl for Symbian S60 OS

DownloadPy Pastebin v1.00.2 by gauravssnl.zip

This app is for creating new pastes directly from files on pastebin.com

There is no need to open pastebin website and copy & paste your codes.
Pastebin is very famous code sharing website.
I hope this app will be useful for symbian s60 users.

Screenshots :


How to use :
1.You must have an account on pastebin.com
If you do not have an account,you can create a new account .
2.Log /Sign into your account
3.Get your own unique API key by visiting this URL :
pastebin.com/api

4.Now open app Py Pastebin and click on Login Settings.Fill your API Key,username ,passwords.

15241737_1308228179233198_3312973459983355607_n

5.Click on ‘Login’ and wait for successful login.If you are not able to login after several tries ,that means your API key is invalid.Verify your API key.
6.After successful login,you can select a file for creating paste.If paste is succesffully created,that paste URL will be shown.

Thanks everyone.

How to use Python v2 and v3 in Termux app on Android : Simple way to use Python without need of rooting

Today,I am gonna share how to use Python in Termux app on Android phone without need of rooting . It’s very simple and easy way to use Python. Thanks to the developer of Termux , Fredrik Fornwall.

Python v3 installation : 

1.Open Termux app and type this command:

apt install python 

screenshot_20161231-081311

 

2.Now type y if you want to proceed.Otherwise n .

 

3.After successful installation, you can use Python by using this command:

python 

screenshot_20161231-082914

 

 

 

Python v2 installation :

1.Use this command to install python2 :

apt install python2

screenshot_20161231-082740

2.To run python2, use this command: python2

I hope this post will be useful to them who want to use Python v3 and v2 without need of rooting Android phone.

Thanks : Minakshi

Thanks to my family.

How to use Python For Android in Terminal on all Android OS easily by using updated python.sh script

Hello,everyone.In this post,I am going to share how to use Python For Android in Terminal in the easiest way .This method will work on all Android OS versions .This method has been tested on all OS by me and works successfully.By using this method,you can also run  Python with your desired command name  .Let us proceed to the tutorial.

Tools Required: 

1. Python For Android.apk :  Download Here

2. python.sh file (fixed and updated) :  Download Here

3.Terminal.apk : Download Here

Working Screenshot:screenshot_2016-09-05-11-15-01.png

 

Steps:

1.Download & Install Python For Android app.Open it and install it’s Python library by clicking on “Install ” Button.Internet is required for first time installation.After successful installation of Python library,your screen will be as shown in screenshot below:screenshot_2016-09-03-19-28-48.png

2.Now,copy downloaded python.sh script file to /system/bin folder.Now,change the permission of Python.sh file to 777 in /system/bin folder.

3.Now ,open Terminal and you can easily run Python with the command as shown in Screenshot:

python.sh

screenshot_2016-09-05-11-15-01.png

4.If everything is correct,you will see Python running successfully in Terminal.

5.You can also rename the python.sh file in /system/bin to any name you like & then you can use that name as command for running Python.I have renamed python.sh file to gaurav

screenshot_2016-09-05-11-16-58.png

6.Now,i can run Python in Terminal by using command:

gaurav

screenshot_2016-09-05-11-18-00.png

 

7.In that way,you can run Python with your desired command name.

Thanks: Luiz

Happy Phreaking brothers.

Thanks everyone for reading my post.Thanks to my  friends and family.

Post your questions in Comments.

Using Python in Terminal on Android OS  without Root Access

Hello,everyone.Today,I am going to share how to use Python in Terminal on Android phone without Root Access.This post is made for them who do not use Rooted phone or those who do not want to Root.

I had thought that it would not be possible to use Python in Terminal without Root Access.Python scripts can also be run using Sl4A , but I find using Python in Terminal better as Sl4a has no option of changing directory.Running Python files is easier in Terminal.So,let us proceed to the tutorial.

Tools Required: 

1. Python For Android.apk: Download Here

2.Terminal.apk :  Download Here

3. Python.sh: Download Here

4. Sl4A.apk(optional file): Download Here 
Steps: 

1.Download all of the above files if you do not have.Install Python For Android app. You can also install Sl4A app if you want.

2.Open Python For Android app and click on Install button to install Python library on your phone .Internet is required for first time installation.After successful installation of Python library,your screen should be like as shown in screenshot given below:

3.Now,copy Python.sh file to your internal memory sdcard  as shown in the screenshot.

3.Now,open Terminal app.To run Python,type these carefully as shown in screenshot:

sh  /sdcard/python.sh 

4.If everything is fine,you will see Python successfully running on Terminal.If,you get error as Python.sh file not found,make sure that python.sh is there in internal sdcard(/sdcard ).

5.To run a script file say hello.py of folder scripts in your sdcard(/sdcard/scripts folder) as shown in screenshot:

we need to type the following command carefully to run hello.py file( /sdcard/scripts/hello.py ) as shown in screenshot below :

cd /sdcard/scripts

sh  /sdcard/python.sh   hello.py

6. In this way you can run any Python file present in current directory on Terminal app by using the following command:

sh  /sdcard/Python.sh  filename.py

Now,you can use Python and Python Scripts on all  Android OS without Root Access in the way shown above.Tutorial is complete now.

I hope this tutorial will be useful for many users.Thanks everyone for reading my post.

If you have any questions or you get any error,please contact me by posting your comments.

Share this if you really like it.

©gauravssnl

SInjector v2.3 Python Script with Payload support and how to use it with SSH Tunnel for Free Internet

Hello everyone.Now,I would like to share SInjector Python Script which supports SSH and VPN  with Payload feature(like HTTP Injector,eProxy,KPN Tunnel). SInjector Python Script can be used for free internet tricks with SSH or VPN Tunneling.Free Internet with Online privacy.I would like to thank it’s developer RedFox who developed this script.Many have been searching Python script which works similar to apps like  HTTP Injector ,eProxy ,KPN Tunnel  the search finally ends with SInjector .

I will share how to configure/set SInjector Python Script to use SSH & for free internet.

Developer: Red Fox

Tools Required: 

1. SInjector_v2.3.zip  SInjector _v2.3.zip

2.Terminal application : Terminal.apk

Note: Python should be already installed.To know about that,see my other posts.

Script Screenshot:

Steps:

1.Download SInjector v2.3.zip file and extract to si folder of internal sdcard (/sdcard/si).

2.Open payload.ini file and set Payload which works for free internet on your simcard as shown in screenshot and Save the file.Use your imagination to fill working payload.For my simcard , payload working for free internet is shown here in screenshot.(My simcard has free homepage which I can open at 0 balance and I use that in payload bug.You use your free homepage in payload and use your simcard Proxy in this file)

3.You should have a SSH account that we will use with SSH Tunnel application.To know how to do this, see my another post: Using SSH Tunnel on Android Phones to Hide your real IP details and to Access Blocked Websites

I created SSH account on fastssh.com as shown in screenshot.

4.Now,open SSH Tunnel application and fill your user details and SSH account Host correctly as shown in screenshot.You can tick/enable “SOCKS Proxy” if you want to use it for forwarding Request from all ports.If your phone is rooted you can also enable/tick “Global Proxy” to proxify all apps.

5.Do not change other remaining settings of SSH Tunnel application.Leave other settings as it is.Minimise or close this app.

6.Now,use your simcard  on which you want to use free internet.My simcard have 0(zero) balance which I will use for free internet.Now,I will connect internet using this sim .

7.Open Terminal application and change your directory to si folder where you have extracted those files in step 1.My si folder is located at /sdcard/si .So,i will type this on terminal to run the si.py file.Type these commands carefully and correctly:

su

cd /sdcard/si 

8.Now run the si.py script using python command.If everything is correct,SInjector script will be running on your Terminal.It will ask for payload file location(default payload file is payload.ini which we will use),so type n and press enter key.See screenshot.

9.Now,script will ask you “Do you want to disable debug?”, you can enter either y for YES or n for NO.It is your wish.See Screenshot

10.Now,script will ask “Auto Replace 200 OK”, enter y and press Enter key.The Script will show local port  on which the script is accepting connections(in my Screenshot it is listening on port  9000 ).Notice this port carefully as we will use this port in next step.

11.Now,open SSH Tunnel application again and Tick/Enable “Upstream Proxy ” and Put this  in “Proxy “: 127.0.0.1:9000 as SInjector script is listening on port 9000(shown in screenshot).you use your port on which SInjector script is listening.

12.Everything is finally done now.Now,Click on “Tunnel Switch ” in SSH Tunnel app and minimize it(send it to background).

13.Now,open the Terminal app which is already running.If everything is correct and your payload is working for free internet,you will get 200 Connection Established Response  from SSH server as shown in my screenshot.

All steps are completed successfully.Now,you can open any application and use free internet.Your real IP address is hidden as you are using SSH.You can also try to use this SInjector Python script directly and VPN also in the same way.

Happy Free Internet phreaking .

Thanks for reading this long post.I hope my post will be useful for them who are new to Free Internet tricks and who do not know how to use the  SInjector Python script with SSH .

Thanks to everyone and my friends.If you have any questions or you get any error ,please post in Comments.

©gauravssnl

PyInjector v4 Python Injector Script with Payload Support For Free Internet

Hello,everyone.Today,I would like to share PyInjector Python Script which can used for Payload Injection for using free internet.Try tricks on those simcards which have free sites which opens at 0 Balance or with Social data  packs such as Facebook,Whatsapp pack available in many countries like Indonesia, Nigeria,etc.Python should be already installed.

Download Link: PyInjector v4.zip

Working Screenshot:

Steps:

1.Download and extract all files of PyInjector v4.zip to any folder .Name folder as pyinjector .

2.Now,open cnfig.ini file and edit Proxy & Payload as shown in screenshot.Use your free site bug in payload .You need to use your simcard proxy or you can also try Squid proxy. Replace my free site bug ics.bsbportal.com with your free site bug in payload.Example: facebook.com 

3.Save the cnfig.ini file.Go to Access Point Settings and set Proxy : 127.0.0.1 & Port: 8080

4.Now, run the injector.py script .It will ask you to select a profile.Enter 1 to select First Profile as we edited Profile1 .It will ask you to select mode of Injection:1. Front Injection or 2. Back Injection .select any.If Front Injection do not work as bug,try Back Injection next time.(see screenshot)

5.Now,minimise Terminal & try to access internet in Operamini or in browser. If bug is working,you will get Response: 200 OK .Then,it shows taht  free Internet is working on that simcard.

Everything is done now.Enjoy free internet in this way.You can use your imagination and knowledge to make working payload.Try Both mode of Injection.Any one mode of Injection may work for your simcard.

Happy Free Internet phreaking.

Thanks to everyone. Thanks to Facebook groups where I learn.

Post your questions and reviews in comments.

©gauravssnl

Proxy Suggester Python Script to test Proxies are fast or slow

Hello,everyone.Many a times we need to use Proxies which we search on Google or on other websites. We do not know really whether those Proxies are working or not.We do not know which proxy is the fastest among them. We are so confused & it is very difficult to select a particular proxy. There is no readymade software to do that.

To overcome this ,Proxy Suggester Python script gives you fastest proxy among them .It tells us which is the fastest Proxy and you can use that proxy for connecting.I found it somewhere on Github.Thanks to its Author.

Download Link: Proxy Suggester.zip 

Source: Github

Steps:

1.Download the Proxy Suggester.zip file & extract it to any directory/folder.

2.Open,config.txt file.It will be as shown in screenshot.Proxies are separated by : symbol.

3.Now,edit this config.txt with proxies which you want to test(along with username details if any).Usually,we use proxies without user details,so we will edit config txt file as shown in screenshot and leave username & password blank. I am going to test proxy 88.157.149.250 with port 8080 .check screenshot.Save it.You can more proxies separated by : on each line.

4.Now,run the script proxy-suggester.py script using python.If,everything is fine with config.txt file and proxy is working,you will get Response like this:

All things are done.In this way,you can test proxy is working or not.

Happy phreaking.

Thanks to everyone.

©gauravssnl