??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
ó àUdac@`sÞddlmZmZmZeZdZdZddlZddl Z ddl m Z m Z ddl mZddlmZddlmZmZdd lmZmZmZdd lmZd eeefd „ƒYZdS( i(tabsolute_importtdivisiontprint_functions name: nmap plugin_type: inventory version_added: "2.6" short_description: Uses nmap to find hosts to target description: - Uses a YAML configuration file with a valid YAML extension. extends_documentation_fragment: - constructed - inventory_cache requirements: - nmap CLI installed options: plugin: description: token that ensures this is a source file for the 'nmap' plugin. required: True choices: ['nmap'] address: description: Network IP or range of IPs to scan, you can use a simple range (10.2.2.15-25) or CIDR notation. required: True exclude: description: list of addresses to exclude type: list ports: description: Enable/disable scanning for open ports type: boolean default: True ipv4: description: use IPv4 type addresses type: boolean default: True ipv6: description: use IPv6 type addresses type: boolean default: True notes: - At least one of ipv4 or ipv6 is required to be True, both can be True, but they cannot both be False. - 'TODO: add OS fingerprinting' sk # inventory.config file in YAML format plugin: nmap strict: False address: 192.168.0.0/24 N(tPopentPIPE(t constants(tAnsibleParserError(t to_nativetto_text(tBaseInventoryPlugint Constructablet Cacheable(t get_bin_pathtInventoryModulecB`sJeZdZejdƒZejdƒZd„Zd„Ze d„Z RS(tnmaps7^Nmap scan report for ([\w,.,-]+) \(([\w,.,:,\[,\]]+)\)s^(\d+)/(\w+)\s+(\w+)\s+(\w+)cC`s d|_tt|ƒjƒdS(N(tNonet_nmaptsuperR t__init__(tself((sB/usr/lib/python2.7/site-packages/ansible/plugins/inventory/nmap.pyRGs cC`s\t}tt|ƒj|ƒrXtjj|ƒ\}}| sL|tjkrXt }qXn|S(N( tFalseRR t verify_filetostpathtsplitexttCtYAML_FILENAME_EXTENSIONStTrue(RRtvalidt file_nametext((sB/usr/lib/python2.7/site-packages/ansible/plugins/inventory/nmap.pyRKs  c C`såytdtƒ|_Wntk r7}t|ƒ‚nX|jdkrVtdƒ‚ntt|ƒj|||d|ƒ|j |ƒ|jg}|j ds®|j dƒn|j drÙ|j d rÙ|j dƒnV|j dr|j d r|j d ƒn+|j d r/|j d r/td ƒ‚n|j d ri|j d ƒ|j d j |j d ƒƒn|j |j dƒy,t |dtdtƒ}|jƒ\}} |jdkrÛtd|jt| ƒfƒ‚nd} d} g} yt|ddƒ} Wn)tk r.}tdt|ƒƒ‚nXxQ| jƒD]C}|jj|ƒ}|r| dk r|jj| d| ƒn|jdƒjdƒr©|jdƒ} n|jdƒ} |jdƒ} | dk r<|jj| ƒ|jj| d| ƒg} q<q<n|jj|ƒ}| dk r<|r<| j i|jdƒd6|jdƒd6|jdƒd6|jdƒd6ƒq<q<q<W| r¨| r¨|jj| d| ƒnWn5tk rà}td t|ƒt|ƒfƒ‚nXdS(!NRs8nmap inventory plugin requires the nmap cli tool to worktcachetportss-sPtipv4tipv6s-4s-6s3One of ipv4 or ipv6 must be enabled for this plugintexcludes --excludet,taddresststdouttstderrisFailed to run nmap, rc=%s: %sterrorstsurrogate_or_stricts(Invalid (non unicode) input returned: %sis .in-addr.arpaitiptporttprotocolitstateitservicesfailed to parse %s: %s (R RRt ValueErrorRRRR tparset_read_config_datat_optionstappendtjoinRRt communicatet returncodeRRt UnicodeErrort splitlinest find_hosttmatcht inventoryt set_variabletgrouptendswithtadd_hostt find_portt Exception(RR;tloaderRRtetcmdtpR&R'thostR*R tt_stdouttlinethitst host_ports((sB/usr/lib/python2.7/site-packages/ansible/plugins/inventory/nmap.pyR0Vsn"      "   M  ( t__name__t __module__tNAMEtretcompileR9R@RRRR0(((sB/usr/lib/python2.7/site-packages/ansible/plugins/inventory/nmap.pyR As   (t __future__RRRttypet __metaclass__t DOCUMENTATIONtEXAMPLESRRNt subprocessRRtansibleRRtansible.errorsRtansible.module_utils._textRRtansible.plugins.inventoryR R R t#ansible.module_utils.common.processR R (((sB/usr/lib/python2.7/site-packages/ansible/plugins/inventory/nmap.pyts(