You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(docs): nueva documentacion comando evidence \n\n Version: release/0.1.53 \n\n ahroa en ingles y mas detallado \n\n Modified file(s):\n- COMMANDS.md
Copy file name to clipboardExpand all lines: COMMANDS.md
+23-3Lines changed: 23 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5607,13 +5607,33 @@ and prints relevant information to the screen.
5607
5607
:returns: None
5608
5608
5609
5609
## evidence
5610
-
Comprime la carpeta 'sessions' y la codifica en un video usando lazyown_infinitestorage.py.
5611
-
Si se proporciona un nombre de archivo, decodifica el video en su lugar.
5610
+
Compresses the 'sessions' folder and encodes it into a video using the lazyown_infinitestorage.py script.
5611
+
If a filename is provided as an argument, it decodes the specified video instead.
5612
5612
5613
-
:param line: Opcional; si se proporciona, es el nombre del video para decodificar.
5613
+
This function operates in two modes depending on the input:
5614
+
1.**Encode Mode (default)**:
5615
+
- Compresses the contents of the 'sessions' directory into a ZIP file named 'sessions.zip'.
5616
+
- Utilizes the lazyown_infinitestorage.py script to convert the ZIP file into a high-definition video file named 'encoded_output.avi' with a frame size of 1920x1080 and a frame rate of 25 FPS.
5617
+
5618
+
2.**Decode Mode**:
5619
+
- When the 'line' parameter contains the string "decode", it lists all available video files in the 'sessions' directory (files with .mp4, .mkv, or .avi extensions).
5620
+
- If there are no video files present, it prints an error message and exits.
5621
+
- Prompts the user to select a video by entering its corresponding number.
5622
+
- Constructs a command to decode the selected video file using the lazyown_infinitestorage.py script, outputting the decoded result to a specified directory.
5623
+
5624
+
:param line: An optional parameter that, when provided, indicates that the user wants to decode a video. If not provided, the function operates in encode mode.
5614
5625
:type line: str
5615
5626
:returns: None
5616
5627
5628
+
Example usage:
5629
+
- To compress and encode: do_evidence()
5630
+
- To decode a video: do_evidence('decode')
5631
+
5632
+
Notes:
5633
+
- The 'sessions' directory must exist and contain files for encoding.
5634
+
- The lazyown_infinitestorage.py script must be present in the specified directory.
5635
+
- Ensure that the output paths for both encoding and decoding do not conflict with existing files.
5636
+
5617
5637
## find_tgts
5618
5638
Finds and returns a list of target hosts with port 445 open in the specified subnet.
Copy file name to clipboardExpand all lines: README.md
+30-3Lines changed: 30 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6902,13 +6902,33 @@ and prints relevant information to the screen.
6902
6902
:returns: None
6903
6903
6904
6904
## evidence
6905
-
Comprime la carpeta 'sessions' y la codifica en un video usando lazyown_infinitestorage.py.
6906
-
Si se proporciona un nombre de archivo, decodifica el video en su lugar.
6905
+
Compresses the 'sessions' folder and encodes it into a video using the lazyown_infinitestorage.py script.
6906
+
If a filename is provided as an argument, it decodes the specified video instead.
6907
6907
6908
-
:param line: Opcional; si se proporciona, es el nombre del video para decodificar.
6908
+
This function operates in two modes depending on the input:
6909
+
1. **Encode Mode (default)**:
6910
+
- Compresses the contents of the 'sessions' directory into a ZIP file named 'sessions.zip'.
6911
+
- Utilizes the lazyown_infinitestorage.py script to convert the ZIP file into a high-definition video file named 'encoded_output.avi' with a frame size of 1920x1080 and a frame rate of 25 FPS.
6912
+
6913
+
2. **Decode Mode**:
6914
+
- When the 'line' parameter contains the string "decode", it lists all available video files in the 'sessions' directory (files with .mp4, .mkv, or .avi extensions).
6915
+
- If there are no video files present, it prints an error message and exits.
6916
+
- Prompts the user to select a video by entering its corresponding number.
6917
+
- Constructs a command to decode the selected video file using the lazyown_infinitestorage.py script, outputting the decoded result to a specified directory.
6918
+
6919
+
:param line: An optional parameter that, when provided, indicates that the user wants to decode a video. If not provided, the function operates in encode mode.
6909
6920
:type line: str
6910
6921
:returns: None
6911
6922
6923
+
Example usage:
6924
+
- To compress and encode: do_evidence()
6925
+
- To decode a video: do_evidence('decode')
6926
+
6927
+
Notes:
6928
+
- The 'sessions' directory must exist and contain files for encoding.
6929
+
- The lazyown_infinitestorage.py script must be present in the specified directory.
6930
+
- Ensure that the output paths for both encoding and decoding do not conflict with existing files.
6931
+
6912
6932
## find_tgts
6913
6933
Finds and returns a list of target hosts with port 445 open in the specified subnet.
6914
6934
@@ -7128,6 +7148,13 @@ Helper function to alternate the case of characters in a string.
0 commit comments