Git Product home page Git Product logo

Comments (3)

Joungkyun avatar Joungkyun commented on August 11, 2024

I'm sorry .. I do not understand what the situation explains.

from mod_screwim.

Joungkyun avatar Joungkyun commented on August 11, 2024

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.

Joungkyun avatar Joungkyun commented on August 11, 2024

There is no problem providing binary that does not support decoding. However, what you want is probably as follows.

  1. It must be encrypted without any command line arguments. (Because of .bash_history)
  2. 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)

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.