Skip to content

Instantly share code, notes, and snippets.

View zedsec390's full-sized avatar

Zed Security zedsec390

  • Zed Security
  • Earth
View GitHub Profile
@zedsec390
zedsec390 / ISRDDN
Last active July 4, 2023 10:07
isrddn data area name file
# remove these comments before using this file
# create flat sequential file FB80 called <HLQ>.ISRDDN (can be anything, just need for next step)
# in ispf 6 do:
# ALLOCATE DSNAME(<HLQ>.ISRDDN) DDNAME(ISRDDN)
# DDLIST (start isrddn)
# B CVT (shows cvt)
# B ACEEFLG1 (shows current ACEE flags for special, etc)
# This file uses standard TSO TEST addressing (TSO/E PROGRAMMING GUIDE FOR INFO)
# Addresses are in hex.
# + means browse from current position
@zedsec390
zedsec390 / pty.py.patch
Last active August 29, 2015 14:27
Patch for 2.7.6 Python (rocket ported tools) pty.py - allows for spawning shell via python
--- pty.py.old 2015-08-21 12:29:10.000000000 -0500
+++ pty.py 2015-08-21 12:29:10.000000000 -0500
@@ -61,6 +61,7 @@
return master_fd, tty_name
for x in 'pqrstuvwxyzPQRST':
for y in '0123456789abcdef':
+ y='000' + y
pty_name = '/dev/pty' + x + y
try:
fd = os.open(pty_name, os.O_RDWR)