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

 

转载于:https://www.cnblogs.com/heycomputer/articles/10479507.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值