Giter VIP home page Giter VIP logo

Comments (17)

digitalsleuth avatar digitalsleuth commented on September 11, 2024

Hi @mischuwe , I'll take a look at it and see what can be done!

from salt-states.

mischuwe avatar mischuwe commented on September 11, 2024

Dear @digitalsleuth, that would be grate, thank you.

from salt-states.

digitalsleuth avatar digitalsleuth commented on September 11, 2024

Hi @mischuwe , this will be a bit of a bigger issue to resolve, as peepdf is currently written for Python 2, and PyV8 no longer supports Python 2. However, I am working on a Python 3 version of peepdf which will utilize STPyV8 in its place.

That will take a little time, so for the time being, we won't necessarily be able to resolve this issue with peepdf right away.

from salt-states.

mischuwe avatar mischuwe commented on September 11, 2024

from salt-states.

digitalsleuth avatar digitalsleuth commented on September 11, 2024

Hi @mischuwe , sorry for the delay on getting back to you with this. I've just recently finished re-building peepdf on Python 3 and will be submitting a PR shortly to include this.

Cheers!

from salt-states.

mischuwe avatar mischuwe commented on September 11, 2024

Hello @digitalsleuth, great news, thank you very much. Im really looking forward to use it :)

from salt-states.

digitalsleuth avatar digitalsleuth commented on September 11, 2024

@mischuwe peepdf is now available on REMnux. You can either install the package separately, or run the upgrade option with the installer. Since there has been a recent update to the version of SaltStack which we are using, I would recommend downloading the newest CLI first here, then running the upgrade command.

Cheers!

from salt-states.

mischuwe avatar mischuwe commented on September 11, 2024

@digitalsleuth You are great…

from salt-states.

digitalsleuth avatar digitalsleuth commented on September 11, 2024

Cheers, and thanks!

from salt-states.

geeksailor avatar geeksailor commented on September 11, 2024

@digitalsleuth to follow up on this, FireEye made a fork off of the old pyv8 that they are maintaining called STPyV8 over at https://github.com/cloudflare/stpyv8. I just did the install and it worked after a few missteps. FYI cloning the git and trying to do a build does not work. You need to pull the Releases mentioned under Installing section of the README and follow those steps to get it to actually install. And you also have to make sure to pull a release related to the version of Python3 you are running. I also made the mistake of pulling the most current update which didn't work then I realized that it was for Python3.9 and I have 3.8 running.
Initial test run of peepdf does not recognize Pyv8 even though some of the peepdf scripts do have

import STPyv8 as PyV8

built into them. But I also installed STPyV8 using my local user account and not as sudo. So not sure if that may affect it being able to work with peepdf.
Just something for you to mess with if you have some time to tweak the peepdf fork you maintain. Maybe see if you can integrate it as a permanent thing if you like.
Cheers!

from salt-states.

digitalsleuth avatar digitalsleuth commented on September 11, 2024

Hi @geeksailor , yes I am using STPyV8 in peepdf-3 already as you've seen, and it installs in REMnux as part of the peepdf-3 install.

If you're having an issue with peepdf-3 recognizing STPyV8 over an existing PyV8 installation, let me know on the Issues page of peepdf-3 and I'll be happy to take a look!

Cheers, and thanks for following up on this!

from salt-states.

geeksailor avatar geeksailor commented on September 11, 2024

@digitalsleuth I did notice for the Remnux install the salt sources STPyV8 from https://github.com/area1/stpyv8/releases/download/ for STPyv8 which then forwards to the CloudFlare git page. But when I checked that page, it does not exist. The link to source its updates may need to be updated.

from salt-states.

geeksailor avatar geeksailor commented on September 11, 2024

@digitalsleuth Sounds good. Let me do some poking around really quick to make sure it isn't something on my end and then I'll drop a ticket on it.

from salt-states.

digitalsleuth avatar digitalsleuth commented on September 11, 2024

@digitalsleuth I did notice for the Remnux install the salt sources STPyV8 from https://github.com/area1/stpyv8/releases/download/ for STPyv8 which then forwards to the CloudFlare git page. But when I checked that page, it does not exist. The link to source its updates may need to be updated.

@geeksailor The actual reference in the state is:
https://github.com/area1/stpyv8/releases/download/{{ version }}/{{ release }}
Where {{ version }} translates from the Jinja variable version as "v10.1.124.12" and {{ release }} translates from the Jinja variable release which is dependent on the Ubuntu version running the state. For focal, release is "stpyv8-ubuntu-20.04-python-3.8.zip".

So the actual URL is:
https://github.com/area1/stpyv8/releases/download/v10.1.124.12/stpyv8-ubuntu-20.04-python-3.8.zip

Since the URL is still redirecting from its original source (github.com/area1/stpyv8) to the cloudflare version, it hasn't required updating the URL, however since it is a bit misleading, I'll update it shortly.

Cheers!

from salt-states.

geeksailor avatar geeksailor commented on September 11, 2024

@digitalsleuth Oh OK. Just as long it is working, either way works. I just wanted to just make sure that the source hadn't dried up on the project and it was trying to pull updates from a bad source.

from salt-states.

digitalsleuth avatar digitalsleuth commented on September 11, 2024

@geeksailor Just as an FYI, I've submitted #263 to address the latest version and source URL.

from salt-states.

geeksailor avatar geeksailor commented on September 11, 2024

@digitalsleuth Thanks mate!
Cheers!

from salt-states.

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.