Skip to content

Instantly share code, notes, and snippets.

Avatar
🏴‍☠️

wuseman wuseman

🏴‍☠️
View GitHub Profile
@wuseman
wuseman / Sagemcom_F@st_5370e.nmap.txt
Created March 9, 2023 02:51
Sagemcom_F@st_5370e.nmap.txt
View Sagemcom_F@st_5370e.nmap.txt
PORT STATE SERVICE REASON VERSION
22/tcp open ssh syn-ack ttl 55 Dropbear sshd 2012.55 (protocol 2.0)
| ssh-hostkey:
| 1024 3e323787c2ffe0f9d2341f312e17ebff (DSA)
| ssh-dss AAAAB3NzaC1kc3MAAACBAIbChJDVK49L2eH6sjEipIfgeJTaevhExQuu1x61tirrzXBGQCwlHbP+2/M8wv4QG/HEKXr+hhPkSYFeL+foLab7x2ZIIL/Rngj303xlQ9AVK/FlNyJBe8pPodtNn2itxgLnhbBeq/7q/79M9Xjrf1XXwKPEZp1UXtX8RJhqottnAAAAFQDpRpOJSVRfXEPMvX8798Jf6+prwQAAAIAOwHxKwTnJeMjqskIRNbwGap7rEqnPB2H6VjT/PQWLFhfwkQ++dbLxpBr7qV3cnUDMxso3tudVWdu4Bj/a5jmRrHQn02xWQfmAA6HPTN8LN1jQL1R4xDEIbWvwsGl+IfUFdJ2FgnAPceqUGsfBSc9j7sReBBC/TsTimHkyIZLCmAAAAIBarV5gjdCvzpbyD8OvrQppwdo3dbwcm4U2eX1YOG+xEs2Zb5q1hbrJ2fXsjL84d96DtII/tDWBwr4TdpDTiUV7LXpPjv8Z/JnuTcEWeDqHVzAsINGTLsNdvTOUgNjqM8510LFL7IHd7EgIyETiUTmoyoANJkL4XV9JcEQhC84A8w==
| 1040 44d66e3e7e9dfaa6026a27b8d7cceb60 (RSA)
|_ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwCBl2loYGQ1mOG18KhRMZ2UmeumF4YIQXeQz9DgK5qd1IBLnM+RL4wVeIMR8ZSYxgmvlTvnenqi/+4Xvk9CZt6gRKZAjpR/dPdgJ0ahNYDBOZ14CGpcSQUN3A4MfdCAz8LeVIo84X/Y5E7jVOn4iLRus3Fo1WY7OE
@wuseman
wuseman / 70_mod_php.conf
Created April 26, 2021 22:18
If php does not work your Apache2 on gentoo and you have set -D PHP, then this file is probably missing in /etc/apache2/modules.d/
View 70_mod_php.conf
<IfDefine PHP>
# The mod_php.so symlink is controlled by
# eselect-php. However, the module name changed from
# php5_module to php7_module so we can't blindly load whatever
# is there. Instead we let eselect-php manage a small
# configuration file that loads the appropriate module.
Include "/var/lib/eselect-php/mod_php.conf"
# Tell apache that mod_php should handle PHP files.
#
@wuseman
wuseman / emagnet-getopts-never_was_done.sh
Last active April 25, 2023 23:01
Was about to change to getopts for all commands but pastebin blocked everything that we needed like API / mail:passwords and did it hard for us (added for archive - don't use - use my repo instead)
View emagnet-getopts-never_was_done.sh
emagnet_help() {
cat << EOF
Usage: ./$basename$0 [-option] .....
-a Show author information
-l Show license information
-h Display this very helpful text
-t [seconds] Set refresh time in seconds
@wuseman
wuseman / pastebin_sites.txt
Created February 27, 2022 08:54
Pastebin Sites
View pastebin_sites.txt
https://pastebinsearch.github.io
https://gist.github.com
https://paste.mozilla.org
https://ide.geeksforgeeks.org/
https://codepen.io
https://pastebin.com
https://gitlab.com/explore/snippets
https://repl.it
https://paste.ubuntu.com
https://justpaste.it
@wuseman
wuseman / emagnet-scraper-new.sh
Last active April 25, 2023 23:02
Last emagnet-scraper.sh until pastebin removed api for public + filtering mail and passwords. I think its the same as emagnet-scraper repo (added for archive - don't use - use my repo instead)
View emagnet-scraper-new.sh
#!/bin/bash
###############################################################################
###############################################################################
### ###
### Author: user <user@nr1.nu> ###
### IRC: Freenode @ user ###
### ###
###############################################################################
############################## AUTHOR WUSMAN ##################################
###############################################################################
@wuseman
wuseman / findmalware.sh
Created July 2, 2018 02:31
Find Malware in the current and sub directories by MD5 hashes
View findmalware.sh
IFS=$'\n' && for f in `find . -type f -exec md5sum "{}" \;`; do echo $f | sed -r 's/^[^ ]+/Checking:/'; echo $f | cut -f1 -d' ' | nc hash.cymru.com 43 ; done
@wuseman
wuseman / megaspam.sh
Last active April 25, 2023 23:56
Send emails forever (until they block you for flood :))
View megaspam.sh
#!/bin/bash
while true; do echo "message here" | mutt someonesmail@gmail.com; done
@wuseman
wuseman / 51-android.rules
Created December 6, 2018 01:20
Full set of Android USB vendor ID rules for Linux
View 51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0666", GROUP="plugdev" #Acer
SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", MODE="0666", GROUP="plugdev" #ASUS
SUBSYSTEM=="usb", ATTR{idVendor}=="413c", MODE="0666", GROUP="plugdev" #Dell
SUBSYSTEM=="usb", ATTR{idVendor}=="0489", MODE="0666", GROUP="plugdev" #Foxconn
SUBSYSTEM=="usb", ATTR{idVendor}=="04c5", MODE="0666", GROUP="plugdev" #Fujitsu
SUBSYSTEM=="usb", ATTR{idVendor}=="04c5", MODE="0666", GROUP="plugdev" #Fujitsu Toshiba
SUBSYSTEM=="usb", ATTR{idVendor}=="091e", MODE="0666", GROUP="plugdev" #Garmin-Asus
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev" #Google
SUBSYSTEM=="usb", ATTR{idVendor}=="201E", MODE="0666", GROUP="plugdev" #Haier
SUBSYSTEM=="usb", ATTR{idVendor}=="109b", MODE="0666", GROUP="plugdev" #Hisense
@wuseman
wuseman / mimetypes
Created December 6, 2018 01:21
PHP Mimetypes
View mimetypes
<?php
$mime_types = array(
'.3dm' => 'x-world/x-3dmf',
'.3dmf' => 'x-world/x-3dmf',
'.a' => 'application/octet-stream',
'.aab' => 'application/x-authorware-bin',
'.aam' => 'application/x-authorware-map',
'.aas' => 'application/x-authorware-seg',
'.abc' => 'text/vnd.abc',
'.acgi' => 'text/html',
@wuseman
wuseman / wfind-alpha.sh
Created February 7, 2019 18:56
Move all folders and sort them from a-z
View wfind-alpha.sh
#!/bin/bash
# Author: wuseman
for i in *; do I=`echo $i|cut -c 1|tr a-z A-Z`; if [ ! -d "$I" ]; then mkdir "$I"; fi; mv "$i" "$I"/"$i"; done