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
| <?php | |
| /* | |
| * simple testscript for crypted or singned email | |
| */ | |
| define ("CA", ""); | |
| define ("TMP_FILE", "/tmp/1"); | |
| define ("EMAIL", "yourEmail"); |
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 | |
| OBSERVED="web-proxy01.nloln.cn" | |
| tcpdump -tt -i wlan0 host $OBSERVED | awk '{ if (! match ($7, "S]")) { if (($1 - timeNow) >= 1) { print strftime("%a %b %e %H:%M:%S %Z %Y", $1), " --- ",($1 -timeNow) ; } }; timeNow=$1; }' | |
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/bash | |
| set +x | |
| unset list count file | |
| MAX=12 | |
| while IFS= read -r -d '' F; do | |
| let ++count; | |
| FH=$(printf "$F" | awk '{print $2}') | |
| if [[ count -gt $MAX ]]; | |
| then unset count; |
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
| #!/usr/bin/awk -f | |
| { | |
| if ($7 ~ /^time/) { | |
| split ($7, out, "="); | |
| split (out[2], val, "."); | |
| if (val[1] >= 60) { | |
| system("date '+%H-%M-%S---%d/%b/%Y'"); | |
| printf ("%-20s %d \n", out[2], n); | |
| n= 0; |
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
| <!-- static xml use as static xml datasource to configure --> | |
| <entry> | |
| <name type="required"> | |
| <text size="40" /> | |
| </name> | |
| </entry> | |
| <entry> | |
| <lastname type="optional"> |