Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JohnHammond/katana
/ functions
Functions
398 in github.com/JohnHammond/katana
⨍
Functions
398
◇
Types & classes
126
↳
Endpoints
1
↓ 1 callers
Function
find_variables
This is used to detect variables in a given file, or handle a given \ pubkey. :param text: The string to pull the variables from.
katana/units/crypto/rsa.py:193
↓ 1 callers
Method
getDTMFfromWAV
(self, filename)
katana/units/stego/dtmf_decode.py:202
↓ 1 callers
Function
get_info
Get audiodata from the given the file path
katana/units/stego/audio_spectrogram.py:21
↓ 1 callers
Function
get_plane
Get a new image showcasing only one channel and index of an image. :param img: The Python PIL original image object :param data: The p
katana/units/stego/stegsolve.py:25
↓ 1 callers
Method
goertzel
(self, sample)
katana/units/stego/dtmf_decode.py:167
↓ 1 callers
Method
init
(self, *args)
katana/units/web/git.py:149
↓ 1 callers
Function
initial_memory
This function is used as part of Malbolge's operations.
katana/units/esoteric/malbolge.py:103
↓ 1 callers
Function
isqrt
This function is used for the Weiner's Little D attack. Determines the integer square root of a nunber. :param n: The number to determi
katana/units/crypto/rsa.py:120
↓ 1 callers
Function
main
()
katana/__main__.py:16
↓ 1 callers
Function
md5sum
Quick convenience function to get the MD5 hash of a file
katana/units/forensics/foremost.py:19
↓ 1 callers
Function
md5sum
Quick convenience function to get the MD5 hash of a file
katana/units/forensics/binwalk.py:21
↓ 1 callers
Function
md5sum
Quick convenience function to get the MD5 hash of a file. This is used for the image display functionality.
katana/repl/__init__.py:38
↓ 1 callers
Method
on_data
Notify the monitor of arbitrary data returned by a unit. The data could be of any type, but is likely `bytes` and should never be `str`
katana/monitor.py:47
↓ 1 callers
Method
on_depth_limit
This means we reached the manager['manager']['max-depth'] limit during recursion.
katana/monitor.py:37
↓ 1 callers
Method
post_testing
(self)
katana/units/stego/dtmf_decode.py:52
↓ 1 callers
Function
rational_to_contfrac
This function is used for the Weiner's Little D attack. Converts a rational x/y fraction into a list of partial quotients [a0, ..., an]
katana/units/crypto/rsa.py:28
↓ 1 callers
Method
register
Register a unit to be used during analysis
katana/unit.py:408
↓ 1 callers
Function
replaceMap
()
katana/units/esoteric/__jsfuck.js:143
↓ 1 callers
Function
replaceStrings
()
katana/units/esoteric/__jsfuck.js:203
↓ 1 callers
Method
requeue
Requeue an item which has more cases left to evaluate
katana/manager.py:469
↓ 1 callers
Function
rotr
This function is used as part of Malbolge's operations.
katana/units/esoteric/malbolge.py:56
↓ 1 callers
Function
shift
(data: bytes, n: int, start: int = 0, end: int = 256)
tests/units/crypto/caesar255.py:5
↓ 1 callers
Method
validate
Checks that required configuration values are available in the manager configuration file. This should be called via `super` prior to
katana/unit.py:154
↓ 1 callers
Method
validate
Validate the configuration given this manager, a target, and a set of chosen units you are going to run. Not verify the validity could
katana/manager.py:333
↓ 1 callers
Function
vigenere
Perform a vigenere cipher. :param plaintext: The plaintext message to use for the Vigenere cipher. :param key: The key to use for the V
katana/units/crypto/vigenere.py:25
↓ 1 callers
Function
weiners_little_d
This function is used for the Weiner's Little D attack. Actually :param e: The RSA e-value (exponent). :param n: The RSA N-value
katana/units/crypto/rsa.py:161
↓ 1 callers
Function
word
This function is used as part of Malbolge's operations.
katana/units/esoteric/malbolge.py:37
↓ 1 callers
Function
xor
Perform an XOR operation across the provided data with a given key. :param data: A byte string to use as the data for the XOR operation.
katana/units/crypto/xor.py:19
Method
__getitem__
Get a slice of the upstream... this seems very inneficient, but it was in the old version, and I don't want to break too much...
katana/target.py:345
Method
__init__
(self, *args, **kwargs)
katana/monitor.py:103
Method
__init__
(self, manager: katana.manager.Manager, use_default: bool = True)
katana/unit.py:347
Method
__init__
( self, manager: katana.manager.Manager, target: katana.target.Target, keyword
katana/unit.py:511
Method
__init__
(self, manager: katana.manager.Manager, target: katana.target.Target)
katana/unit.py:539
Method
__init__
(self, manager: katana.manager.Manager, target: katana.target.Target)
katana/unit.py:550
Method
__init__
(self, manager: katana.manager.Manager, target: katana.target.Target)
katana/unit.py:561
Method
__init__
(self, manager: katana.manager.Manager, target: katana.target.Target)
katana/unit.py:575
Method
__init__
( self, manager: katana.manager.Manager, upstream: bytes, parent: katana.unit.
katana/target.py:92
Method
__init__
(self, monitor: Monitor = None, config_path=None, default_units=True)
katana/manager.py:60
Method
__init__
(self, *args, **kwargs)
katana/units/crypto/phonetic.py:74
Method
__init__
(self, *args, **kwargs)
katana/units/crypto/__init__.py:25
Method
__init__
(self, *args, **kwargs)
katana/units/crypto/vigenere.py:85
Method
__init__
(self, *args, **kwargs)
katana/units/crypto/rsa.py:325
Method
__init__
(self, *args, **kwargs)
katana/units/crypto/railfence.py:147
Method
__init__
(self, *args, **kwargs)
katana/units/crypto/quipqiup.py:78
Method
__init__
The constructor verifies that that only DNA letters (A, T, C, G) are found in the target.
katana/units/crypto/dna.py:50
Method
__init__
The constructor collects the supplied key and creates the appropriate alphabets.
katana/units/crypto/keyed_caesar.py:65
Method
__init__
The constructor is included just to provide a keyword for the ``FileUnit``, ensuring the provided target is in fact a PDF file.
katana/units/pdf/pdfcrack.py:52
Method
__init__
The constructor is included just to provide a keyword for the ``FileUnit``, ensuring the provided target is in fact a PDF file.
katana/units/pdf/pdfimages.py:46
Method
__init__
The constructor is included just to provide a keyword for the ``FileUnit``, ensuring the provided target is in fact a PDF file.
katana/units/pdf/pdfinfo.py:53
Method
__init__
The constructor is included just to provide a keyword for the ``FileUnit``, ensuring the provided target is in fact a PDF file.
katana/units/pdf/pdf2text.py:43
Method
__init__
(self, *args, **kwargs)
katana/units/forensics/foremost.py:63
Method
__init__
(self, *args, **kwargs)
katana/units/forensics/binwalk.py:65
Method
__init__
The constructor is included just to provide a keyword for the ``FileUnit``, ensuring the provided target is in fact a ZIP archive.
katana/units/zip/unzip.py:49
Method
__init__
The constructor is included just to provide a keyword for the ``FileUnit``, ensuring the provided target is in fact an image. This
katana/units/raw/qrcode.py:39
Method
__init__
(self, *args, **kwargs)
katana/units/raw/urldecode.py:44
Method
__init__
(self, manager: Manager, target: Target)
katana/units/raw/ascii85.py:38
Method
__init__
(self, manager: Manager, target: Target)
katana/units/raw/base64.py:43
Method
__init__
(self, manager: Manager, target: Target)
katana/units/raw/base85.py:40
Method
__init__
(self, manager: Manager, target: Target)
katana/units/raw/grep.py:16
Method
__init__
(self, *args, **kwargs)
katana/units/raw/base32.py:38
Method
__init__
(self, *args, **kwargs)
katana/units/raw/base58.py:37
Method
__init__
The constructor is included just to provide a keyword for the ``FileUnit``, ensuring the provided target is in fact a PCAP file.
katana/units/pcap/tcpflow.py:48
Method
__init__
The constructor is included just to provide a keyword for the ``FileUnit``, ensuring the provided target is in fact an image.
katana/units/ocr/tesseract.py:61
Method
__init__
The constructor is included just to provide a keyword for the ``FileUnit``, ensuring the provided target is in fact a JPG file.
katana/units/stego/jsteg.py:43
Method
__init__
The constructor is included just to provide a keyword for the ``FileUnit``, ensuring the provided target is in fact a PNG file.
katana/units/stego/zsteg.py:69
Method
__init__
The constructor is included just to provide a keyword for the ``FileUnit``, ensuring the provided target is an image file. This
katana/units/stego/stegsolve.py:94
Method
__init__
The constructor is included just to provide a keyword for the ``FileUnit``, ensuring the provided target is an audio file. This
katana/units/stego/audio_spectrogram.py:64
Method
__init__
(self, *args, **kwargs)
katana/units/stego/steghide.py:48
Method
__init__
(self)
katana/units/stego/dtmf_decode.py:28
Method
__init__
The constructor is included just to provide a keyword for the ``FileUnit``, ensuring the provided target is an audio file. This
katana/units/stego/dtmf_decode.py:237
Method
__init__
(self, *args, **kwargs)
katana/units/stego/whitespace.py:53
Method
__init__
(self, *args, **kwargs)
katana/units/crack/md5.py:39
Method
__init__
The constructor is included just to provide a keyword for the ``FileUnit``, ensuring the provided target is in fact an ELF executable
katana/units/rev/ltrace.py:38
Method
__init__
(self, manager: Manager, target: Target)
katana/units/apk/apktool.py:41
Method
__init__
The constructor is included just to provide a keyword for the ``FileUnit``, ensuring the provided target is in fact a TAR archive.
katana/units/tar/extract.py:41
Method
__init__
The constructor is included just to provide a keyword for the ``FileUnit``, ensuring the provided target is in fact a GZIP archive.
katana/units/gzip/gunzip.py:41
Method
__init__
The constructor is included to first determine if there is a form on this web page. If no form is found, it will abort.
katana/units/web/basic_sqli.py:48
Method
__init__
The constructor is included to first determine if there is a form on this web page. If no form is found, it will abort.
katana/units/web/logon_cookies.py:50
Method
__init__
The constructor is included to first determine if there is a form on this web page. If no form is found, it will abort.
katana/units/web/basic_nosqli.py:48
Method
__init__
(self, *args, **kwargs)
katana/units/web/__init__.py:65
Method
__init__
The constructor is included to first determine if a found target is an attachment or a bad MIME type. If this is the case, the unit
katana/units/web/spider.py:64
Method
__init__
The constructor is included to first determine if there is a robots.txt file present on the website. If that is not found, this
katana/units/web/robots.py:53
Method
__init__
The constructor is included to first determine if there is upload functionality on this web page. If a form with upload functionality
katana/units/web/basic_img_shell.py:60
Method
__init__
(self, pending_tasks, tasks_done, args)
katana/units/web/git.py:125
Method
__init__
(self, pending_tasks, tasks_done, args)
katana/units/web/git.py:216
Method
__init__
The constructor is included to first determine if there is a form on this web page. If no form is found, it will abort.
katana/units/web/form_submit.py:41
Method
__init__
(self, *args, **kwargs)
katana/units/esoteric/jsfuck.py:48
Method
__init__
(self, *args, **kwargs)
katana/units/esoteric/pikalang.py:56
Method
__init__
(self, *args, **kwargs)
katana/units/esoteric/ook.py:87
Method
__init__
The constructor is included just to provide a keyword for the ``FileUnit``, ensuring the provided target is in fact an image.
katana/units/esoteric/piet.py:47
Method
__init__
(self, *args, **kwargs)
katana/units/esoteric/cow.py:219
Method
__init__
(self, *args, **kwargs)
katana/repl/ctfd.py:9
Method
__init__
(self, url, username, password, api_version)
katana/repl/pico.py:10
Method
__init__
(self, repl: "katana.repl.Repl", *args, **kwargs)
katana/repl/__init__.py:53
Method
__init__
(self)
katana/repl/__init__.py:81
Method
__init__
(self, url: str, username: str, password: str, api_version: str)
katana/repl/ctf.py:51
Method
__repr__
String representation will provide the unit name plus the target upstream
katana/unit.py:143
Method
__repr__
Create a representation of this object based on it's upstream path
katana/target.py:335
Method
__str__
Default string conversion reports the module name for this unit
katana/unit.py:139
Method
__str__
Create a printable user-readable representation of the target
katana/target.py:341
← previous
next →
101–200 of 398, ranked by callers