Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Mar 14, 2017
1 parent 9e2f7d3 commit 12a6153
Show file tree
Hide file tree
Showing 404 changed files with 95,947 additions and 1,102 deletions.
7 changes: 7 additions & 0 deletions LINETIME
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

* 14/03/17
Updated Whois module
Fixed Install file
Fixed Uninstall file
Style Changes

* 07/01/17
Added New Banner : Hieroglyphics
Fixes
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<img src="https://4.bp.blogspot.com/-qZDqDJu1j-k/V09AEAbLBeI/AAAAAAAAAR0/YX_M7a12s2URf-vzcaghv_ZDIvuy9b39QCLcB/s320/Sin%2Bt%25C3%25ADtulo.png" title="Katana">
[![Gitter chat](https://badges.gitter.im/totaljs/framework.png)](https://gitter.im/PowerScript/KatanaFramework) ![Supported OS](https://img.shields.io/badge/Supported%20OS-Linux-yellow.svg) ![License](https://img.shields.io/badge/license-GPLv3-blue.svg) ![CORE](https://img.shields.io/badge/core-1.0.0.1-green.svg)![Build](https://img.shields.io/badge/BUILD-0068-red.svg)![Modules](https://img.shields.io/badge/modules-37-green.svg) ![Python](https://img.shields.io/badge/Python-2.7-green.svg) [![Build Status](https://travis-ci.org/PowerScript/KatanaFramework.svg?branch=master)](https://travis-ci.org/PowerScript/KatanaFramework)
[![Gitter chat](https://badges.gitter.im/totaljs/framework.png)](https://gitter.im/PowerScript/KatanaFramework) ![Supported OS](https://img.shields.io/badge/Supported%20OS-Linux-yellow.svg)
![License](https://img.shields.io/badge/license-GPLv3-blue.svg) ![CORE](https://img.shields.io/badge/core-1.0.0.1-green.svg)![Build](https://img.shields.io/badge/BUILD-0069-red.svg)![Modules](https://img.shields.io/badge/modules-37-green.svg) ![Python](https://img.shields.io/badge/Python-2.7-green.svg) [![Build Status](https://travis-ci.org/PowerScript/KatanaFramework.svg?branch=master)](https://travis-ci.org/PowerScript/KatanaFramework)
---
# ABOUT.

Expand Down
6 changes: 3 additions & 3 deletions core/Design.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#HEAD#########################################################
#
# Katana Framework | Design
# Last Modified: 24/12/2016
# Last Modified: 14/03/2017
#
#########################################################HEAD#

Expand Down Expand Up @@ -39,8 +39,8 @@

def MainPrompt() :return colors[7]+" [ktf]:"+colors[0]
def ClientPrompt(module,client) :return colors[0]+" [ktf]("+colors[7]+colors[1]+module+colors[0]+":"+colors[9]+client+colors[0]+"):"+colors[0]
def Prompt(module) :return colors[0]+" [ktf]("+colors[7]+colors[1]+module+colors[0]+"):"+colors[0]
def ChangeValue(option, value) :print "\n "+option+"\t\t"+value+"\n"
def Prompt(module) :return colors[0]+" +[ktf]("+colors[7]+colors[1]+module+colors[0]+"):"+colors[0]
def ChangeValue(option, value) :print " ↳--------> "+option+" = "+value
def RunModule() :print " "+runing+" The module was launched...\n"+colors[0]+" "+information+" "+time.strftime('%c')+colors[0]

def Loadingfile(filename) :print " "+information+" Loading file ["+filename+"]"+colors[0]
Expand Down
8 changes: 4 additions & 4 deletions core/Information.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
#HEAD#########################################################
#
# Katana Framework | Information File
# Last Modified: 23/12/2016
# Last Modified: 14/03/2017
#
#########################################################HEAD#

__nickname__ = 'Katana'
__nickname__ = 'Katana Framework'
__author__ = 'RedToor'
__emailadd__ = '[email protected]'
__twitter__ = 'https://twitter.com/redtoor'
__facebook__ = 'https://facebook.com/redtoor'
__license__ = 'GPLv3'

version = "1.0.0.1"
date = "21/12/16:25/12/16"
build = "0068"
date = "25/12/16:14/03/17"
build = "0069"
Type = "FREE"
3 changes: 1 addition & 2 deletions core/Update.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ def update(fromCall,force):
return
printk.inf("Downloading Last Version")
subprocess.Popen("git clone https://github.com/PowerScript/KatanaFramework.git /tmp/katana", stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True).wait()
printk.inf("Upgrading.")
subprocess.Popen("cp -R /tmp/katana/* /usr/share/KatanaFramework/ && rm -rf /tmp/katana", stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True).wait()
printk.suff("Katana framework was Updated.\n")
return
return True

except:printk.err("Error, No connneted to Internet or server is down.\n")
1 change: 1 addition & 0 deletions core/sessions/tor
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 1 addition & 1 deletion core/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Katana":{"Description":"Katana Updates information","Author": "Redtoor","Version":"0.3","Update":{"Core":"1.0.0.1","Build":"0068","Date":"25/12/16"}}}
{"Katana":{"Description":"Katana Updates information","Author": "Redtoor","Version":"0.3","Update":{"Core":"1.0.0.1","Build":"0069","Date":"14/03/17"}}}
4 changes: 4 additions & 0 deletions dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,7 @@ cd ..
cd ..
cd lib/bs4/
sudo python setup.py install
cd ..
cd ..
cd lib/future
sudo python setup.py install
12 changes: 5 additions & 7 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@
#HEAD#########################################################
#
# Katana Framework | install
# Last Modified: 25/12/2016
# Last Modified: 14/03/2017
#
#########################################################HEAD#

from core import Information, colors, Update
import os, time, subprocess
from sys import stdout



def Command_exe(msg,cmd):
i = "\033[1mSTATUS"+colors.W+":[Processing]"
stdout.write(" " + msg + " %s" % i)
Expand Down Expand Up @@ -59,13 +57,13 @@ print " INSTALLING"
print Command_exe("["+time.strftime('%H:%M:%S')+"] Pre-installing. ",Preinstall)
print Command_exe("["+time.strftime('%H:%M:%S')+"] Checking dependencies. ",'sudo bash dependencies')
print " ["+time.strftime('%H:%M:%S')+"] Checking Updates."
print " |"
Update.update("installer",False)
print " |"
Update.update("installer",True)
print ""
print Command_exe("["+time.strftime('%H:%M:%S')+"] Creating Folder. ",'mkdir -p /usr/share/KatanaFramework')
print Command_exe("["+time.strftime('%H:%M:%S')+"] Copying files. ",'cp -r * /usr/share/KatanaFramework')
print Command_exe("["+time.strftime('%H:%M:%S')+"] Creating Shortcuts. ",Shortcuts)
print Command_exe("["+time.strftime('%H:%M:%S')+"] Extracting Files. ",Files)
print Command_exe("["+time.strftime('%H:%M:%S')+"] Giving privileges. ",'chmod -R -c 777 /usr/share/KatanaFramework/')

print "\n if all is [OK] Katana was installed, use ktf.console\n"
print "\n If all is [OK] Katana was installed, use ktf.console or ktf.gui (DEMO)"
print " go to https://github.com/PowerScript/KatanaFramework/wiki for more info\n"
Binary file modified lib/dnslib/dist/dnslib-0.9.6-py2.7.egg
Binary file not shown.
25 changes: 25 additions & 0 deletions lib/future/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
language: python

python:
- "3.4"
- "3.3"
- "2.7"
- "2.6"

sudo: false

# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
# These packages only exist on Ubuntu 13.04 and newer:
# No dependencies currently unless using Python 2.6.

install:
- if [[ $TRAVIS_PYTHON_VERSION == 2.6* ]]; then pip install -r requirements_py26.txt --use-mirrors; fi
- python setup.py install

# command to run tests, e.g. python setup.py test

script:
# We might like to get out of the source directory before running tests to
# avoid PYTHONPATH confusion? As an example, see here:
# https://github.com/tornadoweb/tornado/blob/master/.travis.yml
- python setup.py test
19 changes: 19 additions & 0 deletions lib/future/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2013-2016 Python Charmers Pty Ltd, Australia

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
28 changes: 28 additions & 0 deletions lib/future/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
include *.sh
include *.txt
include *.rst
include *.py
include .travis.yml
include pytest.ini
recursive-include docs LICENSE
recursive-include docs README
recursive-include docs *.conf
recursive-include docs *.css_t
recursive-include docs *.html
recursive-include docs *.ico
recursive-include docs *.inc
recursive-include docs *.ipynb
recursive-include docs *.png
recursive-include docs *.py
recursive-include docs *.rst
recursive-include docs *.sh
recursive-include docs *.tiff
recursive-include docs *.txt
recursive-include docs Makefile
recursive-include src *.py
recursive-include src *.pem
recursive-include tests *.au
recursive-include tests *.gif
recursive-include tests *.py
recursive-include tests *.txt

103 changes: 103 additions & 0 deletions lib/future/PKG-INFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
Metadata-Version: 1.1
Name: future
Version: 0.16.0
Summary: Clean single-source support for Python 3 and 2
Home-page: https://python-future.org
Author: Ed Schofield
Author-email: [email protected]
License: MIT
Description:
future: Easy, safe support for Python 2/3 compatibility
=======================================================

``future`` is the missing compatibility layer between Python 2 and Python
3. It allows you to use a single, clean Python 3.x-compatible codebase to
support both Python 2 and Python 3 with minimal overhead.

It is designed to be used as follows::

from __future__ import (absolute_import, division,
print_function, unicode_literals)
from builtins import (
bytes, dict, int, list, object, range, str,
ascii, chr, hex, input, next, oct, open,
pow, round, super,
filter, map, zip)

followed by predominantly standard, idiomatic Python 3 code that then runs
similarly on Python 2.6/2.7 and Python 3.3+.

The imports have no effect on Python 3. On Python 2, they shadow the
corresponding builtins, which normally have different semantics on Python 3
versus 2, to provide their Python 3 semantics.


Standard library reorganization
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

``future`` supports the standard library reorganization (PEP 3108) through the
following Py3 interfaces:

>>> # Top-level packages with Py3 names provided on Py2:
>>> import html.parser
>>> import queue
>>> import tkinter.dialog
>>> import xmlrpc.client
>>> # etc.

>>> # Aliases provided for extensions to existing Py2 module names:
>>> from future.standard_library import install_aliases
>>> install_aliases()

>>> from collections import Counter, OrderedDict # backported to Py2.6
>>> from collections import UserDict, UserList, UserString
>>> import urllib.request
>>> from itertools import filterfalse, zip_longest
>>> from subprocess import getoutput, getstatusoutput


Automatic conversion
--------------------

An included script called `futurize
<http://python-future.org/automatic_conversion.html>`_ aids in converting
code (from either Python 2 or Python 3) to code compatible with both
platforms. It is similar to ``python-modernize`` but goes further in
providing Python 3 compatibility through the use of the backported types
and builtin functions in ``future``.


Documentation
-------------

See: http://python-future.org


Credits
-------

:Author: Ed Schofield
:Sponsor: Python Charmers Pty Ltd, Australia, and Python Charmers Pte
Ltd, Singapore. http://pythoncharmers.com
:Others: See docs/credits.rst or http://python-future.org/credits.html


Licensing
---------
Copyright 2013-2016 Python Charmers Pty Ltd, Australia.
The software is distributed under an MIT licence. See LICENSE.txt.


Keywords: future past python3 migration futurize backport six 2to3 modernize pasteurize 3to2
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: License :: OSI Approved
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Loading

0 comments on commit 12a6153

Please sign in to comment.