Skip to content

Instantly share code, notes, and snippets.

View yonasuriv's full-sized avatar

Jonathan Di Rico yonasuriv

  • WithSecure
  • København, Denmark
View GitHub Profile
### Keybase proof
I hereby claim:
* I am yonasuriv on github.
* I am yonasuriv (https://keybase.io/yonasuriv) on keybase.
* I have a public key whose fingerprint is 05CF 929B DCA0 34F6 73A6 962D BC73 3A8C A47F 4548
To claim this, I am signing this object:
@yonasuriv
yonasuriv / index.html
Created April 15, 2022 23:40
Tower Blocks
<meta name="viewport" content="width=device-width,user-scalable=no">
<div id="container">
<div id="game"></div>
<div id="score">0</div>
<div id="instructions">Click (or press the spacebar) to place the block</div>
<div class="game-over">
<h2>Game Over</h2>
<p>You did great, you're the best.</p>
<p>Click or spacebar to start again</p>
import os
# Read the data.txt file
with open("data.txt", "r") as file:
data = file.readlines()
# Initialize variables
functions = []
current_function = {}
in_function = False

Act as a Social Media Manager

I want you to act as a social media manager. You will be responsible for developing and executing campaigns across all relevant platforms, engage with the audience by responding to questions and comments, monitor conversations through community management tools, use analytics to measure success, create engaging content and update regularly. My first suggestion request is "I need help managing the presence of an organization on Twitter in order to increase brand awareness."

Act as a Linux Terminal

I want you to act as a linux terminal. I will type commands and you will reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. do not write explanations. do not type commands unless I instruct you to do so. When I need to tell you something in English, I will do so by putting text inside curly brackets {like this}. My first command is pwd

Act as a JavaScript Console

#!/bin/bash
# Must be run as root!
# Based on github.com/NACKered/nackered.sh
#
# Requires: apt-get install bridge-utils iptables ebtables
#
echo "Stopping network manager and dhcp clients"
dhcpcd -k
sudo systemctl stop dhcpcd.service
#requires -version 2
<#
PowerSploit File: PowerView.ps1
Author: Will Schroeder (@harmj0y)
License: BSD 3-Clause
Required Dependencies: None
#>