Skip to content

Instantly share code, notes, and snippets.

@alexiasa
alexiasa / electron.md
Created April 28, 2021 03:34
notes about hacking electron apps

notes about hacking electron applications

infamous shell.openExternal: opens an application based on URI and filetype association.

commonly-abused APIs

remote.app

when exposed to the renderer, remote.app allows the renderer processs to access APIs normally only available in the main process (this module will be deprecated in E 12 and removed in E 14)

Many of the functions exposed by this object can be easily abused, including but not limited to:

  • app.relaunch([options]) Relaunches the app when current instance exits.
@alexiasa
alexiasa / resources.md
Last active January 27, 2020 18:28
blue team resources
@alexiasa
alexiasa / gist:650b99077f65636bb621d88f8486d28d
Last active December 31, 2019 22:24
Google Dorks Notes

Search options:

  • &strip=1 - cached text only: use Google's version of site and avoid connecting directly
@alexiasa
alexiasa / notes.md
Created September 28, 2019 03:42
Column Enumeration with Burp Intruder

Using Burp Suite to Enumerate Database Columns

I exploited a SQLi vulnerability to enumerate the columns in a database by doing something like this:

/comment.php?id=738 order by 1;#

Automating With Burp Suite

Column enumeration can be achieved in a manner indistinguishable from magic by using sqlmap.

It can also be achieved with Burp Suite's Intruder function.

@alexiasa
alexiasa / pytalkcompare.txt
Last active June 2, 2018 03:24
Python and Smalltalk
Notes about Smalltalk. Smalltalk influenced essentially all of the subsequent object-oriented languages. A few of the modern Smalltalk frameworks include Amber and Seaside which are geared toward web development.
"this is a comment in Smalltalk. we are going to declare and assign variables."
| x y | "declare the variable x and y"
x := 1 "assign x a value of 1"
y:= $q "assign y the character 'q'"
# this is a comment in Python. we are going to declare and assign variables.
~/hashcat-4.0.1$ ./hashcat64.bin -a 1 -m 900 --opencl-platforms=1 c600a9a5e9314a06662676dae2cc6ee4 all.dict rockyou.dict -o dw_solved --outfile-format=2 -O
hashcat (v4.0.1) starting...
nvmlDeviceGetFanSpeed(): Not Supported
nvmlDeviceGetFanSpeed(): Not Supported
OpenCL Platform #1: NVIDIA Corporation
======================================
* Device #1: Tesla M60, 1903/7613 MB allocatable, 16MCU
@alexiasa
alexiasa / benchmarks
Created February 13, 2018 07:05
Hashcat Benchmarks with AWS EC2 g3.8xlarge Instance
Hashcat Benchmarks with AWS EC2 g3.8xlarge Instance
Optimized Per These Instructions: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/optimize_gpu.html
hashcat (v4.0.1) starting in benchmark mode...
Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.

Keybase proof

I hereby claim:

  • I am alexiasa on github.
  • I am alexiasa (https://keybase.io/alexiasa) on keybase.
  • I have a public key ASBWhX3Il0fFEElmZ24PeTtI0zTYmcmM5uCkMiouNaBx7wo

To claim this, I am signing this object: