Skip to content

Instantly share code, notes, and snippets.

Avatar
🇵🇰

Abdullah Awan

🇵🇰
View GitHub Profile
@Awan
Awan / privileges_escalations.sh
Last active Jan 16, 2021
A gist explaining linux capability privileges escalations
View privileges_escalations.sh
#!/bin/sh
# shellcheck disable=2034
coded_by='
In the name of Allah, the most Gracious, the most Merciful.
▓▓▓▓▓▓▓▓▓▓
░▓ Author ▓ Abdullah <https://abdullah.today>
░▓▓▓▓▓▓▓▓▓▓ YouTube <https://YouTube.com/AbdullahToday>
@Awan
Awan / deploy.sh
Created Apr 1, 2020
A deploy script to push your changes to github.
View deploy.sh
#!/bin/sh
coded_by='
In the name of Allah, the most Gracious, the most Merciful.
▓▓▓▓▓▓▓▓▓▓
░▓ Author ▓ Abdullah <https://abdullah.today>
░▓▓▓▓▓▓▓▓▓▓
░░░░░░░░░░
View config
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.1.8 Kernel Configuration
#
#
# Compiler: gcc (Debian 8.3.0-6) 8.3.0
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=80300
@Awan
Awan / termite-on-debian
Created May 14, 2019
Install termite on debian
View termite-on-debian
sudo apt-get install -y \
git \
g++ \
libgtk-3-dev \
gtk-doc-tools \
gnutls-bin \
valac \
intltool \
libpcre2-dev \
libglib3.0-cil-dev \
View Ports front end
#!/usr/bin/env python3
import subprocess
import os
import argparse
prs = argparse.ArgumentParser()
prs.add_argument('-i', '--install', action='store_true')
prs.add_argument('-r', '--remove', action='store_true')
prs.add_argument('-u', '--update', action='store_true')