This code is now hosted here: https://github.com/oxagast/sudo_skimmpass
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 | |
| if [[ $(id -u) -ne 0 ]]; then | |
| echo "[!] You should run this as root!" | |
| exit 1 | |
| fi | |
| echo "[*] Testing to find VPNs gateway..." | |
| VPNGW=$(ip route show dev tun0 | grep $(ip addr show dev tun0 | grep "inet " | awk '{print $2}' | cut -d . -f 3).1 | cut -d ' ' -f 3 | head -n 1) | |
| echo "[*] Calling systemctl to check status..." | |
| systemctl status openvpn-client@drift-oxasploits.com.service 2>&1 >/dev/null | |
| STATUS=$? |
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
| ## | |
| # Place this file in | |
| # /usr/lib/systemd/system/vbox@.service | |
| ## | |
| [Unit] | |
| Description= Guest VM %I | |
| After=network.target vboxdrv.service | |
| Before=runlevel2.target shutdown.target | |
| [Service] |
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
| # Run the last command as root | |
| sudo !! | |
| # Serve current directory tree at http://$HOSTNAME:8000/ | |
| python -m SimpleHTTPServer | |
| # Save a file you edited in vim without the needed permissions | |
| :w !sudo tee % | |
| # change to the previous working directory | |
| cd - | |
| # Runs previous command but replacing | |
| ^foo^bar |
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 module requires Metasploit: https://metasploit.com/download | |
| # Current source: https://github.com/rapid7/metasploit-framework | |
| ## | |
| require 'msf/core' | |
| require 'webrick' | |
| require 'thread' | |
| class Metasploit3 < Msf::Exploit::Remote | |
| Rank = ExcellentRanking |
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 | |
| # | |
| # Powerlock | |
| # | |
| # -- Copyright: oxasploits.com / Marshall Whittaker -- | |
| # | |
| # Dependancies: i3lock, LUKS, sudo or systemd, expect | |
| # | |
| # Configuration: Use something like 'xidle' to invoke this script after | |
| # the mouse has not been moved for a certain amount of time by adding |
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/local/bin/bash | |
| # oxagast / marshall@oxasploits.com | |
| # | |
| # | |
| maxres="480p" ## Target Resolution | |
| audiochs=2 ## Max Audio Channels | |
| maxsize=600 ## Max filesize in megabytes | |
| # | |
| cleanup() |
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/perl | |
| use strict; | |
| use vars qw($VERSION %IRSSI); | |
| $VERSION = '1.0'; | |
| %IRSSI = ( | |
| authors => 'oxagast', | |
| contact => 'oxagast@oxasploits.com', | |
| name => 'StripColor', | |
| description => 'Strips IRC special codes from outgoing messages.', |
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/bash | |
| # oxagast / marshall@oxasploits.com | |
| if [[ $# -eq 1 ]] || [[ $# -eq 2 ]]; then | |
| if [[ $# -eq 1 ]]; then | |
| ESIZE=1000000000000000000; | |
| fi | |
| if [[ $# -eq 2 ]]; then | |
| ESIZE=$2; | |
| fi | |
| while test -s $1 && [[ $ESIZE -ge $(stat --printf "%s" $1) ]]; do |
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 | |
| # | |
| # ./makeitrain.sh bitcoin-qt.crashdump.core | |
| # __ _ _ __ ___ __ ____ ____ | |
| # / ( \/ )/ _\ / __)/ _\/ ___(_ ) | |
| # ( O ) (/ ( (_ / \___ \ )( | |
| # \__(_/\_\_/\_/\___\_/\_(____/(__) | |
| # | |
| # Donations: | |
| # btc: 34fDhMUkvGVr1s2jQvhwmBfw1xqjstrLed |
NewerOlder