Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - markstevens

Pages: [1]
1
Beginner's Corner / dsniff couldn't catch http connection.
« on: January 09, 2016, 03:14:11 pm »
Hi everyone.

I am testing about arpspoof and try to get username and password from a http connection.
After use arpspoof tool and can sniff data between a machine and router. I used dsniff tool and could catch username/password for FTP protocol like some tutorials on Internet, but when I tried to catch username/password from some web sites when login (use http), dsniff show nothing.

So I try to connect to a test code on my host like this:

Code: [Select]
<?php
if (isset($_POST['USER']) && isset($_POST['PASS']))
{
echo $_POST['USER'].'\\'.$_POST['PASS'];
}else{
?>

<form method='post'>
<fieldset>
<legend> log in </legend>
User: <input type='text' name='USER'/><br />
Pass: <input type='text' name='PASS'/> <br />
<input type='submit'>
</fieldset>
</form>
<?php
}?>



Dsniff show nothing as well. So, dsniff just only catch FTP connection? If it can catch username/password from HTTP connection, can you show me how to do that ?.

Thanks.

Pages: [1]