Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 41 guests online
 
Free Business and Tech Magazines and eBooks

You are here: Home
EH-Net
May 18, 2013, 08:32:24 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
  Home Help Calendar Login Register  
  Show Posts
Pages: [1]
1  EH-Net / News Items and General Discussion About EH-Net / Re: [Article]-Daemon - A Contest Revealed on: June 21, 2010, 09:31:09 AM
I know, it's been a while but I'm still so tired and enthusiastic, I have to post my dirty bash solution:

Code:
#!/bin/bash

SendTo="Hoffmann.P@gmx.net"
MessageFile=".lastMessageFromDanielSuarez"
lastMessageFromDanielSuarez=$(cat $MessageFile 2>/dev/null || echo 0);
thisMessage=$(lynx -dump -width 110 http://thedaemon.com/aboutauthor.html | grep -v ^$ | grep SetRegexFlagToSearchWhenDateChangedFromValue | cut -d '~' -f 2 | date -d - +%s)
test $thisMessage -gt $lastMessageFromDanielSuarez && lynx -dump -width 110 http://thedaemon.com/aboutauthor.html | grep -v ^$ | grep -m1 -A1000 SetRegexFlagToSearchWhenDateChangedFromValue | tr -d '\n ' | cut -d '|' -f 3 | base64 -d | openssl des-cbc -d -K $(echo -n "$Gregg's Key$" | hexdump -e '1/1 "%x"') -iv '1234567890abcdef' -nosalt | mail -a "Content-Type: text/plain; charset=utf-8" -s "New Message from Daniel Suarez" $SendTo && echo $thisMessage > $MessageFile
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.091 seconds with 22 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Free Business and Tech Magazines and eBooks

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.