Transforms the data of a given Spreadsheet Sheet to JSON.
- The frozen rows are taken as keys for the JSON.
- The data taken for the values is only that after the frozen rows
exportJSON(Spreadsheet)
- transforms the data in the given sheet to JSON.
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Add React in One Minute</title> | |
</head> | |
<body> | |
<h2>Add React in One Minute</h2> | |
<p>This page demonstrates using React with no build tooling.</p> |
const MY_DOMAIN = "agodrich.com" | |
const START_PAGE = "https://www.notion.so/gatsby-starter-notion-2c5e3d685aa341088d4cd8daca52fcc2" | |
const DISQUS_SHORTNAME = "agodrich" | |
addEventListener('fetch', event => { | |
event.respondWith(fetchAndApply(event.request)) | |
}) | |
const corsHeaders = { | |
"Access-Control-Allow-Origin": "*", |
import { Machine, assign } from 'xstate'; | |
import firebase from './firebase'; | |
const chart = { | |
id: 'auth', | |
context: { | |
auth: null, | |
error: null, | |
loggedoutTime: null | |
}, |
// SPDX-License-Identifier: UNLICENSED | |
pragma solidity ^0.8.0; | |
import "hardhat/console.sol"; | |
contract WavePortal { | |
uint256 totalWaves; | |
constructor() { |
c:\windows\system32\microsoft\crypto\rsa\machinekeys | |
c:\windows\system32\tasks_migrated\microsoft\windows\pla\system | |
c:\windows\syswow64\tasks\microsoft\windows\pla\system | |
c:\windows\debug\wia | |
c:\windows\system32\tasks | |
c:\windows\syswow64\tasks | |
c:\windows\tasks | |
c:\windows\registration\crmlog | |
c:\windows\system32\com\dmp | |
c:\windows\system32\fxstmp |
The challenge was to achieve RCE with this file:
<?php ($_GET['action'] ?? 'read' ) === 'read' ? readfile($_GET['file'] ?? 'index.php') : include_once($_GET['file'] ?? 'index.php');
Some additional hardening was applied to the php installation to make sure that previously known solutions wouldn't work (for further information read this writeup from the challenge author).
I didn't solve the challenge during the competition - here is a writeup from someone who did - but since the idea I had differed from the techniques used in the published writeups I read (and I thought it was cool :D), here is my approach.
// SPDX-License-Identifier: MIT | |
// contracts/FundingDAO.sol | |
pragma solidity ^0.8.0; | |
import "@openzeppelin/contracts/access/AccessControl.sol"; | |
import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; | |
contract FundingDAO is ReentrancyGuard, AccessControl { | |
bytes32 public constant MEMBER = keccak256("MEMBER"); | |
bytes32 public constant STAKEHOLDER = keccak256("STAKEHOLDER"); |
#!/usr/bin/env bash | |
# Small shell script to more easily automatically download and transcribe live stream VODs. | |
# This uses YT-DLP, ffmpeg and the CPP version of Whisper: https://github.com/ggerganov/whisper.cpp | |
# Use `./transcribe-vod help` to print help info. | |
# MIT License | |
# Copyright (c) 2022 Daniils Petrovs |