Skip to content

Instantly share code, notes, and snippets.

View slava-vishnyakov's full-sized avatar

Slava Vishnyakov slava-vishnyakov

View GitHub Profile
/*
* CVE-2012-2122 checker
*
* You may get differing results with/without -m32
*
* Joshua J. Drake
*/
#include <stdio.h>
#include <stdlib.h>
<?xml version="1.0" encoding="utf-8"?>
<ym:ymaps xmlns:ym="http://maps.yandex.ru/ymaps/1.x"><Representation xmlns="http://maps.yandex.ru/representation/1.x" xmlns:gml="http://www.opengis.net/gml"><View><boundedBy xmlns="http://www.opengis.net/gml"><Envelope><lowerCorner>30.22437 45.024992</lowerCorner><upperCorner>82.935971 60.008409</upperCorner></Envelope></boundedBy></View><Style gml:id="userobject"><iconStyle><template>#placemark</template></iconStyle><balloonContentStyle><template>#balloon</template></balloonContentStyle></Style><Template gml:id="placemark"><text>&lt;img src="http://api-maps.yandex.ru/i/0.3/micro/pm$[metaDataProperty.AnyMetaData.icon]s.png" width="28" heigh="29"/&gt;&lt;font style="font-weight:bold;position:relative;z-index:4;top:-29px;display:block;width:22px;text-align:center" color="$[metaDataProperty.AnyMetaData.color]"&gt;$[metaDataProperty.AnyMetaData.number]&lt;/font&gt;</text></Template><Template gml:id="balloon"><text>&lt;div style="max-width:400px;*width:400px;"&gt;&lt;strong