-
Notifications
You must be signed in to change notification settings - Fork 0
/
kali_problem
69 lines (47 loc) · 3.64 KB
/
kali_problem
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
cannot find /cdrom when install kali by udisk: win32diskmanager+kali2017.iso(not 2018)
sudo apt-get update repo not release file : change repo to 163\aliyun... in /etc/apt/source.list
或者 cd /etc/apt/apt.conf.d/ sudo vim 70debconf 添加一行 Acquire::AllowInsecureRepositories “true”; apt-config dump查看是否生效 https://blog.csdn.net/include_heqile/article/details/79275944
install shadowsock5-qt: https://blog.csdn.net/hardhard123/article/details/78066084
config proxychain : vim /etc/proxychain.conf cp /usr/lib/proxychains3/proxyresolv /usr/bin/
proxyresolv www.google.com proxychains firefox
install googlepinyin:https://blog.csdn.net/wy_bk/article/details/79156277
install chrome : wget https://dl-ssl.google.com/linux/linux_signing_key.pub
apt-key add linux_signing_key.pub
sudo apt-get update
sudo apt-get install google-chrome-stable
sudo apt --fix-broken install
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Kali/kali-rolling : wget http://blog.anantshri.info/content/uploads/2010/09/add-apt-repository.sh.txt sudo chmod o+x /usr/sbin/add-apt-repository sudo chmod o+x /usr/sbin/add-apt-repository sudo chown root:root /usr/sbin/add-apt-repository
截图: sudo apt-get install imagemagick (sleep 3;)import Desktop/test1.png
msf exploit打开了 但是进不去meterpreter命令行 : enter sessions -l sessions -i sessionId
fluxion获取握手包后,创建evil twin ad-hoc,最后一步失败,没有热点 前面工作没做好:sudo ifconfig wlan1 down; sudo airmon-ng start wlan1(前面一步不做,这里会显示device busy); sudo ifconfig wlan1mon up 正常状态:Power Management:on mode:Master,Monitor Frequency:2.457 GHz (不要使用iwconfig一个个设置,因为无法设置power on ,operation not support???) ====== 后来发现应该是网卡是否支持monitor,ap等模式导致的,包括使用mdk3,fluxion,airbase-ng也会出现同样的问题(rtl8187l只支持monitor模式,不支持ap模式)
修改文件名乱码: convmv -f GBK -t UTF-8 --notest -r* // notest表示真正进行操作 -f:源格式 -t:目标格式 —r:recursive
无法apt安装wine: (或者git项目Wine-QQ上面有自动安装32/64位wine脚本,还没试)
1.git clone [email protected]:wine-mirror/wine.git
2../configure --enable-win64 --without-freetype && make && make install
3.安装32位库:
sudo apt-get install ia32-libs
sudo apt-get install gcc-multilib g++-multilib
sudo apt-get install xserver-xorg-dev:i386 libfreetype6-dev:i386 (安装如果出现dpkg info --unpack错误看下面解决方法)
4../configure
DPKG: 处理归档 /VAR/CACHE/APT/ARCHIVES/软件名 (–UNPACK)时出错:
#备份原来的dpkg info
sudo mv /var/lib/dpkg/info /var/lib/dpkg/baks
#建立新的bpdk info文件夹
sudo mkdir /var/lib/dpkg/info
sudo apt-get update
sudo apt-get install -f
#讲新的追加到新备份中
sudo mv /var/lib/dpkg/info /var/lib/dpkg/baks
#删除不要的
sudo rm /var/lib/dpkg/info -r
#重新设为info
sudo mv /var/lib/dpkg/baks /var/lib/dpkg/info
kali linux上安装virtualbox后启动虚拟机 modprobe vboxdrv错误 :
apt purge virtualbox
apt update
reboot
apt install virtualbox
配置web渗透环境DVWA(包含sql注入、文件上传、xss等web漏洞)错误:
PHP function allow_url_include: disabled : vim /etc/php/7.0/apache2/php.ini修改allow_url_include = On
PHP module gd: Missing : apt-cache search php | grep gd ; apt install php7.0-gd
PHP module mysql: Missing : apt-cache search php | grep mysql; apt install php7.0-mysql