This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python2 | |
| # coding: utf-8 | |
| # pylint: disable=C0103 | |
| # pylint: disable=C0301 | |
| # pylint: disable=C0411 | |
| # pylint: disable=C0413 | |
| # pylint: disable=W0611 | |
| # pylint: disable=W0612 | |
| # pylint: disable=W0702 | |
| # pylint: disable=W0703 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CC := gcc | |
| BIN := pcap | |
| LDLIBS := -lpcap | |
| LDFLAGS := | |
| CFLAGS := -Wall -Wno-parentheses -fomit-frame-pointer | |
| CPPFLAGS := | |
| DEBUG := $(CFLAGS) -O0 -ggdb -fvar-tracking-assignments -fvar-tracking -fno-builtin | |
| all: $(BIN) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # root[at]libcrack[dot]so | |
| # Sat Jan 10 07:15:37 CET 2015 | |
| # | |
| # Detects invalid auth attemps in /var/log/maillog | |
| # and blacklist all matchs IPs using a bpf table | |
| # | |
| # Tested under: OpenBSD 5.8 | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # root@libcrack.so | |
| date=`date "+%d%m%Y_%H%M%S"` | |
| tardir="/var/backups" | |
| tarball="${tardir}/backup_${HOSTNAME}_${date}.tgz" | |
| folders="/etc /home /root" # XXX changeme | |
| subject="`hostname` backup $tarball $date" | |
| recipient="__YOURMAIL__" # XXX changeme |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env perl | |
| # libcrack@users.noreply.github.com | |
| # Thu Jun 9 23:03:10 CEST 2016 | |
| # | |
| # :~$ ssh root@pfsense "clog -f /var/log/filter.log" | pfsense-filter.pl | |
| use strict; | |
| use warnings; | |
| $|=1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # mar jun 14 18:54:23 CEST 2016 | |
| appname="$1" | |
| [[ -z "$appname" ]] && { | |
| printf "\e[31mUsage:\e[0m $0 <android.bundle.name>\n" | |
| exit 1 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| urls=" | |
| https://build.frida.re/frida/mac/lib/FridaGadget.dylib | |
| https://build.frida.re/frida/ios/lib/FridaGadget.dylib | |
| https://build.frida.re/frida/android/arm/lib/frida-gadget.so | |
| https://build.frida.re/frida/android/arm64/lib/frida-gadget.so | |
| https://build.frida.re/frida/android/arm64/lib/frida-gadget.so | |
| https://build.frida.re/frida/linux/i386/lib/frida-gadget.so | |
| https://build.frida.re/frida/linux/x86_64/lib/frida-gadget.so |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # @libcrack.so | |
| # jue nov 13 21:33:12 CET 2014 | |
| echo "Disabling IPv6" | |
| echo net.ipv6.conf.all.disable_ipv6=1 > /etc/sysctl.d/disableipv6.conf | |
| echo net.ipv6.conf.default.disable_ipv6=1 >> /etc/sysctl.d/disableipv6.conf | |
| echo net.ipv6.conf.lo.disable_ipv6=1 >> /etc/sysctl.d/disableipv6.conf | |
| echo net.ipv6.conf.eth0.disable_ipv6=1 >> /etc/sysctl.d/disableipv6.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # libcrack.so | |
| # dom ago 31 04:17:57 CEST 2014 | |
| [[ "$(whoami)" == "root" ]] || { | |
| printf "\e[0;31mGot root?\e[0m\n" | |
| exit 1 | |
| } | |
| #maximun="$(sysctl -n net.ipv4.netfilter.ip_conntrack_max)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * root@libcrack.so | |
| * vie jul 1 09:59:17 CEST 2016 | |
| * | |
| * pid_t setsid(void); - Create session and set process group ID | |
| * int setpgid(pid_t pid, pid_t pgid); - Set process group ID for job control | |
| * | |
| * Forbidding setsid() in a process group leader is required by POSIX. | |
| * The setsid() function shall create a new session, if the calling process | |
| * is not a process group leader. It is required to ensure that all members |