# Process packets despite bad checksums.
redef ignore_checksums = T;
This will change significantly with Bro 2.2 when we have the file analysis
| su postgres | |
| createuser bro -l -P -E -S -d -R | |
| createdb --owner=bro bro; | |
| psql -h 127.0.0.1 -U bro bro -c " | |
| create table conn( | |
| ts numeric(20,8) NOT NULL, | |
| uid VARCHAR(255) PRIMARY KEY, | |
| id_orig_h CIDR NOT NULL, |
| <?php | |
| /** | |
| * @file | |
| * Class PdfParser | |
| * | |
| * @author : Sebastien MALOT <[email protected]> | |
| * @date : 2013-08-08 | |
| * | |
| * References : |
| <?php | |
| /** | |
| * This class can add WSSecurity authentication support to SOAP clients | |
| * implemented with the PHP 5 SOAP extension. | |
| * | |
| * It extends the PHP 5 SOAP client support to add the necessary XML tags to | |
| * the SOAP client requests in order to authenticate on behalf of a given | |
| * user with a given password. | |
| * |
| <?php | |
| $ip = '127.0.0.1'; | |
| $port = '9051'; | |
| $auth = 'PASSWORD'; | |
| $command = 'signal NEWNYM'; | |
| $fp = fsockopen($ip,$port,$error_number,$err_string,10); | |
| if(!$fp) { echo "ERROR: $error_number : $err_string"; | |
| return false; |
| /* Everything but DEBUG and LOG output to BIOS console */ | |
| #undef CONSOLE_PCBIOS | |
| #define CONSOLE_PCBIOS ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_DEBUG & ~CONSOLE_USAGE_LOG ) | |
| /* Everything but TUI output to syslog console */ | |
| #undef CONSOLE_SYSLOG | |
| #define CONSOLE_SYSLOG ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_TUI ) | |
| #undef LOG_LEVEL | |
| #define LOG_LEVEL LOG_ALL /* Full syslog logging */ |
| ssh-dss AAAAB3NzaC1kc3MAAAEBAL/ga3he0R/MiWa8LM0L/i29m3v6cxv65h6vFwrR4UYkAtqW6H597YBNKwi0Egw5KUC0Cw/BaRY0rAP9IKD7BQ+uh1r8kiGDRO71qrTdXYSfZs4UWjzwN41GrFJMPu2tb4kFOZqsOgmGA9RjapgWRKUWzCgBmq36R2VeF2uf4MWFZWFCpiNv4lekahn3Vch0iWNDZXyUrAAj/iSRgYV2cdzUgmz8IzIODc5wdRBflB9M+osiL8+7/9cUoyv3SFx5uqnozSan0wR+Y4FcLWcqJ7PYvYv3MqHmdp9cd3Py+wmRza+xan+XYCOkO/K/yahVb+j3MQ9AT8KKx48Yq0iiBGsAAAAVANkbdfmZMTo1tNDT3Up0AWPpmCYbAAABADbLWxgYPl8lG7VNpDZGBOmz6djY4ZDX8lx50kL09T37wZWUCGVzKcEwozoekgTxs1hYIfki7+AsqhqlMA66A0hHCCmKYqqErbRAq6OKmdDdpjwwPfsH4ghbqRyIwoXL4uydlYfgEBeqB+a1j6UErtzKPb8thNPcMz42j9eZAg5Lu7fv5yZsxP5KtfGlBuun0trmTCDksA2D38JHY6Ktu11bMIq8++J3wNMUobl9JpVnh2BQZn2pJ4SNIUO+EhXRBDjxRVsSM1fcfnN2IgPFEFlflsutyJtwrUIg7MddcVX6yH4s0K4YMaJVRvmP7eEi6f2nnnYoXftuU/1oljwjFYoAAAEBAJA2myKoGJbeObcp7rPl+EOZz7zmHDWhJqQZYfdosiInO6bzP/Ovpysnl3db5K6IXWITq83sf5NcugL4W6XcpRBmfsp7jxVqSk6zfRdqzbm6ReY0b23jB3U4+rGzln9z8ZwsU7qRTcmVhyajtS4b+xy3BErq5+3bvmiI4IbeAyIaM22/fNEYhhBhwgUfb8/kAGjrx/mtPH5lq2/IR0wca/CKqyWbN34N7j/W7Dnkin10yqRo/98OzPJm8vNVS2YBwwOHPotBFQHr |
| #!/bin/bash | |
| # This script builds the iOS and Mac openSSL libraries | |
| # Download openssl http://www.openssl.org/source/ and place the tarball next to this script | |
| # Credits: | |
| # https://github.com/st3fan/ios-openssl | |
| # https://github.com/x2on/OpenSSL-for-iPhone/blob/master/build-libssl.sh | |
Reference: http://www.cnx-software.com/2012/07/31/84-mb-minimal-raspbian-armhf-image-for-raspberry-pi/
curl -O https://dl.dropbox.com/u/45842273/2012-07-15-wheezy-raspian-minimal.img.7z
yum install p7zip
7za e 2012-07-15-wheezy-raspian-minimal.img.7z
qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1" -hda 2012-07-15-wheezy-raspian-minimal.img -net nic -net user -vnc :0 -net tap,ifname=vnet0,script=no,downscript=no
| #!/bin/sh | |
| #takes one argument/parameter: the name of the package which didn't install correctly and should be removed along with its dependencies | |
| #do opkg update first | |
| #example: ./opkgremovepartlyinstalledpackage.sh pulseaudio-daemon | |
| #get list of all packages that would be installed along with package x | |
| opkg update | |
| PACKAGES=`opkg --force-space --noaction install $1 | grep http | cut -f 2 -d ' ' | sed 's/.$//'` | |
| for i in $PACKAGES | |
| do |