Skip to content

Instantly share code, notes, and snippets.

View apogiatzis's full-sized avatar
:electron:
Stay awhile and listen.

APogiatzis apogiatzis

:electron:
Stay awhile and listen.
View GitHub Profile
{
"flags": [
{
"genre": "`constructor.constructor(\"alert('xss')\")()`",
"name": {},
"point": "{{1+1}}",
"flag": "`constructor.constructor(\"alert('xss')\")()`"
}
],
"name": "aaaa",
@apogiatzis
apogiatzis / keybase.md
Created June 19, 2020 14:31
Keybase Verification

Keybase proof

I hereby claim:

  • I am apogiatzis on github.
  • I am apogiatzis (https://keybase.io/apogiatzis) on keybase.
  • I have a public key whose fingerprint is 6A7F 78A5 4B8F B614 5FCB D3C2 7F4F 701F 9575 6888

To claim this, I am signing this object:

bde14596c16536af673ce451f25b2a94
@apogiatzis
apogiatzis / Token.sol
Last active November 4, 2020 01:39
C1: Smart Contract Development
pragma solidity ^0.5.0;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.0/contracts/token/ERC20/ERC20.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.0/contracts/token/ERC20/ERC20Detailed.sol";
contract Token is ERC20, ERC20Detailed {
constructor () public ERC20Detailed("<StudentID> Token", "LABT", 18) {
_mint(msg.sender, 1000000 * (10 ** uint256(decimals())));
}
@apogiatzis
apogiatzis / Orderbook.sol
Created December 2, 2020 03:06
Orderbook template contract for Blockchain for Fintect course
pragma solidity ^0.5.2;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.0/contracts/token/ERC20/ERC20.sol";
contract Orderbook {
using SafeMath for uint256;
struct Order {
uint256 Amount;
@apogiatzis
apogiatzis / checksec.py
Created August 11, 2019 12:17
Windows checksec equivalent
import lief
from sys import argv
import colorama
def _color_print(name):
colorama.init(autoreset=True)
def color_print(func):
def wrapper(*args, **kwargs):
ret = func(*args, **kwargs)
if ret != False:
@apogiatzis
apogiatzis / config.json
Created June 19, 2021 09:19
Curl Fluence service config
{
"name": "curl",
"mountedBinaries":
{
"curl": "/usr/bin/curl"
}
}
@apogiatzis
apogiatzis / deploy.yml
Last active October 28, 2021 15:52
Github Workflow for Medium post
name: Challenge Deployment
on: push
jobs:
cancel:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.6.0
with:
(def gemstone-db {
:ruby {
:name "Ruby"
:stock 120
:sales [1990 3644 6376 4918 7882 6747 7495 8573 5097 1712]
:properties {
:dispersion 0.018
:hardness 9.0
:refractive-index [1.77 1.78]
:color "Red"
id name
1 Charlie Sheen
2 Michael Douglas
3 Martin Sheen
4 Morgan Freeman