Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
root@bran:~uname -a
Linux bran 5.2.9-arch1-1-ARCH #1 SMP PREEMPT Fri Aug 16 11:29:43 UTC 2019 x86_64 GNU/Linux
root@bran:~bettercap -debug -eval 'net.fuzz on'
bettercap v2.24.1 (built for linux amd64 with go1.12.8) [type 'help' for a list of commands]
[21:47:45] [sys.log] [dbg FindGateway(eth0) [cmd=ip opts=[route] parser=^(defauls|[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)\svia\s([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)\sdev\s(\S+).*$]
[21:47:45] [sys.log] [dbg FindGateway(eth0) output:
default via 10.0.0.254 dev eth0 proto dhcp src 10.0.0.102 metric 1024
10.10.0.0/24 dev vpn_main proto kernel scope link src 10.10.0.15
168.215.198.108 via 10.10.0.4 dev vpn_main
10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.102
○ → bettercap -debug
_t: _p: 25669 _n: __logxi _l: ERR _m: Could not get working directory
bettercap v2.19 (built for linux amd64 with go1.12) [type 'help' for a list of commands]
10.50.0.0/16 > 10.50.1.1 » [15:32:12] [sys.log] [dbg] FindGateway(eth0) [cmd=ip opts=[route] parser=^(default|[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)\svia\s([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)\sdev\s(\S+).*$]
10.50.0.0/16 > 10.50.1.1 » [15:32:12] [sys.log] [dbg] FindGateway(eth0) output:
default via 10.50.0.1 dev eth0 proto dhcp src 10.50.1.1 metric 1024
10.10.0.0/24 dev arocna3_main proto kernel scope link src 10.10.0.15
10.50.0.0/16 dev eth0 proto kernel scope link src 10.50.1.1
10.50.0.1 dev eth0 proto dhcp scope link src 10.50.1.1 metric 1024
@cclements
cclements / gist:5d39c071e8f3f603c33309312d0918c6
Created January 21, 2018 22:06
DOMAIN\HOSTNAME error 2
python2 sqlmap.py -d 'mssql://someuser:somepass@192.168.1.100:1433/TargetDB' --dump -v6
___
__H__
___ ___[.]_____ ___ ___ {1.2.1.14#dev}
|_ -| . [)] | .'| . |
|___|_ [.]_|_|_|__,| _|
|_|V |_| http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
@cclements
cclements / gist:4f2e891f0137e91f030c61607fe08e0c
Created January 19, 2018 19:54
sqlmap DOMAIN\HOSTNAME error
sqlmap -d 'mssql://someuser:somepass@192.168.1.100:1433/TargetDB' --dump -v3
___
__H__
___ ___[.]_____ ___ ___ {1.2.1.11#dev}
|_ -| . [,] | .'| . |
|___|_ ["]_|_|_|__,| _|
|_|V |_| http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
~/tools/snort3  ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for clang... no
checking for gcc... gcc
cme --verbose smb 1.2.3.4 -u someuser -p somepassword -M get_netdomaincontroller
DEBUG Passed args:
{'content': False,
'cred_id': [],
'darrell': False,
'depth': None,
'disks': False,
'domain': None,
'exclude_dirs': '',
'exec_method': None,
DEBUG Passed args:
{'content': False,
'cred_id': [],
'darrell': False,
'depth': None,
'disks': False,
'domain': None,
'exclude_dirs': '',
'exec_method': None,
'execute': None,
Number of platforms: 3
Platform Profile: FULL_PROFILE
Platform Version: OpenCL 2.0
Platform Name: Intel(R) OpenCL
Platform Vendor: Intel(R) Corporation
Platform Extensions: cl_intel_dx9_media_sharing cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_d3d11_sharing cl_khr_depth_images cl_khr_dx9_media_sharing cl_khr_fp64 cl_khr_gl_sharing cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_image2d_from_buffer cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_spir
Platform Profile: FULL_PROFILE
Platform Version: OpenCL 1.2 CUDA 8.0.0
Platform Name: NVIDIA CUDA
Platform Vendor: NVIDIA Corporation
@cclements
cclements / gist:34a1ff681e5e1ee740447cc7e6f02910
Created August 26, 2016 19:35
Error in Arachni::Checks::UnvalidatedRedirectDOM: undefined method `with_browser' for nil:NilClass
2016-08-26 13:39:39 -0500 --------------------------------------------------------------------------------
ENV:
---
ALLUSERSPROFILE: C:\ProgramData
APPDATA: C:\Users\cclements\AppData\Roaming
ARACHNI_FRAMEWORK_LOGDIR: S:\Downloads\arachni-2.0dev-1.0dev-windows-x86_64\system\\logs\framework
ARACHNI_WEBUI_LOGDIR: S:\Downloads\arachni-2.0dev-1.0dev-windows-x86_64\system\\logs\webui
asl.log: Destination=file
BUNDLE_BIN_PATH: S:/Downloads/arachni-2.0dev-1.0dev-windows-x86_64/system/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.12.5/exe/bundle
responder -I enp2s0f0
__
.----.-----.-----.-----.-----.-----.--| |.-----.----.
| _| -__|__ --| _ | _ | | _ || -__| _|
|__| |_____|_____| __|_____|__|__|_____||_____|__|
|__|
NBT-NS, LLMNR & MDNS Responder 2.3
Author: Laurent Gaffie (laurent.gaffie@gmail.com)