Git Product home page Git Product logo

Comments (3)

JusticeRage avatar JusticeRage commented on June 12, 2024 1

Hi! It's been a long time since I've worked on this project, but I vaguely remember this being an issue on occasion.
Basically, something challenging is detecting when a command has finished printing output. When using a PTY, there is usually a prompt (i.e., root@kali #>) which can be used as a delimiter. FFM tries to detect such a string with a regular expression that mostly worked back then, but not so much now that prompts have those weird characters ("┌──") in them.

When FFM cannot detect the presence of a prompt, it falls back to an alternate solution, which is printing a random string before and after the command. This string then acts as a delimiter which is used to figure out when the command's output ends.

This is where my memory is a bit fuzzy. I do recall that using the echo -n fallback where it is not needed causes it to become visible. In your examples, I also see that the commands generated by the framework (like cat /etc/*release*) are also printed back in the terminal, which shouldn't be the case. This could be either linked to your specific terminal's settings, or it could be another bug in FFM...

I hope this helps!

from ffm.

JusticeRage avatar JusticeRage commented on June 12, 2024 1

Not in the near future at least, maybe not ever. Since I now work on defense full-time, I don't have any occasion to play with the framework and use it in real-life. If that were to change, then I would surely start adding features again, but this is just not planned at the moment.
I'll still happily merge any contributions from the community and fix critical bugs though!

from ffm.

ice-wzl avatar ice-wzl commented on June 12, 2024

Thanks a lot for your explanation. I was able to deduce some of the potential issue but certainly not that fuller picture. Do you plan on ever returning to this project in the near-ish future? If so I would be happy to assist and begin looking into this open issue / other future development. Cheers.

from ffm.

Related Issues (12)

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.