Page 1 of 1

Exit Codes For Passive Checks

Posted: Sun Aug 25, 2013 4:15 pm
by tubosunedward
Hi Guys,

I wrote a code on python with scapy and would like the result to exit with a 0,1 or 2. The problem is that the values are in Date:Hours:Mins:Second which I would like to convert to just one integer value. Can anyone suggest how to convert this to this one int value?

Re: Exit Codes For Passive Checks

Posted: Mon Aug 26, 2013 11:05 am
by sreinhardt
How about using unix timestamps? Or are you specifically looking to keep it in a more readable form?