The Windows Subsystem for Linux(WSL)- Kali
What is the Windows Subsystem for Linux see https://docs.microsoft.com/en-us/windows/wsl/about .
wsl --list --verbose
Kali Linux
cat /etc/os-release
sudo apt update && sudo apt upgrate -y
sudo apt install kali-desktop-xfce -y
sudo apt install xrdp -y
sudo service xrdp start
ip add
Now you can use Remote Desktop Connection of Windows to connect Kali.
to do 1:
sudo apt install theharvester
theHarvester -d baidu.com -b google // google will block your IP, if you run this command.
Reference: htt p s:/ / w ww. y outube . com/watch ? v = AfVH54edAHU
theHarvester
theHarvester is a command-line tool included in Kali Linux
that acts as a wrapper for a variety of search engines and is used to
find email accounts, subdomain names, virtual hosts, open ports /
banners, and employee names related to a domain from different public
sources (such as search engines and PGP key servers).
to do 2:
youtube-dl 91NZ_Rnr7Jc -o bad_apple.mp4
ffmpeg -i bad_apple.mp4 bad_apple_h264.mp4
mplayer -vo caca -quiet bad_apple_h264.mp4
caca means by txt; -quiet must be here.
ffmpeg -i bad_apple.mp4 bad_apple_h264.mp4
mplayer -vo caca -quiet bad_apple_h264.mp4
caca means by txt; -quiet must be here.
to do 3:
nano
#include <iostream>
using namespace std;
int main(int argc,char** argv){
for(int i=1;i<argc;++i){
if(i>1) cout << " "; cout << argv[i];
}
return 0;
}
clang++ my_echo.cc -o my_echo
./my_echo
./my_echo hello world.
#include <iostream>
using namespace std;
int main(int argc,char** argv){
for(int i=1;i<argc;++i){
if(i>1) cout << " "; cout << argv[i];
}
return 0;
}
clang++ my_echo.cc -o my_echo
./my_echo
./my_echo hello world.
评论
发表评论