semvec/pypi-packages huggingface dataset:
yara-grep 0.5.0
CLI tool for rapid Yara rule prototyping
Requires Python: <4.0,>=3.10

## ygrep

CLI tool for rapid Yara rule prototyping.

## Installation

`pip install yara-grep`

## Usage

```
usage: ygrep.py [-h] [-l] [-n] [-a] [-m MODIFIER] [-b BYTES] [-s STRING] [path]

yara grep - cmdline string/byte search

positional arguments:
  path                  search path (default: **)

optional arguments:
  -h, --help            show this help message and exit
  -l, --quiet           list matching filenames only (suppress normal output)
  -n, --dry-run         do not scan, compile rule only
  -a, --any             set condition to 'any of them' (default: 'all of them')
  -m MODIFIER, --modifier MODIFIER
                        modifier for string patterns - e.g. ascii,wide,nocase,xor,base64,base64wide
  -b BYTES, --bytes BYTES
                        bytes to grep
  -s STRING, --string STRING
                        string to grep
```

## Example

```
>>> ygrep -s "InternetConnectA" -s "WinHttpConnect" -a -m "xor"
rule x {
    strings:
        $s0 = "InternetConnectA" xor
        $s1 = "WinHttpConnect" xor
    condition:
        any of them
}

extracted\api.VirtualAlloc.0x504000.mem
--------  -------------------  -----------------------------------------------
0x229d5c  b'InternetConnectA'  49 6e 74 65 72 6e 65 74 43 6f 6e 6e 65 63 74 41
0x22ab1a  b'WinHttpConnect'    57 69 6e 48 74 74 70 43 6f 6e 6e 65 63 74
--------  -------------------  -----------------------------------------------
extracted\api.VirtualAlloc.0x85000.mem
-------  -------------------  -----------------------------------------------
0x28dcc  b'InternetConnectA'  49 6e 74 65 72 6e 65 74 43 6f 6e 6e 65 63 74 41
-------  -------------------  -----------------------------------------------
sdfmsdofpd
---  ----------------------------  -----------------------------------------------
0x8  b"\x1c;!0';0!\x16:;;06!\x14"  1c 3b 21 30 27 3b 30 21 16 3a 3b 3b 30 36 21 14
---  ----------------------------  -----------------------------------------------

>>> ygrep -b "AA ?? AA ?? BB" -s "kernel32"

rule x {
    strings:
        $s0 = "kernel32" ascii wide nocase
        $b0 = { AA ?? AA ?? BB }
    condition:
        all of them
}

samples\tmp7v4jjmpn
---------  -----------------------  -----------------------
0x52f8     b'kernel32'              6b 65 72 6e 65 6c 33 32
0xe554     b'kernel32'              6b 65 72 6e 65 6c 33 32
0x27a08    b'kernel32'              6b 65 72 6e 65 6c 33 32
0x27c46    b'kernel32'              6b 65 72 6e 65 6c 33 32
0x27d34    b'kernel32'              6b 65 72 6e 65 6c 33 32
0x28578    b'kernel32'              6b 65 72 6e 65 6c 33 32
0x5a91c    b'KERNEL32'              4b 45 52 4e 45 4c 33 32
0xa5224    b'KERNEL32'              4b 45 52 4e 45 4c 33 32
0xf50ac    b'KERNEL32'              4b 45 52 4e 45 4c 33 32
0x102a00   b'KERNEL32'              4b 45 52 4e 45 4c 33 32
0x1137bf0  b'\xaa\xb4\xaa\xa3\xbb'  aa b4 aa a3 bb
0x151c6a2  b'\xaa\x7f\xaa\xfe\xbb'  aa 7f aa fe bb
---------  -----------------------  -----------------------
```
seele 0.5.5
Website packaged for UF in Japan, Summer 2024

Project Description:

  This app will provide an educational infographic and personalized disaster preparation checklist based on a user's specific circumstance. The website also generates an easy to understand graphic that the user may download. 

Build and Install Server Commands:

    pip install seele

Repository Link:

  https://github.com/JMalegni/DisasterPrepApp

Run Executable and Initialization commands:

    seele_start

Contributors:

  Joseph Malegni, Christian Ferrer, Nicholas DeSanctis, Xael Font, Logan Chenicek

Credit to Prabhat Mishra as a guideline for a Django/Bootstrap Project:
https://github.com/prabhatx/django-basic-project
winfuncs 0.1.3
Simplifying various WinAPI functions, with this library you won`t need to use ctypes to call WinAPI functions.
Requires Python: >=3.6

# WinFuncs Library #
## What is this? ##
Simplifying various WinAPI functions, with this library you won`t need to use ctypes to call WinAPI functions.

## Working with the library ##

**move_cursor_absolute(x: int, y: int) -> None**
moves the cursor to the specified coordinates.
arguments:  
```x: int``` - координата x.  
```y: int``` - координата y.  
returns: None.  
Note: The x and y values must be at least 0 and no more than 65535.  

Example:
```python
winfuncs.move_cursor_absolute(0,0)
# The cursor moves to the upper left corner
```

**move_cursor(x: int, y: int) -> None**
moves the cursor to the specified coordinates relative to the current cursor position.  
arguments:  
```x: int``` - координата x.  
```y: int``` - координата y.  
returns: None.  
Note: x and y are the number of pixels that the cursor will be moved to.  

Example:
```python
winfuncs.move_cursor(0, 100)
# The cursor moves 100 pixels along the y axis
```

**mouse_right_up() -> None**
Simulates releasing the right mouse button.  
arguments: nothing  
returns: None.  
Note: nothing.  

Example:
```python
winfuncs.mouse_right_up()
```

**mouse_right_down() -> None**
Simulates right-click.  
arguments: nothing.  
returns: None.  
Note: nothing.  

Example:
```python
winfuncs.mouse_right_down()
```

**mouse_left_down() -> None**
Simulates left-click.  
arguments: nothing.  
returns: None.  
Note: nothing.  

Example:
```python
winfuncs.mouse_left_down()
```

**mouse_left_up() -> None**
Simulates raising the left mouse button.  
arguments: nothing.  
returns: None.  
Note: nothing.  

Example:
```python
winfuncs.mouse_left_up()
```
**turnoff_keyboard() -> None**
Disables the keyboard.  
arguments: Nothing.  
returns: None.  
Note: This function must be called in a separate thread if you want your main thread not to stop. Also, before calling the keyboard enable function, some amount of time must pass (Tested time: not less than 1 second).  

Example:
```python
import threading
import time
import winfuncs

thread1 = threading.Thread(target=winfuncs.turnoff_keyboard)
thread1.start()
time.sleep(30)
winfuncs.turnon_keyboard()
# the keyboard turns off for 30 seconds
```

**turnon_keyboard() -> None**
Turns on the keyboard.  
arguments: Nothing.  
returns: None.  
Note: See turnoff_keyboard() function notes.  

Example: See turnoff_keyboard() function example.  

**turnoff_monitor() -> None**
Turns off the monitor.  
arguments: Nothing.  
returns: None.  
Note: Nothing.  

Example:
```python
import winfuncs
winfuncs.turnoff_monitor()
```

**turnon_monitor() -> None**
Turns on the monitor.  
arguments: Nothing.  
returns: None.  
Note: Nothing.  

Example:
```python
import winfuncs
winfuncs.turnon_monitor()
```