grep -E -o "\b[a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+.[a-zA-Z0-9.-]+\b" filename.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8" ?> | |
| <!DOCTYPE plist PUBLIC "-//Apple Computer/DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>name.verhoef.pf.plist</string> | |
| <key>Program</key> | |
| <string>/sbin/pfctl</string> | |
| <key>ProgramArguments</key> | |
| <array> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ umask 022 | |
| $ ls -l /var/db/vmware/vmnet-dhcpd-vmnet8.leases | |
| -rw-r--r-- 1 root staff 13526 Aug 12 23:48 /var/db/vmware/vmnet-dhcpd-vmnet8.leases | |
| $ ls -l /var/db/vmware/vmnet-dhcpd-vmnet8.leases~ | |
| -rw------- 1 root staff 13206 Aug 12 23:45 /var/db/vmware/vmnet-dhcpd-vmnet8.leases~ | |
| $ sudo rm /var/db/vmware/vmnet-dhcpd-vmnet8.leases~ | |
| Password: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd /usr/local/ | |
| curl https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz | tar zxf - | |
| echo "export GOROOT=/usr/local/go" >> /etc/profile.d/go.sh | |
| echo "export PATH=\$PATH:\$GOROOT/bin" >> /etc/profile.d/go.sh | |
| chmod +x /etc/profile.d/go.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <IfModule mod_rewrite.c> | |
| RewriteEngine on | |
| RewriteCond %{REQUEST_URI} ^.*/\. | |
| RewriteRule ^(.*)$ - [R=403,L] | |
| LogLevel alert rewrite:trace6 | |
| </IfModule> | |
| To each virtualhost: | |
| RewriteOptions inherit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 8 cd /usr/local/ | |
| 9 wget http://download.documentfoundation.org/libreoffice/stable/5.0.0/rpm/x86_64/LibreOffice_5.0.0_Linux_x86-64_rpm.tar.gz | |
| 10 tar -xvf LibreOffice_5.0.0_Linux_x86-64_rpm.tar.gz | |
| 11 cd LibreOffice_5.0.0 | |
| 12 cd LibreOffice_5.0.0_Linux_x86-64_rpm.tar.gz | |
| 13 cd LibreOffice_5.0.0.5_Linux_x86-64_rpm/ | |
| 20 yum localinstall *.rpm --skip-broken | |
| 47 yum install cairo | |
| 50 yum install cups | |
| 51 /opt/libreoffice5.0/program/soffice --headless --convert-to csv websiteregister-rijksoverheid-20150730.ods |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt-get update -y | |
| apt-get install -y subversion build-essential python-dev libboost-all-dev git libemu-dev libxslt-dev libyara2 python-yara mongodb graphviz | |
| apt-get install -y libemu2 python-libemu | |
| cd /usr/local/src/ | |
| svn checkout http://v8.googlecode.com/svn/trunk/ v8 | |
| svn checkout http://pyv8.googlecode.com/svn/trunk/ pyv8 | |
| curl https://github.com/buffer/thug/tarball/master > thug.tar.gz | |
| tar vxf thug.tar.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LAYOUT=circo | |
| SOURCES = $(wildcard *.dot) | |
| TARGETS = $(SOURCES:.dot=.svg) | |
| %.svg:%.dot | |
| dot -Tsvg -K${LAYOUT} "$^" -o "$@" | |
| all: $(TARGETS) | |
| clean: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| apt-get install -y software-properties-common | |
| add-apt-repository -y ppa:webupd8team/java | |
| apt-get update | |
| echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections | |
| echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections | |
| apt-get -y install oracle-java8-installer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo "/Applications//VMware Fusion.app/Contents/Library/vmnet-sniffer" -e -w /tmp/vmdmp.pcap vmnet8 Thu Oct 15 10:45:36 CEST 2015 |