Skip to content

Instantly share code, notes, and snippets.

View klebertiko's full-sized avatar

Kleber Almeida Toyota klebertiko

View GitHub Profile
@klebertiko
klebertiko / pentest-arsenal.md
Created May 1, 2023 06:19 — forked from heinthanth/pentest-arsenal.md
Penetration Testing Tools for MacOS X
  • [] radare2 - brew
  • [] cutter (radare2) - brew cask
  • [] ghidra - brew cask
  • [] ida-free - brew cask
  • [] nmap - brew
  • [] proxychains - brew (https://gist.github.com/allenhuang/3792521)
  • [] sqlmap - brew
  • [] powershell - brew cask
  • [] impacket scripts - git
  • [] powersploit - git
@klebertiko
klebertiko / sqsQueueUtil.go
Created May 8, 2019 20:01 — forked from p4tin/sqsQueueUtil.go
Simple Utility to access Amazon SQS (or local ElasticMQ) using Go
package main
import (
"fmt"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/sqs"
"os"
"flag"
)
@klebertiko
klebertiko / event.kt
Created April 30, 2019 17:28 — forked from orangy/event.kt
C#-style events in Kotlin
class Event<T> {
private val handlers = arrayListOf<(Event<T>.(T) -> Unit)>()
fun plusAssign(handler: Event<T>.(T) -> Unit) { handlers.add(handler) }
fun invoke(value: T) { for (handler in handlers) handler(value) }
}
val e = Event<String>() // define event
fun main(args : Array<String>) {
e += { println(it) } // subscribe
@klebertiko
klebertiko / InfiniteRetry.kt
Created April 3, 2019 16:51 — forked from ccampo133/InfiniteRetry.kt
Infinite retry with exponential backoff in Kotlin using co-routines
/**
* Copyright 2018 C.J. Campo
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
* sell copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*