Skip to content

Instantly share code, notes, and snippets.

🕶
django_webpack_integration

Yegor Kazantsev saintbyte

🕶
django_webpack_integration
  • Ural
Block or report user

Report or block saintbyte

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@saintbyte
saintbyte / parse_austria.php
Created Mar 20, 2019 — forked from chrisiaut/parse_austria.php
Parsing ip data from a file
View parse_austria.php
<?php
$infile = 'austria.csv';
$outfile = 'austria.ips';
$fp = fopen($outfile,'w');
$handle = fopen($infile, "r");
if ($handle)
{
while (($line = fgets($handle)) !== false) {
$line = trim($line);
View 1.php
<?php
// THIS FILE is in PUBLIC DOMAIN
//
// Call like this
// http://example.im/111/1.php?start1=1&end1=10&start2=31&end2=40
// http://example.im/111/1.php?start1=11&end1=20&start2=41&end2=50
// http://example.im/111/1.php?start1=21&end1=30&start2=51&end2=60
//
sleep(rand (0, 2.5));
$START1=intval($_GET['start1']);
View test3.sol
pragma solidity ^0.4.24;
contract Test3
{
address public owner;
mapping(address => uint) private holders;
address[] holders_addrs;
uint256 totalWei;
function Ownable() public {
owner = msg.sender;
View test2.sol
pragma solidity ^0.4.19;
contract Test2 {
function transferInEqualParts(uint256 summaryAmount, address [] recipients) public {
if ( recipients.length > 0) {
uint256 oneAmount = summaryAmount / recipients.length;
for(uint i = 0; i < recipients.length; i++){
recipients[i].transfer(oneAmount);
}
View test1.sol
pragma solidity ^0.4.19;
contract Test1 {
bytes32 originalHash;
constructor() public {
originalHash = keccak256(abi.encode(123));
}
function hash(uint originalValue) public view returns (bool) {
@saintbyte
saintbyte / upwned247.php
Created Dec 2, 2016 — forked from Wack0/upwned247.php
UCam247/Phylink/Titathink/YCam/Anbash/Trivision/Netvision/others IoT webcams : remote code exec: reverse shell PoC. (works only in qemu usermode)
View upwned247.php
<?php
/*
NB: THIS PoC ONLY WORKS IN QEMU USERMODE EMULATION!
If anyone wants to fix this, go ahead (no pun intended).
However, I don't have a vulnerable product and am unwilling to acquire one.
-------------------------
UCam247/Phylink/Titathink/YCam/Anbash/Trivision/Netvision/others
remote code exec: reverse shell PoC.
View gist:8774d01a28cc3e04bbec9544266ecdbd
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import urllib
import SimpleHTTPServer
import SocketServer
import sys
import re
import optparse
from bs4 import BeautifulSoup
View Polyline python fix
wmd`iBmz}~fAfiH~m[`@h\avCx}DebPfyKinRjsIaeQz~GsiR|rJcr@~z@c_@pd@}m@rx@g}H~zQgsHlgVetG`tUaoGr}TigHnxTyjGjnQ}cMphSoyPnoEc}KjmCq{LheB{dYtc@udOc`@kUvKqoNrnFqcOdyEyc@xnFyt@slA}wA}GmoOq}EiqB}y@wnBl_Ami@d]q{AldAmpF|eEagA|jBqbM_jJ}dNniQmi@lnAegGz|Mog@fy@gtLvvV}mAhcDwnKj`Zc~EzoNcvElbNynKxh[imEx}OwxCvsPwxBhaM_pG_~DorNolNsyIivIcsKe|C{fAhiGc~Kc{Ie|@yn@
------------------
[(555.93708, 377.48151), (555.88936, 377.33575), (555.88919, 377.33106), (555.91336, 377.30053), (556.00091, 377.23489), (556.10064, 377.18043), (556.19377, 377.13437), (556.29275, 377.07486), (556.30093, 377.06526), (556.30607, 377.05925), (556.31358, 377.05003), (556.3645, 376.95339), (556.41382, 376.83428), (556.45817, 376.71827), (556.5017, 376.60585), (556.54911, 376.49425), (556.59196, 376.39963), (556.66443, 376.2957), (556.75571, 376.26234), (556.82197, 376.23956), (556.8931, 376.22319), (557.02716, 376.21732), (557.10999, 376.22262), (557.11357, 376.22058), (557.19302, 376.18224), (557.27567, 376.14733), (557.28156, 376.10896), (557.29017, 376.1
You can’t perform that action at this time.