Simple Python Script which will show linux logs (dmesg and lastlog) from selection.
#!/usr/bin/env python
import os
os.system (‘clear’)
print “Pylog Created by Hyp3ri0n”
print “Version 0.1”
print “Respect Linux…………….”
print “=” * 50
print ” ”
value = 1
value2 = 2
answer = int(input (“Enter the Value 1 or 2: “)
if answer == value:
os.system (‘tail -20 /var/log/dmesg’)
if anwer == value2:
os.system (‘lastlog -u 0 && lastlog -u 1001-10000’)
#End