Geek Memos
  • Home
Sign in Subscribe

python

A collection of 3 posts
bot

Reddit Bot

!/usr/bin/python """ This bot searches a subreddit for specified keyword and sends an email notification to defined address. Use at your own risk. No warranty ^_^ Got suggestions? Have it your way """ # following are required and must be installed import praw import time import datetime import os import smtplib import
Mar 6, 2015 1 min read
nmap

TCP Connect Scan using Python

########################################################################### # # Need Python version 2.x, scapy, and python module sys installed on system # Usage: python tcpConnect.py [hostname] [port] # For example: python tcpConnect.py google.com 80 # https://github.com/qasimchadhar/portScan/blob/master/tcpConnect.py # ########################################################################### from socket import * import logging logging.getLogger("scapy.runtime").setLevel(logging.CRITICAL) #S
Mar 1, 2015 1 min read
hacking

PingSweep with Scapy

Want to get a bit geekier with your ping sweeps? Python Scapy can be used to create, modify, send, and intercept network packets and any TCP/IP layer. Here is a simple ping sweep script with Python Scapy: !/usr/bin/python from scapy.all import * TIMEOUT = 2 conf.verb = 0
Oct 18, 2014
Page 1 of 1
Geek Memos © 2023
Powered by Ghost