Skip to content

Instantly share code, notes, and snippets.

View BeneCollyridam's full-sized avatar

Alexander Meinhardt Scheurer BeneCollyridam

  • Copenhagen, Denmark
View GitHub Profile
@BeneCollyridam
BeneCollyridam / flashloan.sol
Created August 10, 2020 13:24
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.6.12+commit.27d51765.js&optimize=false&gist=
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.6;
import "https://github.com/aave/flashloan-box/blob/Remix/contracts/aave/FlashLoanReceiverBase.sol";
import "https://github.com/aave/flashloan-box/blob/Remix/contracts/aave/ILendingPoolAddressesProvider.sol";
import "https://github.com/aave/flashloan-box/blob/Remix/contracts/aave/ILendingPool.sol";
from pwn import *
context(
terminal = ["urxvt", "--hold", "-e", "bash", "-c"])
p = process("rop_playground.x86")
ret = 0x0804835e
pay = ""

Keybase proof

I hereby claim:

  • I am benecollyridam on github.
  • I am benecollyridam (https://keybase.io/benecollyridam) on keybase.
  • I have a public key whose fingerprint is 2A31 6B10 87BD 1BD7 CCF1 3114 46A8 92D0 4DA4 BA49

To claim this, I am signing this object: