Drop into IRB:
meterpreter > irb
[*] Starting IRB shell
[*] The 'client' variable holds the meterpreter client
>>
Then paste in the following, replacing the KB identifiers at the end with the desired ones.
Drop into IRB:
meterpreter > irb
[*] Starting IRB shell
[*] The 'client' variable holds the meterpreter client
>>
Then paste in the following, replacing the KB identifiers at the end with the desired ones.
import base64 | |
import hashlib | |
import hmac | |
host_id = '11111111-2222-3333-4444-555555555555' | |
host_secret_hash = 'hmac:TI/gifEUGbMsEhiZSLY0PcTX4xyPzpvcb7b6seOhOYc=' | |
secret_pin = '123456' | |
if 'hmac:' + base64.b64encode(hmac.new(host_id, secret_pin, hashlib.sha256).digest()) == host_secret_hash: | |
print('[+] secret hashes match!') |
require "json" | |
require "rex/ui" | |
module Msf | |
class Plugin::ModuleSuggestor < Msf::Plugin | |
class ModuleSuggestorCommandDispatcher | |
include Msf::Ui::Console::CommandDispatcher | |
def name | |
"Module Suggestor" |
I hereby claim:
To claim this, I am signing this object:
require 'msf/core' | |
require 'rex' | |
lib = File.join(Msf::Config.install_root, "test", "lib") | |
$:.push(lib) unless $:.include?(lib) | |
require 'module_test' | |
class Metasploit4 < Msf::Post |
# /etc/crontab: system-wide crontab | |
# Unlike any other crontab you don't have to run the `crontab' | |
# command to install the new version when you edit this file | |
# and files in /etc/cron.d. These files also have username fields, | |
# that none of the other crontabs do. | |
SHELL=/bin/sh | |
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
# m h dom mon dow user command |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# AdvancedHTTPServer.py | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are | |
# met: | |
# | |
# * Redistributions of source code must retain the above copyright |
#!/usr/bin/env python | |
""" | |
firebird_dos.py | |
Discovered: 1-31-2013 | |
By: Spencer McIntyre (zeroSteiner) | |
SecureState Research and Innovation Team | |
www.securestate.com | |
# -*- coding: utf-8 -*- | |
# | |
# eapbrute.py | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are | |
# met: | |
# | |
# * Redistributions of source code must retain the above copyright | |
# notice, this list of conditions and the following disclaimer. |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
import select | |
import threading | |
class PTYConnector(threading.Thread): | |
def __init__(self): | |
super(PTYConnector, self).__init__() |