{"id":4772,"date":"2012-07-19T21:37:57","date_gmt":"2012-07-20T00:37:57","guid":{"rendered":"http:\/\/www.ethicalhacker.com.br\/site\/?page_id=4772"},"modified":"2023-01-31T19:39:59","modified_gmt":"2023-01-31T22:39:59","slug":"basico-interfaces","status":"publish","type":"page","link":"https:\/\/www.ethicalhacker.com.br\/site\/basico-interfaces\/","title":{"rendered":"B\u00e1sico Interfaces"},"content":{"rendered":"<p style=\"text-align: justify;\"><strong>PARTE I &#8211; INTERFACES<\/strong><\/p>\n<p style=\"text-align: justify;\">A poderosa ferramenta Metasploit foi criada por HD Moore em 2003 usando a linguagem de script Perl. Mais tarde, o Metasploit Framework foi totalmente reescrito na linguagem de programa\u00e7\u00e3o Ruby. Em 21 de outubro de 2009, o Projeto Metasploit anunciou, que tinha sido adquirida pela Rapid7, uma empresa de seguran\u00e7a que fornece solu\u00e7\u00f5es de gerenciamento unificado de vulnerabilidade. \u00c9 amplamente utilizada para testar a vulnerabilidades em sistemas inform\u00e1ticos.<\/p>\n<p style=\"text-align: justify;\"><span style=\"text-decoration: underline;\"><strong>Interfaces Metasploit<\/strong><\/span><\/p>\n<p style=\"text-align: justify;\">O Metasploit possui algumas interfaces e voc\u00ea escolhe qual a melhor op\u00e7\u00e3o.<\/p>\n<ul>\n<li><strong>Interface&nbsp;MSFCLI<\/strong> (Metasploit Framework Command Line Interface)<br \/>\nUma interface de linha de comando CLI apesar de poderosa \u00e9 a menos amig\u00e1vel.<\/li>\n<\/ul>\n<pre prompt=\"#\" lang=\"shell\"> msfcli\n\n[*] Please wait while we load the module tree...\nauxiliary\/scanner\/dcerpc\/tcp_dcerpc_auditor                     DCERPC TCP Service Auditor\n    auxiliary\/scanner\/dect\/call_scanner                             DECT Call Scanner\n    auxiliary\/scanner\/dect\/station_scanner                          DECT Base Station Scanner\n    auxiliary\/scanner\/discovery\/arp_sweep                           ARP Sweep Local Network Discovery\n    auxiliary\/scanner\/discovery\/ipv6_multicast_ping                 IPv6 Link Local\/Node Local Ping Discovery\n\n      ...... RESULTADOS OMITIDOS ................<\/pre>\n<pre prompt=\"#\" lang=\"shell\"> msfcli -h\nUsage: \/opt\/metasploit\/msf3\/msfcli   [mode]\n=======================================================================\n\n    Mode           Description\n    ----           -----------\n    (A)dvanced     Show available advanced options for this module\n    (AC)tions      Show available actions for this auxiliary module\n    (C)heck        Run the check routine of the selected module\n    (E)xecute      Execute the selected module\n    (H)elp         You're looking at it baby!\n    (I)DS Evasion  Show available ids evasion options for this module\n    (O)ptions      Show available options for this module\n    (P)ayloads     Show available payloads for this module\n    (S)ummary      Show information about this module\n    (T)argets      Show available targets for this exploit module<\/pre>\n<p>Exemplo de utiliza\u00e7\u00e3o de exploit exploit ms08_067_netapi, repare o O ao final do comando para listar as op\u00e7\u00f5es:<\/p>\n<pre prompt=\"#\" lang=\"shell\"> msfcli windows\/smb\/ms08_067_netapi O\n\n[*] Please wait while we load the module tree...\n\n   Name     Current Setting  Required  Description\n   ----     ---------------  --------  -----------\n   RHOST                     yes       The target address\n   RPORT    445              yes       Set the SMB service port\n   SMBPIPE  BROWSER          yes       The pipe name to use (BROWSER, SRVSVC)<\/pre>\n<ul>\n<li><strong>A interface ARMITAGE<\/strong><br \/>\nInterface visual e&nbsp;amig\u00e1vel&nbsp;muito f\u00e1cil de trabalhar<\/li>\n<\/ul>\n<p><a href=\"http:\/\/www.ethicalhacker.com.br\/site\/wp-content\/uploads\/armitage_interface.png\" class=\"gallery_colorbox\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-4769\" title=\"armitage_interface\" src=\"http:\/\/www.ethicalhacker.com.br\/site\/wp-content\/uploads\/armitage_interface-300x214.png\"  alt=\"\" width=\"300\" height=\"214\" srcset=\"https:\/\/www.ethicalhacker.com.br\/site\/wp-content\/uploads\/armitage_interface-300x214.png 300w, https:\/\/www.ethicalhacker.com.br\/site\/wp-content\/uploads\/armitage_interface.png 806w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>A interface MSFCONSOLE<br \/>\n<\/strong>A mais eficaz interface, apesar de ser em modo texto tamb\u00e9m muito f\u00e1cil de utilizar<\/li>\n<\/ul>\n<pre prompt=\"#\" lang=\"shell\"> msfconsole\n\nStack: 90909090990909090990909090\n       90909090990909090990909090\n       90909090.90909090.90909090\n       90909090.90909090.90909090\n       90909090.90909090.09090900\n       90909090.90909090.09090900\n       ..........................\n       cccccccccccccccccccccccccc\n       cccccccccccccccccccccccccc\n       ccccccccc.................\n       cccccccccccccccccccccccccc\n       cccccccccccccccccccccccccc\n       .................ccccccccc\n       cccccccccccccccccccccccccc\n       cccccccccccccccccccccccccc\n       ..........................\n       ffffffffffffffffffffffffff\n       ffffffff..................\n       ffffffffffffffffffffffffff\n       ffffffff..................\n       ffffffff..................\n       ffffffff..................\n\nCode: 00 00 00 00 M3 T4 SP L0 1T FR 4M 3W OR K! V3 R5 I0 N4 00 00 00 00\nAiee, Killing Interrupt handler\nKernel panic: Attempted to kill the idle task!\nIn swapper task - not syncing\n\n       =[ metasploit v4.2.0-release [core:4.2 api:1.0]\n+ -- --=[ 805 exploits - 451 auxiliary - 135 post\n+ -- --=[ 246 payloads - 27 encoders - 8 nops\n       =[ svn r15549 updated 147 days ago (2012.02.23)\n\nWarning: This copy of the Metasploit Framework was last updated 147 days ago.\n         We recommend that you update the framework at least every other day.\n         For information on updating your copy of Metasploit, please see:\n             http:\/\/community.rapid7.com\/docs\/DOC-1306<\/pre>\n<p>Utilizando o <strong>MSFCONSOLE<\/strong>:<\/p>\n<pre prompt=\"#\" lang=\"shell\"> msfconsole -h \n[*] exec: msfconsole -h\n\nUsage: msfconsole [options]\n\nSpecific options:\n    -d                               Execute the console as defanged\n    -r                     Execute the specified resource file\n    -o                     Output to the specified file\n    -c                     Load the specified configuration file\n    -m                    Specifies an additional module search path\n    -p                       Load a plugin on startup\n    -y, --yaml         Specify a YAML file containing database settings\n    -e ,     Specify the database environment to load from the YAML\n        --environment\n    -v, --version                    Show version\n    -L, --real-readline              Use the system Readline library instead of RbReadline\n    -n, --no-database                Disable database support\n    -q, --quiet                      Do not print the banner on start up\n\nCommon options:\n    -h, --help                       Show this message<\/pre>\n<pre prompt=\"#\" lang=\"shell\"> msf&gt; help\n\nCore Commands\n=============\n\n    Command       Description\n    -------       -----------\n    ?             Help menu\n    back          Move back from the current context\n    banner        Display an awesome metasploit banner\n    cd            Change the current working directory\n    color         Toggle color\n    connect       Communicate with a host\n    exit          Exit the console\n    help          Help menu\n    info          Displays information about one or more module\n    irb           Drop into irb scripting mode\n    jobs          Displays and manages jobs\n    kill          Kill a job\n    load          Load a framework plugin\n    loadpath      Searches for and loads modules from a path\n    makerc        Save commands entered since start to a file\n    popm          Pops the latest module off of the module stack and makes it active\n    previous      Sets the previously loaded module as the current module\n    pushm         Pushes the active or list of modules onto the module stack\n    quit          Exit the console\n    reload_all    Reloads all modules from all defined module paths\n    resource      Run the commands stored in a file\n    route         Route traffic through a session\n    save          Saves the active datastores\n    search        Searches module names and descriptions\n    sessions      Dump session listings and display information about sessions\n    set           Sets a variable to a value\n    setg          Sets a global variable to a value\n    show          Displays modules of a given type, or all modules\n    sleep         Do nothing for the specified number of seconds\n    spool         Write console output into a file as well the screen\n    threads       View and manipulate background threads\n    unload        Unload a framework plugin\n    unset         Unsets one or more variables\n    unsetg        Unsets one or more global variables\n    use           Selects a module by name\n    version       Show the framework and console library version numbers\n\nDatabase Backend Commands\n=========================\n\n    Command        Description\n    -------        -----------\n    creds          List all credentials in the database\n    db_connect     Connect to an existing database\n    db_disconnect  Disconnect from the current database instance\n    db_export      Export a file containing the contents of the database\n    db_import      Import a scan result file (filetype will be auto-detected)\n    db_nmap        Executes nmap and records the output automatically\n    db_status      Show the current database status\n    hosts          List all hosts in the database\n    loot           List all loot in the database\n    notes          List all notes in the database\n    services       List all services in the database\n    vulns          List all vulnerabilities in the database\n    workspace      Switch between database workspaces<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n\r\n\t\t<div class='author-shortcodes'>\r\n\t\t\t<div class='author-inner'>\r\n\t\t\t\t<div class='author-image'>\r\n\t\t\t<img src='https:\/\/www.ethicalhacker.com.br\/site\/wp-content\/uploads\/186048_100001838322519_1550894_n-11668_57x57.jpg' alt='' \/>\r\n\t\t\t<div class='author-overlay'><\/div>\r\n\t\t<\/div> <!-- .author-image --> \r\n\t\t<div class='author-info'>\r\n\t\t\t<p>Autor:&nbsp;<strong>S\u00edlvio C\u00e9sar Roxo Giavaroto<\/strong><\/p>\n<p>\u00c9 MBA Especialista em Gest\u00e3o de Seguran\u00e7a da Informa\u00e7\u00e3o,\nTecn\u00f3logo em Redes de Computadores, C|EH Certified Ethical Hacker,\natua como Pentest e Analista de Seguran\u00e7a em Servidores Linux no\nGoverno do Estado de S\u00e3o Paulo, Professor Universit\u00e1rio , &nbsp;Instrutor\nC|EH e C|HFI.<\/p>\n<p><em>&nbsp;<\/em>\r\n\t\t<\/div> <!-- .author-info --><\/p>\r\n\t\t\t<\/div> <!-- .author-inner -->\r\n\t\t<\/div> <!-- .author-shortcodes -->\n","protected":false},"excerpt":{"rendered":"<p>PARTE I &#8211; INTERFACES A poderosa ferramenta Metasploit foi criada por HD Moore em 2003 usando a linguagem de script Perl. Mais tarde, o Metasploit Framework foi totalmente reescrito na linguagem de programa\u00e7\u00e3o Ruby. Em 21 de outubro de 2009, o Projeto Metasploit anunciou, que tinha sido adquirida pela Rapid7, uma empresa de seguran\u00e7a que [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-4772","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.ethicalhacker.com.br\/site\/wp-json\/wp\/v2\/pages\/4772","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ethicalhacker.com.br\/site\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ethicalhacker.com.br\/site\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ethicalhacker.com.br\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ethicalhacker.com.br\/site\/wp-json\/wp\/v2\/comments?post=4772"}],"version-history":[{"count":7,"href":"https:\/\/www.ethicalhacker.com.br\/site\/wp-json\/wp\/v2\/pages\/4772\/revisions"}],"predecessor-version":[{"id":19755,"href":"https:\/\/www.ethicalhacker.com.br\/site\/wp-json\/wp\/v2\/pages\/4772\/revisions\/19755"}],"wp:attachment":[{"href":"https:\/\/www.ethicalhacker.com.br\/site\/wp-json\/wp\/v2\/media?parent=4772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}