Results 1 to 3 of 3

Thread: bash script alias

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2013-Jun
    Posts
    123

    bash script alias

    hello all,

    just thought i would share something that my be useful to others.
    Code:
    nano .bashrc
    alias mac="ifconfig wlan0 down; ifconfig wlan0 hw ether 00:11:22:33:44:55; ifconfig wlan0 up"
    restart terminal
    with wifi disconnected
    type
    Code:
    mac
    and it will shutdown ifconfig, give you a different mac address and then bring it back up without having to type everything out

    edit ~ here are some that I have created already and I am finding useful:
    alias mac="ifconfig wlan0 down; ifconfig wlan0 hw ether 00:11:22:33:44:55; ifconfig wlan0 up"
    alias updatesys='apt-get update && apt-get upgrade'
    alias reaverit='mac;airmon-ng start wlan0; ifconfig mon0 down; macchanger -m 00:11:22:33:44:55 mon0; ifconfig mon0 up; airodump-ng mon0'
    alias reaverit2='echo reaver -i mon0 -c x -b xx:xx:xx:xx:xx:xx -vv -a -S -N -E'
    Last edited by brazen; 2014-01-03 at 01:14.

Similar Threads

  1. Saving a bash script fails due to GVfs problem
    By relayer77 in forum General Archive
    Replies: 0
    Last Post: 2020-08-14, 23:02
  2. KAAIS v2 {Bash Script}
    By r4wstring in forum General Archive
    Replies: 3
    Last Post: 2013-09-21, 15:37
  3. KAAIS v2 {Bash Script}
    By r4wstring in forum Installing Archive
    Replies: 0
    Last Post: 2013-08-23, 00:52

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •