Skip to content

Instantly share code, notes, and snippets.

View MattKetmo's full-sized avatar

Matt Ketmo MattKetmo

View GitHub Profile
@MattKetmo
MattKetmo / main.go
Last active April 12, 2023 12:46
Debug cobra duplicated flags
package main
import (
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
var v = viper.New()
func NewCommand() *cobra.Command {
@MattKetmo
MattKetmo / main.go
Last active July 8, 2022 07:27
eth goerli coding ex
package main
import (
"fmt"
"os"
)
func main() {
address := "0xbad1568bf8d55f5f808edec0cd7394ebd8d51d0e"
fromBlock := 6974800
@MattKetmo
MattKetmo / simulate-pointers.js
Created July 9, 2021 13:56 — forked from rikschennink/simulate-pointers.js
A script to simulate pointer events, very specific to Pintura project so might need some customisation to work with yours
{
const DEBUG = false;
const style = document.createElement('style');
style.textContent = `
.sim-pointer {
margin-top: -1px;
position: absolute;
z-index: 9999999999999;
left: -24px;
@MattKetmo
MattKetmo / cqrs_posts.json
Last active January 23, 2018 13:11
cqrs posts
[
{
"title": "Exposing CQRS Through a RESTful API",
"url": "http://www.infoq.com/articles/rest-api-on-cqrs"
},
{
"title": "REST API Design - Resource Modeling",
"url": "http://www.thoughtworks.com/insights/blog/rest-api-design-resource-modeling"
},
{
@MattKetmo
MattKetmo / memusage.sh
Created February 22, 2017 14:51
memusage.sh
#!/bin/bash
if [ "$1" = "" ] ; then
echo -n "Nom du process : "
read process
else
process=$1
fi
ps aux | grep $process | grep -v grep | awk 'BEGIN { sum=0 } {sum=sum+$6; } END {printf("Taille RAM utilisée: %s Mo\n",sum / 1024)}'
@MattKetmo
MattKetmo / pwnd.md
Last active April 5, 2023 02:13
pwnd

This list has moved to pwnd.dev

Tools

  • Metaspoit: Penetration testing software
  • GhostShell: Malware indetectable, with AV bypass techniques, anti-disassembly, etc.
  • BeEF: The Browser Exploitation Framework
  • PTF: Penetration Testers Framework
  • Bettercap: MITM framework
  • Nessus: Vulnerability scanner
@MattKetmo
MattKetmo / onename.txt
Created January 8, 2016 10:01
onename.com
Verifying that +mattketmo is my blockchain ID. https://onename.com/mattketmo