Skip to content

Instantly share code, notes, and snippets.

View freedomwarrior's full-sized avatar

Roman freedomwarrior

  • Ukraine
View GitHub Profile
@freedomwarrior
freedomwarrior / crack-securecrt-fx.sh
Created April 1, 2023 19:28 — forked from lostsnow/crack-securecrt-fx.sh
SecureCRT and SecureFX crack script for windows version
#!/bin/sh
DIR=$1
CRT="SecureCRT.exe"
FX="SecureFX.exe"
LIC="LicenseHelper.exe"
crt_old_key="6e533e406a45f0b6372f3ea1071700000c7120127cd915cef8ed1a3f2c5b"
crt_new_key="785782391ad0b9169f17415dd35f00002790175204e3aa65ea10cff20818"
import requests
headers = {'X-Auth-Token': 'TOKENHERE'}
res = ['10.15.200.77', 'v2c', 'public']
data = '{"hostname":"%s","version":"%s","community":"%s"}' % (res[0],res[1],res[2])
response = requests.post('http://librenms.com/api/v0/devices', data=data, headers=headers)
print(response.text)
curl -X POST -d '{"hostname":"10.15.200.77","version":"v1","community":"public"}' -H 'X-Auth-Token: TOKENHERE' http://librenms.com/api/v0/devices
import requests
import fileinput
import traceback
bot_message = 'test request'
token = 'token'
chat_id = 'chat_id'
@freedomwarrior
freedomwarrior / fdb_flood
Last active August 30, 2018 14:12
scapy
sendp(Ether(src=RandMAC(),dst=RandMAC())/IP(src=RandIP(),dst=RandIP()), iface='enp2s0', count=1000)
@freedomwarrior
freedomwarrior / get_devices.py
Created August 30, 2018 07:49
device import from us
import json
import urllib.request
patr = '10.'
with urllib.request.urlopen(
"API-URL.WITH.API.KEY") as url:
data = json.loads(url.read().decode())
count = 0
for key, value in data.items():
@freedomwarrior
freedomwarrior / telnet.py
Created August 30, 2018 07:08
telnet to network switch and turns on sntp
import pexpect
import sys
import time
username = 'admin'
password = 'test'
# works with dlink 1210, 3200, DGS-1510,
#
#