Skip to content

Instantly share code, notes, and snippets.

View thehappydinoa's full-sized avatar

Aidan Holland thehappydinoa

View GitHub Profile
#!/bin/bash
MSFRPC_USERNAME="$1"
MSFRPC_PASSWD="$2"
if [[ "$3" = */* ]]; then
MSFRPC_PATH="$3"
else
MSFRPC_PATH=$(which msfrpcd)
fi
@thehappydinoa
thehappydinoa / keybase.md
Last active January 10, 2024 04:11
Keybase Verification

Keybase proof

I hereby claim:

  • I am thehappydinoa on github.
  • I am thehappydinoa (https://keybase.io/thehappydinoa) on keybase.
  • I have a public key ASCiwItFDGUsIOPRiRvEU1L9fKbzQSPpJxyByW6rozzN5Ao

To claim this, I am signing this object:

After doing much reseach it seems that there is a gap between Python's datetime.datetime() and Javascript's thisHourUTC()

root@aidans-laptop:~/Desktop/intern-code-test# yarn test
yarn run v1.6.0
warning package.json: No license field
$ ava test/*-test.js

  3 passed
  3 failed
@thehappydinoa
thehappydinoa / soa.py
Last active July 17, 2018 17:35 — forked from Ekultek/soa.py
Log file scrubber
import argparse
import os
import platform
import sys
import time
__version__ = "0.1"
__author__ = "Ekultek"
__progname__ = "soapy"
__twitter__ = "@stay__salty"
@thehappydinoa
thehappydinoa / BoardConfig.mk
Last active September 3, 2018 13:33
Essential Phone's BoardConfig.mk
#
# Copyright (C) 2017 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@thehappydinoa
thehappydinoa / picanha.py
Created September 23, 2018 19:55 — forked from tmap/picanha.py
import shodan
import sys
import requests
API_KEY = "apitoken"
try:
api = shodan.Shodan(API_KEY)
result = api.search('port:3000 product:"Apache httpd" centOS')
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
git config --global user.name "Catherine Meadows"
git config --global user.email "[email protected]"
@thehappydinoa
thehappydinoa / dialer_phenotype_flags.xml
Last active December 31, 2018 16:36
Dialer Version 27 flags
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<boolean name="G__allow_in_app_spam_write" value="true" />
<boolean name="G__force_disable_enriched_call" value="true" />
<boolean name="G__enable_glide_photo" value="false" />
<boolean name="__data_rollout__NewFavorites.NewFavoritesV27ProdRollout__launched__" value="false" />
<boolean name="G__show_blocked_number_migration_card" value="false" />
<boolean name="G__voicemail_transcription_donation_available" value="true" />
<boolean name="__data_rollout__GlidePhoto.EnableGlidePhotoRollout__launched__" value="false" />
<long name="Voip__data_calls_create_hangout_id_timeout_millis_network_type_HSUPA" value="5000" />
SHARED_PREF_FILE=/data/data/com.google.android.dialer/shared_prefs/dialer_phenotype_flags.xml
sed -i -e 's/name="G__speak_easy_bypass_locale_check" value="false"/name="G__speak_easy_bypass_locale_check" value="true"/g' $SHARED_PREF_FILE
sed -i -e 's/name="G__speak_easy_enable_listen_in_button" value="false"/name="G__speak_easy_enable_listen_in_button" value="true"/g' $SHARED_PREF_FILE
sed -i -e 's/name="__data_rollout__SpeakEasy.OverrideUSLocaleCheckRollout__launched__" value="false"/name="__data_rollout__SpeakEasy.OverrideUSLocaleCheckRollout__launched__" value="true"/g' $SHARED_PREF_FILE
sed -i -e 's/name="G__enable_speakeasy_details" value="false"/name="G__enable_speakeasy_details" value="true"/g' $SHARED_PREF_FILE
sed -i -e 's/name="G__speak_easy_enabled" value="false"/name="G__speak_easy_enabled" value="true"/g' $SHARED_PREF_FILE
sed -i -e 's/name="G__speakeasy_show_privacy_tour" value="false"/name="G__speakeasy_show_privacy_tour" value="true"/g' $SHARED_PREF_FILE
sed -i -e 's/name="__data_rollout__Spea
12-17 14:52:31.510 27074 27074 W AutoDndManagerImpl: Auto DND is not supported and should not be set as enabled.
12-17 14:52:31.569 27074 27074 W AutoDndFragmentPeer: Failed to update auto DND switch to true
12-17 14:52:31.569 27074 27074 W AutoDndFragmentPeer: aha
12-17 14:52:31.569 27074 27074 W AutoDndFragmentPeer: at bad.i(PG:165)
12-17 14:52:31.569 27074 27074 W AutoDndFragmentPeer: at baq.a(Unknown Source:0)
12-17 14:52:31.569 27074 27074 W AutoDndFragmentPeer: at fmu.a(PG:4)
12-17 14:52:31.569 27074 27074 W AutoDndFragmentPeer: at fxj.a(PG:5)
12-17 14:52:31.569 27074 27074 W AutoDndFragmentPeer: at fxi.run(PG:17)
12-17 14:52:31.569 27074 27074 W AutoDndFragmentPeer: at gab.run(PG:3)
12-17 14:52:31.569 27074 27074 W AutoDndFragmentPeer: at eod.run(Unknown Source:2)