Hi to everyone, I'm new to the forum, but use openpli and I thought about writing here
i'm trying to make a plugin, just i would like to compile it in .so to protect the source code,
can someone help me?
Posted 10 October 2017 - 13:42
You can't compile python into a binary. You need to write your plugin in C++ with a python loader so it integrates into Enigma.
If however you want this to obscure your intentions, then don't bother, a binary file can be disected too.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Posted 10 October 2017 - 14:33
You can't compile python into a binary. You need to write your plugin in C++ with a python loader so it integrates into Enigma.
If however you want this to obscure your intentions, then don't bother, a binary file can be disected too.
hello, thank you for the answer,
I proceed this way, convert from python to C with cython
"cython -a file.py " in this way I get the file so file.c
now
Posted 10 October 2017 - 17:10
Hi to everyone, I'm new to the forum, but use openpli and I thought about writing here
i'm trying to make a plugin, just i would like to compile it in .so to protect the source code,
can someone help me?
Posted 10 October 2017 - 18:36
Security through obscurity is no security at all.
However, library written in the C sometimes is needed because of performance.
For example here:
https://github.com/s...r/iptvsubparser
is module written by me to speed up parsing external subtitles.
There is simple make.sh written in bash which call cross compiler directly .
I think it is easy to understand and learn how it is working from A to Z.
Regards,
SSS
Posted 10 October 2017 - 18:45
Obfuscating is futile anyway. Don't bother.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 10 October 2017 - 19:44
I guess you didn't read the thread mfaraj57 linked..
Security through obscurity is no security at all.
However, library written in the C sometimes is needed because of performance.
For example here:
https://github.com/s...r/iptvsubparser
is module written by me to speed up parsing external subtitles.
There is simple make.sh written in bash which call cross compiler directly .
I think it is easy to understand and learn how it is working from A to Z.
Regards,
SSS
thanks for the reply, I was reading your answer now
Posted 11 October 2017 - 10:20
You can strace it, you can decompile it, you can even step through it at machine code level if you really want to.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Posted 11 October 2017 - 10:37
Define anyone? My dad, no probably not. Anyone who has a vested interest in finding out what you are up to, yes, probably. Or they find someone who can.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Posted 11 October 2017 - 16:12
We get this request quite often and also often is turns out that a username and password for an illegal subscriber service need to be hidden. This is a practice we're not quite fond of, for various reasons. So to get any support, you'd better have at least a good reason to do so.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 11 October 2017 - 21:00
Posted 11 October 2017 - 21:34
if your objective is 'learning' then why take the detour via an engima2 box?
Why not just develop an .so for your developper machine (assuming you use a linux machine) and play around with that.
And when you have questions about how to decompile, obfuscate code, hide code you're better of on programming forums.
Here we work on improving the user experience for satellite receivers with open source in mind. So everyone here should not be eager to invest time in creating binary only stuff.
0 members, 9 guests, 0 anonymous users