Skip to content

Instantly share code, notes, and snippets.

@tantetoni2
tantetoni2 / find-keyv-packages.php
Created August 5, 2026 13:53
find keyv and cacheable npm Package Hijacked in Supply Chain Attack
#!/usr/bin/env php
<?php
/**
* https://www.wiz.io/blog/keyv-and-cacheable-npm-supply-chain-attack
*
* Durchsucht das Dateisystem nach Verzeichnissen von npm-Paketen, die in der
* Wiz-Research IOC-Liste (Shai-Hulud / "keyv" Supply-Chain-Angriff) als
* kompromittiert gelistet sind, und vergleicht die installierte Version aus
* package.json mit den bekannten bösartigen Versionen.
*
@tantetoni2
tantetoni2 / gist:0a0dcbecbf958d12437720c266b6cb19
Created January 13, 2021 00:26 — forked from Fake51/gist:865603
Syntax check all .php files in folder and subfolder
find . -iname '*.php' -exec php -l '{}' \; | grep '^No syntax errors' -v | less
@tantetoni2
tantetoni2 / README.md
Created January 20, 2020 15:08 — forked from straker/README.md
Basic Bomberman HTML Game

Basic Bomberman HTML Game

This is a basic implementation of the NES game Bomberman, but it's missing a few things intentionally and they're left as further exploration for the reader.

Further Exploration

  • Player death
    • The player should die when it is hit by an explosion from a bomb
  • Powerups
  • Add powerups that increase the bomb size and the number of bombs the player can place. The powerups should spawn randomly after a soft wall is blown up