Using Requests and Beautiful Soup, with the most recent Beautiful Soup 4 docs.
Install our tools (preferably in a new virtualenv):
pip install beautifulsoup4
| #include<stdio.h> | |
| #include<stdlib.h> | |
| #include<sys/socket.h> | |
| #include<features.h> | |
| #include<linux/if_packet.h> | |
| #include<linux/if_ether.h> | |
| #include<errno.h> | |
| #include<sys/ioctl.h> | |
| #include<net/if.h> |
| #include<stdio.h> | |
| #include<stdlib.h> | |
| #include<sys/socket.h> | |
| #include<features.h> | |
| #include<linux/if_packet.h> | |
| #include<linux/if_ether.h> | |
| #include<errno.h> | |
| #include<sys/ioctl.h> | |
| #include<net/if.h> | |
| #include<net/ethernet.h> |
| #!/usr/bin/env python | |
| """ | |
| Author: Vivek Ramachandran | |
| Website: http://SecurityTube.net | |
| Online Infosec Training: http://SecurityTube-Training.com | |
| """ | |
| import paramiko |
| #!/usr/bin/env python | |
| """ | |
| Author: Vivek Ramachandran | |
| Website: http://SecurityTube.net | |
| Online Infosec Training: http://SecurityTube-Training.com | |
| """ | |
| import paramiko |
| #!/usr/bin/python | |
| # Author - Vivek Ramachandran [email protected] | |
| # | |
| import sys, binascii, re | |
| from subprocess import Popen, PIPE | |
| f = open(sys.argv[1], 'r') | |
| for line in f: | |
| wepKey = re.sub(r'\W+', '', line) |
| #!/usr/bin/env python | |
| import socket | |
| rawSocket = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(0x0003)) | |
| rawSocket.bind(("mon0", 0x0003)) | |
| ap_list = set() | |
| while True : | |
| pkt = rawSocket.recvfrom(2048)[0] | |
| if pkt[26] == "\x80" : | |
| if pkt[36:42] not in ap_list and ord(pkt[63]) > 0: | |
| ap_list.add(pkt[36:42]) |
| #!/usr/bin/env python | |
| import socket | |
| rawSocket = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(0x0003)) | |
| rawSocket.bind(("mon0", 0x0003)) | |
| ap_list = set() | |
| while True : | |
| pkt = rawSocket.recvfrom(2048)[0] |
| #!/usr/bin/env python | |
| from scapy.all import * | |
| ap_list = [] | |
| def PacketHandler(pkt) : | |
| if pkt.haslayer(Dot11) : | |
| if pkt.type == 0 and pkt.subtype == 8 : |
Using Requests and Beautiful Soup, with the most recent Beautiful Soup 4 docs.
Install our tools (preferably in a new virtualenv):
pip install beautifulsoup4
| /*notvuln.c*/ | |
| int main(int argc, char **argv[]) { | |
| char *buf; | |
| buf = (char*)malloc(1024); | |
| printf("buf=%p", buf); | |
| strcpy(buf, argv[1]); | |
| free(buf); | |
| } |