Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
BugBounty

Mehtab Zafar mzfr

:octocat:
BugBounty
View GitHub Profile
View Bombsquad_playlist.md

In this game the playlist are just big even numbers. So you can actually create your own playlist. Like try some even number and see if it works for you.

Here is the list of all the playlist that I could found/generate:

  • 235098
  • 224344 - EPIC
  • 223698 - Mi lista equipo3
  • 236000
  • 236002
  • 236004
@mzfr
mzfr / AutoTyper.py
Created Mar 16, 2020
auto type all of your content
View AutoTyper.py
#!/usr/bin/env python3
'''This script help to automate the process of writing the
large content to places where copy paste might not work.
Ex: learning management systems which take code as an input
might not allow copy and paste, there we can use this kind of
trickery.
The only disadvantage of this is that it might fail to provide
proper indentation. So that will have to be done manually.
View keybase.md

Keybase proof

I hereby claim:

  • I am mzfr on github.
  • I am mzfr (https://keybase.io/mzfr) on keybase.
  • I have a public key ASDbyCVrijNl1miESe2L3_i8FQRSqwFMvxglO6HDjOHntAo

To claim this, I am signing this object:

View getstar.sh
#!/bin/bash
C_RESET='\033[0m'
C_RED='\033[1;31m'
C_GREEN='\033[1;32m'
C_YELLOW='\033[1;33m'
C_WHITE='\033[1;37m'
C_RESET_SED='\\033[0m'
C_RED_SED='\\033[1;31m'
View Module A.md

Module A

  • Websites like techmint.com are really good resource to mostly OS like CentOS or RHEL

  • User Creation

    • adduser <username> - add new user
    • passwd <username> - change/set password for the user
  • A small intro to IDS and IPS

@mzfr
mzfr / findtraitor.py
Created Jun 11, 2019
Find users who unstarred your repository
View findtraitor.py
"""Help you find users who unstared your repository
"""
import os
import sys
import requests_cache
import argparse
URL = "https://api.github.com/repos/{}/{}/stargazers?per_page=100&page={}"
View DNAdecoder.py
#!/bin/python3
from textwrap import wrap
mapping = {"AAA": "a",
"AAC": "b",
"AAG": "c",
"AAT": "d",
"ACA": "e",
"ACC": "f",
View Dictionary for the conversion of international morse code
{
"di-dah": "A",
"dah-di-di-dit": "B",
"dah-di-dah-dit": "C",
"dah-di-dit": "D",
"dit": "E",
"di-di-dah-dit": "F",
"dah-dah-dit": "G",
"di-di-di-dit": "H",
"di-dit": "I",
View File header lookup
lookup = [(b"SQLite", "DB"),
(b"[Content_Types].xml", "DOCX"),
(b"bin/bash", "SH"),
(b"announce36", "TORRENT"),
(b"GIF89a", "GIF"),
(b"IDA1\x00", "IDB"),
(b"\x1f\x8b\x08","GZ"),
(b'BM|\x11A', "BMP"),
(b'\xff\xd8\xff\xe0', "JPG"),
(b'!<arch>\ndebian-binary', "DEB"),
@mzfr
mzfr / duplicate.py
Created Jan 19, 2019
Find all the duplicate line of codes using AST
View duplicate.py
"""
Python code clone detector,
using Abstract Syntax Trees.
"""
import ast
import collections
class Position(ast.NodeVisitor):