php-malware-analysis
phanalist
php-malware-analysis | phanalist | |
---|---|---|
3 | 5 | |
123 | 108 | |
- | - | |
0.0 | 9.3 | |
almost 3 years ago | 13 days ago | |
PHP | Rust | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
php-malware-analysis
-
Ask HN: Where and how do you blog? What platforms etc.?
I use Hugo. A while back, I evolved a WordPress honeypot. The amount and variety of attacks that WordPress draws is just astonishing, I can't comprehend using it.
https://bruceediger.com/phparasites/
https://github.com/bediger4000/php-malware-analysis
As far as "why", Daniel Miessler convinced me with this: https://danielmiessler.com/blog/why-everyone-needs-a-blog/
- Ask HN: What's your most starred repo?
-
What is the sense of these websites with random content?
Sounds vaguely like this PHP malware:
https://github.com/bediger4000/php-malware-analysis/tree/mas...
https://github.com/bediger4000/php-malware-analysis/tree/mas...
But only vaguely. I would guess the random content is for human consumption, and the underlying PHP redirects bots to some other SEO thing, which is opposite of the malware I linked to above. But that's just a guess.
A lot of malware is so poorly coded it's impossible to tell what the intent is. Your random content could be a result of that, too.
phanalist
-
Traversing an AST of PHP source code.
Phanalist needs a way to detect when we are in the function's scope with the name tooComplex(). With pattern matching, it is super easy to detect if the statement is either: if,else,etc.. The first statement that I want to match for is class Index{ and from there, we will continue down the tree. If you think the same way as I do you know that I will be using recursion to calculate the cyclomatic complexity. After we have matched the scope of the tooComplex() function.
-
How I made it impossible to write spaghetti code.
In the following paragraph, we will see how phanalist can calculate the cyclomatic complexity of the scope of a method. Before creating Phanalist, I always kept the cyclomatic complexity of the methods I wrote in my mind. And if I see that the complexity is higher than 10. I always try to refactor the method, making it easier to understand.
-
Ask HN: Show me your half baked project
https://github.com/denzyldick/phanalist
I'm trying to write a static analyzer for PHP. It's written in RUST and it's a personal project of mine to learn rust and also make a FAST static analyzer for PHP projects that are big. I started with this project because the current static analyzers in the PHP ecosystem are slow.
It would be nice if there were people that would like to contribute. If you want to learn rust and you have PHP experience you are welcome to help.
- Ask HN: What's your most starred repo?
- A new PHP static analyser(Phanalist)
What are some alternatives?
php-malware-scanner - Scans PHP files for malwares and known threats
ext-php-rs - Bindings for the Zend API to build PHP extensions natively in Rust.
php-ransomware - PHP ransomware that encrypts your files, as well as file and directory names.
php-dependency-analysis - Library for check dependency between modules inside projects
phan - Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.
freenet-core - Declare your digital independence