[安全] Kali Linux安装TheFatRat
一、解决访问国外网络的问题
由于字符敏感,以下所有vray的第二位都需要加上"2"。
1.使用vray客户端
前提条件:拥有一个海外vray服务器提供socks5代理。
1)下载vray
wget https://github.com/vray/vray-core/releases/download/v4.23.1/vray-linux-64.zip -O /opt/vray-linux-64.zip
2)解压vray
cd /opt
mkdir vray
unzip vray-linux-.zip -d vray
cd vray
将包解压到vray目录下。
3)修改配置文件
{
"policy": null,
"log": {
"access": "",
"error": "",
"loglevel": "warning"
},
"inbounds": [
{
"tag": "proxy",
"port": ,
"listen": "127.0.0.1",
"protocol": "socks",
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
},
"settings": {
"auth": "noauth",
"udp": true,
"ip": null,
"address": null,
"clients": null
},
"streamSettings": null
}
],
"outbounds": [
{
"tag": "proxy",
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "xxx.xxx.xxx.xxx",
"port": ,
"users": [
{
"id": "4e8db2a5-0f06-4fa3-aa83-9d3ad9efac5f",
"alterId": ,
"email": "t@t.tt",
"security": "auto"
}
]
}
],
"servers": null,
"response": null
},
"streamSettings": {
"network": "tcp",
"security": null,
"tlsSettings": null,
"tcpSettings": null,
"kcpSettings": null,
"wsSettings": null,
"httpSettings": null,
"quicSettings": null
},
"mux": {
"enabled": true,
"concurrency":
}
},
{
"tag": "direct",
"protocol": "freedom",
"settings": {
"vnext": null,
"servers": null,
"response": null
},
"streamSettings": null,
"mux": null
},
{
"tag": "block",
"protocol": "blackhole",
"settings": {
"vnext": null,
"servers": null,
"response": {
"type": "http"
}
},
"streamSettings": null,
"mux": null
}
],
"stats": null,
"api": null,
"dns": null,
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"port": null,
"inboundTag": [
"api"
],
"outboundTag": "api",
"ip": null,
"domain": null
}
]
}
}
特别注意标黄部分,127.0.0.1为客户机本地地址,10808为代理端口。xxx.xxx.xxx.xxx为vray服务器地址,39000为服务端口。
4)运行vray
cd /opt/vray
./vray
root@kali:/opt/vray# ./vray
VRay 4.23. (VFly, a community-driven edition of vRay.) Custom (go1. linux/amd64)
A unified platform for anti-censorship.
// :: Using default config: /opt/vray/config.json
// :: [Info] vray.com/core/common/platform/ctlcmd: <vctl message>
vctl> Read config: /opt/vray/config.json
// :: [Warning] vray.com/core: VRay 4.23. started
5)测试
配置完毕后,使用firefox浏览器进行测试。
首先需要在浏览器中设置代理:

然后在最下面找到:

按下图进行配置:

测试可以访问google.com:

二、解决apt使用socks代理的问题
1.使用tsocks
tsocks用来帮助apt、wget等工具使用socks5代理。
1)安装tsocks
apt isntall tsocks -y
2)配置tsocks
sudo nano /etc/tsocks.conf
修改以下内容:
local = 192.168.0.0/255.255.255.0 # 本地192.168网段不走代理
local = 127.0.0.0/255.0.0.0 # 本地127网段不走代理 server = 127.0.0.1 # 本地地址
server_type = # socks版本
server_port = # 代理端口
3)使用tsocks
# 让wget走socks5代理(注意url中的vray要加2)
tsocks wget https://github.com/vray/vray-core/releases/download/v4.23.1/vray-linux-64.zip -O /opt/vray-linux-64.zip
这样wget就使用了socks5代理,下载速度快很多。
同样的,apt也可以通过tsocks来加速。
三、安装TheFatRat
1.从github上clone
TheFatRat体积比较大(400多MB),建议使用代理。
使用tsocks加速wget获取zip压缩包:
tsocks wget https://codeload.github.com/Screetsec/TheFatRat/zip/master
也可以使用tsocks加速git clone:
tsocks git clone git://github.com/Screetsec/TheFatRat.git
注意,这里的URL必须是git://不能是https://,否则代理会报错。
也可以直接使用git clone(不使用代理,比较慢):
git clone https://github.com/Screetsec/TheFatRat.git
2.安装
1)准备工作
cd TheFatRat
chmod +x setup.sh
2)修改setup.sh
将其中所有的 apt-get install 替换为 tsocks apt-get isntall 。在vim中使用 :%s/apt-get install/tsocks apt-get install/g 。
将其中所有的 apt-get update 替换为 tsocks apt-get update 。在vim中使用 :%s/apt-get update/tsocks apt-get update/g
3)开始安装
./setup.sh
在代理网络不出错的情况下,能够正常安装完毕。
4)运行fatrat
运行后可以看到以下banner:
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::: Metasploit service is not running ::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: /)
//
((
//
.-. // .-.
/ \- ((=-/ \
\ \ /
-( ___ ))__)-
.-' // '-.
/ (( \
| * |
\ /
\ |_w_| /
_) \ / (_
jgs (((---' '---)))
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::: Wait for starting a Service Postgresql ::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Press [Enter] key to Continue...
____
| |
|____|
_|____|_ _____ _ _____ _ _____ _
/ ee\_ |_ _| |_ ___| __|___| |_| __ |___| |_
.< __O | | | | -_| __| .'| _| -| .'| _|
/\ \.-.' \ |_| |_|_|___|__| |___|_| |__|__|___|_|
J \.|'.\/ \
| |_.|. | | | [--] Backdoor Creator for Remote Acces [--]
\__.' .|-' / [--] Created by: Edo Maland (Screetsec) [--]
L /|o'--'\ [--] Version: 1.9. [--]
| /\/\/\ \ [--] Codename: Whistle [--]
J / \.__\ [--] Follow me on Github: @Screetsec [--]
J / \.__\ [--] Dracos Linux : @dracos-linux.org [--]
|/ / [--] [--]
\ .'\. [--] SELECT AN OPTION TO BEGIN: [--]
____)_/\_(___\. [--] .___________________________________[--]
(___._/ \_.___)'\_.-----------------------------------------/ [] Create Backdoor with msfvenom
[] Create Fud % Backdoor with Fudwin 1.0
[] Create Fud Backdoor with Avoid v1.
[] Create Fud Backdoor with backdoor-factory [embed]
[] Backdooring Original apk [Instagram, Line,etc]
[] Create Fud Backdoor % with PwnWinds [Excelent]
[] Create Backdoor For Office with Microsploit
[] Trojan Debian Package For Remote Acces [Trodebi]
[] Load/Create auto listeners
[] Jump to msfconsole
[] Searchsploit
[] File Pumper [Increase Your Files Size]
[] Configure Default Lhost & Lport
[] Cleanup
[] Help
[] Credits
[] Exit ┌─[TheFatRat]──[~]─[menu]:
└─────►
可以开心的玩它了!!!
===
[安全] Kali Linux安装TheFatRat的更多相关文章
- debian(kali Linux) 安装net Core
debian(kali Linux) 安装net Core curl -sSL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0-previ ...
- kali linux安装搜狗输入法的方法
kali linux安装搜狗输入法比较麻烦,因为有很多依赖项,不过安装好就很好用,觉得麻烦的一般安装ibus,经典,也常更新. 下面就说说怎么安装搜狗输入法: 先去http://http.kali.o ...
- Kali Linux安装Google中文输入法(只需5步)
前言: 之前我在kali上安装过中文输入法,并且写了一篇博文(Kali Linux安装中文输入法全纪录),这篇博文里的步骤是当时一边摸索一边记录下的,思路有点混乱,而且还同时安装了两种输入法.今天又安 ...
- Kali Linux安装字典StarDict
Kali Linux安装字典StarDictStartDict是国外知名的字典框架,也可以加入国内翻译工具的字典.Kali Linux软件源提供该字典框架.用户需要安装qstardict软件包和词库 ...
- Kali Linux安装
Kali Linux 安装过程参考:https://blog.csdn.net/qq_40950957/article/details/80468030 安装完成后,apt-get install 安 ...
- kali linux 安装过程
kali linux 安装过程 获取镜像文件 首先需要去官网获取kali linux的镜像文件,本来获取了kali的最新版,由于有些方面还没有得到完善,与VM还没有完全兼容,所以换了视频上的1.0.8 ...
- PJzhang:kali linux安装virtualbox虚拟机和chrome浏览器
猫宁!!! 参考链接: https://www.cnblogs.com/zhishuai/p/8007410.html kali linux 安装virtualbox. 查询系统的版本 apt-cac ...
- 【工具安装】kali linux 安装教程
日期:2019-07-14 16:36:21 介绍:使用最新版的 VMware 来安装 kali linux 0x01.下载镜像 首先需要安装 VMware,安装步骤点这里. VMware 安装教程 ...
- Kali Linux安装及中文指南
Kali Linux安装及中文指南 Kali Linux安装教程:https://blog.csdn.net/u012318074/article/details/71601382 Kali Linu ...
随机推荐
- nginx openssl升级支持http2
阿里云openssl升级,实现nginx主动推送 nginx主动推送能够有效减少不必要的报文传输,减少用户请求次数,以达到更快访问速度 现有版本检查 [root@node3 ~]# openssl v ...
- 微信小程序分享转发用法大全——自定义分享、全局分享、组合分享
官方提供的自定义分享 使用隐式页面配置函数实现的全局分享-推荐 使用隐式路由实现的全局分享-不推荐,仅供了解隐式路由 前言: 目前微信小程序只开放了页面自定义分享的API,为了能够更灵活的进行分享配置 ...
- Building Applications with Force.com and VisualForce (DEV401) (二) : Application Essentials:Designing Application on the Force.com Platform
Dev 401-002:Application Essentials:Designing Application on the Force.com Platform Course Objectives ...
- OSLab:开启保护模式
日期:2019/5/22 关键词:操作系统:OS:保护模式:A20地址线激活:分页开启:二级页表的设置 PS:OSLAB实验课的整理. 本文主要内容是分析操作系统中一个简易的MBR. 建议先阅读:ht ...
- 树莓派3B+之Raspbian系统的安装
概述 因为之前一段时间在研究物联网的原因,所以对树莓派这个东西早就有所耳闻.在我的印象里,树莓派几乎无所不能,它可以用来学编程. 搞物联网. 做服务器,甚至还能用它来进行渗透测试.终于,没禁的住诱惑, ...
- coding++:SpringBoot-事务注解详解
@Transactional spring 事务注解 1.简单开启事务管理 @EnableTransactionManagement // 启注解事务管理,等同于xml配置方式的 <tx:ann ...
- Polya 定理相关题目
参考知识链接 关于枚举旋转置换: 前两题都是枚举了 n 种旋转, 但这个可以优化到\(O(\sqrt{n})\) (这个其实是基本操作). 考虑到每个循环节的长度都是 n 的因数, 所以可以枚 ...
- ScrollViewer - 可用鼠标拖动滚动的列表框
ScrollViewer添加附加属性: using System; using System.Collections.Generic; using System.Windows; using Syst ...
- [转发]对ThreadPoolExecutor初识
知识点提前预知: Java.util.concurrent.ThreadPoolExecutor类是ExecutorSerivce接口的具体实现.ThreadPoolExecutor使用线程池中的一个 ...
- .NET Core项目部署到Linux(Centos7)(九)防火墙配置,允许外网或局域网访问.NET Core站点
目录 1.前言 2.环境和软件的准备 3.创建.NET Core API项目 4.VMware Workstation虚拟机及Centos 7安装 5.Centos 7安装.NET Core环境 6. ...