Giter Site home page Giter Site logo

Comments (10)

miguelob avatar miguelob commented on May 20, 2024 1

@federico22285 @charliehernandez97 I'll work on fixing the issues for a week and ill come back to you when it is solved. Thanks for letting me know these bugs.

from ics-hacking.

charliehernandez97 avatar charliehernandez97 commented on May 20, 2024

I am also having this issue. There are multiple variables that are undefined in the repository. I downloaded the latest repository (version 1.0) and it had the same issues. In Discovery.py and FlashLED.py, Ether(raw_pkt) is also undefined. Attached are the errors that are showing up on VSCode
Edit: I made sure to install all the requirements, but still no luck
undefined variables

from ics-hacking.

charliehernandez97 avatar charliehernandez97 commented on May 20, 2024

@federico22285 @charliehernandez97 I'll work on fixing the issues for a week and ill come back to you when it is solved. Thanks for letting me know these bugs.

Thank you Miguel! Really appreciate all the work you are doing. You rock

from ics-hacking.

miguelob avatar miguelob commented on May 20, 2024

Hello there,

It seems that it is not working for me, what python version you have installed for this to work?, which versions of each package? :-)

  File "/Users/federico/Downloads/ICS-Hacking-main/SCADA/SCADA_LAB.py", line 6, in <module>
    class GUI(plc, client):
NameError: name 'plc' is not defined

@federico22285 Check this last commit. I have only fixed this file. I do not have the equipment to try it, so let me know if everything is working now and I'll apply the fix to the package. In the code you must need to change some IP addresses and PLCs address blocks that you try to access, as well as the ModBus master address.

About the packages, all are listed on read.me and you can find the requirements.txt on the package folder (with the versions already in it), so you just have to pip3 install -r requirements.txt.

from ics-hacking.

miguelob avatar miguelob commented on May 20, 2024

I am also having this issue. There are multiple variables that are undefined in the repository. I downloaded the latest repository (version 1.0) and it had the same issues. In Discovery.py and FlashLED.py, Ether(raw_pkt) is also undefined. Attached are the errors that are showing up on VSCode
Edit: I made sure to install all the requirements, but still no luck
undefined variables

@charliehernandez97 I have moved your issue to another issues page. Check it out with the new version that I have upload. Link to the issue page

from ics-hacking.

miguelob avatar miguelob commented on May 20, 2024

@federico22285 I'm still working on the fix. It will take more time than expected, but I'll have it asap.

from ics-hacking.

federico22285 avatar federico22285 commented on May 20, 2024

@miguelob Thanks for the feedback Miguel, would be great to see this project working. Just wondering how you have make it work initially, was it python 2.7 (?) was it specific versions of the required packages(?) i.e installing version 1.2.3 from package XYZ.

Anyway would be great to see this project working and please let me know if there is anything I can do to help you out :)

from ics-hacking.

miguelob avatar miguelob commented on May 20, 2024

@federico22285 this project was initially private and I used it as a research for my final degree project. So all python classes and the modules just worked with real life PLCs and with my personal IPs. So now that the project is open to everyone and that I'm integrating everything in just one executable, many things should be changed, so I'm in that state of the development.

from ics-hacking.

miguelob avatar miguelob commented on May 20, 2024

Hi @federico22285 a new commit was released. Try and check it out and see if it fix the issue. A new release package is not launched so you might get the new version from the packet folder in the repo.

from ics-hacking.

miguelob avatar miguelob commented on May 20, 2024

Ill close this issue as now its duplicated with an older one regarding the same bug. Any news on the topic, feel free to create a new issue or use the existing one for this bug.

Have a nice day 😃.

from ics-hacking.

Related Issues (7)

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.