Git command

git log –graph –pretty=oneline –abbrev-commit git push git pull git commit git rm git commit -am (add and commit) git config –global user.name “EITE” git config –global user.email EITE@EITE.ORG Switch to tag_name: git tag // show tags. git checkout tag_name // switch to tag_name. git tag -a v0.1.0 -m “This …

Raspberry Pi with WIFI attack

Install resource packages sudo apt-get install -y libpcap-dev libsqlite3-dev sqlite3 libpcap0.8-dev libssl-dev build-essential iw tshark subversion ethtool libnl-3-200 libnl-3-dev libnl-genl-3-dev libnl-genl-3-200 Install aircrack-ng svn co http://svn.aircrack-ng.org/trunk/ aircrack-ng cd aircrack-ng/ make sudo make install 还提示了Run ‘airodump-ng-oui-update’as root (or with sudo) to install or update Airodump-ng OUI file(Internet connection required). sudo airodump-ng-oui- …

Set up GIT server on linux

Install a git server on Centos 7 [ruanxi@localhost ~]# yum install -y git [ruanxi@localhost ~]# git –version [ruanxi@localhost ~]# adduser git [ruanxi@localhost ~]# chpass git [ruanxi@localhost ~]# passwd git [ruanxi@localhost ~]# git init –bare test.git [ruanxi@localhost ~]# ls [ruanxi@localhost ~]# vim /etc/passwd git:x:1002:1002:,,,:/home/git:/usr/bin/git-shell [ruanxi@localhost ~]# chown git:git test.git/ git reset …