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
There is no stdin therefore you can't use pdb , options are:
676
705
- using `print`
706
+
- using generated log file (contains information about memory leaks)
677
707
- using pycharm remote debugging (localhost)
708
+
- using threading
678
709
- using [vscode](https://code.visualstudio.com/docs/python/debugging) attach to the process:
679
710
- Load python extension
680
711
- open script file , `pip install debugpy` , place `debugpy.breakpoint()` somewhere
@@ -685,9 +716,21 @@ There is no stdin therefore you can't use pdb , options are:
685
716
686
717

687
718
719
+
# Security
720
+
- "Calling home" - see [`#4044`](https://github.com/obsproject/obs-studio/issues/4044)
721
+
- On GNU/Linux there is handy program called `tcpdump`, to run a check against OBS Studio - use this command (it is active on 443 port on start and on end)
- Avoid using `sudo` or admin, check hashsums, do backups, do updates, etc...
726
+
- There is no confirmation for loading Lua or Python scripts - they can be added/overwritten via .json key
727
+
- Also solutions for Python source code obfuscation & loading from shared (compiled) library do exist.Applying that will make it a bit harder to reverse-engineer your code.
728
+
688
729
# Docs and code examples
689
730
690
-
[Generated export.md](src/export.md) contains all variables and functions available in `obspython` formatted with markdown. Table consist of links to appropriate search terms in OBS Studio repository, and obswebsocket,links to scripts in `obspython` and `obslua` with each script within github code search.`gs_*` and `matrix_*` functions exluded from that table.
731
+
-[`Generated export.md`](src/export.md)
732
+
733
+
contains all variables and functions available in `obspython` formatted with markdown. Table consist of links to appropriate search terms in OBS Studio repository and obswebsocket,links to scripts in `obspython` and `obslua` with each script within github code search.`gs_*` and `matrix_*` functions exluded from that table.
691
734
[Full example](src/export_md.py)
692
735
`Note` : starting from 2020.12.17 Github Code Search no longer works as it was, see also this [thread](https://github.community/t/feedback-on-changes-to-code-search-indexing/150660)
693
736
@@ -696,7 +739,7 @@ There is no stdin therefore you can't use pdb , options are:
-[OBS Studio Repo](https://github.com/obsproject/obs-studio) , [obs-scripting-python.c](https://github.com/obsproject/obs-studio/blob/master/deps/obs-scripting/obs-scripting-python.c)
0 commit comments