Comments (3)
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.
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.
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)
- Upload freeze HOT 7
- Better way to pop a TTY HOT 1
- SSH automatically adding "-T" not firing/working. HOT 1
- Feature Request: Client Side Logging HOT 2
- Bug: False Positive/missing check on "username not specified" SSH protection
- Feature Request: Block SSH from sending a default SSH key HOT 1
- Feature Request: !sh / local shell script in-memory on remote HOT 1
- More opsec stuff... HOT 1
- hi,is the function performe normal? HOT 1
- TypeError: Can't instantiate abstract class RunShScript with abstract method _get_output_cleaner HOT 1
- Terminal hangs after !elf or !elf3 module is run successfully HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffm.