Skip to content

Instantly share code, notes, and snippets.

View katakumby's full-sized avatar

Marek Z katakumby

View GitHub Profile
@katakumby
katakumby / ipod
Created August 29, 2018 13:58
Android boot on charge
#!/system/bin/sh
/system/bin/reboot
const SITEMAP_CACHE_KEY = 'sitemap-cached-pages-v1'
self.addEventListener('install', event => {
event.waitUntil(cacheSitemap())
})
const cacheSitemap = _ => caches.open(SITEMAP_CACHE_KEY)
.then(cache =>
cacheSitemap()
.then(urls => urls.map(u => u.toString()))
@katakumby
katakumby / txt.txt
Created September 5, 2017 15:19 — forked from wookiecooking/txt.txt
haha google dork searches
intitle:index.of .bash_history
intitle:index.of .sh_history
intitle:”Index of” index.html.bak
intitle:”Index of” index.php.bak
intitle:”Index of” index.jsp.bak
intitle:”Index of” “.htpasswd” htpasswd.bak
inurl:backup intitle:index.of inurl:admin
“Index of /backup”
intitle:”Index of” index.html~
intitle:”Index of” index.php~
@katakumby
katakumby / wslArmory.sh
Last active August 17, 2024 16:09
Ubuntu on Windows (WSL) arming the subsystem for the security tester | installer for wpscan, metasploit, kali tools
#!/bin/bash
#curl https://gist.githubusercontent.com/katakumby/466f3ae800609abcdaede60bc2e26c0f/raw/f95a24a53a9d87f01551ef7c03c535e2c6ce173c/installer.sh | bash
#This script will automatically install basic pentesting software like kali linux tools, wpscan, metasploit etc.
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y
@katakumby
katakumby / php-html-css-js-minifier.php
Created February 11, 2016 13:50 — forked from taufik-nurrohman/php-html-css-js-minifier.php
PHP Function to Minify HTML, CSS and JavaScript
<?php
/**
* -----------------------------------------------------------------------------------------
* Based on `https://github.com/mecha-cms/mecha-cms/blob/master/system/kernel/converter.php`
* -----------------------------------------------------------------------------------------
*/
// HTML Minifier
function minify_html($input) {