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 sys | |
import subprocess | |
if len(sys.argv) == 1: | |
print('please specify a group-id') | |
sys.exit(-1) | |
KAFKA_HOSTS="localhost:9092" | |
if len(sys.argv) > 2: | |
KAFKA_HOSTS=sys.argv[2] |
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/pkexec /bin/sh | |
echo "You probably want to use rescanpci not this." | |
for i in /sys/bus/pci/drivers/[uoex]hci_hcd/*:*; do | |
echo "${i##*/}" > "${i%/*}/unbind" | |
sleep 3 | |
echo "${i##*/}" > "${i%/*}/bind" | |
done |
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 | |
#TODO: Pass interface name in as a parameter. Right now wlp3s0 is assumed. | |
# Figure out what pci slot Linux has assigned the Network controller: Intel Corporation Wireless 7260 | |
wirelessPCI=$(lspci |grep "Wireless 7260") | |
pci=$(echo ${wirelessPCI} | awk '{ print $1 }') | |
devicePath="/sys/bus/pci/devices/0000:$pci/remove" | |
# Not the best solution as this script can hang. |
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
File: archives/7/p7_0x03_Hacker's Manifesto_by_The Mentor.txt | |
==Phrack Inc.== | |
Volume One, Issue 7, Phile 3 of 10 | |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | |
The following was written shortly after my arrest... | |
\/\The Conscience of a Hacker/\/ |