Posts

Showing posts from 2019

Termux Login Script

Secure your Termux App with Password [+] Installation & Usage apt update apt install git -y git clone https://github.com/htr-tech/termux-login.git cd termux-login chmod +x * sh install.sh exit  or use Single Command apt update && apt install git -y && git clone https://github.com/htr-tech/termux-login.git && cd termux-login && chmod +x * && sh install.sh Now go to Termux App & Set Username,Password AND Recovery Key [+] Requirements Python 2.x [+] Features : • Bug Fixed • Parrot typing Shell Added CREDITS : https://github.com/Udoy2/  https://github.com/TechnicalMujeeb/  [+] Find Me on : Instagram : @tahmid.rayat Facebook : tahmid.rayat.official Github : htr-tech

Termux & Kali Linux : EasY_HaCk Script

EasY_HaCk Hack the World using Termux this tool is a developed by sabri.zaki for penetration testing using metasploit-framework sqlmap nmap metagoofil RED HAWK recon-ng and much more powerful testing tools EasY_HaCk is a tool for network scanning and information gathering and for exploiting android phones and Windows pcs all that on Termux Installion : pkg update pkg upgrade pkg install git git clone https://github.com/sabri-zaki/EasY_HaCk cd EasY_HaCk/ chmod +x install.sh Type EasY-HaCk [ USAGE ]: {1}-Payload Generator {2}- Merasploit-Framework installation {3} Beef-Framework installation {4} NGROK installation {5} Network scanning using nmap {6} WEB-HACKS {7} PASSWORD CRACK {8} Starting your web server [UPDATE] To update the Tool choose option number 10 GitHub Link : https://github.com/sabri-zaki/EasY_HaCk.git Don't use for illegal purpose . Educational purposes only..

Sum of two numbers by receiving value from keyboard

Sum of two numbers by receiving value from keyboard In this program we use two variables which receive value from keyboard and add these valuse and sum of these numbers are store in third variable. import java.util.Scanner; class Addition {     public static void main(String[] args) {         int a, b, c = 0;         Scanner s = new Scanner(System.in);         System.out.println("Enter any two numbers :");         a = s.nextInt();         b = s.nextInt();         c = a + b;         System.out.println("Sum: " c);     } } Output: Enter any two numbers :  10 20 Sum: 30

Swap two numbers

Swap two numbers import java.util.Scanner; class Swapnumber {     public static void main(String[] args) {         int a, b, c;         Scanner s = new Scanner(System.in);         System.out.println("Enter Value in a :");         a = s.nextInt();         System.out.println("Enter Value in b :");         b = s.nextInt();         c = a;         a = b;         b = c;         System.out.println("Values in a:" a);         System.out.println("Values in b:" b);     } } Output: Enter Value in a : 10 Enter Value in b : 20 Value in a : 20 Value in b : 10

Sum of two numbers

Sum of two numbers In this program we use two variables which have already contain values and sum of these numbers store in third variable. class Addition {     public static void main(String[] args) {         int a = 10, b = 20, c = 0;         c = a b;         System.out.println("Sum: " c);     } } Output: Sum: 30

Click Jacking Scanner

Click jacking scanner. this script scans target site is vulnerable for this attack Installation : $ apt update && apt upgrade $ apt install git  $ apt install python2 $ apt install python $ git clone https://github.com/D4Vinci/Clickjacking-Tester $ cd Clickjacking-Tester $ chmod x * Now create here file.txt file, in this file paste victem website and save it usage :  $ python3 Clickjacking-Tester.py file.txt   Now it starts scanning if target is vulnerable then it shows you..

GoldenEye HTTP DoS Test Tool

GoldenEye GoldenEye is an python app for SECURITY TESTING PURPOSES ONLY! GoldenEye is a HTTP DoS Test Tool. Attack Vector exploited: HTTP Keep Alive NoCache Installation : $ apt update && apt upgrade $ apt install git  $ apt install python2 $ git clone https://github.com/jseidl/GoldenEye $ cd GoldenEye $ chmod x * Run : $ python2 goldeneye.py [url] Enjoy... Do not use for illegal purpose....

Cyber Scan TERMUX and Kali Linux

CyberScan is an open source penetration testing tool  that can analyse packets , decoding , scanning ports,  pinging and geolocation of an IP including (latitude, longitude , region , country ...) Installation : $ apt update && apt upgrade $ apt install git  $ apt install python2 $ apt install python $ git clone https://github.com/medbenali/CyberScan.git $ cd CyberScan usage : $ python2 CyberScan.py -v $ CyberScan -h We can perform ping operations with several protocols using CyberScan The fastest way to discover hosts on a local Ethernet network is to use ARP: $ python2 CyberScan -s 192.168.1.0/24 -p arp In case when ICMP echo requests are blocked, we can still use TCP: $ CyberScan -s 192.168.1.105 -p tcp -d 80 192.168.1.105 = target IP. Enjoy.... Don't use for illegal purpose....

Hash cracker with auto detect hash in termux.

Hash cracker with auto detect hash in Termux and Kali Linux . Hasher is a hash cracker tool that has supported more than 7 types of hashes. Support :  md4  md5 sha1 sha224 sha256 sha384 sha512 ripemd160 whirlpool Execute these commands one by one to install. Installation : $ apt update  $ apt upgrade $ apt install git $ apt install python $ apt install python2 $ git clone https://github.com/ciku370/hasher $ cd hasher Run : python2 hash.py Simply paste hashes. {hit enter}  It ask the type of hash . then select your type of hash to Decrypt it. Enjoy...... Follow us.......

A-Rat ( Remote access tool )

A-Rat = Remote access tool We can generate python based rat installation : $ apt update  $ apt upgrade $ apt install git $ apt install python2 $ apt install python $ git clone https://github.com/Xi4u7/A-Rat $ cd A-Rat Usage : $ python2 A-Rat.py $ help $ set host 127.0.0.1 [your ip] $ set port 1337 $ set output /$HOME/rat.py $ generate It generates rat.py in termux home directory Open termux new session  type $ ls here you get that rat.py go to again A-Rat means privious session of termux Type run to start exploit. $ run and then open new session and run rat like this $ python rat.py and come back to A-Rat session  Now its connected to that rat. means Hacked. press control + c to stop .

Python program to add two numbers

Python program to add two numbers Given- two numbers num1 and num2. The task is to write a Python program to find the addition of these two numbers. Examples: Input: num1 = 5, num2 = 3 Output: 8 Input: num1 = 13, num2 = 6 Output: 19 In the below program to add two numbers, the user is first asked to enter two numbers and the input is scanned using the input() function and stored in the variables number1 and number2. Then, the variables number1 and number2 are added using the arithmetic operator + and the result is stored in the variable sum. Below is the Python program to add two numbers: Example 1: # Python3 program to add two numbers     num1 = 15 num2 = 12     # Adding two nos sum = num1 + num2     # printing values print ( "Sum of {0} and {1} is {2}" . format (num1, num2, sum )) Output: Sum of 15 and 12 is 27

Finding whether the number is odd or even and positive or negative.

Image
 finding whether the number is odd or even and positive or negative. g.u.i: coding for even or odd: { int NUM=Integer.parseInt(tf1.getText()); if(NUM%2==0) tf2.setText("Even"); else tf2.setText("Odd"); } coding for positive or negative: { int NUM=Integer.parseInt(tf1.getText()); if(NUM>0) tf3.setText("Positive"); else tf3.setText("Negative"); } coding for clear button: { tf1.setText(""); tf2.setText(""); tf3.setText(""); } coding for exit button: { System.exit(0); } Run time screenshot:

Arithmetic calculator Java

Image
 A rithmetic calculator. G.U.I Coding for add button: int num1=Integer.parseInt(tf1.getText()); int num2=Integer.parseInt(tf2.getText()); int result=num1+num2; tf3.setText(""+result); } coding for subtract button: int num1=Integer.parseInt(tf1.getText()); int num2=Integer.parseInt(tf2.getText()); int result=num1-num2; tf3.setText(""+result); coding for multiply button: int num1=Integer.parseInt(tf1.getText()); int num2=Integer.parseInt(tf2.getText()); int result=num1*num2; tf3.setText(""+result); coding for division button: int num1=Integer.parseInt(tf1.getText()); int num2=Integer.parseInt(tf2.getText()); int result=num1/num2; tf3.setText(""+result); coding for clear button: tf1.setText(""); tf2.setText(""); tf3.setText(""); coding for exit button : System.exit(0); Run time screenshot:

JAVA CODE FOR PIZZACAFE

Image
                     code for pizza cafe of netbeans (java) DECLARE VARIABLES AS.... TEXT FIELD  -tf1,tf2,tf3 etc... radiobutton -rb1,rb2,rb3 etc... CHECK BOX-cb1,cb2,cb3.. don't forget to add button group to radiobutton and selecting button group 1 on properties of buttongroup on both radiobutton select buttongroup1 ON TEXTFEILD OF RATE ,COST OF TOPPING, AMOUNT SET  tf3.setEditable(false); tf4.setEditable(false); tf5.setEditable(false); code for rate button int q=Integer.parseInt(tf2.getText()); int rate; if(rb1.isSelected()) {   rate=q*100;   tf3.setText(" "+rate); }else     {rate=q*500;  tf3.setText(""+rate); code for amount button int t = 0; if(ch1.isSelected())     t=t+45; else     if(ch2.isSelected())         t=t+55;     else         if(ch3.isSelected())             t=t+65; tf4.setText(" "+t); code for order button String name=tf1.getText();         JOptionP

Python script to convert video files to mp3 audio files

Python script to convert video files to mp3 audio files A python script to convert video files into mp3 audio files. As a heavy listener of music, I prefer keeping audio files on my phone than video files to consume less disk space. This tool helps in converting the video files present in my computer to mp3 audio files. Requirements: This script needs Python 3+ If you don't have Python 3 installed, you just need to install python3 package : $ sudo apt-get install python3 Clone: $ git clone https://github.com/adityashrm21/Video-to-audio-converter $ cd ../Video-to-audio-converter Usage: $ python3 video_to_audio.py <filename> Enjoy.... 😊😊

A Script For Install Kali-linux On Termux.

A Script For Install Kali-linux On Termux. How to Use ? or Installation :  git clone https://github.com/Techzindia/Kali-linux_For_Termux     cd Kali-linux_For_Termux   cp Kali-linux-Termux $HOME   cd $HOME   chmod +x Kali-linux-Termux   ./Kali-linux-Termux Don't Clone In Internal/External Storage 😊😊Enjoy...

How To Create a Login Form ( HTML )

How To Create a Login Form Step 1) Add HTML: Add an image inside a container and add inputs (with a matching label) for each field. Wrap a <form> element around them to process the input. You can learn more about how to process input <form action="action_page.php">   <div class="imgcontainer">     <img src="img_avatar2.png"alt="Avatar" class="avatar">   </div>   <div class="container">     <label for="uname"><b>Username</b></label>     <input type="text"placeholder="Enter Username"name="uname" required>     <label for="psw"><b>Password</b></label>     <input type="password"placeholder="Enter Password"name="psw" required>     <buttontype="submit">Login</button>     <label>       <input type="checkbox"checked="

Sudo - SuperUser Access TERMUX

Sudo works on only rooted devices   sudo means superuser & root command we can run root tools in termux using sudo Execute these commands one by one to install sudo. Installation : $ apt update  $ apt upgrade $ apt install git $ apt install tsu $ apt install ncurses-utils $ git clone https://github.com/termux-sudo $ cd termux-sud $ cat sudo > /data/data/com.termux/files/usr/bin/sudo $ chmod 700 /data/data/com.termux/files/usr/bin/sudo sudo su sudo tsu Now you are a root user..

Reverse String according to the number of words

Given a string containing a number of words. If the count of words in string is even then reverse its even position’s words else reverse its odd position, push reversed words at the starting of a new string and append the remaining words as it is in order. Examples: Input: Ashish Yadav Abhishek Rajput Sunil Pundir Output: ridnuP tupjaR vadaY Ashish Abhishek Sunil Input: Ashish Yadav Abhishek Rajput Sunil Pundir Prem Output: merP linuS kehsihbA hsihsA Yadav Rajput Pundir Approach :  If number of words are even then even position’s words come first and also reverse that particular word, and if number of words are odd then odd position’s words come first and also reverse that particular word, after then the remaining words are appended in order. For e.g. Ashish Yadav Abhishek Rajput Sunil Pundir. In the above string, the number of words is even then “Yadav Rajput Pundir” comes at the even position and then the final output will be: ridnuP tupjaR vadaY Ashish Abhishek Sunil // C progr