Coder Social home page Coder Social logo

frzte / metasploit-framework Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rapid7/metasploit-framework

0.0 0.0 0.0 790.12 MB

Metasploit Framework

Home Page: https://www.metasploit.com/

License: Other

Shell 0.03% JavaScript 0.15% Ruby 94.76% C++ 0.01% Python 0.53% C 1.48% ActionScript 0.01% PHP 0.01% Objective-C 0.02% Java 0.03% Go 0.04% Assembly 0.09% PowerShell 2.60% CSS 0.01% Makefile 0.03% HTML 0.20% PostScript 0.01% Smarty 0.01% Batchfile 0.01% DIGITAL Command Language 0.01%

metasploit-framework's Introduction

#!/usr/bin/perl

use strict; use warnings;

use lib 'Geo-IPinfo/lib';

use Geo::IPinfo;

my $token = '1234567';

if you have a valid token, use it

my $ipinfo = Geo::IPinfo->new($token);

or, if you don't have a token, use this:

my $ipinfo = Geo::IPinfo->new();

return a hash reference containing all IP related information

my $data = $ipinfo->info('8.8.8.8');

if (defined $data) # valid data returned { print "Information about IP 8.8.8.8:\n"; for my $key (sort keys %{$data} ) { printf "%10s : %s\n", $key, $data->{$key}; } print "\n" } else # invalid data obtained, show error message { print $ipinfo->error_msg . "\n"; }

retrieve only city information of the IP address

my $city = $ipinfo->field('8.8.8.8', 'city');

print "The city of 8.8.8.8 is $city\n";

metasploit-framework's People

Contributors

adfoster-r7 avatar aushack avatar auxilus avatar bcoles avatar benpturner avatar cbrnrd avatar clee-r7 avatar cn-kali-team avatar danielrteixeira avatar ebleiweiss-r7 avatar erikwynter avatar green-m avatar gwillcox-r7 avatar h00die avatar hakyac avatar heyder avatar itsmeroy2012 avatar jheysel-r7 avatar jrobles-r7 avatar juushya avatar mdisec avatar mekhalleh avatar msjenkins-r7 avatar nixawk avatar pingport80 avatar qkaiser avatar red0xff avatar rootup avatar shipcod3 avatar stephenfewer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.