Skip to content

TyrantLucifer/Awesome-one-click-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome-one-click-shell

🌈 The set of awesome one click shell

vim

  • Note
  1. The user executing the shell script must be normal users have root permission
  2. Support:Ubuntu
  3. You can use it to compile and install newest version vim on Ubuntu,and also you can package a deb file for your own vim!
  • How to use
apt install wget -y
wget https://raw.githubusercontent.com/TyrantLucifer/Awesome-one-click-shell/master/vim/vim.sh
chmod +x vim.sh
./vim.sh

MTProxy

  • Note
  1. Before use,You should open the port you want to set or turn off the firewall and the user executing the shell script must be root.
  2. Support:Centos Ubuntu
  3. You can use it to build MTProxy Service and setting the service auto start
  4. Start service:systemctl start MTProxy
  5. Stop service:systemctl stop MTProxy
  • How to use
  1. if you use Centos
yum install wget -y
wget https://raw.githubusercontent.com/TyrantLucifer/Awesome-one-click-shell/master/MTProxy/MTProxy.sh
chmod +x MTProxy.sh
./MTProxy.sh
  1. if you use Ubuntu
apt install wget -y
wget https://raw.githubusercontent.com/TyrantLucifer/Awesome-one-click-shell/master/MTProxy/MTProxy.sh
chmod +x MTProxy.sh
./MTProxy.sh

Brook

  • Note
  1. Before use,You should open the port you want to set or turn off the firewall and the user executing the shell script must be root
  2. Support:Ubuntu Centos
  3. You can use it to build Brook service
  • How to use
  1. if you use Ubuntu
apt-get install wget -y
wget http://raw.githubusercontent.com/TyrantLucifer/Awesome-one-click-shell/master/brook/brook.sh
chmod +x brook.sh
./brook.sh
  1. if you use Centos
yum install wget -y
wget http://raw.githubusercontent.com/TyrantLucifer/Awesome-one-click-shell/master/brook/brook.sh
chmod +x brook.sh
./brook.sh

Record_bash_history

  • Note
  1. You can use it to record the bash history for all users.
  2. Support: All platform of Linux
  • How to use

Edit the /etc/profile, add the source path/bash_history.sh at the end of profile. Enjoy it! Your server will more secure than ever before.

Config ssh no passwd

  • Note
  1. You can use it to config current user to other server's user ssh no passwd.
  2. Support: All platform of Linux
  • How to use
  1. Install expect
yum install exepect -y
  1. Edit host list file
host username passwod

ex: master001 root root
  1. Execute shell
sh ssh_nopasswd.sh host_list_file_path

Superps

  • Note
  1. You can use it to find or kill quickly process that contains the keys you want to find or take up a port you want to use in daily work, when you want to kill a special process it will help you work efficiently.
  2. Support: All platform of Linux that has installed lsof awk grep
  • How to use

Move script to /use/bin or other executable categories.

  • Examples
superps find "openvpn" # find the process that contains "openvpn"

superps kill "openvpn" # kill all the process that contains "openvpn"

superps port 8080 # find the process that take up port 8080

superps killport 8080 # kill the process that take up port 8080

About

🌠The set of awesome one click shell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages