Skip to content

Instantly share code, notes, and snippets.

TEXT net/http/httptest.init.0(SB) /usr/local/go/src/net/http/httptest/server.go
server.go:81 0x7353d0 64488b0c25f8ffffff MOVQ FS:0xfffffff8, CX
server.go:81 0x7353d9 483b6110 CMPQ 0x10(CX), SP
server.go:81 0x7353dd 0f8633010000 JBE 0x735516
server.go:81 0x7353e3 4883ec40 SUBQ $0x40, SP
server.go:81 0x7353e7 48896c2438 MOVQ BP, 0x38(SP)
server.go:81 0x7353ec 488d6c2438 LEAQ 0x38(SP), BP
server.go:82 0x7353f1 488b059822b400 MOVQ os.Args+16(SB), AX
server.go:82 0x7353f8 488b0d8122b400 MOVQ os.Args(SB), CX
server.go:82 0x7353ff 488b158222b400 MOVQ os.Args+8(SB), DX
require 'rest-client'
require 'json'
require 'date'
require 'optparse'
WEBHOOK_ENDPOINT = ''.freeze
WEBHOOK_KEY = ''.freeze
RECRUITMENT_CHANNEL_ID = ''.freeze
function getDetailsFromSipXLSX{
param (
[Parameter(Mandatory=$true,Position=0)]
[string]$inputFile
)
$objExcel = New-Object -ComObject Excel.Application
$workBook = $objExcel.Workbooks.Open($inputFile)
$workSheet = $workBook.Worksheets.Item("Sheet1")
$objExcel.Visible = $false
$workSheet.Activate()

Keybase proof

I hereby claim:

  • I am xtda on github.
  • I am xtda (https://keybase.io/xtda) on keybase.
  • I have a public key whose fingerprint is B845 817F B04C 51F1 DA7E 6EB0 9D0F 0DBA 0FDD 0F3D

To claim this, I am signing this object:

@xtda
xtda / GASP.ps1
Last active November 1, 2017 04:27
function Reset-GASP() {
param
(
[Parameter(Mandatory=$true,Position=0)]
[string]$UserName,
[Parameter(Mandatory=$true,Position=1)]
[string]$ServerName
)
$Password = @("London","Melbourne","Brisbane","Sydney","Welcome") | Get-Random
$rnd = Get-Random -Minimum 10 -Maximum 75
function ad-lockoutstatus()
{
param
(
[Parameter(Mandatory=$true,Position=0)]
[string]$UserName
)
$DomainControllers = Get-ADDomainController -Filter *
function Unlock-PASServer() {
param
(
[Parameter(Mandatory=$true,Position=0)]
[string]$UserName,
[Parameter(Mandatory=$true,Position=1)]
[string]$Server
)
function Get-PasswordExpiry() {
param
(
[Parameter(Mandatory=$true,Position=0)]
[string]$UserName
)
$UserDetails = Get-ADUser -Filter {samaccountname -like $UserName} -properties PasswordLastSet | select-object Name, PasswordLastSet
$StartDate = Get-Date
if($UserDetails -eq $null) {
require 'rest-client'
host = 'https://federatesso.medibank.com.au'
fsso_url = '/adfs/ls?SAMLRequest=lVJdT8IwFP0rS9%2F3iUBsGMmEGEkQF0EffOvaO2js2tnbgf57x0DBBzG%2B9p57zrnndISsUklNs8Zt9CO8NYDOe6%2BURnqYpKSxmhqGEqlmFSB1nC6z%2BzlNgojW1jjDjSJehgjWSaMnRmNTgV2C3UoOT4%2FzlGycq5GGYQVCFky%2FBngY%2BtrsAm6qULNtzdYQCEO8aWtBarbnOm2WIMAyB4gm%2BGZpNwPWhEyUGCok3q2xHLpLUlIyhUC82TQly8Wkd8V5r4iKpCjLIY94kSTAo6hf8N5gcC2GLRBzhii3cFpFbGCm0THtUpJEcd%2BPEz%2FureKIxkPaHwb9ePBCvPyYwY3UQur15cCKAwjp3WqV%2B%2FnDctURbGV73qJF%2FzOrZ7DY5dRyk%2FGoq4x2xu15i5c9sa%2FqyPgv8VF4LnEUrOne%2BWyaGyX5h5cpZXYTC21bKXG2ga6YirnfXcRB3L1I4ZcdlELFpMqEsG3jJBwfdX%2F%2B0%2FEn&RelayState=https%3a%2f%2fmedibank.service-now.com%2fnavpage.do'
puts "enter username to lock"
name = gets
6.times do |i|
client = RestClient.post("#{host}#{fsso_url}",{ :UserName => "MEDIBANK\\#{name}",
// ==UserScript==
// @name snow fix
// @namespace http://www.disvelop.net
// @version 0.1
// @description add confirm on close option and desktop notifications to live chat
// @author Andrew
// @match https://medibank.service-now.com/chat_desktop.do
// @grant none
// ==/UserScript==