(0) $ python3 -m vmware_static_dhcp.vmware_static_dhcp --help
usage: vmware_static_dhcp.py [-h] --hw-addr HW_ADDR --ip-addr IP_ADDR
--hostname HOSTNAME
updated_hosts_path updated_dhcpd_conf_path
positional arguments:
updated_hosts_path Path to updated hosts file
updated_dhcpd_conf_path
Path to update dhcpd.conf file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# File: deletebranch.sh | |
# Author: Zachary Cutlip <[email protected]> | |
# Purpose: (Relatively) safely delete specified branch from local and origin in one pass | |
quit(){ | |
if [ $# -gt 1 ]; | |
then | |
echo $1 |
First, instantiate a Mach
object, passing it the path to a mach-o binary:
m = Mach("/usr/lib/libobjc.A.dylib")
The Mach
class treats all mach-o binaries as if they're fat binaries with at least once slice. So to work with your mach-o you first have to get its slice, even if it's not a fat binary. You can either to this by architecture name or slice index:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from ghidra.program.model.block import BasicBlockModel | |
from ghidra.util.task import ConsoleTaskMonitor | |
""" | |
Ghidra script to identify the addresses of all basic blocks within a function | |
Prompts for name of a function, and name of an output file. Locates all basic block addreses | |
and writes them to the output file. | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from java.awt import Color | |
from ghidra.util.task import ConsoleTaskMonitor | |
from ghidra.program.model.block import BasicBlockModel | |
from docking.options.editor import GhidraColorChooser | |
""" | |
Ghidra script to colorize all basic blocks identified by the input file. | |
Prompts for a file to use as input. This script will attempt to sanity check | |
that a basic block actually does start at each provided address. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
screenSleep = false | |
screenSaver = false | |
screenLock = false | |
--[[ | |
A module to pause/unpause Folding@Home depending on screensaver, screen lock, and | |
screen sleep state. | |
Folding@Home's "only when idle" mode does not pause/unpause the client at obvious times | |
or for obvious reasons. Instead, This module uses screen state as in indicator that the | |
user is/isn't interacting with the system. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Date/time: 2021-03-02T18:47:39.428075-08:00 | |
Information source: https://en.wikipedia.org/wiki/List_of_Star_Wars_planets_and_moons | |
Planets added: | |
Aleen | |
Endor (Sanctuary) | |
Esseles | |
Jestefad | |
Sissubo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:::::::.. :::. :::::::-. ::: ... | |
;;;;``;;;; ;;`;; ;;, `';,;;; .;;;;;;;. | |
[[[,/[[[' ,[[ '[[, `[[ [[[[[,[[ \[[, | |
$$$$$$c c$$$cc$$$c $$, $$$$$$$$, $$$ | |
888b "88bo,888 888,888_,o8P'888"888,_ _,88P | |
MMMM "W" YMM ""` MMMMP"` MMM "YMMMMMP" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"date": "2021-07-02T01:01:52+00:00", | |
"url": "https://en.wikipedia.org/wiki/List_of_Star_Wars_planets_and_moons" | |
}, | |
"planets": { | |
"Abafar": { | |
"appearances": [ | |
{ | |
"title": "Star Wars: The Clone Wars", |
OlderNewer