Skip to content

Instantly share code, notes, and snippets.

View iam-mhaseeb's full-sized avatar
🧑‍💻
Passionate Software Engineer

Muhammad Haseeb iam-mhaseeb

🧑‍💻
Passionate Software Engineer
View GitHub Profile
UNLOAD ('select * from skytrax.airline')
TO 's3://redshift-data-movement/backups/airline.csv'
CREDENTIALS 'aws_access_key_id=XXXXXXXXXX;aws_secret_access_key=XXXXXXXXXX'
FORMAT as csv;
@iam-mhaseeb
iam-mhaseeb / xss-scanner.py
Last active August 16, 2024 07:41
A simple XSS vulnerability scanner tool in Python.
import sys
import requests
from pprint import pprint
from bs4 import BeautifulSoup as bs
from urllib.parse import urljoin
XSS_SCRIPT = "<Script>alert('hi')</scripT>"
class MissingUrlException(Exception):
@iam-mhaseeb
iam-mhaseeb / resume_parser.py
Created February 11, 2023 05:48
The simplest resume parser in Python
import re
import json
# define a function to parse the resume
def parse_resume(resume_text):
# split the text into lines
lines = resume_text.split('\n')
# initialize variables to store the parsed information
name = ''