BlackArch脚本

 https://github.com/BlackArch/blackarch/tree/master/scripts(官方脚本)

1.cat /etc/pacman.conf

.......
SigLevel    = Never
.......
[testing]
Include = /etc/pacman.d/mirrorlist

[blackarch]
Server = https://mirrors.ustc.edu.cn/blackarch/$repo/os/$arch

2.cat /etc/pacman.d/mirrorlist

Server = http://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch
Server = https://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch

 

3.cat /sbin/start_ettercap

#!/usr/bin/bash
#localip=`python -c "import socket;print([(s.connect(('8.8.8.8', 53)), s.getsockname()[0], s.close()) for s in [socket.socket(socket.AF_INET, socket.SOCK_DGRAM)]][0][1])"`
localip=`python -c "import netifaces;print(netifaces.ifaddresses(netifaces.gateways()['default'][netifaces.AF_INET][1] )[netifaces.AF_INET][0]['addr'])"`
echo "Local IP is:"$localip 
gateway=`python -c "import netifaces;print(netifaces.gateways()['default'][netifaces.AF_INET][0])"`
echo "Local Gateway is:"$gateway
echo "Please input the target ip address!"
read ipaddress
ettercap -TqM arp:remote /$ipaddress/ /$gateway/

4.cat /root/scripts/sysclean.sh

#!/bin/sh
pacman -Rscn $(pacman -Qtdq)
pkgfile -u
pacman-optimize
updatedb
pacman-db-upgrade
yes | pacman -Scc
sync

 5.cat /usr/share/thefatrat/config/config.path

********************************************************************************************************
** Configuration Paths for TheFatRat , do not delete anything from this file or program will not work **
**       if you need to reconfig your tools path , then run ./setup.sh in (TheFatRat directory) .     **
********************************************************************************************************
jarsigner
unzip
keytool
/usr/share/thefatrat/tools/android-sdk/zipalign
/usr/share/thefatrat/tools/proguard5.3.2/lib/proguard
/usr/share/thefatrat/tools/android-sdk/dx
/usr/share/thefatrat/tools/android-sdk/aapt
/usr/share/thefatrat/tools/apktool2.2.2/apktool
d2j-dex2jar
msfconsole
msfvenom
backdoor-factory
searchsploit

 

posted @ 2019-03-05 20:39  heycomputer  阅读(263)  评论(0编辑  收藏  举报