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 | |
| use strict; | |
| use warnings; | |
| while(<STDIN>) { | |
| if (/(https?:\/\/\S+)$/i){ | |
| print "$1\n"; | |
| } | |
| } |
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
| ### Derefence a shell variable | |
| # ~ $ deref teag | |
| # value of [teag] is: [] | |
| # ~ $ deref HOME | |
| # value of [HOME] is: [/home/libcrack] | |
| deref(){ | |
| if [ -n "$1" ]; then | |
| localvar=$(eval echo \$$1) | |
| echo "value of [${1}] is: [${localvar}]" |
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
| grsectl(){ | |
| local sysctls=(kernel/grsecurity/chroot_findtask | |
| kernel/grsecurity/harden_ptrace | |
| net/bridge/bridge-nf-call-iptables | |
| kernel/grsecurity/socket_server | |
| kernel/grsecurity/chroot_deny_unix | |
| kernel/grsecurity/harden_ipc | |
| kernel/grsecurity/chroot_deny_bad_rename | |
| kernel/grsecurity/socket_client | |
| kernel/grsecurity/lastack_retries |
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
| import jeb.api.IScript; | |
| import jeb.api.JebInstance; | |
| import jeb.api.ast.*; | |
| import jeb.api.ast.Class; | |
| import jeb.api.dex.*; | |
| import jeb.api.ui.JavaView; | |
| import jeb.api.ui.View; | |
| import java.util.Arrays; | |
| import java.util.HashMap; |
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 | |
| # Sun Apr 17 19:34:37 CEST 2016 | |
| # (mecagon el puto itunes y susmuertos a caballo) | |
| """ Rebuilds iTunes database plist which is usually | |
| located in ~/Music/iTunes/iTunes Music Library.xml | |
| iTunes track object keys: |
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 | |
| # jue nov 13 21:33:12 CET 2014 | |
| if [ -f ~/.bash_colors ]; then . ~/.bash_colors; fi | |
| if [ -f ~/.bash_functions ]; then . ~/.bash_functions; fi | |
| for img in /var/lib/libvirt/images/*.img; do | |
| new="${img%.*}.qcow2" | |
| msgbox "Converting ${img}" | |
| msg "Generating ${new}" |
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 | |
| # devnull@libcrack.so | |
| # jue may 5 04:11:58 CEST 2016 | |
| # https://copperhead.co/android/docs/install | |
| sec=5 | |
| sudo= | |
| firmware="hammerhead-mmb29v" | |
| update_zip="image-hammerhead-mmb29v.zip" | |
| boot_img="bootloader-hammerhead-hhz12k.img" |
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 | |
| # sáb abr 9 18:57:00 CEST 2016 | |
| NFS="${NFS:-/mnt/nfs/${USER}}" | |
| nfs_mnt="/mnt/nfs/${USER}" | |
| linked_dirs="(ls ${HOME})" | |
| X="\e[0m" | |
| R="\e[0;31m" |
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 | |
| # dom abr 5 22:19:42 CEST 2015 | |
| # | |
| # dynamips arguments | |
| # | |
| # -H [<ip_address>:]<tcp_port> : Run in hypervisor mode | |
| # | |
| # -P <platform> : Platform to emulate (7200, 3600, 2691, 3725, 3745, 2600 or 1700) (default: 7200) | |
| # |
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
| This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
| Token for proof: | |
| [Verifying my OpenPGP key: openpgp4fpr:0c28c0fbd633e167f075f84f602ae1ee236b448b] |