示例#1
0
def usage():
  print >>sys.stderr, 'usage: %s -i <device> -d <driver> [-c <channel>] [-b <BSSID/Target MAC>] [-k <wep_key>] [--ff3] [-u] [-r] [--aggressive]' % sys.argv[0]
  out = "\nSupported cards are:"
  cards = pylorcon.getcardlist()
  
  for i in cards:
    out += " " + i["name"]
  print >>sys.stderr, out

  sys.exit(1)
示例#2
0
def usage():
    print >> sys.stderr, 'usage: %s -i <device> -d <driver> [-c <channel>] [-b <BSSID/Target MAC>] [-k <wep_key>] [--ff3] [-u] [-r] [--aggressive]' % sys.argv[
        0]
    out = "\nSupported cards are:"
    cards = pylorcon.getcardlist()

    for i in cards:
        out += " " + i["name"]
    print >> sys.stderr, out

    sys.exit(1)
示例#3
0
def usage():
    ustr = "Usage: " + sys.argv[0] + " [options]\n"
    ustr += "\t-h                 prints this information\n"
    ustr += "\t-i <interface>     specify the interface name\n"
    ustr += "\t-d <driver>        string indicating driver used on interface\n"
    ustr += "\t-c <channel>       channel to transmit on\n"
    ustr += "\t===optional arguments===\n"
    ustr += "\t-n <numpkts>       number of packets to send, leave blank for infinite\n"
    ustr += "\t-s <sleep>         sleep time in SECONDS between packets, leave blank for none\n"
    ustr += "\nSupported Drivers:\n"
    # The first driver is "nodriver", skip it
    for d in pylorcon.getcardlist()[1:]:
        ustr += "\t" + d["name"] + " - " + d["description"] + "\n"
    return ustr
示例#4
0
def usage():
    ustr = "Usage: "+sys.argv[0]+" [options]\n"
    ustr += "\t-h                 prints this information\n"
    ustr += "\t-i <interface>     specify the interface name\n"
    ustr += "\t-d <driver>        string indicating driver used on interface\n"
    ustr += "\t-c <channel>       channel to transmit on\n"
    ustr += "\t===optional arguments===\n"
    ustr += "\t-n <numpkts>       number of packets to send, leave blank for infinite\n"
    ustr += "\t-s <sleep>         sleep time in SECONDS between packets, leave blank for none\n"
    ustr += "\nSupported Drivers:\n"
    # The first driver is "nodriver", skip it
    for d in pylorcon.getcardlist()[1:]:
      ustr += "\t"+d["name"]+" - "+d["description"]+"\n"
    return ustr
示例#5
0
#    Bunny is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    Bunny is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with Bunny.  If not, see <http://www.gnu.org/licenses/>.

import pylorcon

cards = pylorcon.getcardlist()

# ebay search string:
#	Without Alpha:
# 	("AWLL3026", "NT-WGHU", "WUSB54GC", Netgear WG111, "Asus WL-167g v2", "Digitus DN-7003GS", "D-Link DWL-G122", "D-Link WUA-1340", "Hawking HWUG1", "Linksys WUSB54G v4")
#
#	With Alpha:
#	("Alfa AWUS036E", "Alfa AWUS036H", "Alfa AWUS036S", "Alfa AWUS050NH", "Asus WL-167g v2", "Digitus DN-7003GS", "D-Link DWL-G122", "D-Link WUA-1340", "Hawking HWUG1", "Linksys WUSB54G v4")
#
# always cross ref with: http://www.aircrack-ng.org/doku.php?id=compatibility_drivers

for card in cards:
	print card['name']


########NEW FILE########
示例#6
0
#    This file is part of Bunny.
#
#    Bunny is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    Bunny is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with Bunny.  If not, see <http://www.gnu.org/licenses/>.

import pylorcon

cards = pylorcon.getcardlist()

# ebay search string:
#	Without Alpha:
# 	("AWLL3026", "NT-WGHU", "WUSB54GC", Netgear WG111, "Asus WL-167g v2", "Digitus DN-7003GS", "D-Link DWL-G122", "D-Link WUA-1340", "Hawking HWUG1", "Linksys WUSB54G v4")
#
#	With Alpha:
#	("Alfa AWUS036E", "Alfa AWUS036H", "Alfa AWUS036S", "Alfa AWUS050NH", "Asus WL-167g v2", "Digitus DN-7003GS", "D-Link DWL-G122", "D-Link WUA-1340", "Hawking HWUG1", "Linksys WUSB54G v4")
#
# always cross ref with: http://www.aircrack-ng.org/doku.php?id=compatibility_drivers

for card in cards:
    print card['name']