Skip to content

needle-wang/bash-rolling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bash-rolling

long live shell!

those has been tested in debian series.

  • backlight_in_hhkb.sh
    use xbacklight to change backlight.
    set a global hotkey in linux DE.

  • badremoteuser.sh
    get the count of login failure.

  • bri.sh
    show the X's backlight.

  • browserlink.sh
    HOW-TO about browserlink of vim.
    run it as a server to serve all html.

  • check_a_dir_all_file_md5.sh
    print all files' md5 in current dir.

  • check_gi_st.sh
    run git status at each git repository subdir of a given dir.

  • chtomport.sh
    give me the file server.xml of tomcat6/7,
    i can change the ports: web port, shutdown port, ajp port.
    -h for help.

  • clrRecentlyUsed.sh
    clear the recently used record in unity desktop of ubuntu.

  • coolReadPasswd.sh
    just print the /etc/passwd as good format.

  • cp936Stream.sh
    change gbk encode to utf8 for reading.
    e.g. cat gbk_file | cp936Stream.sh

  • crowd_remote_web_log.sh
    give me a url, i can put the mess in remote server's access log.

  • date_in_term_topright.sh
    show the time at the top-right of terminal.

  • dironly.sh
    as the name, only print dirs(include hide dirs) in current dir.

  • doubanmovie.sh
    give me a movie name, i can tell you the score in douban.com.

  • encoding_str.sh
    My favor, Just run it. you will know what's this!

  • fullpath.sh
    print the file's fullpath you give me.
    like realpath or readlink -f

  • gengxin.sh
    apt-get update and dist-upgrade in debian.

  • hideonly.sh
    as the name, only print the hide stuff in current dir.

  • human_readable.awk
    make a col of number into a human readable format like ls -hl.

  • install_vim8.sh
    build the huge version of vim8 using it.

  • ipconfig.sh
    print LAN IP, MAC address, WAN IP and location

  • log-on.pl
    It's from chinese ubuntu forum, not mine.
    print the login times in kern.log of linux? old memory~

  • month
    if you forget the month's abbr, just run it.

  • nc_reverse.sh
    print reverse shell usage using nc and pipe.

  • path.sh
    echo $PATH

  • pfree.sh
    show the rss(used momery) size: total or a given process! I love it!

  • pingscan.sh
    ping 192.168.1.1/24 and report if it's alive.

  • printLastLine.sh
    printLastLine.sh filename.

  • pstop.sh
    use ps to grep top 10 of cpu/mem/vsz/rss or a given process.

  • qzonemesg.sh
    a public QQ number given, i can show the mesg of qzone.

  • renjpg.sh
    add *.jpg of current dir with dir prefix.

  • soft_for_new_OS.sh
    when a new OS installed, install some packages i need.

  • su_logger.sh
    a su wrapper which can log the passwd you type!

  • timer.sh
    just like a bomb's timer but do nothing. :)

  • today_filter.awk
    ls -Al | awk -f today_filter.awk
    filter which's mtime is today

  • topgrep.sh
    like pstop.sh but use the command top.
    do you know the different between ps and top?

  • touchpad.sh
    turn on/off touchpad. a alias will be good.

  • unpack.sh
    unpack zip, rar, tar.gz...

  • unzips-gbk.py
    unzip the gbk zip files.

  • upda_py3_pkgs.py
    use pip3 to install --update all python3 packages.

  • use_aircrack.sh
    if you forget how to use aircrack-ng suit,
    here, it will print the steps.

  • use_cookies.sh
    cook it for delicous hacking!
    if you get the cookie line from wireshark,
    give me, i can format it into json for Edit this cookie.

  • use_ettercap.sh
    always forget the usage of ettercap or arpspoof?
    let me tell you, just run it!

  • use_reaver.sh
    wrap the reaver if you forget how to use it again!

  • volume_in_hhkb.sh
    use amixer to adjust volume.
    set a global hotkey in linux DE.

  • vpn-route.sh
    chnroutes.py's wrapper.

  • wait_then_shut.sh
    give me the process(for downloading or something else)'s pid,
    then, go to bed, let me shudown the PC.
    sudo wait_then_shut.sh pid

  • watch_du.sh
    when you copy some huge dir, you may want to know the progress.
    cd into the destination and,
    run it which calculate current dir's size at intervals.

  • wpa_vector_for_aircrack.sh
    using aircrack-ng's steps is boring?
    here, the shell wrap it,
    and you can just follow this vector.
    give it a wordlist when you run it,
    whatever you want to crack the password or not now.

    by the way, it can not run at kali2.0
    if I got some time, I would figure it out. :)
    does aircrack can work in kali2.0 step by step? i give up~

About

some useful shell scripts.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published