Best Telegram Programming Groups For Coders &Developers   It Wasn’t Me - Secure Your Account   Mr.Robot All Seasons 1,2,3 Full | Free Torrent Download   Mr.Robot All Seasons 1,2,3,4 Full | Watch Online [FREE]   5 Tips Will Keep You Safe During Christmas Holiday’s Online Shopping   You Can Get All Adobe Apps For $30 a Month Right Now   How To Wipe An iPhone Clean (ERASE) Before Selling?   Programming Languages To Learn To Be An Expert Hacker!   Cybercriminals exchange tips on underground forums about avoiding arrests   A comprehensive look into emerging Signal encrypted messaging application   A Detailed Comparison of WhatsApp, Telegram & Signal   How Telegram End-to-end Encryption Works To Provide Security ?   Flubot Malware is Spreading Quickly Through Android Devices   WhatsApp End-to-End Encryption and its Privacy Importance - Alternatives,Signal & Telegram   What is Credit Card Skimming And How To Protect Yourself From it ?   Where to hire react programmer and 3 essential skills to look for   Top 8 Basic Google Search Dorks [Live Examples]   [Penetration Testing] Top 70 Most Interview Questions   Why VPN Is Necessary ? [Detailed Guide]   Top 10 Dangerous Viruses Of All Times   List Of Common HTTP Error Status Codes   “Hello World!” Program In Different Programming Languages   100 Basic Computer Related G.K. Questions   Email Security - Tips And Tricks   Fonts Hub Collection (Free Design Resources)   Top 8 Softwares Free Download - No Credit Card Needed [2022 Update]   Shortcomings That Leads An Entrepreneur Towards Failure   5 Basic Steps To Protect Your Personal Data Online   What is Intel SGX and What are the Benefits ?   15 Things You Need to Know About Maintaining The Logs   How to think like a programmer - lessons in problem solving   How To Get Voice Like Anonymous Voice   Life Story of Microsoft Founder Bill Gates - Documentary   Own Private Search Engine in Linux Will Save Our Privacy   Best Etcher alternatives to Create Bootable USB   Music For Programming - Coding Music / Hacking Music   School Management Software v3.1 Premium + Crack   JavaFX Chat Client/Server + Source Code   Top 25 Keyword Research Tools [Search Engine Optimization]   A Quick SEO Checklist - 2023 Update   Online Domain Authority (DA) Rank Checker Websites   33 Things In SEO For Which Google Will Give Your Student Blog High Positions   How to Close the Site from indexing using robots.txt   10 SEO Tools all Small Businesses Need in 2023   Earth Rise Application + Code   Animation along a path + Code   Zen Pong Game in Java Language + Code   Simple Flying Bird Game + Code Files   Game Snake Simple + Code Files   The Space 'Sun & Earth' | HTML,CSS,JavaScript   File System in Web (Explorer in Windows and Finder in OSX)   Admin Dashboard Template built using Bootstrap + Code   Website Template For Admin Dashboard + Code   Youtube Playlist Downloader Script   How To Create A Stopwatch In Python   Python TicTacToe with Tk and minimax AI   Deskreen turns any device with a web browser into a secondary screen for your computer   Download Algorithms Book | Dummies Store   OSI Model And TCP/IP Model   How to Fix SSH Failed Permission Denied (publickey,gssapi-keyex,gssapi-with-mic)   What Is Load Balancing? Definition and How It Works   How to Setup FTP Server on Your Raspberry Pi   Download Windows 10 Lite Edition x64 | Direct Link   How To Recover Permanently Deleted Files In Windows 10 ?   How to make Fake Error Message Script in Windows   20 Essential Windows keyboard Shortcuts that will make you forget your mouse   How To Fix The DLL Missing Error In Windows 7 ?   Create Hotspot on Windows 10 in 6 steps   Download Microsoft Office Professional Plus 2016   Download DriverPack Solution Offline | Full   How To Create Simple And Password Protected ZIP File in Linux   2 Ways To Save Terminal Output of a Command in Linux   6 Best Tools to Monitor Disk IO Performance in Linux   Top 15 Best Websites (Blogs) to Learn Linux Online   How to Delete files older than 30 Days in Linux   What is the difference between apt and apt-get command   Fail2Ban Installation & Setup: Ubuntu, CentOS, Fedora & Debian   How to List Running Processes in Linux   How to Use the who Command in Linux with Examples   FOREMOST - Recover Permanently Deleted Files Easily in Kali Linux   Funny Linux Commands to Try   Command line interface guidelines, to help you write better command-line programs ...   How to Install Google Chrome Web Browser on Ubuntu 20.04   Learn Adobe Photoshop | 33 Episode Course   Window Privilege Escalation: Automated Script   Linux Privilege Escalation: Automated Script   How To Retrieve & Decrypt Stored Passwords in Firefox & Chrome Remotely   ACLight: An Advanced Privileged Account Discovery Tool   How to change Lock Screen Background on Kali Linux XFCE   Best 20 Kali Linux Tools For Hacking And Penetration Testing   How to Run Windows Application and Games on Kali Linux   How to run C and C++ programs in Kali Linux   Control Kali Linux PC From any Mobile or Tablet   How to Enable root User Account in Kali Linux   How to Configure Static IP address in Kali Linux   Bash vs ZSH in Kali Linux   [Solved] E: Unable to locate package in Kali Linux   Hosting a Local Website with Domain Name on Kali Linux over WiFi   Install Docker in Kali Linux and Run Other OS   How to Install Kali Linux | A Total Guide to Install Kali Linux   NetHunter Rootless - Official Kali NetHunter for non rooted phones   How to set up own VPN server in 10 minutes on Kali Linux using OpenVPN   Configuring The ProxyChains   Install Python3 in Kali Linux   TempoMail - Command Line Temporary Email in Linux   NIPE - Fully Anonymize Total Kali Linux System   How to Install Google Chrome & Chromium on Kali Linux [Official Method]   15 Best Laptops For Kali Linux & Cyber Security - Check This Before Buy   Volatolity - Digial Forensic Testing of RAM on Kali Linux   Limit the Internet Speed of LAN Users [Evil Limiter]   Find Virtual Machine IP Through Kali Linux - 3 Methods   Privilege Escalation with PowerShell Empire and SETOOLKIT [Kali Linux]   How to use kill, pkill and killall Commands to Kill any Linux Process   20 Useful Tar Commands For Extraction and Compression   Create a Fake AP with DNSMASQ and HOSTAPD [Kali Linux]   How to Fully Anonymize Your Linux System with Tor using Nipe   Hack Windows/Linux using ARCANUS Framework – 100% FUD   Simple and Target Mac Flooding - Kali Linux   Get Free Kali Linux on AWS with Public IP - Real Time Penetration Testing   What’s the difference Between Tails and Tor browser?   Does Tor Hide you From Your ISP? Should I surf internet using Tor ?   Wireshark for Pentester: Decrypting RDP Traffic   Exploit Wi-Fi Vulnerabilities with Routersploit on Termux and Linux   Man in The Middle Attack & How To Prevent it   Masscan - 1000 Times Faster Than NMAP   Wireshark - Shark in Wires | Network Protocol Analyzer in Kali Linux   Wifite - Easy Automated Wireless Attack   WiFi-Pumpkin 3 - Dangerous Access Point   Evil Twin Attack with DNSMASQ - Wireless WPA2-PSK Cracking   Sniffing with Rogue Access Point [DNSMASQ and TCPFLOW]   Hack Wi-Fi Settings of Windows Machine Remotely [After Meterpreter]   Wi-Fi deauthentication attack against 802.11 protocol   Bypass Hidden SSID in a Wireless Network [Full Proof Method]   Crack WPA/WPA2-PSK using Aircrack-ng and Hashcat   Crack WPA2-PSK Wi-Fi with automated python script - FLUXION PART 1   Set Default Version of Python : [SOLVED] update-alternatives: error: no alternatives for p   Python Scripting: Information Gathering and Automating Ethical Hacking   15 Essential Meterpreter Commands Everyone Should Know   Find Vulnerable Webcams with Shodan [Metasploit Framework]   TCP & SYN Scanning with Metasploit Framework without NMAP   Meterpreter Useful Top 60 Commands List   The Web Application Hacker's Handbook 2   Hacking GPS Book   MadCam - Termux Hack Front camera by Sending link   How to Download Files In Termux   IPdrone Termux - Find Location of Person it IP in Termux   ReconDog Termux - Best Reconnaissance Tool For Termux   Termux SSH: Use Termux in Windows Using SSH Server   How to Install and Use Fsociety-Tool In Termux   Termux-YTD : Download Youtube Videos with Termux   Use CMatrix Package Like a Pro   L3MON - Access Android Devices Remotely   Hack Android using Metasploit over LAN/WAN   Ghost Framework - Control Android Devices Remotely   Top 10 Vulnerable Android Applications [Penetration Testing]   Find Hidden Subdomains on Any Website with Subfinder   Blind Sql Injection with Regular Expressions Attack   Useful Google Dorks For Bug Bounty Hunters   HTML5 Security CheatSheet - What your browser does when you look away...   30,000 Sites Is In RISK, The Plus Addons For Elementor WordPress Plugin Hacked   WPScan - Find Vulnerabilities in WordPress Websites on Kali Linux   Wapiti - Automated Vulnerability Scanner   Generate 100% FUD Backdoor with TheFatRat - Windows 10 Exploitation   TheFatRat hacking tool to create undetectable backdoors   How to Make a Keylogger in Python + Code   How to create a keylogger in PowerShell ?   Backdoor Program using Python (Remote Access Explain)   Man in the Middle Attack with Websploit Framework   Hack Windows 10 Remotely over WAN with Metasploit [No Port Forwarding]   15 Powerful Gadgets For Ethical Hackers | Hardware Tools for Hackers   Find Vulnerabilities using NMAP Scripts (NSE)   Free Vulnerability Database And Resources   Firefox Browser Vulnerable to (MITM) Man-in-the-Middle Attack   Find Vulnerabilities in Military Networks By Participating Hack The Army Bug Bounty Progr. 

x32x01

ADMINISTRATOR
Termux is a great tool that allows you to do hacking on you android phone one of the best thing about the termux app is that it allows you to install and run python on your android phone.

learn-python-programming-using-termux-termuxapk.png

Python:
Python is a high-level interpreted language
created by Guido van Rossum. If you are thinking about learning a programming language in 2020, python is the best language I can suggest. you can create tools that will allow you to simplify your work. python is easy to learn and if you are thinking about learning it using termux then this post is for you.

Using termux you can learn intermediate level python programming you can research on external modules of python that will allow you to create some really useful projects. If you are really serious about python then I will suggest you learn from multiple sources and learn topic-wise. You can also Install GUI IDE in Python That will help You to make your learning Process faster.

The benefit of learning python using Termux :

Termux is portable. When you start learning to program you get new ideas while you are not at your desk if you are working on some project then you certainly realize how you can solve that bug you were stuck from the past few days. Using termux you can code anywhere and even without internet so as long is python package is in your termux app you can code in Python language no matter where you are.

You can download a certain project from the internet and then paste it into your termux app and then you can execute it. You can attach a physical keyboard with your phone and then it will be more easy to do programming on your phone.

How to install Python in your Termux app:


Install Python2:
If you are going to learn python don't have to install python2 you on your termux app I am just showing you how to install python2 you because a lot of project on GitHub still works on Python2 and if it's giving you error with python3 while execution you can run it with Python 2 and it will work most of the time.
pkg install python2

pkg-install-python2.png

This command will install 5MB or archive in termux app.

Run Python2:
To run Python2 In Termux you just have to type:


open-python2-in-termux.png

Install Python3:

To install python3 on your termux app you just have to install Python package from termux repositories.
pkg install python

pkg-install-python.png

It will install approximately 9 MB achieve and it will take up to 49 MB of space in your phone.

Run Python3:

To run Python3 in the Termux app you just have to type:

python-in-termux-oprn-python.png

or you can also type python3.

Modules in python:

Modules are files that contain codes. There are a lots of Modules in python and every module enable you to do something different than others. pygames is a module that allows you to create games using python, Tkinter is a tool that is used for making GUI for python programs. Selenium is a Module that is use to Automate browsers. Requests is a module that use to send HTTP requests.

How to install Modules in Python using Termux:

To install a module in python you just have to type the below command and the green part of the code will change with the name of the module you want to install.
pip install requests


pip-install-requests-in-termux-python.png

This is the most common way to install the modules if this is not working then you can visit this site to learn about the package installation.

Tools to Write Python programs in termux:

To write a Python program you have to open a text editor in termux you can use Nano which is a good text editor to write a Python program. When you will give you a clean interface where the color of the codes will be changed which will make code writing easy

Install nano text Editor:

Type below command to install nano text editor in Termux. Which will help us to create
pkg install nano

pkg-install-nano-termux.png

Enable Extra Keys In termux:

If you are going to write code on termux you have to move your cursor a lot for editing purposes. In termux app you can enable Extra keys that will allow you to navigate quickly. I have written a complete post on [ How you can enable Extra Keys in termux using Single command ].it will only take 30 sec to enable those keys.

Write Your First Python programs in termux:


Step1:

In Python, you have to create a .py file that will contain your python code.type below command to create a py file.
nano Hello.py

nano-hello-py.png

Nano : is tool name.which will open a text editor.
Hello : is a file name , you can change it with any name you want.
.py : is python file extension like .txt is Extention of text file or .mp3 is for sound.

Step2:
1. Now type any Python code You want, if you don't know anything about python you can type and this code will print Hello world on your screen.
print("hello world")
2.Press CTRL+X.
3.Press Y and then press Enter.

Write-pythone-code-in-nano-python.png

Step3:
Type Python space file name .py to run the python file
you just have created.
python Hello.py
This hello.py Programm will print "Hello World" on your termux screen.

Start Writing your own Python programs in termux:

Now you know that How you can create a python file in termux and you also know how you can run that file the only and biggest thing that you have to do is learn Python programming. There are hundreds of websites and YouTube channels where you can learn python.

I can give you a list of websites where you can easily learn python programming from beginner to advanced.

Here are some basic Python codes that you can copy-paste and get familiar with python in termux.

Sum of 2 Numbers in python:

Python:
First_number = int(input("Enter a Number : "))
Second_Number = int(input("Enter a Second Number: "))
Sum = First_number+Second_Number
print("The Answer of " + str(First_number) + " + "  + str(Second_Number) + " is  : " + str(Sum))
save this code in nano as anyname.py and run it and using this code you can find sum of any number.

Generate Random Gmail :

Generate a random Gmail using the below code, This Gmail will not be valid to log in but you can use this Gmail to log in at any site where Confirming Gmail is not required.
Python:
import random
import string

def randomString(stringLength=6):
    """Generate a random string of fixed length """
    letters = string.ascii_lowercase
    return ''.join(random.choice(letters) for i in range(stringLength))

gmail =  (randomString() + str(random.randint(1000,10000)) + "@gmail.com" )
print("Your random Gmail is : "+gmail)
save this file as anyname.py and run it and using this code you can Generate a random Gmail address.

Generate a Random password:

Below will generate a random password that will be strong and not easily hackable by brute force attack or dictionary attack
Python:
import random
import string

def randomString(stringLength = 4):
    """Generate a random string of fixed length """
    letters = string.ascii_lowercase
    return ''.join(random.choice(letters) for i in range(stringLength))

Password =  (randomString() + "T@" +str(random.randint(100000, 999999)))
print("Your random Password is : " +Password)

Create Your Own Falling Effect in termux:

Using the Below code you will be able to Create a matrix effect in termux and only using python.
Python:
import random
import time

i = 0
while i < 1000:
r = random.randint(999999999999999999999999999999999999999999999999999999999999, 9999999999999999999999999999999999999999999999999999999999999)
time.sleep(0.1)
print(r)
i += 1
save this code in nano as anyname.py and run it and You will see a matrix effect on your terminal.Please Adjust Your screen to make it fit perfectly,it will look cooler if you have installed a green theme in termux. If you want to install a Green theme on your termux app then you can read this post. [ Install Hackers theme in termux ]

Conclusion:
Python is the coolest programming language for me
(at least today). The best thing about python is, it is easy and a lot of projects are available on the internet. half of the hacking tools for termux are written in python. I know Learning Python on your phone is a little difficult but I have also learned to program using my phone so it is not that difficult. there are also IDEs for python on play store but I love to code on termux because this is the only app where my all-important tools are available so I am not gonna switch to something else just for python. You can create really awesome projects in python by learning some modules like requests and beautiful soup. i have just added 4 codes but i will add more whenever I create something new so keep checking this post one in a while. Also, Learn How you can Encrypt and Decrypt Files in Termux. Thanks For Reading Guys, and as always Stay Ethical Hacker.
 
Top