Skip to content

Instantly share code, notes, and snippets.

View bsrinivasguptha's full-sized avatar

Srinivas Batchu bsrinivasguptha

View GitHub Profile
@bsrinivasguptha
bsrinivasguptha / kerberos_attacks_cheatsheet.md
Created July 17, 2021 12:24 — forked from TarlogicSecurity/kerberos_attacks_cheatsheet.md
A cheatsheet with commands that can be used to perform kerberos attacks

Kerberos cheatsheet

Bruteforcing

With kerbrute.py:

python kerbrute.py -domain <domain_name> -users <users_file> -passwords <passwords_file> -outputfile <output_file>

With Rubeus version with brute module:

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\Scripting.FileSystemObject]
@=""
[HKEY_CURRENT_USER\Software\Classes\Scripting.FileSystemObject\CLSID]
@="{00000001-0000-0000-0000-0000FEEDACDC}"
@bsrinivasguptha
bsrinivasguptha / balloontip.py
Last active November 9, 2017 16:33 — forked from boppreh/balloontip.py
Balloon tip module, Python, using win32gui. Display a notification in the tray bar and quits after 10 seconds.
# -- coding: utf-8 --
from win32api import *
from win32gui import *
import win32con
import sys, os
import struct
import time
class WindowsBalloonTip:
@bsrinivasguptha
bsrinivasguptha / FirebaseRecyclerAdapter.java
Created January 27, 2017 07:51 — forked from sagaratalatti/FirebaseRecyclerAdapter.java
Firebase GeoFire Android RecyclerView
public abstract class FirebaseRecyclerAdapter<T, VH extends RecyclerView.ViewHolder> extends RecyclerView.Adapter<VH > implements Filterable {
private static final String LOG_TAG = FirebaseRecyclerAdapter.class.getSimpleName();
private Query mRef;
private Class<T> mModelClass;
private int mLayout;
private LayoutInflater mInflater;
protected Class<VH> mViewHolderClass;
private List<T> mModels;
private List<T> mFilteredModels;
@bsrinivasguptha
bsrinivasguptha / AndroidManifest.xml
Created January 27, 2017 07:37 — forked from tnknrk/AndroidManifest.xml
Firebase Push Android
<service
android:name="xxx.xxx.Firebase.MyFirebaseMessagingService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
</intent-filter>
</service>
<activity
android:name="com.google.android.gms.tagmanager.PreviewActivity"
android:label="@string/app_name"
@bsrinivasguptha
bsrinivasguptha / AndroidManifest.xml
Created January 27, 2017 07:27 — forked from vikrum/AndroidManifest.xml
Firebase+Android sample app with background Service + local notifications.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.bgfirebaseapp"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="17" />
@bsrinivasguptha
bsrinivasguptha / PushNotifications.php
Created December 16, 2016 07:19 — forked from joashp/PushNotifications.php
Simple PHP script to send Android Push Notification, iOS Push Notification and Windows Phone 8 Push Notification
<?php
// Server file
class PushNotifications {
// (Android)API access key from Google API's Console.
private static $API_ACCESS_KEY = 'AIzaSyDG3fYAj1uW7VB-wejaMJyJXiO5JagAsYI';
// (iOS) Private key's passphrase.
private static $passphrase = 'joashp';
// (Windows Phone 8) The name of our push channel.
private static $channelName = "joashp";
@bsrinivasguptha
bsrinivasguptha / balloontip.py
Created November 27, 2016 14:41 — forked from wontoncc/balloontip.py
Balloon tip module, Python, using win32gui.
# -- coding: utf-8 --
from win32api import *
from win32gui import *
import win32con
import sys, os
import struct
import time
class WindowsBalloonTip: