karma9874 / AndroRAT

A Simple android remote administration tool using sockets. It uses java on the client side and python on the server side
MIT License
3.17k stars 1.01k forks source link

Cant run on termux #113

Closed Sabbir589 closed 11 months ago

Sabbir589 commented 2 years ago

I cant run it on my termux Traceback (most recent call last): File "/data/data/com.termux/files/home/AndroRAT/androRAT.py", line 52, in build(args.ip,port_,args.output,False,None,icon) File "/data/data/com.termux/files/home/AndroRAT/utils.py", line 370, in build version_no = re.search(pattern, java_version.stderr).groups()[0] AttributeError: 'NoneType' object has no attribute 'groups'

G4lixou commented 2 years ago

Same error

TarunChakitha commented 2 years ago

I cant run it on my termux Traceback (most recent call last): File "/data/data/com.termux/files/home/AndroRAT/androRAT.py", line 52, in build(args.ip,port_,args.output,False,None,icon) File "/data/data/com.termux/files/home/AndroRAT/utils.py", line 370, in build version_no = re.search(pattern, java_version.stderr).groups()[0] AttributeError: 'NoneType' object has no attribute 'groups'

Install Java SE 8 on your machine (and set the environment variables if using windows)

version_no = re.search(pattern, java_version.stderr).groups()[0] The above line searches for java version number installed on your machine.

abekuchbhi commented 2 years ago

Traceback (most recent call last): File "/data/data/com.termux/files/home/AndroRAT/androRAT.py", line 52, in build(args.ip,port_,args.output,False,None,icon) File "/data/data/com.termux/files/home/AndroRAT/utils.py", line 370, in build version_no = re.search(pattern, java_version.stderr).groups()[0] AttributeError: 'NoneType' object has no attribute 'groups' $

TarunChakitha commented 2 years ago

An how to install Java se8 in termux??

I haven't tested it completely but...

  1. Installed java 8 from here - Termux-Java
  2. Had an error Bad system call on running java -version so I followed this comment to fix it

Used it with python3.10 and it successfully built and signed the apk.

abekuchbhi commented 2 years ago

From where u installed???

TarunChakitha commented 2 years ago

From where u installed???

From here https://github.com/MasterDevX/Termux-Java

github-actions[bot] commented 11 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 11 months ago

This issue was closed because it has been inactive for 7 days since being marked as stale.