Skip to content

Instantly share code, notes, and snippets.

View Sp3ctr3's full-sized avatar

Yashin Mehaboobe Sp3ctr3

View GitHub Profile
@Sp3ctr3
Sp3ctr3 / Dockerfile
Created October 23, 2023 10:54
Dockerfile for nwip
FROM ubuntu:22.04
LABEL Description="Build environment for nwipe"
ENV HOME /root
SHELL ["/bin/bash", "-c"]
RUN apt update
RUN apt --assume-yes install \

Keybase proof

I hereby claim:

  • I am sp3ctr3 on github.
  • I am yashin (https://keybase.io/yashin) on keybase.
  • I have a public key ASCQwqr207YoshpTsgK7MF2LrwUnM4Vd49mbrKOFx8JakAo

To claim this, I am signing this object:

@Sp3ctr3
Sp3ctr3 / cryptoclient.py
Created December 17, 2013 21:23
Crypto Client
from keyczar.keys import RsaPrivateKey,RsaPublicKey
from twisted.internet import reactor, protocol
class CryptoClient(protocol.Protocol):
def dataReceived(self, data):
"As soon as any data is received, print it, read the public key received, encrypt a string with it and send it back."
print data
key=RsaPublicKey.Read(data)
enc=key.Encrypt("hi there")
print len(enc)
@Sp3ctr3
Sp3ctr3 / cryptoserver.py
Created December 17, 2013 21:22
Crypto Server
import optparse
from keyczar.keys import RsaPrivateKey
from twisted.internet import reactor, protocol
from twisted.protocols import basic
class CryptoProtocol(basic.LineReceiver):
def connectionMade(self):
self.factory.clients.append(self)
self.file_handler = None
@Sp3ctr3
Sp3ctr3 / staticfile.db
Created June 15, 2013 15:41
Database file for the http-staticfile.nse script.
194573574fa000fa693eee0c9dd34a3e: drupal-5.10
a953f90ddd4db79c9f49c012df55dd77: drupal-5.11
c2bf440209fefc55ceeb3c03865392ec: drupal-5.12
cff5e5fd88b0a22ee21559ebb201df2a: drupal-5.13
4873ba00881268d04cffba0a82060ffc: drupal-5.14
c0a73dda8845d636ab7932f7d6542d61: drupal-5.15
cf59d099296ce4d5c978135f7a975a8d: drupal-5.16
ce3a480b2da212dfaaae686448a5ebc5: drupal-5.17
4aab0f029007b5365ab7f4e00e51cb20: drupal-5.18
f1b0e32674fd8fa5d6295eb12bd4a67b: drupal-5.19
@Sp3ctr3
Sp3ctr3 / http-staticfile.nse
Created June 15, 2013 01:18
This script performs web app fingerprinting using static hashes. The resource argument will contain which file is to be fingerprinted. A database of hashes are kept in nselib/data/staticfile.db. The script reads the hashes as well as the web application associated with it from the database file. The file on the web application is hashed and comp…
description = [[
This script performs web app fingerprinting using static hashes. The resource argument will contain which file is to be fingerprinted. A database of hashes are kept in nselib/data/staticfile.db. The script reads the hashes as well as the web application associated with it from the database file. The file on the web application is hashed and compared to the local hash table obtained from the database file. This method leads to fewer false postives as well as lesser resource utilization than the http-enum script.]]
--@args resource The file which is to be compared on the web application.
author = "Yashin Mehaboobe"
license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
@Sp3ctr3
Sp3ctr3 / avcheck.py
Created June 1, 2013 10:42
A python script that checks if a file is malicious or not against 40+ antivirus databases using the VirusTotal API.
import sys
try:
from termcolor import colored,cprint
except:
print "[*]Please install termcolor[*]"
sys.exit()
try:
import simplejson
except:
print "[*]Please install simplejson library[*]"