pi@raspberrypi:~ $ python3 -m compileall DigilineSystem-master
Listing 'DigilineSystem-master'...
Compiling 'DigilineSystem-master/mediaplayer/mediaplayer/mediaplayer.py'...
Compiling 'DigilineSystem-master/mediaplayer/mediaplayer/test.py'...
Compiling 'DigilineSystem-master/player-ori.py'...
Compiling 'DigilineSystem-master/pytqtgraphLive.py'...
Compiling 'DigilineSystem-master/qt-stop-watch.py'...
Compiling 'DigilineSystem-master/realtimepyqtgraph.py'...
Compiling 'DigilineSystem-master/serialDataTXRX (copy 1).py'...
Compiling 'DigilineSystem-master/serialDa
create a python code like that
Â
nepyx.py
def test(x):
print(str(x))
To work with cython rename this nepyx.py file to nepyx.pyx extension file.
Now to compile to this .pyx file to c code create an setup.py file like this
setup.py
from setuptools import setup
from Cython.Build import cythonize
setup(
ext_modules=cythonize('nepyx.pyx'),
)
Â
rnjn@kali:~$ sudo ssh pi@192.168.1.5
[sudo] password for rnjn:
ssh: connect to host 192.168.1.5 port 22: Connection refused
rnjn@kali:~$ sudo ssh pi@192.168.1.5
ssh: connect to host 192.168.1.5 port 22: Connection refused
rnjn@kali:~$ sudo ssh pi@192.168.1.5
ssh: connect to host 192.168.1.5 port 22: Connection refused
rnjn@kali:~$ sudo ssh pi@192.168.1.5
ssh: connect to host 192.168.1.5 port 22: Connection refused
rnjn@kali:~$ sudo ssh pi@192.168.1.5
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
pi@raspberrypi:~ $ sudo python3 setup.py install --record files.txt
running install
running bdist_egg
running egg_info
writing realpython_reader.egg-info/PKG-INFO
writing dependency_links to realpython_reader.egg-info/dependency_links.txt
writing entry points to realpython_reader.egg-info/entry_points.txt
writing top-level names to realpython_reader.egg-info/top_level.txt
reading manifest file 'realpython_reader.egg-info/SOURCES.txt'
writing manifest file 'realpython_reader.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv7l/egg
running install_lib
creating bu
pi@raspberrypi:~ $ sudo apt update
Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.8 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [351 kB]
Get:5 http://raspbian.raspberrypi.org/raspbian buster/contrib armhf Packages [58.7 kB]
Get:6 http://raspbian.raspberrypi.org/raspbian buster/non-free armhf Packages [104 kB]
Fetched 13.6 MB in 11s (1,262 kB/s)
 To uninstall xamp xerver from kali linxux
rnjn@rnjn:~$ sudo /opt/lampp/uninstall
rnjn@rnjn:~$ cd /opt/lampp/
rnjn@rnjn:/opt/lampp$ ls
htdocs temp var
rnjn@rnjn:/opt/lampp$ cd htdocs/
rnjn@rnjn:/opt/lampp/htdocs$ ls
favideophp favidhtml xcosite xcosmos YoutubeDownloader ytubedownloader
rnjn@rnjn:/opt/lampp/htdocs$ cd ..
rnjn@rnjn:/opt/lampp$ cd ..
Remove remaining lampp directory
rnjn@rnjn:/opt$ sudo rm -r lampp/
rnjn@rnjn:/opt$
Â
rnjn@rnjn:~/software/APK TOOL APK DECOMPILE$ apktool d -f -r WhatsApp.apk
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
I: Using Apktool 2.4.1-dirty on WhatsApp.apk
I: Copying raw resources...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
rnjn@rnjn:~/software/APK TOOL APK DECOMPILE$ apktool b WhatsApp
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
I: Using Apktool 2.4.1-dirty
I: Checking whether sources has changed...
I: Smali
 Â
Download pycharm community version(open source, fully python supported) and extract using this command
rnjn@kali:~/Software$ tar -xvf pycharm-community-2020.2.2.tar.gz
After extraction complete attend bin directory of extracted folder and open terminal and run the subsequent command
 Thread Example: 1
 Â
As the suggested solution did not work for me, I eventually found that additional command is needed to start SSH on boot:
Some mentioned that this command:
should be executed instead of this command:
If found connection refused issue
rnjn@kali:~$ sudo ssh pi@192.168.1.21
ssh: connect to host 192.168.1.21 port 22: Connection refused