Giter Site home page Giter Site logo

kuburan / txtool Goto Github PK

View Code? Open in Web Editor NEW
444.0 47.0 86.0 6.25 MB

an easy pentesting tool.

License: GNU General Public License v2.0

Python 70.03% PHP 29.97%
pentest-tool scan-tool termux pentesting dork scanning scan-ports ics-security scada-exploitation hardware-exploitation

txtool's Introduction

txtool is made to help you for easly pentesting in termux,
build on termux and only available for termux.

Installation steps:

  • require python version 2.x
$ git clone https://github.com/kuburan/txtool.git  
$ cd txtool  
$ apt install python2  
$ ./install.py 
$ txtool

How to contribute ?

if you are interesting with this project, you are welcome to open pull request

  • fork this repository
  • create new branch on your forked repository
  • push your commit to new branch on your forked repository
  • finally open new pull request

Know problem ?

  • for ssh backdoor access, txtool used paramiko python library that required PyNacl if you have an error installing PyNacl, follow my steps:
$ apt-get install --assume-yes libsodium libsodium-dev
$ SODIUM_INSTALL=system pip2 install pynacl

or you have another error, please submit a new issue.

Screenshot

Screenshot
Screenshot
Screenshot

Contact

[email protected]

txtool's People

Contributors

kuburan avatar panthomjames avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

txtool's Issues

"pynacl" solve this issue

SODIUM_INSTALL=system pip2 install pynacl
Collecting pynacl
Using cached https://files.pythonhosted.org/packages/08/19/cf56e60efd122fa6d2228118a9b345455b13ffe16a14be81d025b03b261f/PyNaCl-1.2.1.tar.gz
Complete output from command python setup.py egg_info:
c/_cffi_backend.c:2:10: fatal error: 'Python.h' file not found
#include <Python.h>
^~~~~~~~~~
1 error generated.
Traceback (most recent call last):
File "", line 1, in
File "/data/data/com.termux/files/usr/tmp/pip-build-_UxQNQ/pynacl/setup.py", line 251, in
"Programming Language :: Python :: 3.6",
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/setuptools/init.py", line 128, in setup
_install_setup_requires(attrs)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/setuptools/init.py", line 123, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/setuptools/dist.py", line 513, in fetch_build_eggs
replace_conflicting=True,
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 774, in resolve
replace_conflicting=replace_conflicting
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 1057, in best_match
return self.obtain(req, installer)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 1069, in obtain
return installer(requirement)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/setuptools/dist.py", line 580, in fetch_build_egg
return cmd.easy_install(req)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 673, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 699, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 884, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1152, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1140, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command 'arm-linux-androideabi-clang' failed with exit status 1

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /data/data/com.termux/files/usr/tmp/pip-build-_UxQNQ/pynacl/

Installation Error

bash: ./install.py: /data/data/com.termux/files/usr/bin/python2: bad interpreter: No such file or directory

Update Readme and instructions

$ apt-get install --assume-yes libsodium libsodium-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libsodium-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libsodium

E: Package 'libsodium-dev' has no installation candidate

update error

if your facing problem error while updating , because i'am changed update script.
remove update script. follow my steps:

$ cd ~/txtool
$ rm -f update.py
$ wget https://raw.githubusercontent.com/kuburan/txtool/master/update.py
$ ./update.py

How to install pip?

$ SODIUM_INSTALL=system pip2 install pynacl No command pip2 found, did you mean:
Command pico in package alpine
Command bzip2 in package bzip2
Command vipe in package moreutils
Command pick in package nmh from the unstable-repo repository
Command par2 in package par2
Command php in package php
Command pick in package pick
Command pigz in package pigz
Command pup in package pup
Command spipe in package spiped
Command ip in package termux-tools
Command zip in package zip
$ set
ANDROID_DATA=/data
ANDROID_ROOT=/system
BASH=/data/data/com.termux/files/usr/bin/bash
BASHOPTS=checkwinsize:cmdhist:complete_fullquote:expand_aliases:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:login_shell:progcomp:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=([0]="0")
BASH_ARGV=()
BASH_CMDS=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="5" [1]="0" [2]="17" [3]="1" [4]="release" [5]="arm-unknown-linux-androideabi")
BASH_VERSION='5.0.17(1)-release'
BOOTCLASSPATH=/system/framework/qcom.fmradio.jar:/system/framework/QPerformance.jar:/system/framework/UxPerformance.jar:/system/framework/tcmiface.jar:/system/framework/telephony-ext.jar:/system/framework/core-oj.jar:/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/bouncycastle.jar:/system/framework/apache-xml.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/android.hidl.base-V1.0-java.jar:/system/framework/android.hidl.manager-V1.0-java.jar:/system/framework/framework-oahl-backward-compatibility.jar:/system/framework/android.test.base.jar
COLUMNS=48
DIRSTACK=()
EUID=10175
EXTERNAL_STORAGE=/sdcard
GROUPS=()
HISTFILE=/data/data/com.termux/files/home/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/data/data/com.termux/files/home
HOSTNAME=localhost
HOSTTYPE=arm
IFS=$' \t\n'
LANG=en_US.UTF-8
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
LINES=23
MACHTYPE=arm-unknown-linux-androideabi
MAILCHECK=60
OPTERR=1
OPTIND=1
OSTYPE=linux-androideabi
PATH=/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/bin/applets
PIPESTATUS=([0]="127")
PPID=20896
PREFIX=/data/data/com.termux/files/usr
PS1='$ '
PS2='> '
PS4='+ '
PWD=/data/data/com.termux/files/home
SHELL=/data/data/com.termux/files/usr/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
TERM=xterm-256color
TMPDIR=/data/data/com.termux/files/usr/tmp
UID=10175
_=pynacl
command_not_found_handle ()
{
/data/data/com.termux/files/usr/libexec/termux/command-not-found "$1"
}
gawklibpath_append ()
{
[ -z "$AWKLIBPATH" ] && AWKLIBPATH=gawk 'BEGIN {print ENVIRON["AWKLIBPATH"]}';
export AWKLIBPATH="$AWKLIBPATH:$"
}
gawklibpath_default ()
{
unset AWKLIBPATH;
export AWKLIBPATH=gawk 'BEGIN {print ENVIRON["AWKLIBPATH"]}'
}
gawklibpath_prepend ()
{
[ -z "$AWKLIBPATH" ] && AWKLIBPATH=gawk 'BEGIN {print ENVIRON["AWKLIBPATH"]}';
export AWKLIBPATH="$
:$AWKLIBPATH"
}
gawkpath_append ()
{
[ -z "$AWKPATH" ] && AWKPATH=gawk 'BEGIN {print ENVIRON["AWKPATH"]}';
export AWKPATH="$AWKPATH:$"
}
gawkpath_default ()
{
unset AWKPATH;
export AWKPATH=gawk 'BEGIN {print ENVIRON["AWKPATH"]}'
}
gawkpath_prepend ()
{
[ -z "$AWKPATH" ] && AWKPATH=gawk 'BEGIN {print ENVIRON["AWKPATH"]}';
export AWKPATH="$
:$AWKPATH"
}

vs

$ SODIUM_INSTALL='system pip2 install pynacl'
$ set
ANDROID_DATA=/data
ANDROID_ROOT=/system
BASH=/data/data/com.termux/files/usr/bin/bash
BASHOPTS=checkwinsize:cmdhist:complete_fullquote:expand_aliases:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:login_shell:progcomp:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=([0]="0")
BASH_ARGV=()
BASH_CMDS=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="5" [1]="0" [2]="17" [3]="1" [4]="release" [5]="arm-unknown-linux-androideabi")
BASH_VERSION='5.0.17(1)-release'
BOOTCLASSPATH=/system/framework/qcom.fmradio.jar:/system/framework/QPerformance.jar:/system/framework/UxPerformance.jar:/system/framework/tcmiface.jar:/system/framework/telephony-ext.jar:/system/framework/core-oj.jar:/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/bouncycastle.jar:/system/framework/apache-xml.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/android.hidl.base-V1.0-java.jar:/system/framework/android.hidl.manager-V1.0-java.jar:/system/framework/framework-oahl-backward-compatibility.jar:/system/framework/android.test.base.jar
COLUMNS=48
DIRSTACK=()
EUID=10175
EXTERNAL_STORAGE=/sdcard
GROUPS=()
HISTFILE=/data/data/com.termux/files/home/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/data/data/com.termux/files/home
HOSTNAME=localhost
HOSTTYPE=arm
IFS=$' \t\n'
LANG=en_US.UTF-8
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
LINES=23
MACHTYPE=arm-unknown-linux-androideabi
MAILCHECK=60
OPTERR=1
OPTIND=1
OSTYPE=linux-androideabi
PATH=/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/bin/applets
PIPESTATUS=([0]="0")
PPID=20896
PREFIX=/data/data/com.termux/files/usr
PS1='$ '
PS2='> '
PS4='+ '
PWD=/data/data/com.termux/files/home
SHELL=/data/data/com.termux/files/usr/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
SODIUM_INSTALL='system pip2 install pynacl'
TERM=xterm-256color
TMPDIR=/data/data/com.termux/files/usr/tmp
UID=10175

Pynacl

SODIUM_INSTALL=system pip2 install pynacl
Collecting pynacl
Using cached https://files.pythonhosted.org/packages/08/19/cf56e60efd122fa6d2228118a9b345455b13ffe16a14be81d025b03b261f/PyNaCl-1.2.1.tar.gz
Complete output from command python setup.py egg_info:
c/_cffi_backend.c:2:10: fatal error: 'Python.h' file not found
#include <Python.h>
^~~~~~~~~~
1 error generated.
Traceback (most recent call last):
File "", line 1, in
File "/data/data/com.termux/files/usr/tmp/pip-build-w9V8ab/pynacl/setup.py", line 251, in
"Programming Language :: Python :: 3.6",
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/setuptools/init.py", line 128, in setup
_install_setup_requires(attrs)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/setuptools/init.py", line 123, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/setuptools/dist.py", line 513, in fetch_build_eggs
replace_conflicting=True,
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 774, in resolve
replace_conflicting=replace_conflicting
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 1057, in best_match
return self.obtain(req, installer)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 1069, in obtain
return installer(requirement)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/setuptools/dist.py", line 580, in fetch_build_egg
return cmd.easy_install(req)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 673, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 699, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 884, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1152, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1140, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command 'arm-linux-androideabi-clang' failed with exit status 1

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /data/data/com.termux/files/usr/tmp/pip-build-w9V8ab/pynacl/****

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.