2018年7月15日日曜日

IPv6 Status

from APNIC


I made the server IPv6.

I made the server IPv6.
①Confirm that IPv6 is invalidated.
$ cat /etc/sysctl.conf
# Do not use IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_
ipv6 = 1
②Activate IPv6.
$ sudo sed -i -e "/net.ipv6.conf.default.disable_ipv6/s/^/#/" /etc/sysctl.conf
$ sudo sed -i -e "/net.ipv6.conf.all.disable_ipv6/s/^/#/" /etc/sysctl.conf
③Enable IPv6 on the interface
$ sudo sed -i -e "s/^#//g" /etc/network/interfaces
④Check the config file.
$ cat /etc/network/interfaces
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

auto ens3
iface ens3 inet static
address XXX.XXX.XXX.XXX
netmask 255.255.254.0
gateway XXX.XXX.XXX.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX210.188.224.10
dns-search XXX.XXX.XXX.XXX

iface ens3 inet6 static
address 2001:e42:102:1501:XXX:XXX:XXX:XXX
netmask 64
gateway fe80::1
dns-nameservers 2001:e42::2


2018年7月9日月曜日

Update from Rails 5.1.6 to Rails 5.2.0

① Changed description in Gemfile to rails 5.2.0

② bundle update

③ rails app:update

④ Since rails 5.2.0 requires gem called bootsnap, it is added to Gemfile
 gem 'bootsnap'

⑤ bundle install


$ pwd
/var/www/rails/rails5/config/initializers
$ vim callback_terminator.rb
#ActiveSupport.halt_callback_chains_on_return_false = false

⑥ rails s

2018年3月12日月曜日

Install of theHarvester on Ubuntu16.04

▪️Install
$sudo pip2 install request
$git clone https://github.com/laramies/theHarvester.git

▪️test
$ python2 theHarvester.py -d ****.com -l 500 -b all

Install of Volatility in Ubuntu16.04

▪️Required package
$ sudo apt-get install python python-pip unzip subversion pcregrep libpcre++-dev python-dev

▪️Install of PyCrypto
$ sudo pip install pycrypto
$ sudo pip install distorm3

▪️Install of YARA 3.70
$ get https://github.com/VirusTotal/yara/archive/v3.7.0.zip
$ unzip v3.7.0.zip
$ cd yara-3.7.0
$ ./bootstrap.sh
$ sudo apt-get install automake libtool make gcc
$ sudo apt-get install flex bison
$ ./configure
$ make
$ sudo make install

▪️Install of Volantility

$ git clone https://github.com/volatilityfoundation/volatility.git
$ cd volantility
$ sudo python setup.py install

fd-find

 $ sudo apt install fd-find $ fdfind 石