Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
beefproject
GitHub Repository: beefproject/beef
Path: blob/master/modules/host/physical_location/module.rb
1154 views
1
#
2
# Copyright (c) 2006-2025 Wade Alcorn - [email protected]
3
# Browser Exploitation Framework (BeEF) - https://beefproject.com
4
# See the file 'doc/COPYING' for copying permission
5
#
6
class Physical_location < BeEF::Core::Command
7
def post_execute
8
content = {}
9
content['Geolocation Enabled'] = @datastore['geoLocEnabled']
10
content['Latitude'] = @datastore['latitude']
11
content['Longitude'] = @datastore['longitude']
12
content['OSM address'] = @datastore['osm']
13
save content
14
end
15
end
16
17