Coder Social home page Coder Social logo

ip-rw / easy4us Goto Github PK

View Code? Open in Web Editor NEW
38.0 2.0 32.0 37 KB

quickly and easily decrypt ioncube encoded PHP scripts. works using easytoyou.eu and handles large directories automatically. essential for working with larger codebases.

Python 100.00%
ioncube decode deioncube batch decrypt upload easytoyou

easy4us's Introduction

NOTICE

Until somebody can get in touch with the authors of easytoyou.eu and we can get some idea of whether they dislike this sort of automation then I think it's fair to say you run this at your own risk. Please read this issue and ideally add a little concrete information if you're so inclined... #6

Hi,

unfortunately we had to put an end to this situation, to stop spam ours services.
now decoding is possible only through the website upload form.

I know how hard it was to create your script, and as a recompense I'll give you 90 days of membership free for your account "step"

please delete https://github.com/ip-rw/easy4us this crypt has been hell for our service every day lag delay for our clients.

I offered a new server but they have just upgraded apparently. I had a quick look and now they only allow 1 file to be uploaded at a time. It would appear if you have larger jobs then your best bet is to contact them directly. Which is a shame because there's some good PHP software out there IonCubed :)

This wont work anymore. You could easily modify things to send one file at a time but you'd just get blocked for flooding. Contact them directly for larger jobs. I'm going to archive this.

easy4us

easytoyou.eu are a brilliant service that allows unlimited ionCube decoding for a very reasonable monthly fee. it has no way to upload a directory, so to decode a large webapp is a slow, manual process.

this script should take care of this process for you. the usage should be clear enough.

this is held together with sticky tape and hope, don't be surprised if it fails on big jobs. you should be able to rerun and pick up where you left off. if you'd prefer to copy the original ioncubed files in place of failures so the webapp should still run then I think the changes are in there and commented/pretty easy to do.

Setup: Git clone repo to local folder.

Change into that folder and install the pip requirements

git clone https://github.com/ip-rw/easy4us
cd easy4us
pip install -r requirements.txt

Then follow as outlined below to use the command line.

usage: easy4us
decode directories with easytoyou.eu

  -h, --help            show this help message and exit
  -u USERNAME, --username USERNAME
                        easytoyou.eu username
  -p PASSWORD, --password PASSWORD
                        easytoyou.eu password
  -s SOURCE, --source SOURCE
                        source directory
  -o DESTINATION, --destination DESTINATION
                        destination directory
  -d DECODER, --decoder DECODER
                        decoder (default: ic11php72)
  -w, --overwrite       overwrite

For example:

python main.py -u USERNAME -p PASSWORD -s SOURCEDIR -o DESTDIR -w 

Check the site make sure you're using the correct decoder - I don't know how often they update these so any issues with the default check it first.

easy4us's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

easy4us's Issues

UnicodeDecodeError: 'utf-8' codec can't decode byte

Hello,

When I run the script it gives

UnicodeDecodeError: 'utf-8' codec can't decode byte

error.

python main.py -u **** -p ****** -s encoded -o decoded


descended into encoded
uploading 3 files...Traceback (most recent call last):
  File "main.py", line 188, in <module>
    process_files(session, dir, dest, f)
  File "main.py", line 130, in process_files
    res = upload(session, dir, phpfiles)
  File "main.py", line 96, in upload
    files=upload)
  File "/root/myproject/env/lib/python3.6/site-packages/requests/sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/root/myproject/env/lib/python3.6/site-packages/requests/sessions.py", line 528, in request
    prep = self.prepare_request(req)
  File "/root/myproject/env/lib/python3.6/site-packages/requests/sessions.py", line 466, in prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "/root/myproject/env/lib/python3.6/site-packages/requests/models.py", line 319, in prepare
    self.prepare_body(data, files, json)
  File "/root/myproject/env/lib/python3.6/site-packages/requests/models.py", line 507, in prepare_body
    (body, content_type) = self._encode_files(files, data)
  File "/root/myproject/env/lib/python3.6/site-packages/requests/models.py", line 159, in _encode_files
    fdata = fp.read()
  File "/usr/lib/python3.6/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbf in position 1709: invalid start byte

Problem when run script

clearing pageTraceback (most recent call last):
File "/home/slaserx/lab/easy4us/main.py", line 159, in
clear(session)
File "/home/slaserx/lab/easy4us/main.py", line 61, in clear
final += "%s&" % urllib.parse.urlencode({i["name"]: i["value"]})
File "/usr/lib/python3/dist-packages/bs4/element.py", line 1486, in getitem
return self.attrs[key]
KeyError: 'value'

Couldn't find a tree builder with the features you requested: lxml

I'm trying to decode files encoded as IC10.2 PHP 7.2. When I first ran the script I got the following error:

Traceback (most recent call last):
  File "/var/www/webroot/easy4us/main.py", line 8, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'

Then I saw from another issue on here that running "pip install bs4 requests" might help so I did that. But now I get this error.

clearing pageTraceback (most recent call last):
  File "/var/www/webroot/easy4us/main.py", line 159, in <module>
    clear(session)
  File "/var/www/webroot/easy4us/main.py", line 54, in clear
    s = bs4.BeautifulSoup(res.content, features="lxml")
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/jelastic-python311/lib/python3.11/site-packages/bs4/__init__.py", line 248, in __init__
    raise FeatureNotFound(
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?

Am I missing something else? Thanks!

Error

Its not working..
No module found error popping up

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.