Search the Community
Showing results for tags 'python'.
Found 2 results
Hey guys so I'm messing around with a copy of Windows 7, Metasploit, and the python programming language. I've noticed that even after I've got NT/AUTHORITY access on a machine, there are still certain things that I cant do. After doing some research I found out that even with superuser access, I may not be in the correct "privilege ring" to accomplish what I want, ie forcing the computer to stop system critical programs, delete certain files, etc. So my thought here is, knowing that the smss.exe process is responsible for starting the kernel and user modes and loads the registry, what if I created a registry key that lets me interact with a custom python script. Would it inherit the same privs/rights as smss.exe? Does anyone have any thoughts or recommendations? BTW, I know that me wanting to delete or stop system critical files is ridiculous. As stated above, this is all in a VM on my PC and is all proof of concept and me goofing off.
Hello! I was writing some python for IST (we were asked to write a flowchart as pseudocode, but I wrote it strait into python, the teacher was quit impressed), and I am getting an error that reads Enter a number between 1 and 10Traceback (most recent call last): File "/Users/swaglord/Desktop/adding code", line 1, in <module> one_ten = input("Enter a number between 1 and 10")EOFError: EOF when reading a line whenever I try to get user input. The code I am using is: dob = input("What is your birthdate?") date = time.time() if date > dob: print ("Incorrect Birth Date") else: date_difference = dob - date print ("Your age is", date_difference) The editor i'm using (if that makes any difference) is Sublime Text 2. Please help me in telling me what went wrong in my coding (I am still a beginner to python), I would really like to see this be working in good order.