Comments (3)
I'm sorry .. I do not understand what the situation explains.
from mod_screwim.
do you want the option --decode
to disappear?
[root@host tools]$ /usr/bin/screwim -h
screwim 1.0.5 : encode or decode php file
Usage: screwim [OPTION] PHP_FILE
-c VAL, --convert=VAL convert key byte to digits
-d, --decode decrypt encrypted php script --------------> do you want to remove?
-h, --help this help messages
-H VAL, --hlen=VAL length of magic key(SCREWIM_LEN or PM9SCREW_LEN). use with -d mode
-k VAL, --key=VAL key bytes. use with -d mode
-v, --view print head length and key byte of this file
from mod_screwim.
There is no problem providing binary that does not support decoding. However, what you want is probably as follows.
- It must be encrypted without any command line arguments. (Because of
.bash_history
) - When decrypting, a key string must be received. But don't leave it in the
.bash_history
.
The first issue is originally supported, so there is no problem.
However, the second issue is ambiguous.
screwim cannot control leaving an execution history in the .bash_history. It depends on the user's behavior as command export HISTFLIE=/dev/null
.
Therefore, the problem of decoding by giving a key string as an option is still dangerous.
Finally, the condition you want seems to mean that you will not leave the original file.
This is a very dangerous idea.
Decryption is an additional function, not a function that supports recovery if there is no original. For stronger security, it is recommended to back up the original file in a separate location rather than attempting decryption.
Therefore, if run ./configure
with the --disable-decode
option, you will get the screwim
command without decryption.
from mod_screwim.
Related Issues (20)
- add -Wall compiler option
- php7.4.5 complie error HOT 2
- missing config.w32 HOT 3
- Do you also support php8.0? HOT 5
- screwim_decrypt integer overflow
- arginfo casting type support
- version update to 1.0.4
- screwim_seed () works even without --enable-screwim-decrypt
- version update to 1.0.5
- phar package encryption error cannot be executed
- universal cli tool HOT 1
- screwim_encryp returns wrong data on PHP 8.1
- add screwim.enable ini option
- improve performance fixing duplicate file open
- 컴파일중 오류가 발생 하였습니다. HOT 1
- segmentation fault (core dumped)? HOT 1
- 복호를 원천적으로 할 수 없게 하는 방법 HOT 3
- 암호화 파일 확장자가 php 인 경우 오류 HOT 2
- version update to 1.0.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mod_screwim.