From 087de39f7f3203fa79501814613138a2e5dccf87 Mon Sep 17 00:00:00 2001 From: xFGhoul Date: Tue, 24 Jan 2023 08:15:06 -0400 Subject: [PATCH 1/4] Deployed a98dba0 with MkDocs version: 1.4.2 --- .nojekyll | 0 404.html | 821 ++ assets/images/favicon.png | Bin 0 -> 1870 bytes assets/javascripts/bundle.51d95adb.min.js | 29 + assets/javascripts/bundle.51d95adb.min.js.map | 8 + assets/javascripts/lunr/min/lunr.ar.min.js | 1 + assets/javascripts/lunr/min/lunr.da.min.js | 18 + assets/javascripts/lunr/min/lunr.de.min.js | 18 + assets/javascripts/lunr/min/lunr.du.min.js | 18 + assets/javascripts/lunr/min/lunr.es.min.js | 18 + assets/javascripts/lunr/min/lunr.fi.min.js | 18 + assets/javascripts/lunr/min/lunr.fr.min.js | 18 + assets/javascripts/lunr/min/lunr.hi.min.js | 1 + assets/javascripts/lunr/min/lunr.hu.min.js | 18 + assets/javascripts/lunr/min/lunr.it.min.js | 18 + assets/javascripts/lunr/min/lunr.ja.min.js | 1 + assets/javascripts/lunr/min/lunr.jp.min.js | 1 + assets/javascripts/lunr/min/lunr.ko.min.js | 1 + assets/javascripts/lunr/min/lunr.multi.min.js | 1 + assets/javascripts/lunr/min/lunr.nl.min.js | 18 + assets/javascripts/lunr/min/lunr.no.min.js | 18 + assets/javascripts/lunr/min/lunr.pt.min.js | 18 + assets/javascripts/lunr/min/lunr.ro.min.js | 18 + assets/javascripts/lunr/min/lunr.ru.min.js | 18 + .../lunr/min/lunr.stemmer.support.min.js | 1 + assets/javascripts/lunr/min/lunr.sv.min.js | 18 + assets/javascripts/lunr/min/lunr.ta.min.js | 1 + assets/javascripts/lunr/min/lunr.th.min.js | 1 + assets/javascripts/lunr/min/lunr.tr.min.js | 18 + assets/javascripts/lunr/min/lunr.vi.min.js | 1 + assets/javascripts/lunr/min/lunr.zh.min.js | 1 + assets/javascripts/lunr/tinyseg.js | 206 + assets/javascripts/lunr/wordcut.js | 6708 +++++++++++++++++ .../workers/search.e5c33ebb.min.js | 42 + .../workers/search.e5c33ebb.min.js.map | 8 + assets/stylesheets/main.558e4712.min.css | 1 + assets/stylesheets/main.558e4712.min.css.map | 1 + assets/stylesheets/palette.2505c338.min.css | 1 + .../stylesheets/palette.2505c338.min.css.map | 1 + code_of_conduct/index.html | 997 +++ configuration/Events/index.html | 865 +++ .../Modules/Anti Analysis/events/index.html | 920 +++ .../Modules/Anti Analysis/index.html | 1047 +++ .../Modules/Anti DLL/events/index.html | 935 +++ configuration/Modules/Anti DLL/index.html | 935 +++ .../Modules/Anti Process/events/index.html | 956 +++ configuration/Modules/Anti Process/index.html | 951 +++ .../Modules/Anti VM/events/index.html | 1183 +++ configuration/Modules/Anti VM/index.html | 1015 +++ .../Modules/Miscellaneous/events/index.html | 1047 +++ .../Modules/Miscellaneous/index.html | 1095 +++ configuration/PythonProtector/index.html | 1155 +++ faq/index.html | 902 +++ favicon.png | Bin 0 -> 21541 bytes index.html | 1008 +++ installation/index.html | 937 +++ license/index.html | 1458 ++++ release/index.html | 1017 +++ search/search_index.json | 1 + sitemap.xml | 93 + sitemap.xml.gz | Bin 0 -> 209 bytes 61 files changed, 26624 insertions(+) create mode 100644 .nojekyll create mode 100755 404.html create mode 100755 assets/images/favicon.png create mode 100755 assets/javascripts/bundle.51d95adb.min.js create mode 100755 assets/javascripts/bundle.51d95adb.min.js.map create mode 100755 assets/javascripts/lunr/min/lunr.ar.min.js create mode 100755 assets/javascripts/lunr/min/lunr.da.min.js create mode 100755 assets/javascripts/lunr/min/lunr.de.min.js create mode 100755 assets/javascripts/lunr/min/lunr.du.min.js create mode 100755 assets/javascripts/lunr/min/lunr.es.min.js create mode 100755 assets/javascripts/lunr/min/lunr.fi.min.js create mode 100755 assets/javascripts/lunr/min/lunr.fr.min.js create mode 100755 assets/javascripts/lunr/min/lunr.hi.min.js create mode 100755 assets/javascripts/lunr/min/lunr.hu.min.js create mode 100755 assets/javascripts/lunr/min/lunr.it.min.js create mode 100755 assets/javascripts/lunr/min/lunr.ja.min.js create mode 100755 assets/javascripts/lunr/min/lunr.jp.min.js create mode 100755 assets/javascripts/lunr/min/lunr.ko.min.js create mode 100755 assets/javascripts/lunr/min/lunr.multi.min.js create mode 100755 assets/javascripts/lunr/min/lunr.nl.min.js create mode 100755 assets/javascripts/lunr/min/lunr.no.min.js create mode 100755 assets/javascripts/lunr/min/lunr.pt.min.js create mode 100755 assets/javascripts/lunr/min/lunr.ro.min.js create mode 100755 assets/javascripts/lunr/min/lunr.ru.min.js create mode 100755 assets/javascripts/lunr/min/lunr.stemmer.support.min.js create mode 100755 assets/javascripts/lunr/min/lunr.sv.min.js create mode 100755 assets/javascripts/lunr/min/lunr.ta.min.js create mode 100755 assets/javascripts/lunr/min/lunr.th.min.js create mode 100755 assets/javascripts/lunr/min/lunr.tr.min.js create mode 100755 assets/javascripts/lunr/min/lunr.vi.min.js create mode 100755 assets/javascripts/lunr/min/lunr.zh.min.js create mode 100755 assets/javascripts/lunr/tinyseg.js create mode 100755 assets/javascripts/lunr/wordcut.js create mode 100755 assets/javascripts/workers/search.e5c33ebb.min.js create mode 100755 assets/javascripts/workers/search.e5c33ebb.min.js.map create mode 100755 assets/stylesheets/main.558e4712.min.css create mode 100755 assets/stylesheets/main.558e4712.min.css.map create mode 100755 assets/stylesheets/palette.2505c338.min.css create mode 100755 assets/stylesheets/palette.2505c338.min.css.map create mode 100755 code_of_conduct/index.html create mode 100755 configuration/Events/index.html create mode 100755 configuration/Modules/Anti Analysis/events/index.html create mode 100755 configuration/Modules/Anti Analysis/index.html create mode 100755 configuration/Modules/Anti DLL/events/index.html create mode 100755 configuration/Modules/Anti DLL/index.html create mode 100755 configuration/Modules/Anti Process/events/index.html create mode 100755 configuration/Modules/Anti Process/index.html create mode 100755 configuration/Modules/Anti VM/events/index.html create mode 100755 configuration/Modules/Anti VM/index.html create mode 100755 configuration/Modules/Miscellaneous/events/index.html create mode 100755 configuration/Modules/Miscellaneous/index.html create mode 100755 configuration/PythonProtector/index.html create mode 100755 faq/index.html create mode 100755 favicon.png create mode 100755 index.html create mode 100755 installation/index.html create mode 100755 license/index.html create mode 100755 release/index.html create mode 100755 search/search_index.json create mode 100755 sitemap.xml create mode 100755 sitemap.xml.gz diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/404.html b/404.html new file mode 100755 index 0000000..23a1cbf --- /dev/null +++ b/404.html @@ -0,0 +1,821 @@ + + + + + + + + + + + + + + + + + + + + PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ +

404 - Not found

+ +
+
+ + + + +
+ +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/assets/images/favicon.png b/assets/images/favicon.png new file mode 100755 index 0000000000000000000000000000000000000000..1cf13b9f9d978896599290a74f77d5dbe7d1655c GIT binary patch literal 1870 zcmV-U2eJ5xP)Gc)JR9QMau)O=X#!i9;T z37kk-upj^(fsR36MHs_+1RCI)NNu9}lD0S{B^g8PN?Ww(5|~L#Ng*g{WsqleV}|#l zz8@ri&cTzw_h33bHI+12+kK6WN$h#n5cD8OQt`5kw6p~9H3()bUQ8OS4Q4HTQ=1Ol z_JAocz`fLbT2^{`8n~UAo=#AUOf=SOq4pYkt;XbC&f#7lb$*7=$na!mWCQ`dBQsO0 zLFBSPj*N?#u5&pf2t4XjEGH|=pPQ8xh7tpx;US5Cx_Ju;!O`ya-yF`)b%TEt5>eP1ZX~}sjjA%FJF?h7cX8=b!DZl<6%Cv z*G0uvvU+vmnpLZ2paivG-(cd*y3$hCIcsZcYOGh{$&)A6*XX&kXZd3G8m)G$Zz-LV z^GF3VAW^Mdv!)4OM8EgqRiz~*Cji;uzl2uC9^=8I84vNp;ltJ|q-*uQwGp2ma6cY7 z;`%`!9UXO@fr&Ebapfs34OmS9^u6$)bJxrucutf>`dKPKT%%*d3XlFVKunp9 zasduxjrjs>f8V=D|J=XNZp;_Zy^WgQ$9WDjgY=z@stwiEBm9u5*|34&1Na8BMjjgf3+SHcr`5~>oz1Y?SW^=K z^bTyO6>Gar#P_W2gEMwq)ot3; zREHn~U&Dp0l6YT0&k-wLwYjb?5zGK`W6S2v+K>AM(95m2C20L|3m~rN8dprPr@t)5lsk9Hu*W z?pS990s;Ez=+Rj{x7p``4>+c0G5^pYnB1^!TL=(?HLHZ+HicG{~4F1d^5Awl_2!1jICM-!9eoLhbbT^;yHcefyTAaqRcY zmuctDopPT!%k+}x%lZRKnzykr2}}XfG_ne?nRQO~?%hkzo;@RN{P6o`&mMUWBYMTe z6i8ChtjX&gXl`nvrU>jah)2iNM%JdjqoaeaU%yVn!^70x-flljp6Q5tK}5}&X8&&G zX3fpb3E(!rH=zVI_9Gjl45w@{(ITqngWFe7@9{mX;tO25Z_8 zQHEpI+FkTU#4xu>RkN>b3Tnc3UpWzPXWm#o55GKF09j^Mh~)K7{QqbO_~(@CVq! zS<8954|P8mXN2MRs86xZ&Q4EfM@JB94b=(YGuk)s&^jiSF=t3*oNK3`rD{H`yQ?d; ztE=laAUoZx5?RC8*WKOj`%LXEkgDd>&^Q4M^z`%u0rg-It=hLCVsq!Z%^6eB-OvOT zFZ28TN&cRmgU}Elrnk43)!>Z1FCPL2K$7}gwzIc48NX}#!A1BpJP?#v5wkNprhV** z?Cpalt1oH&{r!o3eSKc&ap)iz2BTn_VV`4>9M^b3;(YY}4>#ML6{~(4mH+?%07*qo IM6N<$f(jP3KmY&$ literal 0 HcmV?d00001 diff --git a/assets/javascripts/bundle.51d95adb.min.js b/assets/javascripts/bundle.51d95adb.min.js new file mode 100755 index 0000000..b20ec68 --- /dev/null +++ b/assets/javascripts/bundle.51d95adb.min.js @@ -0,0 +1,29 @@ +"use strict";(()=>{var Hi=Object.create;var xr=Object.defineProperty;var Pi=Object.getOwnPropertyDescriptor;var $i=Object.getOwnPropertyNames,kt=Object.getOwnPropertySymbols,Ii=Object.getPrototypeOf,Er=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable;var on=(e,t,r)=>t in e?xr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,P=(e,t)=>{for(var r in t||(t={}))Er.call(t,r)&&on(e,r,t[r]);if(kt)for(var r of kt(t))an.call(t,r)&&on(e,r,t[r]);return e};var sn=(e,t)=>{var r={};for(var n in e)Er.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&kt)for(var n of kt(e))t.indexOf(n)<0&&an.call(e,n)&&(r[n]=e[n]);return r};var Ht=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Fi=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of $i(t))!Er.call(e,o)&&o!==r&&xr(e,o,{get:()=>t[o],enumerable:!(n=Pi(t,o))||n.enumerable});return e};var yt=(e,t,r)=>(r=e!=null?Hi(Ii(e)):{},Fi(t||!e||!e.__esModule?xr(r,"default",{value:e,enumerable:!0}):r,e));var fn=Ht((wr,cn)=>{(function(e,t){typeof wr=="object"&&typeof cn!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(wr,function(){"use strict";function e(r){var n=!0,o=!1,i=null,a={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(T){return!!(T&&T!==document&&T.nodeName!=="HTML"&&T.nodeName!=="BODY"&&"classList"in T&&"contains"in T.classList)}function f(T){var Ke=T.type,We=T.tagName;return!!(We==="INPUT"&&a[Ke]&&!T.readOnly||We==="TEXTAREA"&&!T.readOnly||T.isContentEditable)}function c(T){T.classList.contains("focus-visible")||(T.classList.add("focus-visible"),T.setAttribute("data-focus-visible-added",""))}function u(T){T.hasAttribute("data-focus-visible-added")&&(T.classList.remove("focus-visible"),T.removeAttribute("data-focus-visible-added"))}function p(T){T.metaKey||T.altKey||T.ctrlKey||(s(r.activeElement)&&c(r.activeElement),n=!0)}function m(T){n=!1}function d(T){s(T.target)&&(n||f(T.target))&&c(T.target)}function h(T){s(T.target)&&(T.target.classList.contains("focus-visible")||T.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),u(T.target))}function v(T){document.visibilityState==="hidden"&&(o&&(n=!0),B())}function B(){document.addEventListener("mousemove",z),document.addEventListener("mousedown",z),document.addEventListener("mouseup",z),document.addEventListener("pointermove",z),document.addEventListener("pointerdown",z),document.addEventListener("pointerup",z),document.addEventListener("touchmove",z),document.addEventListener("touchstart",z),document.addEventListener("touchend",z)}function re(){document.removeEventListener("mousemove",z),document.removeEventListener("mousedown",z),document.removeEventListener("mouseup",z),document.removeEventListener("pointermove",z),document.removeEventListener("pointerdown",z),document.removeEventListener("pointerup",z),document.removeEventListener("touchmove",z),document.removeEventListener("touchstart",z),document.removeEventListener("touchend",z)}function z(T){T.target.nodeName&&T.target.nodeName.toLowerCase()==="html"||(n=!1,re())}document.addEventListener("keydown",p,!0),document.addEventListener("mousedown",m,!0),document.addEventListener("pointerdown",m,!0),document.addEventListener("touchstart",m,!0),document.addEventListener("visibilitychange",v,!0),B(),r.addEventListener("focus",d,!0),r.addEventListener("blur",h,!0),r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host?r.host.setAttribute("data-js-focus-visible",""):r.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if(typeof window!="undefined"&&typeof document!="undefined"){window.applyFocusVisiblePolyfill=e;var t;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(r){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof document!="undefined"&&e(document)})});var un=Ht(Sr=>{(function(e){var t=function(){try{return!!Symbol.iterator}catch(c){return!1}},r=t(),n=function(c){var u={next:function(){var p=c.shift();return{done:p===void 0,value:p}}};return r&&(u[Symbol.iterator]=function(){return u}),u},o=function(c){return encodeURIComponent(c).replace(/%20/g,"+")},i=function(c){return decodeURIComponent(String(c).replace(/\+/g," "))},a=function(){var c=function(p){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var m=typeof p;if(m!=="undefined")if(m==="string")p!==""&&this._fromString(p);else if(p instanceof c){var d=this;p.forEach(function(re,z){d.append(z,re)})}else if(p!==null&&m==="object")if(Object.prototype.toString.call(p)==="[object Array]")for(var h=0;hd[0]?1:0}),c._entries&&(c._entries={});for(var p=0;p1?i(d[1]):"")}})})(typeof global!="undefined"?global:typeof window!="undefined"?window:typeof self!="undefined"?self:Sr);(function(e){var t=function(){try{var o=new e.URL("b","http://a");return o.pathname="c d",o.href==="http://a/c%20d"&&o.searchParams}catch(i){return!1}},r=function(){var o=e.URL,i=function(f,c){typeof f!="string"&&(f=String(f)),c&&typeof c!="string"&&(c=String(c));var u=document,p;if(c&&(e.location===void 0||c!==e.location.href)){c=c.toLowerCase(),u=document.implementation.createHTMLDocument(""),p=u.createElement("base"),p.href=c,u.head.appendChild(p);try{if(p.href.indexOf(c)!==0)throw new Error(p.href)}catch(T){throw new Error("URL unable to set base "+c+" due to "+T)}}var m=u.createElement("a");m.href=f,p&&(u.body.appendChild(m),m.href=m.href);var d=u.createElement("input");if(d.type="url",d.value=f,m.protocol===":"||!/:/.test(m.href)||!d.checkValidity()&&!c)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:m});var h=new e.URLSearchParams(this.search),v=!0,B=!0,re=this;["append","delete","set"].forEach(function(T){var Ke=h[T];h[T]=function(){Ke.apply(h,arguments),v&&(B=!1,re.search=h.toString(),B=!0)}}),Object.defineProperty(this,"searchParams",{value:h,enumerable:!0});var z=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==z&&(z=this.search,B&&(v=!1,this.searchParams._fromString(this.search),v=!0))}})},a=i.prototype,s=function(f){Object.defineProperty(a,f,{get:function(){return this._anchorElement[f]},set:function(c){this._anchorElement[f]=c},enumerable:!0})};["hash","host","hostname","port","protocol"].forEach(function(f){s(f)}),Object.defineProperty(a,"search",{get:function(){return this._anchorElement.search},set:function(f){this._anchorElement.search=f,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(a,{toString:{get:function(){var f=this;return function(){return f.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(f){this._anchorElement.href=f,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(f){this._anchorElement.pathname=f},enumerable:!0},origin:{get:function(){var f={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],c=this._anchorElement.port!=f&&this._anchorElement.port!=="";return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(c?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(f){},enumerable:!0},username:{get:function(){return""},set:function(f){},enumerable:!0}}),i.createObjectURL=function(f){return o.createObjectURL.apply(o,arguments)},i.revokeObjectURL=function(f){return o.revokeObjectURL.apply(o,arguments)},e.URL=i};if(t()||r(),e.location!==void 0&&!("origin"in e.location)){var n=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:n,enumerable:!0})}catch(o){setInterval(function(){e.location.origin=n()},100)}}})(typeof global!="undefined"?global:typeof window!="undefined"?window:typeof self!="undefined"?self:Sr)});var Qr=Ht((Lt,Kr)=>{/*! + * clipboard.js v2.0.11 + * https://clipboardjs.com/ + * + * Licensed MIT © Zeno Rocha + */(function(t,r){typeof Lt=="object"&&typeof Kr=="object"?Kr.exports=r():typeof define=="function"&&define.amd?define([],r):typeof Lt=="object"?Lt.ClipboardJS=r():t.ClipboardJS=r()})(Lt,function(){return function(){var e={686:function(n,o,i){"use strict";i.d(o,{default:function(){return ki}});var a=i(279),s=i.n(a),f=i(370),c=i.n(f),u=i(817),p=i.n(u);function m(j){try{return document.execCommand(j)}catch(O){return!1}}var d=function(O){var w=p()(O);return m("cut"),w},h=d;function v(j){var O=document.documentElement.getAttribute("dir")==="rtl",w=document.createElement("textarea");w.style.fontSize="12pt",w.style.border="0",w.style.padding="0",w.style.margin="0",w.style.position="absolute",w.style[O?"right":"left"]="-9999px";var k=window.pageYOffset||document.documentElement.scrollTop;return w.style.top="".concat(k,"px"),w.setAttribute("readonly",""),w.value=j,w}var B=function(O,w){var k=v(O);w.container.appendChild(k);var F=p()(k);return m("copy"),k.remove(),F},re=function(O){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},k="";return typeof O=="string"?k=B(O,w):O instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(O==null?void 0:O.type)?k=B(O.value,w):(k=p()(O),m("copy")),k},z=re;function T(j){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(w){return typeof w}:T=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},T(j)}var Ke=function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},w=O.action,k=w===void 0?"copy":w,F=O.container,q=O.target,Le=O.text;if(k!=="copy"&&k!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(q!==void 0)if(q&&T(q)==="object"&&q.nodeType===1){if(k==="copy"&&q.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(k==="cut"&&(q.hasAttribute("readonly")||q.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(Le)return z(Le,{container:F});if(q)return k==="cut"?h(q):z(q,{container:F})},We=Ke;function Ie(j){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ie=function(w){return typeof w}:Ie=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},Ie(j)}function Ti(j,O){if(!(j instanceof O))throw new TypeError("Cannot call a class as a function")}function nn(j,O){for(var w=0;w0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof F.action=="function"?F.action:this.defaultAction,this.target=typeof F.target=="function"?F.target:this.defaultTarget,this.text=typeof F.text=="function"?F.text:this.defaultText,this.container=Ie(F.container)==="object"?F.container:document.body}},{key:"listenClick",value:function(F){var q=this;this.listener=c()(F,"click",function(Le){return q.onClick(Le)})}},{key:"onClick",value:function(F){var q=F.delegateTarget||F.currentTarget,Le=this.action(q)||"copy",Rt=We({action:Le,container:this.container,target:this.target(q),text:this.text(q)});this.emit(Rt?"success":"error",{action:Le,text:Rt,trigger:q,clearSelection:function(){q&&q.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(F){return yr("action",F)}},{key:"defaultTarget",value:function(F){var q=yr("target",F);if(q)return document.querySelector(q)}},{key:"defaultText",value:function(F){return yr("text",F)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(F){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return z(F,q)}},{key:"cut",value:function(F){return h(F)}},{key:"isSupported",value:function(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],q=typeof F=="string"?[F]:F,Le=!!document.queryCommandSupported;return q.forEach(function(Rt){Le=Le&&!!document.queryCommandSupported(Rt)}),Le}}]),w}(s()),ki=Ri},828:function(n){var o=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function a(s,f){for(;s&&s.nodeType!==o;){if(typeof s.matches=="function"&&s.matches(f))return s;s=s.parentNode}}n.exports=a},438:function(n,o,i){var a=i(828);function s(u,p,m,d,h){var v=c.apply(this,arguments);return u.addEventListener(m,v,h),{destroy:function(){u.removeEventListener(m,v,h)}}}function f(u,p,m,d,h){return typeof u.addEventListener=="function"?s.apply(null,arguments):typeof m=="function"?s.bind(null,document).apply(null,arguments):(typeof u=="string"&&(u=document.querySelectorAll(u)),Array.prototype.map.call(u,function(v){return s(v,p,m,d,h)}))}function c(u,p,m,d){return function(h){h.delegateTarget=a(h.target,p),h.delegateTarget&&d.call(u,h)}}n.exports=f},879:function(n,o){o.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},o.nodeList=function(i){var a=Object.prototype.toString.call(i);return i!==void 0&&(a==="[object NodeList]"||a==="[object HTMLCollection]")&&"length"in i&&(i.length===0||o.node(i[0]))},o.string=function(i){return typeof i=="string"||i instanceof String},o.fn=function(i){var a=Object.prototype.toString.call(i);return a==="[object Function]"}},370:function(n,o,i){var a=i(879),s=i(438);function f(m,d,h){if(!m&&!d&&!h)throw new Error("Missing required arguments");if(!a.string(d))throw new TypeError("Second argument must be a String");if(!a.fn(h))throw new TypeError("Third argument must be a Function");if(a.node(m))return c(m,d,h);if(a.nodeList(m))return u(m,d,h);if(a.string(m))return p(m,d,h);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function c(m,d,h){return m.addEventListener(d,h),{destroy:function(){m.removeEventListener(d,h)}}}function u(m,d,h){return Array.prototype.forEach.call(m,function(v){v.addEventListener(d,h)}),{destroy:function(){Array.prototype.forEach.call(m,function(v){v.removeEventListener(d,h)})}}}function p(m,d,h){return s(document.body,m,d,h)}n.exports=f},817:function(n){function o(i){var a;if(i.nodeName==="SELECT")i.focus(),a=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var s=i.hasAttribute("readonly");s||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),s||i.removeAttribute("readonly"),a=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var f=window.getSelection(),c=document.createRange();c.selectNodeContents(i),f.removeAllRanges(),f.addRange(c),a=f.toString()}return a}n.exports=o},279:function(n){function o(){}o.prototype={on:function(i,a,s){var f=this.e||(this.e={});return(f[i]||(f[i]=[])).push({fn:a,ctx:s}),this},once:function(i,a,s){var f=this;function c(){f.off(i,c),a.apply(s,arguments)}return c._=a,this.on(i,c,s)},emit:function(i){var a=[].slice.call(arguments,1),s=((this.e||(this.e={}))[i]||[]).slice(),f=0,c=s.length;for(f;f{"use strict";/*! + * escape-html + * Copyright(c) 2012-2013 TJ Holowaychuk + * Copyright(c) 2015 Andreas Lubbe + * Copyright(c) 2015 Tiancheng "Timothy" Gu + * MIT Licensed + */var is=/["'&<>]/;Jo.exports=as;function as(e){var t=""+e,r=is.exec(t);if(!r)return t;var n,o="",i=0,a=0;for(i=r.index;i0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function W(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],a;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return i}function D(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n1||s(m,d)})})}function s(m,d){try{f(n[m](d))}catch(h){p(i[0][3],h)}}function f(m){m.value instanceof Xe?Promise.resolve(m.value.v).then(c,u):p(i[0][2],m)}function c(m){s("next",m)}function u(m){s("throw",m)}function p(m,d){m(d),i.shift(),i.length&&s(i[0][0],i[0][1])}}function mn(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof xe=="function"?xe(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(a){return new Promise(function(s,f){a=e[i](a),o(s,f,a.done,a.value)})}}function o(i,a,s,f){Promise.resolve(f).then(function(c){i({value:c,done:s})},a)}}function A(e){return typeof e=="function"}function at(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var $t=at(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription: +`+r.map(function(n,o){return o+1+") "+n.toString()}).join(` + `):"",this.name="UnsubscriptionError",this.errors=r}});function De(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Fe=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,o,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var s=xe(a),f=s.next();!f.done;f=s.next()){var c=f.value;c.remove(this)}}catch(v){t={error:v}}finally{try{f&&!f.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else a.remove(this);var u=this.initialTeardown;if(A(u))try{u()}catch(v){i=v instanceof $t?v.errors:[v]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var m=xe(p),d=m.next();!d.done;d=m.next()){var h=d.value;try{dn(h)}catch(v){i=i!=null?i:[],v instanceof $t?i=D(D([],W(i)),W(v.errors)):i.push(v)}}}catch(v){n={error:v}}finally{try{d&&!d.done&&(o=m.return)&&o.call(m)}finally{if(n)throw n.error}}}if(i)throw new $t(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)dn(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&De(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&De(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var Or=Fe.EMPTY;function It(e){return e instanceof Fe||e&&"closed"in e&&A(e.remove)&&A(e.add)&&A(e.unsubscribe)}function dn(e){A(e)?e():e.unsubscribe()}var Ae={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var st={setTimeout:function(e,t){for(var r=[],n=2;n0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,o=this,i=o.hasError,a=o.isStopped,s=o.observers;return i||a?Or:(this.currentObservers=null,s.push(r),new Fe(function(){n.currentObservers=null,De(s,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,o=n.hasError,i=n.thrownError,a=n.isStopped;o?r.error(i):a&&r.complete()},t.prototype.asObservable=function(){var r=new U;return r.source=this,r},t.create=function(r,n){return new wn(r,n)},t}(U);var wn=function(e){ne(t,e);function t(r,n){var o=e.call(this)||this;return o.destination=r,o.source=n,o}return t.prototype.next=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,r)},t.prototype.error=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&o!==void 0?o:Or},t}(E);var Et={now:function(){return(Et.delegate||Date).now()},delegate:void 0};var wt=function(e){ne(t,e);function t(r,n,o){r===void 0&&(r=1/0),n===void 0&&(n=1/0),o===void 0&&(o=Et);var i=e.call(this)||this;return i._bufferSize=r,i._windowTime=n,i._timestampProvider=o,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,r),i._windowTime=Math.max(1,n),i}return t.prototype.next=function(r){var n=this,o=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,s=n._timestampProvider,f=n._windowTime;o||(i.push(r),!a&&i.push(s.now()+f)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),o=this,i=o._infiniteTimeWindow,a=o._buffer,s=a.slice(),f=0;f0?e.prototype.requestAsyncId.call(this,r,n,o):(r.actions.push(this),r._scheduled||(r._scheduled=ut.requestAnimationFrame(function(){return r.flush(void 0)})))},t.prototype.recycleAsyncId=function(r,n,o){var i;if(o===void 0&&(o=0),o!=null?o>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,r,n,o);var a=r.actions;n!=null&&((i=a[a.length-1])===null||i===void 0?void 0:i.id)!==n&&(ut.cancelAnimationFrame(n),r._scheduled=void 0)},t}(Ut);var On=function(e){ne(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(r){this._active=!0;var n=this._scheduled;this._scheduled=void 0;var o=this.actions,i;r=r||o.shift();do if(i=r.execute(r.state,r.delay))break;while((r=o[0])&&r.id===n&&o.shift());if(this._active=!1,i){for(;(r=o[0])&&r.id===n&&o.shift();)r.unsubscribe();throw i}},t}(Wt);var we=new On(Tn);var R=new U(function(e){return e.complete()});function Dt(e){return e&&A(e.schedule)}function kr(e){return e[e.length-1]}function Qe(e){return A(kr(e))?e.pop():void 0}function Se(e){return Dt(kr(e))?e.pop():void 0}function Vt(e,t){return typeof kr(e)=="number"?e.pop():t}var pt=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function zt(e){return A(e==null?void 0:e.then)}function Nt(e){return A(e[ft])}function qt(e){return Symbol.asyncIterator&&A(e==null?void 0:e[Symbol.asyncIterator])}function Kt(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function Ki(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Qt=Ki();function Yt(e){return A(e==null?void 0:e[Qt])}function Gt(e){return ln(this,arguments,function(){var r,n,o,i;return Pt(this,function(a){switch(a.label){case 0:r=e.getReader(),a.label=1;case 1:a.trys.push([1,,9,10]),a.label=2;case 2:return[4,Xe(r.read())];case 3:return n=a.sent(),o=n.value,i=n.done,i?[4,Xe(void 0)]:[3,5];case 4:return[2,a.sent()];case 5:return[4,Xe(o)];case 6:return[4,a.sent()];case 7:return a.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}function Bt(e){return A(e==null?void 0:e.getReader)}function $(e){if(e instanceof U)return e;if(e!=null){if(Nt(e))return Qi(e);if(pt(e))return Yi(e);if(zt(e))return Gi(e);if(qt(e))return _n(e);if(Yt(e))return Bi(e);if(Bt(e))return Ji(e)}throw Kt(e)}function Qi(e){return new U(function(t){var r=e[ft]();if(A(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Yi(e){return new U(function(t){for(var r=0;r=2;return function(n){return n.pipe(e?_(function(o,i){return e(o,i,n)}):me,Oe(1),r?He(t):zn(function(){return new Xt}))}}function Nn(){for(var e=[],t=0;t=2,!0))}function fe(e){e===void 0&&(e={});var t=e.connector,r=t===void 0?function(){return new E}:t,n=e.resetOnError,o=n===void 0?!0:n,i=e.resetOnComplete,a=i===void 0?!0:i,s=e.resetOnRefCountZero,f=s===void 0?!0:s;return function(c){var u,p,m,d=0,h=!1,v=!1,B=function(){p==null||p.unsubscribe(),p=void 0},re=function(){B(),u=m=void 0,h=v=!1},z=function(){var T=u;re(),T==null||T.unsubscribe()};return g(function(T,Ke){d++,!v&&!h&&B();var We=m=m!=null?m:r();Ke.add(function(){d--,d===0&&!v&&!h&&(p=jr(z,f))}),We.subscribe(Ke),!u&&d>0&&(u=new et({next:function(Ie){return We.next(Ie)},error:function(Ie){v=!0,B(),p=jr(re,o,Ie),We.error(Ie)},complete:function(){h=!0,B(),p=jr(re,a),We.complete()}}),$(T).subscribe(u))})(c)}}function jr(e,t){for(var r=[],n=2;ne.next(document)),e}function K(e,t=document){return Array.from(t.querySelectorAll(e))}function V(e,t=document){let r=se(e,t);if(typeof r=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return r}function se(e,t=document){return t.querySelector(e)||void 0}function _e(){return document.activeElement instanceof HTMLElement&&document.activeElement||void 0}function tr(e){return L(b(document.body,"focusin"),b(document.body,"focusout")).pipe(ke(1),l(()=>{let t=_e();return typeof t!="undefined"?e.contains(t):!1}),N(e===_e()),Y())}function Be(e){return{x:e.offsetLeft,y:e.offsetTop}}function Yn(e){return L(b(window,"load"),b(window,"resize")).pipe(Ce(0,we),l(()=>Be(e)),N(Be(e)))}function rr(e){return{x:e.scrollLeft,y:e.scrollTop}}function dt(e){return L(b(e,"scroll"),b(window,"resize")).pipe(Ce(0,we),l(()=>rr(e)),N(rr(e)))}var Bn=function(){if(typeof Map!="undefined")return Map;function e(t,r){var n=-1;return t.some(function(o,i){return o[0]===r?(n=i,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var n=e(this.__entries__,r),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(r,n){var o=e(this.__entries__,r);~o?this.__entries__[o][1]=n:this.__entries__.push([r,n])},t.prototype.delete=function(r){var n=this.__entries__,o=e(n,r);~o&&n.splice(o,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var o=0,i=this.__entries__;o0},e.prototype.connect_=function(){!zr||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),xa?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!zr||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,n=r===void 0?"":r,o=ya.some(function(i){return!!~n.indexOf(i)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Jn=function(e,t){for(var r=0,n=Object.keys(t);r0},e}(),Zn=typeof WeakMap!="undefined"?new WeakMap:new Bn,eo=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=Ea.getInstance(),n=new Ra(t,r,this);Zn.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){eo.prototype[e]=function(){var t;return(t=Zn.get(this))[e].apply(t,arguments)}});var ka=function(){return typeof nr.ResizeObserver!="undefined"?nr.ResizeObserver:eo}(),to=ka;var ro=new E,Ha=I(()=>H(new to(e=>{for(let t of e)ro.next(t)}))).pipe(x(e=>L(Te,H(e)).pipe(C(()=>e.disconnect()))),J(1));function de(e){return{width:e.offsetWidth,height:e.offsetHeight}}function ge(e){return Ha.pipe(S(t=>t.observe(e)),x(t=>ro.pipe(_(({target:r})=>r===e),C(()=>t.unobserve(e)),l(()=>de(e)))),N(de(e)))}function bt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function ar(e){let t=e.parentElement;for(;t&&(e.scrollWidth<=t.scrollWidth&&e.scrollHeight<=t.scrollHeight);)t=(e=t).parentElement;return t?e:void 0}var no=new E,Pa=I(()=>H(new IntersectionObserver(e=>{for(let t of e)no.next(t)},{threshold:0}))).pipe(x(e=>L(Te,H(e)).pipe(C(()=>e.disconnect()))),J(1));function sr(e){return Pa.pipe(S(t=>t.observe(e)),x(t=>no.pipe(_(({target:r})=>r===e),C(()=>t.unobserve(e)),l(({isIntersecting:r})=>r))))}function oo(e,t=16){return dt(e).pipe(l(({y:r})=>{let n=de(e),o=bt(e);return r>=o.height-n.height-t}),Y())}var cr={drawer:V("[data-md-toggle=drawer]"),search:V("[data-md-toggle=search]")};function io(e){return cr[e].checked}function qe(e,t){cr[e].checked!==t&&cr[e].click()}function je(e){let t=cr[e];return b(t,"change").pipe(l(()=>t.checked),N(t.checked))}function $a(e,t){switch(e.constructor){case HTMLInputElement:return e.type==="radio"?/^Arrow/.test(t):!0;case HTMLSelectElement:case HTMLTextAreaElement:return!0;default:return e.isContentEditable}}function Ia(){return L(b(window,"compositionstart").pipe(l(()=>!0)),b(window,"compositionend").pipe(l(()=>!1))).pipe(N(!1))}function ao(){let e=b(window,"keydown").pipe(_(t=>!(t.metaKey||t.ctrlKey)),l(t=>({mode:io("search")?"search":"global",type:t.key,claim(){t.preventDefault(),t.stopPropagation()}})),_(({mode:t,type:r})=>{if(t==="global"){let n=_e();if(typeof n!="undefined")return!$a(n,r)}return!0}),fe());return Ia().pipe(x(t=>t?R:e))}function Me(){return new URL(location.href)}function ot(e){location.href=e.href}function so(){return new E}function co(e,t){if(typeof t=="string"||typeof t=="number")e.innerHTML+=t.toString();else if(t instanceof Node)e.appendChild(t);else if(Array.isArray(t))for(let r of t)co(e,r)}function M(e,t,...r){let n=document.createElement(e);if(t)for(let o of Object.keys(t))typeof t[o]!="undefined"&&(typeof t[o]!="boolean"?n.setAttribute(o,t[o]):n.setAttribute(o,""));for(let o of r)co(n,o);return n}function fr(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function fo(){return location.hash.substring(1)}function uo(e){let t=M("a",{href:e});t.addEventListener("click",r=>r.stopPropagation()),t.click()}function Fa(){return b(window,"hashchange").pipe(l(fo),N(fo()),_(e=>e.length>0),J(1))}function po(){return Fa().pipe(l(e=>se(`[id="${e}"]`)),_(e=>typeof e!="undefined"))}function Nr(e){let t=matchMedia(e);return Zt(r=>t.addListener(()=>r(t.matches))).pipe(N(t.matches))}function lo(){let e=matchMedia("print");return L(b(window,"beforeprint").pipe(l(()=>!0)),b(window,"afterprint").pipe(l(()=>!1))).pipe(N(e.matches))}function qr(e,t){return e.pipe(x(r=>r?t():R))}function ur(e,t={credentials:"same-origin"}){return ve(fetch(`${e}`,t)).pipe(ce(()=>R),x(r=>r.status!==200?Tt(()=>new Error(r.statusText)):H(r)))}function Ue(e,t){return ur(e,t).pipe(x(r=>r.json()),J(1))}function mo(e,t){let r=new DOMParser;return ur(e,t).pipe(x(n=>n.text()),l(n=>r.parseFromString(n,"text/xml")),J(1))}function pr(e){let t=M("script",{src:e});return I(()=>(document.head.appendChild(t),L(b(t,"load"),b(t,"error").pipe(x(()=>Tt(()=>new ReferenceError(`Invalid script: ${e}`))))).pipe(l(()=>{}),C(()=>document.head.removeChild(t)),Oe(1))))}function ho(){return{x:Math.max(0,scrollX),y:Math.max(0,scrollY)}}function bo(){return L(b(window,"scroll",{passive:!0}),b(window,"resize",{passive:!0})).pipe(l(ho),N(ho()))}function vo(){return{width:innerWidth,height:innerHeight}}function go(){return b(window,"resize",{passive:!0}).pipe(l(vo),N(vo()))}function yo(){return Q([bo(),go()]).pipe(l(([e,t])=>({offset:e,size:t})),J(1))}function lr(e,{viewport$:t,header$:r}){let n=t.pipe(X("size")),o=Q([n,r]).pipe(l(()=>Be(e)));return Q([r,t,o]).pipe(l(([{height:i},{offset:a,size:s},{x:f,y:c}])=>({offset:{x:a.x-f,y:a.y-c+i},size:s})))}(()=>{function e(n,o){parent.postMessage(n,o||"*")}function t(...n){return n.reduce((o,i)=>o.then(()=>new Promise(a=>{let s=document.createElement("script");s.src=i,s.onload=a,document.body.appendChild(s)})),Promise.resolve())}var r=class{constructor(n){this.url=n,this.onerror=null,this.onmessage=null,this.onmessageerror=null,this.m=a=>{a.source===this.w&&(a.stopImmediatePropagation(),this.dispatchEvent(new MessageEvent("message",{data:a.data})),this.onmessage&&this.onmessage(a))},this.e=(a,s,f,c,u)=>{if(s===this.url.toString()){let p=new ErrorEvent("error",{message:a,filename:s,lineno:f,colno:c,error:u});this.dispatchEvent(p),this.onerror&&this.onerror(p)}};let o=new EventTarget;this.addEventListener=o.addEventListener.bind(o),this.removeEventListener=o.removeEventListener.bind(o),this.dispatchEvent=o.dispatchEvent.bind(o);let i=document.createElement("iframe");i.width=i.height=i.frameBorder="0",document.body.appendChild(this.iframe=i),this.w.document.open(),this.w.document.write(` + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + +

Contributor Covenant Code of Conduct

+

Our Pledge

+

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

+

Our Standards

+

Examples of behavior that contributes to creating a positive environment include:

+
    +
  • Using welcoming and inclusive language
  • +
  • Being respectful of differing viewpoints and experiences
  • +
  • Gracefully accepting constructive criticism
  • +
  • Focusing on what is best for the community
  • +
  • Showing empathy towards other community members
  • +
+

Examples of unacceptable behavior by participants include:

+
    +
  • The use of sexualized language or imagery and unwelcome sexual attention or advances
  • +
  • Trolling, insulting/derogatory comments, and personal or political attacks
  • +
  • Public or private harassment
  • +
  • Publishing others' private information, such as a physical or electronic address, without explicit permission
  • +
  • Other conduct which could reasonably be considered inappropriate in a professional setting
  • +
+

Our Responsibilities

+

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

+

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

+

Scope

+

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

+

Enforcement

+

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the Project Leader on Discord Via DMing ghoul#0002. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

+

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

+

Attribution

+

This Code of Conduct is adapted from the Contributor Covenant, version 1.4, available at https://contributor-covenant.org/version/1/4

+ + + + + + +
+
+ + + + +
+ +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/configuration/Events/index.html b/configuration/Events/index.html new file mode 100755 index 0000000..a496f6d --- /dev/null +++ b/configuration/Events/index.html @@ -0,0 +1,865 @@ + + + + + + + + + + + + + + + + + + + + + + + + Intro To Events - PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + +

Intro To Events

+

Events is a system implemented to notify when a specific function has raised a detection.

+

Example Event:

+
@security.event.obs.on("process_running") 
+def on_process_running(text: str, module: str, process: psutil.Process):
+    print(f"{module} - {text}\nProcess Name: {process.name()}")
+    # Free To Do Whatever You Want Here...
+
+

Events Will Always Return text and module, any other kwargs are event specific.

+

You Can Find All Events In Each Modules Respective Event Reference.

+ + + + + + +
+
+ + + + +
+ +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/configuration/Modules/Anti Analysis/events/index.html b/configuration/Modules/Anti Analysis/events/index.html new file mode 100755 index 0000000..7986ed8 --- /dev/null +++ b/configuration/Modules/Anti Analysis/events/index.html @@ -0,0 +1,920 @@ + + + + + + + + + + + + + + + + + + + + + + + + Event Reference - PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + +

Event Reference

+ +

Anti Analysis

+
debug_privilege_found()
+
+

Called When Debug Privilege Found Enabled

+
debug_object_handle_found()
+
+

Called When Debug Object Handle Found

+
nt_global_flag_debugged()
+
+

Called When NT_GLOBAL_FLAG_DEBUGGED Is Found In The Process Environment Block

+
hardware_breakpoint_set()
+
+

Called When Hardware Breakpoints Are Found Set

+
debug_filter_state()
+
+

Called When Debug Filter State != 0

+
peb_being_debugged()
+
+

Called When peb.BeingDebugged == True

+ + + + + + +
+
+ + + + +
+ +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/configuration/Modules/Anti Analysis/index.html b/configuration/Modules/Anti Analysis/index.html new file mode 100755 index 0000000..1519835 --- /dev/null +++ b/configuration/Modules/Anti Analysis/index.html @@ -0,0 +1,1047 @@ + + + + + + + + + + + + + + + + + + + + + + + + Method Reference - PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + +

Anti Analysis

+

Methods

+

CheckDebugPrivilege

+

Checks If Debug Privilege is Found Enabled

+

HideThreads

+

Hides Current Process Thread

+

CheckDebugObject

+

Checks if A Debug Object Handle Handle Has Been Found

+

CheckSEDebugName

+

Checks if SE_DEBUG_NAME privilege is found

+

CheckNtGlobalFlag

+

Checks if NT_GLOBAL_FLAG_DEBUGGED is Found in the Process Environment Block

+

CheckHardwareBreakpoints

+

Checks for set Hardware Breakpoints

+

CheckDebugFilterState

+

Checks if Debug Filter State != 0

+

CheckPEB

+

Checks if peb.BeingDebugged == True

+ + + + + + +
+
+ + + + +
+ +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/configuration/Modules/Anti DLL/events/index.html b/configuration/Modules/Anti DLL/events/index.html new file mode 100755 index 0000000..3094fab --- /dev/null +++ b/configuration/Modules/Anti DLL/events/index.html @@ -0,0 +1,935 @@ + + + + + + + + + + + + + + + + + + + + + + + + Event Reference - PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + +

Event Reference

+ +

Anti DLL

+
dll_attach(dlls: List[str])
+
+

Called When Blacklisted DLL's Found Attached To Current Process

+
Parameters
+
    +
  • dlls (List[str]) - List Of Loaded DLL's
  • +
+ + + + + + +
+
+ + + + +
+ +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/configuration/Modules/Anti DLL/index.html b/configuration/Modules/Anti DLL/index.html new file mode 100755 index 0000000..a7d490f --- /dev/null +++ b/configuration/Modules/Anti DLL/index.html @@ -0,0 +1,935 @@ + + + + + + + + + + + + + + + + + + + + + + + + Method Reference - PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + +

Anti DLL

+

Methods

+

BlockDLLs

+

Blocks DLL's That Match A Given List Being Injected Into Our Process

+ + + + + + +
+
+ + + + +
+ +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/configuration/Modules/Anti Process/events/index.html b/configuration/Modules/Anti Process/events/index.html new file mode 100755 index 0000000..08643d9 --- /dev/null +++ b/configuration/Modules/Anti Process/events/index.html @@ -0,0 +1,956 @@ + + + + + + + + + + + + + + + + + + + + + + + + Event Reference - PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + +

Event Reference

+ +

Anti Process

+
process_running(process: psutil.Process)
+
+

Called When Blacklisted Process Found Running

+
Parameters
+ +
window_name_detected(window_name: str)
+
+

Called When Blacklisted Window Name Found

+
Parameters
+
    +
  • window_name (str) - Window Name
  • +
+ + + + + + +
+
+ + + + +
+ +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/configuration/Modules/Anti Process/index.html b/configuration/Modules/Anti Process/index.html new file mode 100755 index 0000000..9bd1cf1 --- /dev/null +++ b/configuration/Modules/Anti Process/index.html @@ -0,0 +1,951 @@ + + + + + + + + + + + + + + + + + + + + + + + + Method Reference - PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + +

Anti Process

+

Methods

+

CheckProcessList

+

Checks Current Process List Against A List To Detect Harmful Programs

+

CheckWindowNames

+

Checks Current Window Name Against A List To Detect Harmful Programs

+ + + + + + +
+
+ + + + +
+ +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/configuration/Modules/Anti VM/events/index.html b/configuration/Modules/Anti VM/events/index.html new file mode 100755 index 0000000..b9b9baf --- /dev/null +++ b/configuration/Modules/Anti VM/events/index.html @@ -0,0 +1,1183 @@ + + + + + + + + + + + + + + + + + + + + + + + + Event Reference - PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + +

Event Reference

+ +

Anti VM

+
blacklisted_hwid(hwid: str)
+
+

Called When Blacklisted HWID Found Detected

+
Parameters
+
    +
  • hwid (str) - Blacklisted HWID
  • +
+
blacklisted_pc_username(pc_username: str)
+
+

Called When Blacklisted PC Username Found

+
Parameters
+
    +
  • pc_username (str) - Blacklisted PC Username
  • +
+
blacklisted_pc_name(pc_name: str)
+
+

Called When Blacklisted PC Name Found

+
Parameters
+
    +
  • pc_name (str) - Blacklisted PC Name
  • +
+
blacklisted_ip(ip: str)
+
+

Called When Blacklisted IP Found

+
Parameters
+
    +
  • ip (str) - Blacklisted IP
  • +
+
blacklisted_mac_address(mac_addr: str)
+
+

Called When Blacklisted Mac Address Found

+
Parameters
+
    +
  • mac_addr (str) - Blacklisted Mac Address
  • +
+
Parameters
+
blacklisted_gpu(gpu: str)
+
+

Called When Blacklisted GPU Found

+
Parameters
+
    +
  • gpu (str) - Blacklisted GPU
  • +
+
vmware_registry(reg1: int, reg2: int)
+
+

Called When VMWare Registry Found

+
Parameters
+
    +
  • reg1 (int) - VMWare Registry Identifier
  • +
  • reg2 (int) - VMWare Registry Identifier
  • +
+
vmware_mac(mac_addr: str)
+
+

Called When VMWare MAC Address Found

+
Parameters
+
    +
  • mac_addr (str) - VMWare MAC Address
  • +
+
screen_size(x: int, y: int)
+
+

Called When x <= 200 or y <= 200

+
Parameters
+
    +
  • x (int) - Screen Size X
  • +
  • y (int) - Screen Size Y
  • +
+
vm_process_running(processes: List[str])
+
+

Called When VM Processes Found Running

+
Parameters
+
    +
  • processes (List[str]) - List Of Processes
  • +
+
vmware_dll(dll: str)
+
+

Called When VMWare DLL Found

+
Parameters
+
    +
  • dll (str) - VMWare DLL
  • +
+
virtualbox_dll(dll: str)
+
+

Called When VirtualBox DLL Found

+
Parameters
+
    +
  • dll (str) - VirtualBox DLL
  • +
+ + + + + + +
+
+ + + + +
+ +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/configuration/Modules/Anti VM/index.html b/configuration/Modules/Anti VM/index.html new file mode 100755 index 0000000..b308eae --- /dev/null +++ b/configuration/Modules/Anti VM/index.html @@ -0,0 +1,1015 @@ + + + + + + + + + + + + + + + + + + + + + + + + Method Reference - PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + +

Anti VM

+

Methods

+

CheckLists

+

Check Blacklisted Lists To Compare Data like HWID, IP, PC_NAME, etc.

+

CheckVirtualEnv

+

Checks if self._get_base_prefix_compat() != sys.prefix

+

CheckRegistry

+

Checks Registry For VMWare Software

+

CheckMacAddress

+

Checks Current Mac Address For VMWare Mac Addresses

+

CheckScreenSize

+

Checks If The Current Screen Size x or y is below 200

+

CheckProcessesAndFiles

+

Check For Blacklisted Virtual Machine Processes

+ + + + + + +
+
+ + + + +
+ +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/configuration/Modules/Miscellaneous/events/index.html b/configuration/Modules/Miscellaneous/events/index.html new file mode 100755 index 0000000..5fdd8ba --- /dev/null +++ b/configuration/Modules/Miscellaneous/events/index.html @@ -0,0 +1,1047 @@ + + + + + + + + + + + + + + + + + + + + + + + + Event Reference - PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + +

Event Reference

+ +

Miscellaneous

+
ram_check(ram: int)
+
+

Called When RAM Check Failed

+
Parameters
+
    +
  • memory (int) - Current RAM
  • +
+
disk_size_check(disk_size: int)
+
+

Called When Disk Size Check Failed

+
Parameters
+
    +
  • disk_size (int) - Current Disk Size
  • +
+
blacklisted_path(path: str)
+
+

Called When Blacklisted Path Found

+
    +
  • path (str) - Blacklisted Path
  • +
+
blacklisted_import(package: str, dist: Distribution)
+
+

Called When Blacklisted Import Found

+
Parameters
+
    +
  • package (str) - Name Of Package
  • +
  • dist (Distribution) - Distribution Object
  • +
+
ip_check(ip: str)
+
+

Called When Blacklisted IP Found

+
Parameters
+
    +
  • ip (str) - Blacklisted IP
  • +
+
proxy_headers(header: str)
+
+

Called When Proxy Headers Found

+
Parameters
+
    +
  • header (str) - Proxy Header
  • +
+
proxy_ip(ip: str)
+
+

Called When Proxy IP Found

+
Parameters
+
    +
  • ip (str) - Proxy IP
  • +
+ + + + + + +
+
+ + + + +
+ +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/configuration/Modules/Miscellaneous/index.html b/configuration/Modules/Miscellaneous/index.html new file mode 100755 index 0000000..79c937b --- /dev/null +++ b/configuration/Modules/Miscellaneous/index.html @@ -0,0 +1,1095 @@ + + + + + + + + + + + + + + + + + + + + + + + + Method Reference - PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + +

Miscellaneous

+

Methods

+

CheckInternet

+

Checks For A Valid Internet Connection

+

CheckRAM

+

Checks If RAM is below 4GB

+

CheckIsDebuggerPresent

+

Checks Both IsDebuggerPresent and CheckRemoteDebuggerPresent

+

CheckDiskSize

+

Checks If Disk Size Is Less Than Minimum

+

KillTasks

+

Kills Common Reverse Engineering Tasks

+

CheckPaths

+

Checks PC Paths For Blacklisted Paths

+

CheckImports

+

Checks Python Imports Installed

+

CheckOutPutDebugString

+

Checks if OutputDebugString Not Equal To 0

+

CheckIPs

+

Duplicate of Anti VM's CheckLists But IP Specific

+

CheckCPUCores

+

Check If The Current CPU Core Count Is Less Than Or Equal Too 1

+

IsUsingProxy

+

Checks If Proxy Headers, Proxy IP's or A Tor Network Is Detected

+ + + + + + +
+
+ + + + +
+ +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/configuration/PythonProtector/index.html b/configuration/PythonProtector/index.html new file mode 100755 index 0000000..c84dbb1 --- /dev/null +++ b/configuration/PythonProtector/index.html @@ -0,0 +1,1155 @@ + + + + + + + + + + + + + + + + + + + + + + + + PythonProtector - PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + +

Python Protector

+
class PythonProtector:
+    def __init__(
+        self,
+        debug: Optional[bool],
+        modules: Set[str],
+        logs_path: Optional[Union[Path, str]],
+        webhook_url: Optional[str],
+        on_detect: Optional[Set[str]],
+    ) -> None:
+
+

Arguments

+
    +
  • debug (bool) - Whether Or Not PythonProtector Should Log Actions.
  • +
  • modules (Set[str]) - List Of Modules You Would Like To Enable.
  • +
  • logs_path (Union[Path, str]) - Path For PythonProtector Logs.
  • +
  • webhook_url (str) - Webhook URL For Reporting Remotely.
  • +
  • on_detect (Set[str], optional) - List of Things PyProtector Does When Detections Are Caused
  • +
+

Raises

+
    +
  • ModulesNotValid - Raises If Modules Are Not Valid
  • +
  • DetectionsNotValid - Raises If on_detect parameters are invalid
  • +
  • LogsPathEmpty - Raises If Debug Is Enabled But No Logs Path Are Provided
  • +
+

Methods

+

start

+

Main Function Of PythonProtector, Initializes Everything.

+
Raises
+
    +
  • DeprecationWarning - If Python Version < 3.11
  • +
+

Properties

+

version

+

Returns The Current PythonProtector Version

+
Type
+

str

+

user

+

Returns a Tuple of User Information

+
Type
+

tuple

+

Extra Notes

+

List of Valid Modules:

+
Modules: Final[Set[str]] = {
+    "Miscellaneous",
+    "AntiProcess",
+    "AntiDLL",
+    "AntiVM",
+    "AntiAnalysis",
+    }
+
+

List of Valid Detections:

+
Detections: Final[Set[str]] = {"Screenshot", "Exit", "Report"}
+
+ + + + + + +
+
+ + + + +
+ +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/faq/index.html b/faq/index.html new file mode 100755 index 0000000..0094be7 --- /dev/null +++ b/faq/index.html @@ -0,0 +1,902 @@ + + + + + + + + + + + + + + + + + + + + + + + + Frequently Asked Questions - PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + +

FAQ

+

What is PythonProtector?

+

Python Protector is a python library aimed at protecting your python program at runtime.

+ + + + + + +
+
+ + + + +
+ +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/favicon.png b/favicon.png new file mode 100755 index 0000000000000000000000000000000000000000..846ce20b3f1ea942545479dfe930d1b28699d17e GIT binary patch literal 21541 zcmZ6zbzIZm7eBtBVYGBPK}1>*kXC6V1f^pz5s?Pz*d_=gl}1UWL}~*G$$^B(8&E(P zJxQgzS&mNKoH<71Vlvv zeC!2|oB$uxUOJY(AP_C{zd!KMbod$2$oWFk;)SW_(-#2_K2D&3fB*>>4_9BLgO`(p zr;l^ihB6ljBmmOYxcewDdu=+Pndk9w&-S2!aLe6~)Nj-U&^qSS0-DC}UJBeaFvjKQ zpFNBH26@TKgwMaBsa~X)1m{iraPOI3wEB&qw7lbV;%w&xjd-{NAUriO-~GZdrr z?Q+RpBp?+DJWtBrBli%T?r$^k0G(*em;*#al%n_KFZGT!7s9RpKM|5cvwKSEDg_&O zELJCloBV=>Qd5^5dSgv5XKtMa4pPQ1<&$`^qqQsA20XVY}s;AELPF>D#qCaO(or(4ch>{7-6~%($JXOR*vypBl@%S)D81a>hV5=s%r@H89@5wFp{D6}<-T%WFi4n)scKXn@j_&%9Ev*5ofl z2z6hy0bpyE39%=^a-nz&NdEkqYM~`7#2>OJ+#YQ!w~R68H4W=XxqvI%OJV&=jR|_o@9|td1c-xpz=tEhb2x zgd`fEjEAs0zZi)5Hm#2?YJ!@_IF6LO7`6;!NgD4G0M=~pwdZcslh=XezIwde$!#Z$ zF8YX#>Tem527HbwSFSR~+=GFVa9R%Xr?%)E43o>(Ql)boU$Qt}$bA_a03OTebM1w* z07eJF`$c&VxO*lafZ6s7iv+!S!na%rzAY#hG7ecVhSElIO7*qTAL(~X%ENAq6_ihZyj)2}g9pYc5QGIvvKya9*84L5sifx&!6zfugWrD@xdG4bS zmSPO|oOI_Nlh(+s zD7MI$ht;{|>L@=oA|EM2aFAUhwS3@=x{dR=cJBIe5?y<3!?l;mTEr31%U(Ll@Rvd! zx_;Xz&ZcjPubaw-5~zup7;~LNr9gItw+ghHX*}L(@Xl)hR7sKm2{vT2W{t5%59VV+ zHHRpPyjgm0Kbe!9NV|~+Lbg7grZgPUSRE5<5JS?^oGQBlAgEMFYv>W@K~B+8#T2a@ z+cSH;L%(J2ft)C28vBx~emx*i$T9{J~lZnrW?RSe3VA*{L-wNmCOY&1) z1b=K2rCrBLL_c3(>>0}36EvHDK;hK;(7Cj`v5?wDAca-asXccd|7&q)Pq|KPt;pig zy~VY?dQ?2RVruN={>RS<{nMe1wktI_?w&RJ%bdh%!i?DEWpFK7NZKAHiI%vA`Q`H| z+ z%NRYO!&_9T$0A>-9JB;H@(F#~8v=~JH^E^oAl#MO8jTU3-*hwp3|p))1l6UL zP}1tqBSHK9H27Z7Y=$@A*B^DA;i5tO8D?u!M_x@9dWnOguM~lkiI2Z4*T-b)$k}nX zJ?>UDiVP<#C$R25H2cOhBLFws-A+V&f&Y2c&!Lm%y(3qyoxgAtZ$d%>x6G6Z^rWsY zlPy{HtAubP_bY1@0V;AtseOa`k51HH45J9q4%c@~78KuDkrGyzOT{|LS86YdC#G!W^!Lk5R${*7*t3`>2%-V{V6uR=}P zt`F^4)bAs0J4=`=l_SE&O6{2TzP7G@cs+YVa{|T0l>T)oq|LA~ZpwrN+0kDZ`l&^1 zK7(k{FX$3v!xfW#K$(ErPMweT_ zA#+2caNvLp@C&iq9i&z*?O5f3bf1~SBO z?`9M<1WM_!dD}FETLG%SB%`+6DC|&17JhR%_`X$VNZCP4M1`oj@MXobwg+BL$0SU1 z{dYuLX1kU@i>s3*P6NJ5-exH;goKC-g%mZ`Q4ysq<&vcR7q6euGlU{ z2|bKC$D7M)T4^{7unk{W#0MBpY3TUkHWj-*MfQQ6P0EqG9RA`u-ZL>ehEWa?G zejc=j^g&8Y%A*J-GuF`#R3uP+pP#|#=>~-?e>zj6%<;Y#1 zWq*Cs+q;0G(<264pXR2_M)TG@Y8$7-ZPS+0kuVKPvPI0=n#9itb(veI3g-dB-jx- za!-3vm#*TbcxjbMaF`Z#m($A z++Saj?$2VKGlL~OHA9d!(3I}QX%6=Mdy1?+vGfXVYo{5sq|FK;M7nwc9^++{A z_`VCo-^2z2++tX2M|Zfq#QtjUjon=6P?dC)FM<~ayR${$khzZ81X(wN#QY=Su`yq5(chyKrg>R2< zk%!FYSkZ1#i;3?t583lqrwZQ~pu3v%tToCYT0gAANyHPOtIzemtCeD0GMyHG__NXC zN{@~kA1XE!67VoP`vi$G#rfXe--qkJeI>3YF=Tv#*d&W*_o6L>XC5e z$`WZV^@QhQ{<%e&SADs0x@WfKdZ@MAU15c7QBOqL3Z!cs^jMy^Cp#CamOdBp1eN?G z$~Vne%oRRQ>|u@FO%+y|%$7A>w!&8)?aysG{<`j<60k4V{U`LZO^Yl#LKk)GvFS`# zdir$EoXR?bz`&nXHaGGn^FL>q&1gT}V!kb*+SOMuoWW1tR@MgAOpY+gvN2lj8ZYU6 znFvzf!^B7(!*1g#p{JtkpPFzi?tz8KH^0c-VEfB~k}7L2NP37Yg5Q3(M54B%k$w-z zx*+m;0)j(MRY3FB`z|6({+Hu@Th4f)zl}L_V&6wB-zJz{PgV41{%iDM;QKuBp}kf6cPo?cY`xNq{ISkonD2n#~bXCLaV&1wu$FvBrOv1=i#la1e~izQt^#8X1~{( zaLbH6;lX)}jDsh!ck+wLts9T{syF9j05@{q1GE)3B#{xu-u3O;kF;O-Tug{g+lJ0h zyZ6|=XZAa457`_x_vwp>qA&Kl(>udhFI6SgeRqViuHZg5im?1SW3jfY|28~h)?p^x z4C5Yqb0|HbbRiKN>8Eg<&Et!E+}EnJ?HSpJ=zUYne89nzxooKO)snIS^CAH)x0bCy z$H5$A-=gIRrK-B#Hcl43TX1jbsPT4b@*`?`C2I-kOEp3AT++4&WhlJR$MevOwmlFlhFxzedu z;|M!^B19OOl_p6XPoZj{Ze*Fdgbqg^#~M!-%^BwrYhzSgM7VNtmx3E&V3#0H zR2puLaTEb>3VyPF*YkozP6;Vw?#H93306k6Bz-=Q^k_uNMy@iY?g3PcsVWB zG1Is4+Ezeg=K!)LBoej3zRo@nrW4=GTKC>y2#g8y7wmT3Mx3V+L@^#ST|kitLu= zE!-HIGHYixZMlE4TO4MIbyAvQ=iqYRY%=?Fbrf#HplPGWdP&(vCztt$CiZY)D9WHk zk-JauhKW&n*T6h*T)tLJ55T{bIZd)(`JH@i#>7xMmdx}+rrMDcu1mYJFwjUOZHG&) z`c79$td33rngyFdF=@SoM27hHRKoCpTaga$7Gl}U=17ShU5nApF zl>FbprpoUSl0t{XL!1BW2z^coR?O(UP1QiZ`ciDdbRSM)AQTgphzgM-rllH=u3g0| z?qIj5mRRd|vL6_@&;~Uv6irb&5hl=l?|ljhsJ|Ys4y7kV7+eN91u+OFXbI+=;&ZER z1ZTo z4Q0V6HAxC%?-wRDQ)g2=Ak6gIN9>m`x~s{u<^KjC1j>P;mMvyeh%Dc45?T7}@uf;| z<^dD2w9O5o6|a3)_pb#fK`Wb&|LZ&2_df9pvFZD3Pzp{smGjPsC|ruxI`A3P?dI<< zglwLb$I$%te?%QCPHL(8L~!f}WIl{_R{7XMU$w2u#BjmVFo@mUCU8{Lc zj;$Ii3<}Y!cY$4$VNaT~1f8|oXgQjq56SDutsuXcb|&ED`4s3EOVn${C?+{=OO2Ht zYeLsz^{u+2v0UQFy`;;Zq9B*e>uWg|io_e?(`TA1lcL1ri4^?qN%803I!Qo4WnBfG zu)?0yy-TLoBEJ4F*!us5<=z|DfUIzfwqu<><_tYt?7Mg}X-~)?0%`&T3k9Wt*eaD= z%M)R@+WP0rKbk>Pu&Klf=EKB-a3FNpd!tVjO-=B`?@vi~nuV0folZR`eqd%twt$_} z)rKRt4XA|y#Jq`pXd=4u8nj#0)V zH_{*wd`>dl8v*^H&4$`UEoLOTXp(M{Qg6;N1CvH?czlLpTrpM4tomI6c;!8-zKq4a+d%CZ_hG@F}l?<4ukSYC|1P~u%6M0wS36r@0t zHDOL>4^GtiU$nO1FA+o}J93CsZ}euClJ;W+1}7AnM_-=Pb`(+4JAt;i*M0$ET`bv; zRBs7(ycc)%W2)R6sdqk zX&DF2wxRL|U7>uCVo(h}^pYFOO>uH&icWxpnYm?^(EkgciiY7d1O4f?EXNR*XSo{- zo1>6$ve0hJp6iPMBshHw4(uPsoA)!S|JQ8Jfae85lxicYrH37upz|gS^m-U0Q+8JG z3{vwS6$bhnwxD$r*Gs@XV-5Xy!fv7>5WVdzWpDj?*+#}T+RzUt*=YX@kk5_Kax4-r zma^-CsACc+7<`{+(x|T?#|{jvMsQ^OIXc0n3iyf$0xcz<-zIz_AUW$qU`4QL0xj}hwYbeQ-bCo42cONPTtpnE)o}QE& z&pS8MD1!l=qCTUw;E~c|(k*A$62m?1US|M@Yq`sSDL}K|Eb_1~D*16NIQ}i_nUKc8 z=UqPI^a|irp@u6B91YZ2{ny}rTca=$czBsZ!j?Iv4F6(sCJW_E z;V`aTB{JqG7n~++G8PO*1%!7eEt(`0V7}(;$56%h?6@dHLuqGU%vdEr=*f#A<{;N) zi+U{C5N$}$^7?=hZ$o0GBv}f26=RySkCkouO&mTPCbT!#e{iO0L95`s)!9=#uW4vx zpCAgtE+L^4$Cgd$efJ3w1Z#qh+Z_@tJI{7o>VU7B?}3&+L|;LiczQmJS!C`RdMJso zM})YwSLx$4JAeT8O(O>O-=3gHZWa>KJk(Q6e{1fGzNbJ(O0z03giJ_OOA~9K1du=o zvk5PaLZ!4wWmNZ!5ZgEk_g4qr{{&gST=qx)@<0`)3<;I>6MzrZ>Om1AT_`ma*NR!{ z(oPV`4zWLic_PKuKzn4fqOMWsyKcH;7b$dl<3k%5^?)~0Cy^d}f$ra|GC#-k{rHbR z>E82M(6cTHMa{m0eF?bsV6Ds@T0pF%9K=DgB2(9Zx4p}f0xX@{K8D+w@A+S zNNP?XQ1o^2ZOOCu2^`U-e{>B$9;9^8Z5r)Nr{iOmj=CT$T2#Kd!?enj#P=dYYme8> zAt^6;HYJeTi^hwGYfrfUJ$VBPKGwBTE9ZRQEAiE>9p`<++BSMVH!MsaAYOivJlSUcKq8z-xf zFuQ=tc0182{y)2|i7?gF?m99B>9796Cevl2y@Zz@ z{KAiC^)wQ)UuYD5Y>lWogq2UCjD{+w@eMo?hkokzYneLp)>xSFG@Jgxfk#uDH5w*6 z&2{ASZ`4fO8|+9i{}%bOb2ItctHl)^cU8HfO$Ws1dEbNfZZdHirc~CMoW&t_jtG_g zHcWEcqMix}emp@vo4~vlb{q$Gq+Yyo2IbNQ=g~37jbwBYH<#P~EafQyDUqGpJl|8- zUgyuKipuspVZ05{MCazkfsQR2-h zzxZQP7KBrm(fYiT40lDzV;8jk_iTOYLip|n?COK%gGq{*dm6z&22Llu?uFZ_l!MP{ z&%v`VPZsZJ!A<_9WOihF@#{|QAF!J~J$1QALHKQBsJbBkeasb}$yuhGZ+NEu68$w1 zULOH#;0om17LXs1lV1qe-a~rZS*xqqCSGn@#OS202(gfSh_^cD@vovzkS=g%gnmjZ zm2!+z3bV)ue4=|^ajThzb!=C&L-%?QgdvJndua7Y_5ZI0&`>lTp-}g9`}J`e?T+I{ z89jv@f>2#E8BZ-ktOV1q0^_OKG{bYRhCm6vpvDM#FZiX0a56dYypXDh|pi zDmTqAdK@!Tskt?18R8nS6EI7b3u=uuSoP2<1GyrOJ++XcSPAkakfejDTM3iErojvh z-7hi_`;;5eSGEz$OcjG&`0Yy&dZBj1pE>;`n4k1r`K6wl0FJVbc`3bl?AlPyUyFe( zZj2guxB5}`G6(uS(dxG*S4^7>&i>!+KN0*n>rTm9{bXaGGOTr@Zpbm- zDx7H^V^ zzosB?AU1hcw*OFuUi)`tgMIfMwidBqb)oB^SmDj_ZHWerIY!VarS+H|v*T?puRefY zB*KC%D6+Jwg<56HuGkCD>wK4R;;(;1{ZC<@H2q&BbT7Tnondvan1r<-cE%$}yNr`CEK=~_!Fv;W;Ov1$F z-8Bk=U{9Ssrt0Bj^#^%G0l%iB6v{5qs z?4!0V`%uW0-u+o*O9~gVqP~DSAhfdF?k=P{0ADYm|3J&_P$h~v zf}uajF#F9d#ZRh${(CVZI+W&)=ULoW6)$C~h;N~oy6z`1v`25mtIp7B6m(_}z+&vF zlYBB&3CohW!8}w<%${g3g(gYBC@R0IZCMDGt>bPp#JVZh(Hp+6*{xNm>-SB7x`g&Y z%nPzmDjf0s6ceD#Bn39=g52WvaJe7LpTP`ZQ}j52s@$Q;A%Ad|p+U|cil{_RK9=zq zi|hW*EB^PK%kOk7B@N??D{?NnxIHOLbVYAE-Z@vYqCH~T;&kR!0!JX#L_%h|P&eoO zvq;<_0z)$;KhSN#pM~q*#Ot&?`^r4CZn!LuLYJVYaXe7IbF{dlJSf-CtqF=Vj9O3h z8W9=#NnHwk^Piy}FIop?NI6ixGnRLFHZke z(~o{#M1QZ4W*9y1I<;g$3ewJT?ePFj#R={8KEJg^>GnG>HxzQD(%K#YUtiBt1bI(N z`hnn&kA!l>Mu#IbEgbX8N8_hKnGyYchs1~t)9}RZMgxxy`E}#Mg7SIeLIr3Xy-BKs)N!A^Oihta|IJQFyd4-Q(F&6&7eF}X-;u!o5Ab(NtX!- zA%tJ3Z4n%A0C)+@0V;yPW-KC-q8R1>;y>#nIfzy0c}Tb&^=;6~TW4Nc+?OVEPz|JW z=szt)Unae8XtyAcjPG7p=^88mZ&4h0T%dVYzCXWuK(AHkn2nqqx9CVL9~WCZH~gCX z;fXt0V5@$TaygB1x_49g(o&lArZyotd*%Ba^IGjoombAvy-t6Y_=k3hWu4_wQ8a)@ zSU#ViJfHe>;TI^7?I`G<{kblebFZ+)syNSoPYZXWgCiCerNnD}>r{j!UcT(=aEwx; zwt21MzWHFAVx)D6Sof^2I`+j2s@h9KO3LbB}k{-JYk5c*ypnVXtY;{AUE(5~`G6GssV4Uo zVOk^|dLe{^xXd=Sq5b>@^f@AQZio}!TZC^h4!bv1OK%yKuWoDP-*&WxUpa&v7Seyv zn?&kA3|X_1U~pjgWL~l^>qD6_0 z7!;o#YWL4wF|Q0kylm8rUGXO+jojTM-C4VRZ|ANGyQ9m?8bS4sU6ArI2X@l>H@}#L z_mW;hID-z3y7p?`;uT$1kq>}Bkxwc7F!xtVBN(*hS)MhoArhq3S`%&|Z{$+}ucq)Th%DUpa}pdF)Dw zk9yz2N-C=flQu6RW?sXj!D~U9M!LoL~#>5cJO(lPY=d$TJb!04F8Vt86K0KF4=)O|y9|OEgoiL90ilT=v>^mK=FzwRI=^SX^89Vhw)cc(0 z05x5Os%v*MxmRV^M8aBjmSGgCkrnq29MOaPk+v^17E~$-hqx==m)u_}If?so#^sbB z^#512m6JVL?*OF|c8o~jgDz$Cp>P3*EPa>zJKZ;jK2~-QJ4x|XA<32D!#)Rq+Fkt&1Ibgz`UNqE-&avgNY~U zUwyoFwgb)LY;2TE~x>ta21%&(Vu%o)@p z9s-;iGE9tz`@Xu z_Vwid2aX%`m1j~wnH0b?)7LPNk$g_) ze!%iU36k@oF@#+S)W`A1w)Q{nvd;N0Od;K%k6>f3RVBC#3v<4 zXg3qV)S~i|VSDB|dKIdTq>i9xFgC(k2sJZ3$;AwmG71|J`>!@wNTEwd(nO_>D!x+I-YE1>86P$>24@5AH1k8$>n`;;DV0B zUlA380E@QNInYw4t;^Rl%RQ_TRjf-3WCOM7^J-if=#eJ}I4lcN9%D6(4XV zz?ra5l<4dhRelX@*&`bc&6YQ^v19nhIn^BV9}ge*)IA5Wj`NdIjo6iCN5x8tITV28Nh4ME5F(+bb+q@~|RTZvyl~+#}b=PeqVd&q4 z1OoLDo8+hNMuHj!3LhI52W0kci8wk83Z%}GOV^~8nt52iPyjo+ z9poZ@$>|CWt-7Mp@;2x;s2h3+o?L#!Z(&kQi{pz1E;86Y8F;YR52g9K3JcYP^6GLv z;o}fW;*~7E%z9cJ=Ak9`yW}dsg5+I0%}jAZKj!fZ>E?Uns_FLmV&cxoueU5{{^E}o zFm!`m_mYsUw!-t$ z>pS5qzD;*CJhvg?KQ@v{wXgy0x)=!=WCm>R&|#j*;KsSU7j9(~>S6C_+$h&5&y+~Z zsx)g*w;1v3g8MzbDZ4iM$}$Yfu-DH+sfi*!ytRMgZtFxXJbn)tCY4R1KW|SRgHoL> z*#7!G-4a*>+3L7DFD^*hWpD}6J0z2-CTmfK8Tjkcm&WbtfXEWDeXc5kOs6KC_YU|x6@Z?d7Ba@Jj0o0(|hZ#a? z;yThQ-r$uAZ(vzU+bmz-;bwoy&KJ`O2!;um%+`6ioyxWT zElg0zIdXSP%18b=TVn7M-C`o$bhgcc+|SAT3F!OI?>jNdFtiZyC5vSkz%FcIeGzgJ z^(G7?AZrKBzp|QMRjlm~miw_~ryUlC&F0X7p+l8PME~1}RAk5?gBLeVwMQ*>q?{jD zi#!eCnXJ^9Uu6CgKfyL@6`3HvCHq0yv^}JdLS2;)eu`*h3vB@f00&Ggj3V`9k+ZWD zoWJjWtF_!G*H!yktE#f-SGm^?RbeUn|s|3(GwdD&qxCh+t2^ ze5hEkCcj*svW>4=uKvjd8tzpU*pW;OR%vNdF@XxGmUl>a zO>*w?)Vc5hDLHNV-D3^OWR)uivf3>V$HdwRPyf$QYZBPG$_>d=EJ zgliaN(ph=@B4h8$)1JDoTTasAAJR1@wE#;K4)DzhZNM`bVz|VH2!I=nJu*M8^}+&EH93SmF9?5RthsU^I2 zJvuCbj%mkg0uphy?-@It?^Q8=RM4x+acY_v?5t3?{*ND)FFo~U%o5$L@oB%SCz5$~ zO!OaVL$twwqanYUewmYdu{y~Sy4&N~UcXo4yyB3=o9mFZk8}D`6Z-}JfeUo!v3rdnW}MBv@^Tkf9w|8ya)j+ z{o2|*g)YyXN+?@CDMF}5)t1+=4SvpjNF2#6_X`PTT={wUExdfdfYGzyRD8VcwHQ)h zWt{hkni(zTcVc7PpN~y^-+2&|Hxs|AlZ*x$*;sJSdLEk zW!1%v7+=JwYSSz{3$5s&PHfbk4}opbk>?I`5d(+RTs}sMl>OwfLN9*{&t?N(hDtro|W=Tf9LZorPV6osy7$+^5;ZzbF+hYy+eDx z%N#L~6tt%+2(bevWwnrl&fJswaoanR6EpP%mZ0NPhSs=bd6B`ifpvx#9`;7hEsynM z|8|dn7rupf1UFu`2e=1w1pcx_)!IQX-k922icy58DpJKP%Rlktl<3NM7od1~Y?ESHnQytV@<6g6ipS_3UAC;#!-H-CHZL8%d8Rv7$wN0$N*;@*_ z#D+l=P{ejiL}S0@C4FM!B<|s_{#y~9A?1&T(#mVxR}Ab)PD6ZUl)Qdzci)Zu6eoV} z8EG5VvyAlo8&G;pKIJ^Rnq#%&`zLle`u1I(zgUhkaz3{cO};o&6*(}}!v`)e%r2Lsl;!e&>=x{o8(VnFwVU}q z2=g`l+u96sBX$K4v32bM&FLiTN;WZ!(dY>~=zh+AG)^)7hj5qYK?Bc$5zRLxVU)P@ zIq>q);Q)7~{A9kCdQ#t{?1tV8+b=A$(oNl#ZSu#1j|Wcfb46|ba;tDsm1BJPZe(oh z9Np{^R39)p8>PZ2pOUcsI?tHe-mdUV?pZrUe9-Hx`t}!zHQ}CiDL+mSMhm&6L%&kB zF@C-i!Xh7~kJvT>$!AHtTYj^(zfmtgY8T*?FH1dxZ<GVPJ-kKi zFt=RIBd7Bk;U8YHU@ra9_REqG@GRHz(GYag68`Y3eT5+&MyxbS$J`V5MDRGo49 zEVneA*FEa;D9Cp+B;!J5))K`h2ULeIE*-9|qAhl7b1v9RA%DTfy0&R3Ljz@bI!^Iclbf@2a%lFDB2#_UCfgN}S^tJbZCi zIP)M+1!Ij?{v$uK8k)INSb$?1$>reFjMIFrFXRX(4y0`eL3z`I)jK0V2Q8MI>S;z2cv-Ri{QWhj!OenK8}1>6g3=lsfXW@>L& z#G$LA!S$2TP3rA3PY#3Fa{RopGu>+ifTF@|Pk_lZzd%&p9ptn7`j)YsK5Q4eyTSt; zR=C5-T#nYc_`8L_#o|0)5#-KvRm?hOX>n8*J)F_l=GovQljwSf2oZCyZhVbQlqHei z%=DM^`pB@7u{6lYyZc|sSick#brE?3?PXAqBidratJ}*A&7r|H^yEzV3t&y8KIJV> z*p3eZ^fIB_d9OX^`19rsRHkUk{{r*ASHW%yo+8m4t?TjcVVSUU9s#zbr*-fx0OEEQ z*zq_{CdwMpDKPYdzB?dUoMP0g`v-&m)88$BrbzMk3&(?Y&+Ea1$mP#H6hxM0;Y8aU zX{>BB=BSAzNzK@^oFn}x){Y$e#24f+(5?dQ^r?`EVi$R)Xp{8e4&Q8V9hrraI?qgP z_attkFAdTOA9`TcZdVXA*v7c}B9!WK`0^omj?snY8s^K9VM8CZQ<^$!bh(A<99Daw z`RNz!<+D>cp#HKJ(&<|(llb#%6?eH?aSWFcD<@Kg}ScJQ$m5gUno)$qjtW0Ei&jb z{H;u)-WTr6RKX;z;S8zqiwX2BCALI&<{#{X>2W!Z*xhz&QD$s`^umVxJ(T*%%poz^>4 ztu{x^d#*`pyj9nHc?7$l{rVcx<>P|3xXF$chja;=RMiRm_h?eC|LZ~U>Pj%t(5I0_gvm9DfX6AcIxk0?D+{^ zeS03dnWcK}7P&jpU`OUs;XcS9;}VY*jT?(Vu^k}{Ja-%p@VPLD$pUzXp*Ki9KQNJj zQNQQ`n1V7^zwi$Q#`GvPlEI{xe0e6`5Q;K$U&^oK=2 zA_=~lfO5z=Sd{2^u*(bkkBZUgBPAWv-+cZpv5StQ(#L>tT0e$_x0o8N1n2u@1*z=9rRh!XS2?sGTT17CN~bQW_7^s?lDXcQkkE z#4pI~*8Acj``+Sd9JJ2WV02WhDcBK#M;;gR&~91kKv82GcS0x$37%)^{aS3H)oi@n z&a?K*o+=FY_)d#-E%Vba-b}rJxXy%kOfkrbWSo&|4LSkZbA!1rnmXlknF$;7fmVo5 zeuD%RM+)`{j^^M6N#*T*=go;Y95nAKn43KDq2Ol*mSWeIbJK%X@ciUEDVOFFmh0~` zu?k`2m((h9_iVH&uw`LEw6`IJ4Wq(q{cW(LHuQD^*bc@zHUpk#W{PGbT@MxBd!vIt zAK^6b*}0ChE40w8K4JWAc2Jh;3+W!CY>+XwsV9rq*ML|gt!?sNvPf6X5b|zy|9Tt* zwGejv4_<4*;F=kAmSC?*{M@KU%Q_~8upu;P2)+sH^*2Gu``AFyO1HX49|!U7lj#Jn zvRo{oxPLF5K-bu%>INzQ5iavHBj`u=L4V|6BHsp&v^JB63Puw(6>FG&&mLc<;PjEG zR4*AH*%kXjQWVJa<3?nzeyjWs2g29K-Dd7@Y28xhRk0wqyP4zi>wRsQBrwtj94KV$ zHpt|e{RT@W8=LDJsz&LSDNwhFYldEx%-+SU?@m#>Jhx_%>or;orK|lcN&GxR3F)e% zA_^kh;K>mcm^d8whO*n%R0ZK~WLS?y*<-4#TMaP%bmr$V$fU}(_@a;W$CF{?7UGEb z7U~p%a+5@Ajw~!y3YA*mbEd5><$!zdzRyJ35=&sNsa3oR1NLO`o0}F9_cR1Qa`={5 zV+wWv1T@i1ay3re-ab}5>{6{`m^5gQFz_0KG#A*NFdmtsE#6;Bu8_9XHpn4=*@CC= z!XB}Kt;rLOG!~$ag~sks3Gm5M1OJf42^b}Cws}iSZ`B>=E%n~<>^bR3L!*&3m?=%~ zOHSwxj}DTP?(Ee`!?C9Z(bDc!r!xq|^6uaN1)yf90LT?;b33qq`@ueaidpoXVkq?# z1u-yR1SmjV|3t}x1A#RjB2@U{@Go&mwiU3 z4f>TJ(VDt7PTm6XOCf@0GtFHG;#)uwXeOGI1@uVH0|+F*gK94rbm7Zx`+-*{grd&R?tKok&3(^K+A ztB%1Ie$9qg28!t=_|Kg~HlyUZLIa*F;T@GLl%v*HZndGfw}ey0^#5UMrPcqlv459f zkeJyh>WdkqNHmXiWk<+)hwIlfscvd`k`6KRXTqc3*qM&eecQGO386DMJPf^??d|v2 z3ZGgP41aDTPWTx)_}5;9ou&1#jKNEjq>$Gc{7XYa@ydt3bLNg&V{5btn%H=gi~UDt zlw(zi7o=-T4?bG1*8TLP(hl7 zAT80TbWB7*!C;A^(t>npQ3FvCxPn4NATczl3BgN|_8y<_@Ar3R&vW*iz30sAGi$92 zoWl;(w5kWiW9|{?bHp~80QA~fJJ5Iy z!M(;{1^xJn@a#ulMz_kBTWuaiFpb4+V(Dz7a8E3hwEODYvAA2U>Z3QUAKo-4R}IMB z)?UUNI;8u(J8}mXuzisw=+}fZti_uwV=F4@g_?|maCffuyCD0WUAr@6BGou0;!6#N z-cXy5S!+_7(S>PB<|1ZYkrhyS3Y5DQ{&x}|lk@lrWoa@z$7`^qaPhieN%a&f%si&0 z@?$~$>*4-Pck7(s-38`{FMnn_W_sH{_&1K&;cT5-d0zE>8KF^=;jiP0_e@{5*Zwwh z8yS=NomK4Kilj235jEv%4u1#uWbhTrcVuJmqr=1ileXG;Tbd(v?OEhrf(~OVx>UUv z+u^baOlm#bc_}kJR`#c%uL-^f-g%VBA9w|T*=hS~T{M-0Bx4VmYnx0ZT(dT>Qoogh zx6ou%Xr)0j3>-DFs{EJEOI^L-Af44GWB4L3$Rc7f0hZ*Rjs{(VGg7WmaSrx29Mg9I zbq^er4O`BoSBS?o8qP|IR|~${7B;a*l{qHR)p2!f9I*+V3#(0cF7wdn-Rq+h@_8>I z%_+Slv>BrRM)tTWdg~%xlQGwp(Tx9go)jVvo%xcNeknN1Y+4b!pR2Ds(%zcmj@sR( z7jN=QD!F*=uYEHe@4WFvx=9-|qUD%*#-4hCDKjmUpt~d*0-ir%V^MUQkfXWi^z@9{ zn!-{?VKaRUx*7^Ausq~AZ<`KlOm}u~_b9Quy7P9*m1#^moZ)k%pp*4r$*5o5A~TFu zC2(Nu*ib-&IZcM;GSdm)b}1_wMMFt$?Z-;8RwL;LpyR6e(UMU1Q{W`W+!QsvWj|Gm$KC0LA~lo>A%8m? zX0mx)#C_1bbgPoaN&;aN&NP5?8|31qjxZ@tr4Grj`4L%1b(d=lcraIlLO@Uy{_N+= zJqz8ow6Le48J7KNsoi#7&c0J2|oDVE^RIJ)FXa`#u-G6^Vj7GWMlKgnKT-ZvhKcqcF(o8R=i^q4WSo^GO5IT*lbjt~yAZSIk^h+$Gch ztZg0{7Q9=P5*&@L7HY8{s}5udST%zMO-iu+iE03_d_cO1h*Q|M4VB6PzDQ@reSz3A z1*Ya38do7&bpf;*sYI1B^C)vW)eb_r=HmNOTCzBR4nj^j&zNHsberxd(-6Y%?5=H zkYgMCs!z47%kNkPV1x7~wdIT!;hJ=3jT9K}CQf1KHULnnIUUcMzGv|WBOiSJqGz^z zkjNZ3qozFty#Zu~=en00e6jyawNUXS4cHoQ))^lH27XVRD6~xp;Ebhj^q&Tp1j;Qs zOmq1)k#+Z($e_ipK(mRTSkA-r4FQOT@z?-(%svpjWJc0*Q)cp*TqBm36=6SC+UxSn z3ELySQGak{LM8O!ZOSJ-J(EyX$i%JSYSWO#zDY*kKY+x5_nrgMg@P>lM9E56B1d|{ zR=Y~-=q&~4)PGE0pQmtM)pmoRrbQUG7i;^fW`7*>(y77MFB)|Kgn2Vd6_?dy!IX`= z^uDoC#9Us3R~(^aeu#&Os&J?@r&CTXtB!cC1&wfI;nh z12=O+cQR(e0#~K5;;Y`5jZ^8i_KBxZC^lMf4wxfXY=|(=RyEQ z61k8nnwL&Ys3k-&OI9JYIibHi4AjXBsrDU4ljgI+lv-_r{atIkrJkB759#^R#$}Q$ zxkuwiw4gvCe|_?O-l$ZH$$IXGz*1bK<|)5G(Om7q!oAFRt@WyFjaEzE$f!=mq?GvK zzxKa9xol#%P|{@miLf8R=n0*ecAf6KK7A)BE1ltTjFIZb^bU1Wy0fP?iS0gPELeD5 znJtYoO*kl0pvg|thQTrWcZoP?2(x?%0e-f$N zDoSzW&M{_%Zz;2VfVGiewC)CkhJj zmGR$ApwPrpz~A52_q6aT@P#xpueXXq%NdP%%QY3*y3=*&hwG*dO&)>lxlTIYf5pw- z-sX}0isahDL~$6;F=`_9;Cq@*Y_&{u=@`BJMt;_C1$e~1DP{I$Yp$6&Kt*{h``vH? ziABU_jGJ80&!TBfl731%eESoub8E+aWecYm=|=q=Z6SMjZ_>h@q16OS-?zYFSjJ^d z5hQn%%=?rO6FigRnIrw8C|hc<{OT0lniXQ6sDF3lemg6^Es@Hv%s;~lu>+Q|4Dy{R zh)&U7R_gv`5^k4NM?kRXQ z1XSVLO4MI?Fx_(w94k*tmSR2~tGqtCwj3zHLCt$LCM!gNRI|$fV1k(v^vc{nuK{9R zF*nn!%MV>3;(=sW+`K1{X~?|}2z8NU*Udn5$0xizDVgpKM>DnJ)iGzyekVxTUJKV? z?=X43{v+?-ZTp}kj?2Uk&Vj?G4!VBWSko8j6)VUBXbNyy_Y70u znK^_FWh0!DP(&zXYPJ(Mf5mZZT<73qDt6#klFkl$Y^yW%^dML{Z3oZokVll)e}XYO zH16~oH#UTy3pi}|EXz%Bpg56GYZrivi@FqP7E?4Z(be1!FYAiRmAVXRgVG)yxEcPj zKvF_E&6uGknB!VHrEOHH@c}WjX-hUQv7@0+u7tg8#V+of-b}Q~LwqyPya)#Utfwn- zunhkYuJv)qQ}Y-#|Kr1&nR&9l3h0WY$7E{wS*jsumx+Yh>t}CTtX+R;#-8q+%Zx+v zO?y^7wL^;d`3%nu#CiJJx-yXVXU*S3Xc9k@Wp|jZ?$Ea_0bGOk#(i$gWjX#?=_FGh zoUN+{Y5R-KXB7p>EqQbHV6XK=-sB6PRq0us<>lCd*)I|+$yA2%upj7HlTsjL(>jE5 znh`gkBwjQB4jds`c{t5zau%`-*&@R1b|8xo!!x@{s+y${ndtetsZEY7wAaRuX; zCI`CdN(dr7C!LH@7E=WkP(s_g@wdeje!QICu;Cx3aYk%w5a;iN{f+>i^l@XUrQQ0S zafQe~#ku-!{P#y9Pobe68>mUFB=&)HUAFqkR08=6TjW^q{`0Hdt6d~3Oy5)IO+WnP zv$O!zI2XJhb7=)!E^(8-m&hpWpSQyN*pn>L1ZEZE3@{NsAm^S96TUvDn?A_6ggUPj zT=>=no4{>$ei#Z?e^x8GcHprL>o{(=&97eBz#IM&{;r45qA)`8Aj~yGaJhI;YYaRp zMaeWmqT0GZ)>k} zY^6uUlwFTL#CXVfxNj=cX{hv1k2K81^1@R(L15>tr@zRJ`jNUoKzndI|B44;0434$A3rO!g{93q{0Alwt$%vO%_sat{7M?GX zDwndI2bP8un!OQ1k!c|9$X%1@Ke`^fOUBkJkf={#J|Kqg9xHL>ka_m($?Y^N5_%TY zIPW}4Q&z%W?9E$B$vefHysAEVQX1jZz6$1EI)AJ_sEnQ}?_E z-9fy(p$9^sX4NJCzh?5+BSB(UJ=^8@(VPce5&9@{*F_~d)AvP4G_tP!9s;Fr zB8{WW%BID%itAm7G9x2qS_dIKOpw5kd&;H&fpR$q=S$9_H`|uP`6SUnEfo2hn^;4C zGSGhp>$^~%k3gxxgv{?6tSc-bqBHIxUK-gVQ-I#~2SW!@WPCBI^mo#Dm#?=T3d0N# z-n{!;qQhca#NU7X4H7k5mqSIbgm!M3Rr!&ry?=yafrL%1fQe2GHe5qpkmyME8dy}H z--sy({!Y7)shMsfx#Vqwo#Z9+712AUoMfR#2S#^)e#POn+MSzh*;hnjhS5biSdp}y zar*48?OX&(NENx*yQ%j$f$r32)OD5+gp?wHd4HWjIE#5nmUA-KbN4*t5R%5d=6^iUHg_pi*>ccty#$HEP}#DD`A+y!h-a@+ z*FMhnuCDbfNL?VJ$%ShStK)~IVj(|;>0DEK7(Gv%w@?lnKlB?=lDR4e{&9 zxGnL?ak6MZ3+O8~;a8s1TplzNNV8LV+cb7mHgt{F&HE!eV+N zfmD3z2BByM09f!oJ2Jv7%J^HIglf#@0X07|0%JB|3=l0BbO38l>KO%pnGg;N z>IsED4%$)1hHvw<2=D2U^i-@CUr2RU6SXt61NtC%kyo4T>jOx9f=~_~_EpER*Z&7t C^X4Z2 literal 0 HcmV?d00001 diff --git a/index.html b/index.html new file mode 100755 index 0000000..83f0195 --- /dev/null +++ b/index.html @@ -0,0 +1,1008 @@ + + + + + + + + + + + + + + + + + + + + + + PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + +

PythonProtector 🔒

+

pyprotector

+

forthebadge made-with-python

+

A modern, easy to use and feature-rich way to protect your Python Programs.

+

Features

+
    +
  • Completely Configurable Module System
  • +
  • Completely Configurable On Detection System
  • +
  • Encrypted Logging System With Remote Uploading
  • +
  • Discord Webhook Support
  • +
  • Clean, Optimized Code
  • +
  • Constant Updates
  • +
+

Installation

+

Python 3.11 or higher is required

+

Install The PyPi Version:

+
py -3 -m pip install -U PythonProtector
+
+

You may also install the development version: +

pip install git+https://github.com/xFGhoul/PythonProtector.git
+

+

Usage

+

Quick Example: +

from pathlib import Path
+from threading import Thread
+
+from pyprotector import PythonProtector
+
+# -- Define Constants
+LOGGING_PATH = (
+    Path.home() / "AppData/Roaming/PythonProtector/logs/[Security].log"
+)  # -- This can be any path
+
+# -- Construct Class
+security = PythonProtector(
+    debug=True,
+    modules=[
+        "AntiProcess",
+        "AntiVM",
+        "Miscellaneous",
+        "AntiDLL",
+        "AntiAnalysis"],
+    logs_path=LOGGING_PATH,
+    webhook_url="",
+    on_detect=[
+        "Report",
+        "Exit",
+        "Screenshot"],
+)
+
+# -- Main Code
+if __name__ == "__main__":
+    SecurityThread = Thread(
+        name="Python Protector", target=security.start
+    )  # -- Start Before Any Other Code Is Run
+    SecurityThread.start()
+    # Other Code
+

+

You can find more examples in the examples directory.

+

Files and Explanations

+

├──.github — GitHub configuration including CI/CD workflows
+├──.vscode — VSCode Related Settings
+├──data — Data Files Needed By PythonProtector
+├──examples — Examples Showing How To Use PythonProtector
+├──pyprotector — Source Code Of PythonProtector
+├──scripts — Scripts Used In The Development Process

+
+

Made With ❤️ By ghoul#1337 and Marci#0101

+
+ + + + + + +
+
+ + + + +
+ +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/installation/index.html b/installation/index.html new file mode 100755 index 0000000..d580441 --- /dev/null +++ b/installation/index.html @@ -0,0 +1,937 @@ + + + + + + + + + + + + + + + + + + + + + + + + Installation - PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + +

Installation

+

Getting Started

+

You can add PythonProtector to your python project in a few easy steps. First of all, +install the dependency:

+

Default Dependency

+

Python 3.11 or higher is required

+

Install The PyPi Version:

+
py -3 -m pip install -U PythonProtector
+
+

You may also install the development version:

+
pip install git+https://github.com/xFGhoul/PythonProtector.git
+
+ + + + + + +
+
+ + + + +
+ +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/license/index.html b/license/index.html new file mode 100755 index 0000000..912351d --- /dev/null +++ b/license/index.html @@ -0,0 +1,1458 @@ + + + + + + + + + + + + + + + + + + + + + + + + License - PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + +
                GNU GENERAL PUBLIC LICENSE
+                   Version 3, 29 June 2007
+
+

Copyright (C) 2007 Free Software Foundation, Inc. https://fsf.org/ + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed.

+
                        Preamble
+
+

The GNU General Public License is a free, copyleft license for +software and other kinds of works.

+

The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too.

+

When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things.

+

To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others.

+

For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights.

+

Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it.

+

For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions.

+

Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users.

+

Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free.

+

The precise terms and conditions for copying, distribution and +modification follow.

+
                   TERMS AND CONDITIONS
+
+
    +
  1. Definitions.
  2. +
+

"This License" refers to version 3 of the GNU General Public License.

+

"Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks.

+

"The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations.

+

To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work.

+

A "covered work" means either the unmodified Program or a work based +on the Program.

+

To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well.

+

To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying.

+

An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion.

+
    +
  1. Source Code.
  2. +
+

The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work.

+

A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language.

+

The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it.

+

The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work.

+

The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source.

+

The Corresponding Source for a work in source code form is that +same work.

+
    +
  1. Basic Permissions.
  2. +
+

All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law.

+

You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you.

+

Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary.

+
    +
  1. Protecting Users' Legal Rights From Anti-Circumvention Law.
  2. +
+

No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures.

+

When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures.

+
    +
  1. Conveying Verbatim Copies.
  2. +
+

You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program.

+

You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee.

+
    +
  1. Conveying Modified Source Versions.
  2. +
+

You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions:

+
a) The work must carry prominent notices stating that you modified
+it, and giving a relevant date.
+
+b) The work must carry prominent notices stating that it is
+released under this License and any conditions added under section
+7.  This requirement modifies the requirement in section 4 to
+"keep intact all notices".
+
+c) You must license the entire work, as a whole, under this
+License to anyone who comes into possession of a copy.  This
+License will therefore apply, along with any applicable section 7
+additional terms, to the whole of the work, and all its parts,
+regardless of how they are packaged.  This License gives no
+permission to license the work in any other way, but it does not
+invalidate such permission if you have separately received it.
+
+d) If the work has interactive user interfaces, each must display
+Appropriate Legal Notices; however, if the Program has interactive
+interfaces that do not display Appropriate Legal Notices, your
+work need not make them do so.
+
+

A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate.

+
    +
  1. Conveying Non-Source Forms.
  2. +
+

You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways:

+
a) Convey the object code in, or embodied in, a physical product
+(including a physical distribution medium), accompanied by the
+Corresponding Source fixed on a durable physical medium
+customarily used for software interchange.
+
+b) Convey the object code in, or embodied in, a physical product
+(including a physical distribution medium), accompanied by a
+written offer, valid for at least three years and valid for as
+long as you offer spare parts or customer support for that product
+model, to give anyone who possesses the object code either (1) a
+copy of the Corresponding Source for all the software in the
+product that is covered by this License, on a durable physical
+medium customarily used for software interchange, for a price no
+more than your reasonable cost of physically performing this
+conveying of source, or (2) access to copy the
+Corresponding Source from a network server at no charge.
+
+c) Convey individual copies of the object code with a copy of the
+written offer to provide the Corresponding Source.  This
+alternative is allowed only occasionally and noncommercially, and
+only if you received the object code with such an offer, in accord
+with subsection 6b.
+
+d) Convey the object code by offering access from a designated
+place (gratis or for a charge), and offer equivalent access to the
+Corresponding Source in the same way through the same place at no
+further charge.  You need not require recipients to copy the
+Corresponding Source along with the object code.  If the place to
+copy the object code is a network server, the Corresponding Source
+may be on a different server (operated by you or a third party)
+that supports equivalent copying facilities, provided you maintain
+clear directions next to the object code saying where to find the
+Corresponding Source.  Regardless of what server hosts the
+Corresponding Source, you remain obligated to ensure that it is
+available for as long as needed to satisfy these requirements.
+
+e) Convey the object code using peer-to-peer transmission, provided
+you inform other peers where the object code and Corresponding
+Source of the work are being offered to the general public at no
+charge under subsection 6d.
+
+

A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work.

+

A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product.

+

"Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made.

+

If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM).

+

The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network.

+

Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying.

+
    +
  1. Additional Terms.
  2. +
+

"Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions.

+

When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission.

+

Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms:

+
a) Disclaiming warranty or limiting liability differently from the
+terms of sections 15 and 16 of this License; or
+
+b) Requiring preservation of specified reasonable legal notices or
+author attributions in that material or in the Appropriate Legal
+Notices displayed by works containing it; or
+
+c) Prohibiting misrepresentation of the origin of that material, or
+requiring that modified versions of such material be marked in
+reasonable ways as different from the original version; or
+
+d) Limiting the use for publicity purposes of names of licensors or
+authors of the material; or
+
+e) Declining to grant rights under trademark law for use of some
+trade names, trademarks, or service marks; or
+
+f) Requiring indemnification of licensors and authors of that
+material by anyone who conveys the material (or modified versions of
+it) with contractual assumptions of liability to the recipient, for
+any liability that these contractual assumptions directly impose on
+those licensors and authors.
+
+

All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying.

+

If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms.

+

Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way.

+
    +
  1. Termination.
  2. +
+

You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11).

+

However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation.

+

Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice.

+

Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10.

+
    +
  1. Acceptance Not Required for Having Copies.
  2. +
+

You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so.

+
    +
  1. Automatic Licensing of Downstream Recipients.
  2. +
+

Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License.

+

An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts.

+

You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it.

+
    +
  1. Patents.
  2. +
+

A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version".

+

A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License.

+

Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version.

+

In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party.

+

If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid.

+

If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it.

+

A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007.

+

Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law.

+
    +
  1. No Surrender of Others' Freedom.
  2. +
+

If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program.

+
    +
  1. Use with the GNU Affero General Public License.
  2. +
+

Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such.

+
    +
  1. Revised Versions of this License.
  2. +
+

The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns.

+

Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation.

+

If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program.

+

Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version.

+
    +
  1. Disclaimer of Warranty.
  2. +
+

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

+
    +
  1. Limitation of Liability.
  2. +
+

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES.

+
    +
  1. Interpretation of Sections 15 and 16.
  2. +
+

If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee.

+
                 END OF TERMS AND CONDITIONS
+
+        How to Apply These Terms to Your New Programs
+
+

If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms.

+

To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found.

+
<one line to give the program's name and a brief idea of what it does.>
+Copyright (C) <year>  <name of author>
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
+

Also add information on how to contact you by electronic and paper mail.

+

If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode:

+
<program>  Copyright (C) <year>  <name of author>
+This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+This is free software, and you are welcome to redistribute it
+under certain conditions; type `show c' for details.
+
+

The hypothetical commands show w' andshow c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box".

+

You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +https://www.gnu.org/licenses/.

+

The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +https://www.gnu.org/licenses/why-not-lgpl.html.

+ + + + + + +
+
+ + + + +
+ +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/release/index.html b/release/index.html new file mode 100755 index 0000000..01c13b0 --- /dev/null +++ b/release/index.html @@ -0,0 +1,1017 @@ + + + + + + + + + + + + + + + + + + + + + + + + Release Notes - PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + +

Release Notes

+ +

1.0 - 2022-09-18

+

Release Initial Project

+

1.1 - 2022-12-28

+

So It's been kind of a while since we released a new update, I had some pretty big stuff going on irl, no time to code, just recently came back and decided to make some updates.

+
    +
  • +

    Completely Configurable Module System - Users now have the choice of deciding what modules they use, currently there are only the main 4 me and marci provide, but we are open to pull requests and we will be adding more in the future, do check the repository or the example for more information.

    +
  • +
  • +

    should_exit argument - gives users the ability to decide if the program should exit if one of the detections were raised.

    +
  • +
  • +

    Overall Improvement/Refactoring - This update didn't bring everything me and marci are planning for, but this is just a couple, in the update I made to sure to cover some edge cases so you guys don't get confused

    +
  • +
+

1.5 - 2022-01-05

+

I know this is a pretty quick release, and the jump from 1.1 to 1.5 but I felt it was only necessary with the amount of changes made.

+

Major Changes:

+
    +
  • +

    Encrypted Logging - Instead of logs that anybody can read, logs are now encrypted at runtime and are only decrypted if malicious activity is detected

    +
  • +
  • +

    AntiAnalysis - Thanks to the work of Marci, a new module has been made!, this one comes with some pretty neat features, be sure to check it out

    +
  • +
  • +

    New On Detection System / on_detect - Similarly to the new configurable module system, I've gone ahead and done the same with what happens when malicious activity is detected, check out the examples for how it's used

    +
  • +
+

Minor Changes

+
    +
  • +

    Updated Minimum Python Requirement To 3.11

    +
  • +
  • +

    Refactoring and Misc Improvements

    +
  • +
+

1.6 - 2022-01-07

+

Minor bump for setup.py bug that didn't allow importing.

+ + + + + + +
+
+ + + + +
+ +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/search/search_index.json b/search/search_index.json new file mode 100755 index 0000000..562d8ca --- /dev/null +++ b/search/search_index.json @@ -0,0 +1 @@ +{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"PythonProtector \ud83d\udd12","text":"

A modern, easy to use and feature-rich way to protect your Python Programs.

"},{"location":"#features","title":"Features","text":"
  • Completely Configurable Module System
  • Completely Configurable On Detection System
  • Encrypted Logging System With Remote Uploading
  • Discord Webhook Support
  • Clean, Optimized Code
  • Constant Updates
"},{"location":"#installation","title":"Installation","text":"

Python 3.11 or higher is required

Install The PyPi Version:

py -3 -m pip install -U PythonProtector\n

You may also install the development version:

pip install git+https://github.com/xFGhoul/PythonProtector.git\n

"},{"location":"#usage","title":"Usage","text":"

Quick Example:

from pathlib import Path\nfrom threading import Thread\nfrom pyprotector import PythonProtector\n# -- Define Constants\nLOGGING_PATH = (\nPath.home() / \"AppData/Roaming/PythonProtector/logs/[Security].log\"\n)  # -- This can be any path\n# -- Construct Class\nsecurity = PythonProtector(\ndebug=True,\nmodules=[\n\"AntiProcess\",\n\"AntiVM\",\n\"Miscellaneous\",\n\"AntiDLL\",\n\"AntiAnalysis\"],\nlogs_path=LOGGING_PATH,\nwebhook_url=\"\",\non_detect=[\n\"Report\",\n\"Exit\",\n\"Screenshot\"],\n)\n# -- Main Code\nif __name__ == \"__main__\":\nSecurityThread = Thread(\nname=\"Python Protector\", target=security.start\n)  # -- Start Before Any Other Code Is Run\nSecurityThread.start()\n# Other Code\n

You can find more examples in the examples directory.

"},{"location":"#files-and-explanations","title":"Files and Explanations","text":"

\u251c\u2500\u2500.github \u2014 GitHub configuration including CI/CD workflows \u251c\u2500\u2500.vscode \u2014 VSCode Related Settings \u251c\u2500\u2500data \u2014 Data Files Needed By PythonProtector \u251c\u2500\u2500examples \u2014 Examples Showing How To Use PythonProtector \u251c\u2500\u2500pyprotector \u2014 Source Code Of PythonProtector \u251c\u2500\u2500scripts \u2014 Scripts Used In The Development Process

Made With \u2764\ufe0f By ghoul#1337 and Marci#0101

"},{"location":"code_of_conduct/","title":"Contributor Covenant Code of Conduct","text":""},{"location":"code_of_conduct/#our-pledge","title":"Our Pledge","text":"

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

"},{"location":"code_of_conduct/#our-standards","title":"Our Standards","text":"

Examples of behavior that contributes to creating a positive environment include:

  • Using welcoming and inclusive language
  • Being respectful of differing viewpoints and experiences
  • Gracefully accepting constructive criticism
  • Focusing on what is best for the community
  • Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

  • The use of sexualized language or imagery and unwelcome sexual attention or advances
  • Trolling, insulting/derogatory comments, and personal or political attacks
  • Public or private harassment
  • Publishing others' private information, such as a physical or electronic address, without explicit permission
  • Other conduct which could reasonably be considered inappropriate in a professional setting
"},{"location":"code_of_conduct/#our-responsibilities","title":"Our Responsibilities","text":"

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

"},{"location":"code_of_conduct/#scope","title":"Scope","text":"

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

"},{"location":"code_of_conduct/#enforcement","title":"Enforcement","text":"

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the Project Leader on Discord Via DMing ghoul#0002. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

"},{"location":"code_of_conduct/#attribution","title":"Attribution","text":"

This Code of Conduct is adapted from the Contributor Covenant, version 1.4, available at https://contributor-covenant.org/version/1/4

"},{"location":"faq/","title":"FAQ","text":""},{"location":"faq/#what-is-pythonprotector","title":"What is PythonProtector?","text":"

Python Protector is a python library aimed at protecting your python program at runtime.

"},{"location":"installation/","title":"Installation","text":""},{"location":"installation/#getting-started","title":"Getting Started","text":"

You can add PythonProtector to your python project in a few easy steps. First of all, install the dependency:

"},{"location":"installation/#default-dependency","title":"Default Dependency","text":"

Python 3.11 or higher is required

Install The PyPi Version:

py -3 -m pip install -U PythonProtector\n

You may also install the development version:

pip install git+https://github.com/xFGhoul/PythonProtector.git\n
"},{"location":"license/","title":"License","text":"
                GNU GENERAL PUBLIC LICENSE\n                   Version 3, 29 June 2007\n

Copyright (C) 2007 Free Software Foundation, Inc. https://fsf.org/ Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

                        Preamble\n

The GNU General Public License is a free, copyleft license for software and other kinds of works.

The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.

When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.

To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.

For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.

Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.

For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.

Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.

Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.

The precise terms and conditions for copying, distribution and modification follow.

                   TERMS AND CONDITIONS\n
  1. Definitions.

\"This License\" refers to version 3 of the GNU General Public License.

\"Copyright\" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.

\"The Program\" refers to any copyrightable work licensed under this License. Each licensee is addressed as \"you\". \"Licensees\" and \"recipients\" may be individuals or organizations.

To \"modify\" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a \"modified version\" of the earlier work or a work \"based on\" the earlier work.

A \"covered work\" means either the unmodified Program or a work based on the Program.

To \"propagate\" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.

To \"convey\" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.

An interactive user interface displays \"Appropriate Legal Notices\" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.

  1. Source Code.

The \"source code\" for a work means the preferred form of the work for making modifications to it. \"Object code\" means any non-source form of a work.

A \"Standard Interface\" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.

The \"System Libraries\" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A \"Major Component\", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.

The \"Corresponding Source\" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.

The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.

The Corresponding Source for a work in source code form is that same work.

  1. Basic Permissions.

All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.

You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.

Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.

  1. Protecting Users' Legal Rights From Anti-Circumvention Law.

No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.

When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.

  1. Conveying Verbatim Copies.

You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.

You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.

  1. Conveying Modified Source Versions.

You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:

a) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7.  This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy.  This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged.  This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n

A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an \"aggregate\" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.

  1. Conveying Non-Source Forms.

You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:

a) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source.  This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge.  You need not require recipients to copy the\nCorresponding Source along with the object code.  If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source.  Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n

A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.

A \"User Product\" is either (1) a \"consumer product\", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, \"normally used\" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.

\"Installation Information\" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.

If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).

The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.

Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.

  1. Additional Terms.

\"Additional permissions\" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.

When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.

Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:

a) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n

All other non-permissive additional terms are considered \"further restrictions\" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.

If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.

Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.

  1. Termination.

You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).

However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.

Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.

Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.

  1. Acceptance Not Required for Having Copies.

You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.

  1. Automatic Licensing of Downstream Recipients.

Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.

An \"entity transaction\" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.

You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.

  1. Patents.

A \"contributor\" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's \"contributor version\".

A contributor's \"essential patent claims\" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, \"control\" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.

Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.

In the following three paragraphs, a \"patent license\" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To \"grant\" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.

If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. \"Knowingly relying\" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.

If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.

A patent license is \"discriminatory\" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.

Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.

  1. No Surrender of Others' Freedom.

If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.

  1. Use with the GNU Affero General Public License.

Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.

  1. Revised Versions of this License.

The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License \"or any later version\" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.

If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.

Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.

  1. Disclaimer of Warranty.

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

  1. Limitation of Liability.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

  1. Interpretation of Sections 15 and 16.

If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.

                 END OF TERMS AND CONDITIONS\n\n        How to Apply These Terms to Your New Programs\n

If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the \"copyright\" line and a pointer to where the full notice is found.

<one line to give the program's name and a brief idea of what it does.>\nCopyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see <https://www.gnu.org/licenses/>.\n

Also add information on how to contact you by electronic and paper mail.

If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:

<program>  Copyright (C) <year>  <name of author>\nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n

The hypothetical commands show w' andshow c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an \"about box\".

You should also get your employer (if you work as a programmer) or school, if any, to sign a \"copyright disclaimer\" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see https://www.gnu.org/licenses/.

The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read https://www.gnu.org/licenses/why-not-lgpl.html.

"},{"location":"release/","title":"Release Notes","text":""},{"location":"release/#10-2022-09-18","title":"1.0 - 2022-09-18","text":"

Release Initial Project

"},{"location":"release/#11-2022-12-28","title":"1.1 - 2022-12-28","text":"

So It's been kind of a while since we released a new update, I had some pretty big stuff going on irl, no time to code, just recently came back and decided to make some updates.

  • Completely Configurable Module System - Users now have the choice of deciding what modules they use, currently there are only the main 4 me and marci provide, but we are open to pull requests and we will be adding more in the future, do check the repository or the example for more information.

  • should_exit argument - gives users the ability to decide if the program should exit if one of the detections were raised.

  • Overall Improvement/Refactoring - This update didn't bring everything me and marci are planning for, but this is just a couple, in the update I made to sure to cover some edge cases so you guys don't get confused

"},{"location":"release/#15-2022-01-05","title":"1.5 - 2022-01-05","text":"

I know this is a pretty quick release, and the jump from 1.1 to 1.5 but I felt it was only necessary with the amount of changes made.

"},{"location":"release/#major-changes","title":"Major Changes:","text":"
  • Encrypted Logging - Instead of logs that anybody can read, logs are now encrypted at runtime and are only decrypted if malicious activity is detected

  • AntiAnalysis - Thanks to the work of Marci, a new module has been made!, this one comes with some pretty neat features, be sure to check it out

  • New On Detection System / on_detect - Similarly to the new configurable module system, I've gone ahead and done the same with what happens when malicious activity is detected, check out the examples for how it's used

"},{"location":"release/#minor-changes","title":"Minor Changes","text":"
  • Updated Minimum Python Requirement To 3.11

  • Refactoring and Misc Improvements

"},{"location":"release/#16-2022-01-07","title":"1.6 - 2022-01-07","text":"

Minor bump for setup.py bug that didn't allow importing.

"},{"location":"configuration/Events/","title":"Intro To Events","text":"

Events is a system implemented to notify when a specific function has raised a detection.

Example Event:

@security.event.obs.on(\"process_running\") \ndef on_process_running(text: str, module: str, process: psutil.Process):\nprint(f\"{module} - {text}\\nProcess Name: {process.name()}\")\n# Free To Do Whatever You Want Here...\n

Events Will Always Return text and module, any other kwargs are event specific.

You Can Find All Events In Each Modules Respective Event Reference.

"},{"location":"configuration/Modules/Anti%20Analysis/","title":"Anti Analysis","text":""},{"location":"configuration/Modules/Anti%20Analysis/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20Analysis/#checkdebugprivilege","title":"CheckDebugPrivilege","text":"

Checks If Debug Privilege is Found Enabled

"},{"location":"configuration/Modules/Anti%20Analysis/#hidethreads","title":"HideThreads","text":"

Hides Current Process Thread

"},{"location":"configuration/Modules/Anti%20Analysis/#checkdebugobject","title":"CheckDebugObject","text":"

Checks if A Debug Object Handle Handle Has Been Found

"},{"location":"configuration/Modules/Anti%20Analysis/#checksedebugname","title":"CheckSEDebugName","text":"

Checks if SE_DEBUG_NAME privilege is found

"},{"location":"configuration/Modules/Anti%20Analysis/#checkntglobalflag","title":"CheckNtGlobalFlag","text":"

Checks if NT_GLOBAL_FLAG_DEBUGGED is Found in the Process Environment Block

"},{"location":"configuration/Modules/Anti%20Analysis/#checkhardwarebreakpoints","title":"CheckHardwareBreakpoints","text":"

Checks for set Hardware Breakpoints

"},{"location":"configuration/Modules/Anti%20Analysis/#checkdebugfilterstate","title":"CheckDebugFilterState","text":"

Checks if Debug Filter State != 0

"},{"location":"configuration/Modules/Anti%20Analysis/#checkpeb","title":"CheckPEB","text":"

Checks if peb.BeingDebugged == True

"},{"location":"configuration/Modules/Anti%20Analysis/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20Analysis/events/#anti-analysis","title":"Anti Analysis","text":"
debug_privilege_found()\n

Called When Debug Privilege Found Enabled

debug_object_handle_found()\n

Called When Debug Object Handle Found

nt_global_flag_debugged()\n

Called When NT_GLOBAL_FLAG_DEBUGGED Is Found In The Process Environment Block

hardware_breakpoint_set()\n

Called When Hardware Breakpoints Are Found Set

debug_filter_state()\n

Called When Debug Filter State != 0

peb_being_debugged()\n

Called When peb.BeingDebugged == True

"},{"location":"configuration/Modules/Anti%20DLL/","title":"Anti DLL","text":""},{"location":"configuration/Modules/Anti%20DLL/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20DLL/#blockdlls","title":"BlockDLLs","text":"

Blocks DLL's That Match A Given List Being Injected Into Our Process

"},{"location":"configuration/Modules/Anti%20DLL/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20DLL/events/#anti-dll","title":"Anti DLL","text":"
dll_attach(dlls: List[str])\n

Called When Blacklisted DLL's Found Attached To Current Process

"},{"location":"configuration/Modules/Anti%20DLL/events/#parameters","title":"Parameters","text":"
  • dlls (List[str]) - List Of Loaded DLL's
"},{"location":"configuration/Modules/Anti%20Process/","title":"Anti Process","text":""},{"location":"configuration/Modules/Anti%20Process/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20Process/#checkprocesslist","title":"CheckProcessList","text":"

Checks Current Process List Against A List To Detect Harmful Programs

"},{"location":"configuration/Modules/Anti%20Process/#checkwindownames","title":"CheckWindowNames","text":"

Checks Current Window Name Against A List To Detect Harmful Programs

"},{"location":"configuration/Modules/Anti%20Process/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20Process/events/#anti-process","title":"Anti Process","text":"
process_running(process: psutil.Process)\n

Called When Blacklisted Process Found Running

"},{"location":"configuration/Modules/Anti%20Process/events/#parameters","title":"Parameters","text":"
  • process (psutil.Process) - Process Found Running
window_name_detected(window_name: str)\n

Called When Blacklisted Window Name Found

"},{"location":"configuration/Modules/Anti%20Process/events/#parameters_1","title":"Parameters","text":"
  • window_name (str) - Window Name
"},{"location":"configuration/Modules/Anti%20VM/","title":"Anti VM","text":""},{"location":"configuration/Modules/Anti%20VM/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20VM/#checklists","title":"CheckLists","text":"

Check Blacklisted Lists To Compare Data like HWID, IP, PC_NAME, etc.

"},{"location":"configuration/Modules/Anti%20VM/#checkvirtualenv","title":"CheckVirtualEnv","text":"

Checks if self._get_base_prefix_compat() != sys.prefix

"},{"location":"configuration/Modules/Anti%20VM/#checkregistry","title":"CheckRegistry","text":"

Checks Registry For VMWare Software

"},{"location":"configuration/Modules/Anti%20VM/#checkmacaddress","title":"CheckMacAddress","text":"

Checks Current Mac Address For VMWare Mac Addresses

"},{"location":"configuration/Modules/Anti%20VM/#checkscreensize","title":"CheckScreenSize","text":"

Checks If The Current Screen Size x or y is below 200

"},{"location":"configuration/Modules/Anti%20VM/#checkprocessesandfiles","title":"CheckProcessesAndFiles","text":"

Check For Blacklisted Virtual Machine Processes

"},{"location":"configuration/Modules/Anti%20VM/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20VM/events/#anti-vm","title":"Anti VM","text":"
blacklisted_hwid(hwid: str)\n

Called When Blacklisted HWID Found Detected

"},{"location":"configuration/Modules/Anti%20VM/events/#parameters","title":"Parameters","text":"
  • hwid (str) - Blacklisted HWID
blacklisted_pc_username(pc_username: str)\n

Called When Blacklisted PC Username Found

"},{"location":"configuration/Modules/Anti%20VM/events/#parameters_1","title":"Parameters","text":"
  • pc_username (str) - Blacklisted PC Username
blacklisted_pc_name(pc_name: str)\n

Called When Blacklisted PC Name Found

"},{"location":"configuration/Modules/Anti%20VM/events/#parameters_2","title":"Parameters","text":"
  • pc_name (str) - Blacklisted PC Name
blacklisted_ip(ip: str)\n

Called When Blacklisted IP Found

"},{"location":"configuration/Modules/Anti%20VM/events/#parameters_3","title":"Parameters","text":"
  • ip (str) - Blacklisted IP
blacklisted_mac_address(mac_addr: str)\n

Called When Blacklisted Mac Address Found

"},{"location":"configuration/Modules/Anti%20VM/events/#parameters_4","title":"Parameters","text":"
  • mac_addr (str) - Blacklisted Mac Address
"},{"location":"configuration/Modules/Anti%20VM/events/#parameters_5","title":"Parameters","text":"
blacklisted_gpu(gpu: str)\n

Called When Blacklisted GPU Found

"},{"location":"configuration/Modules/Anti%20VM/events/#parameters_6","title":"Parameters","text":"
  • gpu (str) - Blacklisted GPU
vmware_registry(reg1: int, reg2: int)\n

Called When VMWare Registry Found

"},{"location":"configuration/Modules/Anti%20VM/events/#parameters_7","title":"Parameters","text":"
  • reg1 (int) - VMWare Registry Identifier
  • reg2 (int) - VMWare Registry Identifier
vmware_mac(mac_addr: str)\n

Called When VMWare MAC Address Found

"},{"location":"configuration/Modules/Anti%20VM/events/#parameters_8","title":"Parameters","text":"
  • mac_addr (str) - VMWare MAC Address
screen_size(x: int, y: int)\n

Called When x <= 200 or y <= 200

"},{"location":"configuration/Modules/Anti%20VM/events/#parameters_9","title":"Parameters","text":"
  • x (int) - Screen Size X
  • y (int) - Screen Size Y
vm_process_running(processes: List[str])\n

Called When VM Processes Found Running

"},{"location":"configuration/Modules/Anti%20VM/events/#parameters_10","title":"Parameters","text":"
  • processes (List[str]) - List Of Processes
vmware_dll(dll: str)\n

Called When VMWare DLL Found

"},{"location":"configuration/Modules/Anti%20VM/events/#parameters_11","title":"Parameters","text":"
  • dll (str) - VMWare DLL
virtualbox_dll(dll: str)\n

Called When VirtualBox DLL Found

"},{"location":"configuration/Modules/Anti%20VM/events/#parameters_12","title":"Parameters","text":"
  • dll (str) - VirtualBox DLL
"},{"location":"configuration/Modules/Miscellaneous/","title":"Miscellaneous","text":""},{"location":"configuration/Modules/Miscellaneous/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Miscellaneous/#checkinternet","title":"CheckInternet","text":"

Checks For A Valid Internet Connection

"},{"location":"configuration/Modules/Miscellaneous/#checkram","title":"CheckRAM","text":"

Checks If RAM is below 4GB

"},{"location":"configuration/Modules/Miscellaneous/#checkisdebuggerpresent","title":"CheckIsDebuggerPresent","text":"

Checks Both IsDebuggerPresent and CheckRemoteDebuggerPresent

"},{"location":"configuration/Modules/Miscellaneous/#checkdisksize","title":"CheckDiskSize","text":"

Checks If Disk Size Is Less Than Minimum

"},{"location":"configuration/Modules/Miscellaneous/#killtasks","title":"KillTasks","text":"

Kills Common Reverse Engineering Tasks

"},{"location":"configuration/Modules/Miscellaneous/#checkpaths","title":"CheckPaths","text":"

Checks PC Paths For Blacklisted Paths

"},{"location":"configuration/Modules/Miscellaneous/#checkimports","title":"CheckImports","text":"

Checks Python Imports Installed

"},{"location":"configuration/Modules/Miscellaneous/#checkoutputdebugstring","title":"CheckOutPutDebugString","text":"

Checks if OutputDebugString Not Equal To 0

"},{"location":"configuration/Modules/Miscellaneous/#checkips","title":"CheckIPs","text":"

Duplicate of Anti VM's CheckLists But IP Specific

"},{"location":"configuration/Modules/Miscellaneous/#checkcpucores","title":"CheckCPUCores","text":"

Check If The Current CPU Core Count Is Less Than Or Equal Too 1

"},{"location":"configuration/Modules/Miscellaneous/#isusingproxy","title":"IsUsingProxy","text":"

Checks If Proxy Headers, Proxy IP's or A Tor Network Is Detected

"},{"location":"configuration/Modules/Miscellaneous/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Miscellaneous/events/#miscellaneous","title":"Miscellaneous","text":"
ram_check(ram: int)\n

Called When RAM Check Failed

"},{"location":"configuration/Modules/Miscellaneous/events/#parameters","title":"Parameters","text":"
  • memory (int) - Current RAM
disk_size_check(disk_size: int)\n

Called When Disk Size Check Failed

"},{"location":"configuration/Modules/Miscellaneous/events/#parameters_1","title":"Parameters","text":"
  • disk_size (int) - Current Disk Size
blacklisted_path(path: str)\n

Called When Blacklisted Path Found

  • path (str) - Blacklisted Path
blacklisted_import(package: str, dist: Distribution)\n

Called When Blacklisted Import Found

"},{"location":"configuration/Modules/Miscellaneous/events/#parameters_2","title":"Parameters","text":"
  • package (str) - Name Of Package
  • dist (Distribution) - Distribution Object
ip_check(ip: str)\n

Called When Blacklisted IP Found

"},{"location":"configuration/Modules/Miscellaneous/events/#parameters_3","title":"Parameters","text":"
  • ip (str) - Blacklisted IP
proxy_headers(header: str)\n

Called When Proxy Headers Found

"},{"location":"configuration/Modules/Miscellaneous/events/#parameters_4","title":"Parameters","text":"
  • header (str) - Proxy Header
proxy_ip(ip: str)\n

Called When Proxy IP Found

"},{"location":"configuration/Modules/Miscellaneous/events/#parameters_5","title":"Parameters","text":"
  • ip (str) - Proxy IP
"},{"location":"configuration/PythonProtector/","title":"Python Protector","text":"
class PythonProtector:\ndef __init__(\nself,\ndebug: Optional[bool],\nmodules: Set[str],\nlogs_path: Optional[Union[Path, str]],\nwebhook_url: Optional[str],\non_detect: Optional[Set[str]],\n) -> None:\n
"},{"location":"configuration/PythonProtector/#arguments","title":"Arguments","text":"
  • debug (bool) - Whether Or Not PythonProtector Should Log Actions.
  • modules (Set[str]) - List Of Modules You Would Like To Enable.
  • logs_path (Union[Path, str]) - Path For PythonProtector Logs.
  • webhook_url (str) - Webhook URL For Reporting Remotely.
  • on_detect (Set[str], optional) - List of Things PyProtector Does When Detections Are Caused
"},{"location":"configuration/PythonProtector/#raises","title":"Raises","text":"
  • ModulesNotValid - Raises If Modules Are Not Valid
  • DetectionsNotValid - Raises If on_detect parameters are invalid
  • LogsPathEmpty - Raises If Debug Is Enabled But No Logs Path Are Provided
"},{"location":"configuration/PythonProtector/#methods","title":"Methods","text":""},{"location":"configuration/PythonProtector/#start","title":"start","text":"

Main Function Of PythonProtector, Initializes Everything.

"},{"location":"configuration/PythonProtector/#raises_1","title":"Raises","text":"
  • DeprecationWarning - If Python Version < 3.11
"},{"location":"configuration/PythonProtector/#properties","title":"Properties","text":""},{"location":"configuration/PythonProtector/#version","title":"version","text":"

Returns The Current PythonProtector Version

"},{"location":"configuration/PythonProtector/#type","title":"Type","text":"

str

"},{"location":"configuration/PythonProtector/#user","title":"user","text":"

Returns a Tuple of User Information

"},{"location":"configuration/PythonProtector/#type_1","title":"Type","text":"

tuple

"},{"location":"configuration/PythonProtector/#extra-notes","title":"Extra Notes","text":"

List of Valid Modules:

Modules: Final[Set[str]] = {\n\"Miscellaneous\",\n\"AntiProcess\",\n\"AntiDLL\",\n\"AntiVM\",\n\"AntiAnalysis\",\n}\n

List of Valid Detections:

Detections: Final[Set[str]] = {\"Screenshot\", \"Exit\", \"Report\"}\n
"}]} \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml new file mode 100755 index 0000000..75a6c35 --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,93 @@ + + + + None + 2023-01-24 + daily + + + None + 2023-01-24 + daily + + + None + 2023-01-24 + daily + + + None + 2023-01-24 + daily + + + None + 2023-01-24 + daily + + + None + 2023-01-24 + daily + + + None + 2023-01-24 + daily + + + None + 2023-01-24 + daily + + + None + 2023-01-24 + daily + + + None + 2023-01-24 + daily + + + None + 2023-01-24 + daily + + + None + 2023-01-24 + daily + + + None + 2023-01-24 + daily + + + None + 2023-01-24 + daily + + + None + 2023-01-24 + daily + + + None + 2023-01-24 + daily + + + None + 2023-01-24 + daily + + + None + 2023-01-24 + daily + + \ No newline at end of file diff --git a/sitemap.xml.gz b/sitemap.xml.gz new file mode 100755 index 0000000000000000000000000000000000000000..730fcea0687c6e1985c81615c4a850ff6a7691c0 GIT binary patch literal 209 zcmV;?051O@iwFqG%guEkz-@#66sVuFs4WgynHVCm+f+6s2DMp8U=+XwDL zZyQ#Ua+i}LFZXd|%{F7A Date: Wed, 25 Jan 2023 19:51:10 -0400 Subject: [PATCH 2/4] Deployed 5c22a17 with MkDocs version: 1.4.2 --- release/index.html | 92 ++++++++++++++++++++++++++++++++++----- search/search_index.json | 2 +- sitemap.xml | 36 +++++++-------- sitemap.xml.gz | Bin 209 -> 209 bytes 4 files changed, 99 insertions(+), 31 deletions(-) diff --git a/release/index.html b/release/index.html index 01c13b0..db7f663 100755 --- a/release/index.html +++ b/release/index.html @@ -749,11 +749,11 @@
  • - - 1.5 - 2022-01-05 + + 1.5 - 2023-01-05 -
  • - - 1.5 - 2022-01-05 + + 1.5 - 2023-01-05 -
  • -

    1.5 - 2022-01-05

    +

    1.5 - 2023-01-05

    I know this is a pretty quick release, and the jump from 1.1 to 1.5 but I felt it was only necessary with the amount of changes made.

    Major Changes:

      @@ -936,8 +990,22 @@

      Minor Changes

      Refactoring and Misc Improvements

    -

    1.6 - 2022-01-07

    +

    1.6 - 2023-01-07

    Minor bump for setup.py bug that didn't allow importing.

    +

    1.7 - 2023-01-25

    +

    Major Changes

    +
      +
    • +

      Live Documentation - Docs are now public at http://ghouldev.me/PythonProtector

      +
    • +
    • +

      Event System - Event System, see docs for more info

      +
    • +
    +

    Minor Changes

    +
      +
    • Miscellaneous Changes/Refactoring - For A Better User Experience
    • +
    diff --git a/search/search_index.json b/search/search_index.json index 562d8ca..c26c3e1 100755 --- a/search/search_index.json +++ b/search/search_index.json @@ -1 +1 @@ -{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"PythonProtector \ud83d\udd12","text":"

    A modern, easy to use and feature-rich way to protect your Python Programs.

    "},{"location":"#features","title":"Features","text":"
    • Completely Configurable Module System
    • Completely Configurable On Detection System
    • Encrypted Logging System With Remote Uploading
    • Discord Webhook Support
    • Clean, Optimized Code
    • Constant Updates
    "},{"location":"#installation","title":"Installation","text":"

    Python 3.11 or higher is required

    Install The PyPi Version:

    py -3 -m pip install -U PythonProtector\n

    You may also install the development version:

    pip install git+https://github.com/xFGhoul/PythonProtector.git\n

    "},{"location":"#usage","title":"Usage","text":"

    Quick Example:

    from pathlib import Path\nfrom threading import Thread\nfrom pyprotector import PythonProtector\n# -- Define Constants\nLOGGING_PATH = (\nPath.home() / \"AppData/Roaming/PythonProtector/logs/[Security].log\"\n)  # -- This can be any path\n# -- Construct Class\nsecurity = PythonProtector(\ndebug=True,\nmodules=[\n\"AntiProcess\",\n\"AntiVM\",\n\"Miscellaneous\",\n\"AntiDLL\",\n\"AntiAnalysis\"],\nlogs_path=LOGGING_PATH,\nwebhook_url=\"\",\non_detect=[\n\"Report\",\n\"Exit\",\n\"Screenshot\"],\n)\n# -- Main Code\nif __name__ == \"__main__\":\nSecurityThread = Thread(\nname=\"Python Protector\", target=security.start\n)  # -- Start Before Any Other Code Is Run\nSecurityThread.start()\n# Other Code\n

    You can find more examples in the examples directory.

    "},{"location":"#files-and-explanations","title":"Files and Explanations","text":"

    \u251c\u2500\u2500.github \u2014 GitHub configuration including CI/CD workflows \u251c\u2500\u2500.vscode \u2014 VSCode Related Settings \u251c\u2500\u2500data \u2014 Data Files Needed By PythonProtector \u251c\u2500\u2500examples \u2014 Examples Showing How To Use PythonProtector \u251c\u2500\u2500pyprotector \u2014 Source Code Of PythonProtector \u251c\u2500\u2500scripts \u2014 Scripts Used In The Development Process

    Made With \u2764\ufe0f By ghoul#1337 and Marci#0101

    "},{"location":"code_of_conduct/","title":"Contributor Covenant Code of Conduct","text":""},{"location":"code_of_conduct/#our-pledge","title":"Our Pledge","text":"

    In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

    "},{"location":"code_of_conduct/#our-standards","title":"Our Standards","text":"

    Examples of behavior that contributes to creating a positive environment include:

    • Using welcoming and inclusive language
    • Being respectful of differing viewpoints and experiences
    • Gracefully accepting constructive criticism
    • Focusing on what is best for the community
    • Showing empathy towards other community members

    Examples of unacceptable behavior by participants include:

    • The use of sexualized language or imagery and unwelcome sexual attention or advances
    • Trolling, insulting/derogatory comments, and personal or political attacks
    • Public or private harassment
    • Publishing others' private information, such as a physical or electronic address, without explicit permission
    • Other conduct which could reasonably be considered inappropriate in a professional setting
    "},{"location":"code_of_conduct/#our-responsibilities","title":"Our Responsibilities","text":"

    Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

    Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

    "},{"location":"code_of_conduct/#scope","title":"Scope","text":"

    This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

    "},{"location":"code_of_conduct/#enforcement","title":"Enforcement","text":"

    Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the Project Leader on Discord Via DMing ghoul#0002. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

    Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

    "},{"location":"code_of_conduct/#attribution","title":"Attribution","text":"

    This Code of Conduct is adapted from the Contributor Covenant, version 1.4, available at https://contributor-covenant.org/version/1/4

    "},{"location":"faq/","title":"FAQ","text":""},{"location":"faq/#what-is-pythonprotector","title":"What is PythonProtector?","text":"

    Python Protector is a python library aimed at protecting your python program at runtime.

    "},{"location":"installation/","title":"Installation","text":""},{"location":"installation/#getting-started","title":"Getting Started","text":"

    You can add PythonProtector to your python project in a few easy steps. First of all, install the dependency:

    "},{"location":"installation/#default-dependency","title":"Default Dependency","text":"

    Python 3.11 or higher is required

    Install The PyPi Version:

    py -3 -m pip install -U PythonProtector\n

    You may also install the development version:

    pip install git+https://github.com/xFGhoul/PythonProtector.git\n
    "},{"location":"license/","title":"License","text":"
                    GNU GENERAL PUBLIC LICENSE\n                   Version 3, 29 June 2007\n

    Copyright (C) 2007 Free Software Foundation, Inc. https://fsf.org/ Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

                            Preamble\n

    The GNU General Public License is a free, copyleft license for software and other kinds of works.

    The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.

    When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.

    To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.

    For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.

    Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.

    For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.

    Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.

    Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.

    The precise terms and conditions for copying, distribution and modification follow.

                       TERMS AND CONDITIONS\n
    1. Definitions.

    \"This License\" refers to version 3 of the GNU General Public License.

    \"Copyright\" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.

    \"The Program\" refers to any copyrightable work licensed under this License. Each licensee is addressed as \"you\". \"Licensees\" and \"recipients\" may be individuals or organizations.

    To \"modify\" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a \"modified version\" of the earlier work or a work \"based on\" the earlier work.

    A \"covered work\" means either the unmodified Program or a work based on the Program.

    To \"propagate\" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.

    To \"convey\" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.

    An interactive user interface displays \"Appropriate Legal Notices\" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.

    1. Source Code.

    The \"source code\" for a work means the preferred form of the work for making modifications to it. \"Object code\" means any non-source form of a work.

    A \"Standard Interface\" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.

    The \"System Libraries\" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A \"Major Component\", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.

    The \"Corresponding Source\" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.

    The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.

    The Corresponding Source for a work in source code form is that same work.

    1. Basic Permissions.

    All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.

    You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.

    Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.

    1. Protecting Users' Legal Rights From Anti-Circumvention Law.

    No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.

    When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.

    1. Conveying Verbatim Copies.

    You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.

    You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.

    1. Conveying Modified Source Versions.

    You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:

    a) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7.  This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy.  This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged.  This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n

    A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an \"aggregate\" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.

    1. Conveying Non-Source Forms.

    You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:

    a) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source.  This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge.  You need not require recipients to copy the\nCorresponding Source along with the object code.  If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source.  Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n

    A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.

    A \"User Product\" is either (1) a \"consumer product\", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, \"normally used\" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.

    \"Installation Information\" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.

    If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).

    The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.

    Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.

    1. Additional Terms.

    \"Additional permissions\" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.

    When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.

    Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:

    a) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n

    All other non-permissive additional terms are considered \"further restrictions\" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.

    If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.

    Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.

    1. Termination.

    You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).

    However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.

    Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.

    Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.

    1. Acceptance Not Required for Having Copies.

    You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.

    1. Automatic Licensing of Downstream Recipients.

    Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.

    An \"entity transaction\" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.

    You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.

    1. Patents.

    A \"contributor\" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's \"contributor version\".

    A contributor's \"essential patent claims\" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, \"control\" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.

    Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.

    In the following three paragraphs, a \"patent license\" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To \"grant\" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.

    If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. \"Knowingly relying\" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.

    If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.

    A patent license is \"discriminatory\" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.

    Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.

    1. No Surrender of Others' Freedom.

    If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.

    1. Use with the GNU Affero General Public License.

    Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.

    1. Revised Versions of this License.

    The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.

    Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License \"or any later version\" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.

    If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.

    Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.

    1. Disclaimer of Warranty.

    THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

    1. Limitation of Liability.

    IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

    1. Interpretation of Sections 15 and 16.

    If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.

                     END OF TERMS AND CONDITIONS\n\n        How to Apply These Terms to Your New Programs\n

    If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.

    To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the \"copyright\" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>\nCopyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see <https://www.gnu.org/licenses/>.\n

    Also add information on how to contact you by electronic and paper mail.

    If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:

    <program>  Copyright (C) <year>  <name of author>\nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n

    The hypothetical commands show w' andshow c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an \"about box\".

    You should also get your employer (if you work as a programmer) or school, if any, to sign a \"copyright disclaimer\" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see https://www.gnu.org/licenses/.

    The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read https://www.gnu.org/licenses/why-not-lgpl.html.

    "},{"location":"release/","title":"Release Notes","text":""},{"location":"release/#10-2022-09-18","title":"1.0 - 2022-09-18","text":"

    Release Initial Project

    "},{"location":"release/#11-2022-12-28","title":"1.1 - 2022-12-28","text":"

    So It's been kind of a while since we released a new update, I had some pretty big stuff going on irl, no time to code, just recently came back and decided to make some updates.

    • Completely Configurable Module System - Users now have the choice of deciding what modules they use, currently there are only the main 4 me and marci provide, but we are open to pull requests and we will be adding more in the future, do check the repository or the example for more information.

    • should_exit argument - gives users the ability to decide if the program should exit if one of the detections were raised.

    • Overall Improvement/Refactoring - This update didn't bring everything me and marci are planning for, but this is just a couple, in the update I made to sure to cover some edge cases so you guys don't get confused

    "},{"location":"release/#15-2022-01-05","title":"1.5 - 2022-01-05","text":"

    I know this is a pretty quick release, and the jump from 1.1 to 1.5 but I felt it was only necessary with the amount of changes made.

    "},{"location":"release/#major-changes","title":"Major Changes:","text":"
    • Encrypted Logging - Instead of logs that anybody can read, logs are now encrypted at runtime and are only decrypted if malicious activity is detected

    • AntiAnalysis - Thanks to the work of Marci, a new module has been made!, this one comes with some pretty neat features, be sure to check it out

    • New On Detection System / on_detect - Similarly to the new configurable module system, I've gone ahead and done the same with what happens when malicious activity is detected, check out the examples for how it's used

    "},{"location":"release/#minor-changes","title":"Minor Changes","text":"
    • Updated Minimum Python Requirement To 3.11

    • Refactoring and Misc Improvements

    "},{"location":"release/#16-2022-01-07","title":"1.6 - 2022-01-07","text":"

    Minor bump for setup.py bug that didn't allow importing.

    "},{"location":"configuration/Events/","title":"Intro To Events","text":"

    Events is a system implemented to notify when a specific function has raised a detection.

    Example Event:

    @security.event.obs.on(\"process_running\") \ndef on_process_running(text: str, module: str, process: psutil.Process):\nprint(f\"{module} - {text}\\nProcess Name: {process.name()}\")\n# Free To Do Whatever You Want Here...\n

    Events Will Always Return text and module, any other kwargs are event specific.

    You Can Find All Events In Each Modules Respective Event Reference.

    "},{"location":"configuration/Modules/Anti%20Analysis/","title":"Anti Analysis","text":""},{"location":"configuration/Modules/Anti%20Analysis/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20Analysis/#checkdebugprivilege","title":"CheckDebugPrivilege","text":"

    Checks If Debug Privilege is Found Enabled

    "},{"location":"configuration/Modules/Anti%20Analysis/#hidethreads","title":"HideThreads","text":"

    Hides Current Process Thread

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkdebugobject","title":"CheckDebugObject","text":"

    Checks if A Debug Object Handle Handle Has Been Found

    "},{"location":"configuration/Modules/Anti%20Analysis/#checksedebugname","title":"CheckSEDebugName","text":"

    Checks if SE_DEBUG_NAME privilege is found

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkntglobalflag","title":"CheckNtGlobalFlag","text":"

    Checks if NT_GLOBAL_FLAG_DEBUGGED is Found in the Process Environment Block

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkhardwarebreakpoints","title":"CheckHardwareBreakpoints","text":"

    Checks for set Hardware Breakpoints

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkdebugfilterstate","title":"CheckDebugFilterState","text":"

    Checks if Debug Filter State != 0

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkpeb","title":"CheckPEB","text":"

    Checks if peb.BeingDebugged == True

    "},{"location":"configuration/Modules/Anti%20Analysis/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20Analysis/events/#anti-analysis","title":"Anti Analysis","text":"
    debug_privilege_found()\n

    Called When Debug Privilege Found Enabled

    debug_object_handle_found()\n

    Called When Debug Object Handle Found

    nt_global_flag_debugged()\n

    Called When NT_GLOBAL_FLAG_DEBUGGED Is Found In The Process Environment Block

    hardware_breakpoint_set()\n

    Called When Hardware Breakpoints Are Found Set

    debug_filter_state()\n

    Called When Debug Filter State != 0

    peb_being_debugged()\n

    Called When peb.BeingDebugged == True

    "},{"location":"configuration/Modules/Anti%20DLL/","title":"Anti DLL","text":""},{"location":"configuration/Modules/Anti%20DLL/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20DLL/#blockdlls","title":"BlockDLLs","text":"

    Blocks DLL's That Match A Given List Being Injected Into Our Process

    "},{"location":"configuration/Modules/Anti%20DLL/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20DLL/events/#anti-dll","title":"Anti DLL","text":"
    dll_attach(dlls: List[str])\n

    Called When Blacklisted DLL's Found Attached To Current Process

    "},{"location":"configuration/Modules/Anti%20DLL/events/#parameters","title":"Parameters","text":"
    • dlls (List[str]) - List Of Loaded DLL's
    "},{"location":"configuration/Modules/Anti%20Process/","title":"Anti Process","text":""},{"location":"configuration/Modules/Anti%20Process/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20Process/#checkprocesslist","title":"CheckProcessList","text":"

    Checks Current Process List Against A List To Detect Harmful Programs

    "},{"location":"configuration/Modules/Anti%20Process/#checkwindownames","title":"CheckWindowNames","text":"

    Checks Current Window Name Against A List To Detect Harmful Programs

    "},{"location":"configuration/Modules/Anti%20Process/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20Process/events/#anti-process","title":"Anti Process","text":"
    process_running(process: psutil.Process)\n

    Called When Blacklisted Process Found Running

    "},{"location":"configuration/Modules/Anti%20Process/events/#parameters","title":"Parameters","text":"
    • process (psutil.Process) - Process Found Running
    window_name_detected(window_name: str)\n

    Called When Blacklisted Window Name Found

    "},{"location":"configuration/Modules/Anti%20Process/events/#parameters_1","title":"Parameters","text":"
    • window_name (str) - Window Name
    "},{"location":"configuration/Modules/Anti%20VM/","title":"Anti VM","text":""},{"location":"configuration/Modules/Anti%20VM/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20VM/#checklists","title":"CheckLists","text":"

    Check Blacklisted Lists To Compare Data like HWID, IP, PC_NAME, etc.

    "},{"location":"configuration/Modules/Anti%20VM/#checkvirtualenv","title":"CheckVirtualEnv","text":"

    Checks if self._get_base_prefix_compat() != sys.prefix

    "},{"location":"configuration/Modules/Anti%20VM/#checkregistry","title":"CheckRegistry","text":"

    Checks Registry For VMWare Software

    "},{"location":"configuration/Modules/Anti%20VM/#checkmacaddress","title":"CheckMacAddress","text":"

    Checks Current Mac Address For VMWare Mac Addresses

    "},{"location":"configuration/Modules/Anti%20VM/#checkscreensize","title":"CheckScreenSize","text":"

    Checks If The Current Screen Size x or y is below 200

    "},{"location":"configuration/Modules/Anti%20VM/#checkprocessesandfiles","title":"CheckProcessesAndFiles","text":"

    Check For Blacklisted Virtual Machine Processes

    "},{"location":"configuration/Modules/Anti%20VM/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20VM/events/#anti-vm","title":"Anti VM","text":"
    blacklisted_hwid(hwid: str)\n

    Called When Blacklisted HWID Found Detected

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters","title":"Parameters","text":"
    • hwid (str) - Blacklisted HWID
    blacklisted_pc_username(pc_username: str)\n

    Called When Blacklisted PC Username Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_1","title":"Parameters","text":"
    • pc_username (str) - Blacklisted PC Username
    blacklisted_pc_name(pc_name: str)\n

    Called When Blacklisted PC Name Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_2","title":"Parameters","text":"
    • pc_name (str) - Blacklisted PC Name
    blacklisted_ip(ip: str)\n

    Called When Blacklisted IP Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_3","title":"Parameters","text":"
    • ip (str) - Blacklisted IP
    blacklisted_mac_address(mac_addr: str)\n

    Called When Blacklisted Mac Address Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_4","title":"Parameters","text":"
    • mac_addr (str) - Blacklisted Mac Address
    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_5","title":"Parameters","text":"
    blacklisted_gpu(gpu: str)\n

    Called When Blacklisted GPU Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_6","title":"Parameters","text":"
    • gpu (str) - Blacklisted GPU
    vmware_registry(reg1: int, reg2: int)\n

    Called When VMWare Registry Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_7","title":"Parameters","text":"
    • reg1 (int) - VMWare Registry Identifier
    • reg2 (int) - VMWare Registry Identifier
    vmware_mac(mac_addr: str)\n

    Called When VMWare MAC Address Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_8","title":"Parameters","text":"
    • mac_addr (str) - VMWare MAC Address
    screen_size(x: int, y: int)\n

    Called When x <= 200 or y <= 200

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_9","title":"Parameters","text":"
    • x (int) - Screen Size X
    • y (int) - Screen Size Y
    vm_process_running(processes: List[str])\n

    Called When VM Processes Found Running

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_10","title":"Parameters","text":"
    • processes (List[str]) - List Of Processes
    vmware_dll(dll: str)\n

    Called When VMWare DLL Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_11","title":"Parameters","text":"
    • dll (str) - VMWare DLL
    virtualbox_dll(dll: str)\n

    Called When VirtualBox DLL Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_12","title":"Parameters","text":"
    • dll (str) - VirtualBox DLL
    "},{"location":"configuration/Modules/Miscellaneous/","title":"Miscellaneous","text":""},{"location":"configuration/Modules/Miscellaneous/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Miscellaneous/#checkinternet","title":"CheckInternet","text":"

    Checks For A Valid Internet Connection

    "},{"location":"configuration/Modules/Miscellaneous/#checkram","title":"CheckRAM","text":"

    Checks If RAM is below 4GB

    "},{"location":"configuration/Modules/Miscellaneous/#checkisdebuggerpresent","title":"CheckIsDebuggerPresent","text":"

    Checks Both IsDebuggerPresent and CheckRemoteDebuggerPresent

    "},{"location":"configuration/Modules/Miscellaneous/#checkdisksize","title":"CheckDiskSize","text":"

    Checks If Disk Size Is Less Than Minimum

    "},{"location":"configuration/Modules/Miscellaneous/#killtasks","title":"KillTasks","text":"

    Kills Common Reverse Engineering Tasks

    "},{"location":"configuration/Modules/Miscellaneous/#checkpaths","title":"CheckPaths","text":"

    Checks PC Paths For Blacklisted Paths

    "},{"location":"configuration/Modules/Miscellaneous/#checkimports","title":"CheckImports","text":"

    Checks Python Imports Installed

    "},{"location":"configuration/Modules/Miscellaneous/#checkoutputdebugstring","title":"CheckOutPutDebugString","text":"

    Checks if OutputDebugString Not Equal To 0

    "},{"location":"configuration/Modules/Miscellaneous/#checkips","title":"CheckIPs","text":"

    Duplicate of Anti VM's CheckLists But IP Specific

    "},{"location":"configuration/Modules/Miscellaneous/#checkcpucores","title":"CheckCPUCores","text":"

    Check If The Current CPU Core Count Is Less Than Or Equal Too 1

    "},{"location":"configuration/Modules/Miscellaneous/#isusingproxy","title":"IsUsingProxy","text":"

    Checks If Proxy Headers, Proxy IP's or A Tor Network Is Detected

    "},{"location":"configuration/Modules/Miscellaneous/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Miscellaneous/events/#miscellaneous","title":"Miscellaneous","text":"
    ram_check(ram: int)\n

    Called When RAM Check Failed

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters","title":"Parameters","text":"
    • memory (int) - Current RAM
    disk_size_check(disk_size: int)\n

    Called When Disk Size Check Failed

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_1","title":"Parameters","text":"
    • disk_size (int) - Current Disk Size
    blacklisted_path(path: str)\n

    Called When Blacklisted Path Found

    • path (str) - Blacklisted Path
    blacklisted_import(package: str, dist: Distribution)\n

    Called When Blacklisted Import Found

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_2","title":"Parameters","text":"
    • package (str) - Name Of Package
    • dist (Distribution) - Distribution Object
    ip_check(ip: str)\n

    Called When Blacklisted IP Found

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_3","title":"Parameters","text":"
    • ip (str) - Blacklisted IP
    proxy_headers(header: str)\n

    Called When Proxy Headers Found

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_4","title":"Parameters","text":"
    • header (str) - Proxy Header
    proxy_ip(ip: str)\n

    Called When Proxy IP Found

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_5","title":"Parameters","text":"
    • ip (str) - Proxy IP
    "},{"location":"configuration/PythonProtector/","title":"Python Protector","text":"
    class PythonProtector:\ndef __init__(\nself,\ndebug: Optional[bool],\nmodules: Set[str],\nlogs_path: Optional[Union[Path, str]],\nwebhook_url: Optional[str],\non_detect: Optional[Set[str]],\n) -> None:\n
    "},{"location":"configuration/PythonProtector/#arguments","title":"Arguments","text":"
    • debug (bool) - Whether Or Not PythonProtector Should Log Actions.
    • modules (Set[str]) - List Of Modules You Would Like To Enable.
    • logs_path (Union[Path, str]) - Path For PythonProtector Logs.
    • webhook_url (str) - Webhook URL For Reporting Remotely.
    • on_detect (Set[str], optional) - List of Things PyProtector Does When Detections Are Caused
    "},{"location":"configuration/PythonProtector/#raises","title":"Raises","text":"
    • ModulesNotValid - Raises If Modules Are Not Valid
    • DetectionsNotValid - Raises If on_detect parameters are invalid
    • LogsPathEmpty - Raises If Debug Is Enabled But No Logs Path Are Provided
    "},{"location":"configuration/PythonProtector/#methods","title":"Methods","text":""},{"location":"configuration/PythonProtector/#start","title":"start","text":"

    Main Function Of PythonProtector, Initializes Everything.

    "},{"location":"configuration/PythonProtector/#raises_1","title":"Raises","text":"
    • DeprecationWarning - If Python Version < 3.11
    "},{"location":"configuration/PythonProtector/#properties","title":"Properties","text":""},{"location":"configuration/PythonProtector/#version","title":"version","text":"

    Returns The Current PythonProtector Version

    "},{"location":"configuration/PythonProtector/#type","title":"Type","text":"

    str

    "},{"location":"configuration/PythonProtector/#user","title":"user","text":"

    Returns a Tuple of User Information

    "},{"location":"configuration/PythonProtector/#type_1","title":"Type","text":"

    tuple

    "},{"location":"configuration/PythonProtector/#extra-notes","title":"Extra Notes","text":"

    List of Valid Modules:

    Modules: Final[Set[str]] = {\n\"Miscellaneous\",\n\"AntiProcess\",\n\"AntiDLL\",\n\"AntiVM\",\n\"AntiAnalysis\",\n}\n

    List of Valid Detections:

    Detections: Final[Set[str]] = {\"Screenshot\", \"Exit\", \"Report\"}\n
    "}]} \ No newline at end of file +{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"PythonProtector \ud83d\udd12","text":"

    A modern, easy to use and feature-rich way to protect your Python Programs.

    "},{"location":"#features","title":"Features","text":"
    • Completely Configurable Module System
    • Completely Configurable On Detection System
    • Encrypted Logging System With Remote Uploading
    • Discord Webhook Support
    • Clean, Optimized Code
    • Constant Updates
    "},{"location":"#installation","title":"Installation","text":"

    Python 3.11 or higher is required

    Install The PyPi Version:

    py -3 -m pip install -U PythonProtector\n

    You may also install the development version:

    pip install git+https://github.com/xFGhoul/PythonProtector.git\n

    "},{"location":"#usage","title":"Usage","text":"

    Quick Example:

    from pathlib import Path\nfrom threading import Thread\nfrom pyprotector import PythonProtector\n# -- Define Constants\nLOGGING_PATH = (\nPath.home() / \"AppData/Roaming/PythonProtector/logs/[Security].log\"\n)  # -- This can be any path\n# -- Construct Class\nsecurity = PythonProtector(\ndebug=True,\nmodules=[\n\"AntiProcess\",\n\"AntiVM\",\n\"Miscellaneous\",\n\"AntiDLL\",\n\"AntiAnalysis\"],\nlogs_path=LOGGING_PATH,\nwebhook_url=\"\",\non_detect=[\n\"Report\",\n\"Exit\",\n\"Screenshot\"],\n)\n# -- Main Code\nif __name__ == \"__main__\":\nSecurityThread = Thread(\nname=\"Python Protector\", target=security.start\n)  # -- Start Before Any Other Code Is Run\nSecurityThread.start()\n# Other Code\n

    You can find more examples in the examples directory.

    "},{"location":"#files-and-explanations","title":"Files and Explanations","text":"

    \u251c\u2500\u2500.github \u2014 GitHub configuration including CI/CD workflows \u251c\u2500\u2500.vscode \u2014 VSCode Related Settings \u251c\u2500\u2500data \u2014 Data Files Needed By PythonProtector \u251c\u2500\u2500examples \u2014 Examples Showing How To Use PythonProtector \u251c\u2500\u2500pyprotector \u2014 Source Code Of PythonProtector \u251c\u2500\u2500scripts \u2014 Scripts Used In The Development Process

    Made With \u2764\ufe0f By ghoul#1337 and Marci#0101

    "},{"location":"code_of_conduct/","title":"Contributor Covenant Code of Conduct","text":""},{"location":"code_of_conduct/#our-pledge","title":"Our Pledge","text":"

    In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

    "},{"location":"code_of_conduct/#our-standards","title":"Our Standards","text":"

    Examples of behavior that contributes to creating a positive environment include:

    • Using welcoming and inclusive language
    • Being respectful of differing viewpoints and experiences
    • Gracefully accepting constructive criticism
    • Focusing on what is best for the community
    • Showing empathy towards other community members

    Examples of unacceptable behavior by participants include:

    • The use of sexualized language or imagery and unwelcome sexual attention or advances
    • Trolling, insulting/derogatory comments, and personal or political attacks
    • Public or private harassment
    • Publishing others' private information, such as a physical or electronic address, without explicit permission
    • Other conduct which could reasonably be considered inappropriate in a professional setting
    "},{"location":"code_of_conduct/#our-responsibilities","title":"Our Responsibilities","text":"

    Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

    Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

    "},{"location":"code_of_conduct/#scope","title":"Scope","text":"

    This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

    "},{"location":"code_of_conduct/#enforcement","title":"Enforcement","text":"

    Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the Project Leader on Discord Via DMing ghoul#0002. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

    Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

    "},{"location":"code_of_conduct/#attribution","title":"Attribution","text":"

    This Code of Conduct is adapted from the Contributor Covenant, version 1.4, available at https://contributor-covenant.org/version/1/4

    "},{"location":"faq/","title":"FAQ","text":""},{"location":"faq/#what-is-pythonprotector","title":"What is PythonProtector?","text":"

    Python Protector is a python library aimed at protecting your python program at runtime.

    "},{"location":"installation/","title":"Installation","text":""},{"location":"installation/#getting-started","title":"Getting Started","text":"

    You can add PythonProtector to your python project in a few easy steps. First of all, install the dependency:

    "},{"location":"installation/#default-dependency","title":"Default Dependency","text":"

    Python 3.11 or higher is required

    Install The PyPi Version:

    py -3 -m pip install -U PythonProtector\n

    You may also install the development version:

    pip install git+https://github.com/xFGhoul/PythonProtector.git\n
    "},{"location":"license/","title":"License","text":"
                    GNU GENERAL PUBLIC LICENSE\n                   Version 3, 29 June 2007\n

    Copyright (C) 2007 Free Software Foundation, Inc. https://fsf.org/ Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

                            Preamble\n

    The GNU General Public License is a free, copyleft license for software and other kinds of works.

    The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.

    When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.

    To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.

    For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.

    Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.

    For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.

    Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.

    Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.

    The precise terms and conditions for copying, distribution and modification follow.

                       TERMS AND CONDITIONS\n
    1. Definitions.

    \"This License\" refers to version 3 of the GNU General Public License.

    \"Copyright\" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.

    \"The Program\" refers to any copyrightable work licensed under this License. Each licensee is addressed as \"you\". \"Licensees\" and \"recipients\" may be individuals or organizations.

    To \"modify\" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a \"modified version\" of the earlier work or a work \"based on\" the earlier work.

    A \"covered work\" means either the unmodified Program or a work based on the Program.

    To \"propagate\" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.

    To \"convey\" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.

    An interactive user interface displays \"Appropriate Legal Notices\" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.

    1. Source Code.

    The \"source code\" for a work means the preferred form of the work for making modifications to it. \"Object code\" means any non-source form of a work.

    A \"Standard Interface\" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.

    The \"System Libraries\" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A \"Major Component\", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.

    The \"Corresponding Source\" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.

    The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.

    The Corresponding Source for a work in source code form is that same work.

    1. Basic Permissions.

    All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.

    You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.

    Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.

    1. Protecting Users' Legal Rights From Anti-Circumvention Law.

    No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.

    When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.

    1. Conveying Verbatim Copies.

    You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.

    You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.

    1. Conveying Modified Source Versions.

    You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:

    a) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7.  This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy.  This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged.  This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n

    A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an \"aggregate\" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.

    1. Conveying Non-Source Forms.

    You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:

    a) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source.  This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge.  You need not require recipients to copy the\nCorresponding Source along with the object code.  If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source.  Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n

    A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.

    A \"User Product\" is either (1) a \"consumer product\", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, \"normally used\" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.

    \"Installation Information\" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.

    If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).

    The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.

    Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.

    1. Additional Terms.

    \"Additional permissions\" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.

    When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.

    Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:

    a) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n

    All other non-permissive additional terms are considered \"further restrictions\" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.

    If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.

    Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.

    1. Termination.

    You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).

    However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.

    Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.

    Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.

    1. Acceptance Not Required for Having Copies.

    You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.

    1. Automatic Licensing of Downstream Recipients.

    Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.

    An \"entity transaction\" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.

    You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.

    1. Patents.

    A \"contributor\" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's \"contributor version\".

    A contributor's \"essential patent claims\" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, \"control\" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.

    Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.

    In the following three paragraphs, a \"patent license\" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To \"grant\" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.

    If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. \"Knowingly relying\" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.

    If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.

    A patent license is \"discriminatory\" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.

    Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.

    1. No Surrender of Others' Freedom.

    If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.

    1. Use with the GNU Affero General Public License.

    Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.

    1. Revised Versions of this License.

    The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.

    Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License \"or any later version\" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.

    If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.

    Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.

    1. Disclaimer of Warranty.

    THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

    1. Limitation of Liability.

    IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

    1. Interpretation of Sections 15 and 16.

    If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.

                     END OF TERMS AND CONDITIONS\n\n        How to Apply These Terms to Your New Programs\n

    If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.

    To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the \"copyright\" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>\nCopyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see <https://www.gnu.org/licenses/>.\n

    Also add information on how to contact you by electronic and paper mail.

    If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:

    <program>  Copyright (C) <year>  <name of author>\nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n

    The hypothetical commands show w' andshow c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an \"about box\".

    You should also get your employer (if you work as a programmer) or school, if any, to sign a \"copyright disclaimer\" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see https://www.gnu.org/licenses/.

    The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read https://www.gnu.org/licenses/why-not-lgpl.html.

    "},{"location":"release/","title":"Release Notes","text":""},{"location":"release/#10-2022-09-18","title":"1.0 - 2022-09-18","text":"

    Release Initial Project

    "},{"location":"release/#11-2022-12-28","title":"1.1 - 2022-12-28","text":"

    So It's been kind of a while since we released a new update, I had some pretty big stuff going on irl, no time to code, just recently came back and decided to make some updates.

    • Completely Configurable Module System - Users now have the choice of deciding what modules they use, currently there are only the main 4 me and marci provide, but we are open to pull requests and we will be adding more in the future, do check the repository or the example for more information.

    • should_exit argument - gives users the ability to decide if the program should exit if one of the detections were raised.

    • Overall Improvement/Refactoring - This update didn't bring everything me and marci are planning for, but this is just a couple, in the update I made to sure to cover some edge cases so you guys don't get confused

    "},{"location":"release/#15-2023-01-05","title":"1.5 - 2023-01-05","text":"

    I know this is a pretty quick release, and the jump from 1.1 to 1.5 but I felt it was only necessary with the amount of changes made.

    "},{"location":"release/#major-changes","title":"Major Changes:","text":"
    • Encrypted Logging - Instead of logs that anybody can read, logs are now encrypted at runtime and are only decrypted if malicious activity is detected

    • AntiAnalysis - Thanks to the work of Marci, a new module has been made!, this one comes with some pretty neat features, be sure to check it out

    • New On Detection System / on_detect - Similarly to the new configurable module system, I've gone ahead and done the same with what happens when malicious activity is detected, check out the examples for how it's used

    "},{"location":"release/#minor-changes","title":"Minor Changes","text":"
    • Updated Minimum Python Requirement To 3.11

    • Refactoring and Misc Improvements

    "},{"location":"release/#16-2023-01-07","title":"1.6 - 2023-01-07","text":"

    Minor bump for setup.py bug that didn't allow importing.

    "},{"location":"release/#17-2023-01-25","title":"1.7 - 2023-01-25","text":""},{"location":"release/#major-changes_1","title":"Major Changes","text":"
    • Live Documentation - Docs are now public at http://ghouldev.me/PythonProtector

    • Event System - Event System, see docs for more info

    "},{"location":"release/#minor-changes_1","title":"Minor Changes","text":"
    • Miscellaneous Changes/Refactoring - For A Better User Experience
    "},{"location":"configuration/Events/","title":"Intro To Events","text":"

    Events is a system implemented to notify when a specific function has raised a detection.

    Example Event:

    @security.event.obs.on(\"process_running\") \ndef on_process_running(text: str, module: str, process: psutil.Process):\nprint(f\"{module} - {text}\\nProcess Name: {process.name()}\")\n# Free To Do Whatever You Want Here...\n

    Events Will Always Return text and module, any other kwargs are event specific.

    You Can Find All Events In Each Modules Respective Event Reference.

    "},{"location":"configuration/Modules/Anti%20Analysis/","title":"Anti Analysis","text":""},{"location":"configuration/Modules/Anti%20Analysis/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20Analysis/#checkdebugprivilege","title":"CheckDebugPrivilege","text":"

    Checks If Debug Privilege is Found Enabled

    "},{"location":"configuration/Modules/Anti%20Analysis/#hidethreads","title":"HideThreads","text":"

    Hides Current Process Thread

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkdebugobject","title":"CheckDebugObject","text":"

    Checks if A Debug Object Handle Handle Has Been Found

    "},{"location":"configuration/Modules/Anti%20Analysis/#checksedebugname","title":"CheckSEDebugName","text":"

    Checks if SE_DEBUG_NAME privilege is found

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkntglobalflag","title":"CheckNtGlobalFlag","text":"

    Checks if NT_GLOBAL_FLAG_DEBUGGED is Found in the Process Environment Block

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkhardwarebreakpoints","title":"CheckHardwareBreakpoints","text":"

    Checks for set Hardware Breakpoints

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkdebugfilterstate","title":"CheckDebugFilterState","text":"

    Checks if Debug Filter State != 0

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkpeb","title":"CheckPEB","text":"

    Checks if peb.BeingDebugged == True

    "},{"location":"configuration/Modules/Anti%20Analysis/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20Analysis/events/#anti-analysis","title":"Anti Analysis","text":"
    debug_privilege_found()\n

    Called When Debug Privilege Found Enabled

    debug_object_handle_found()\n

    Called When Debug Object Handle Found

    nt_global_flag_debugged()\n

    Called When NT_GLOBAL_FLAG_DEBUGGED Is Found In The Process Environment Block

    hardware_breakpoint_set()\n

    Called When Hardware Breakpoints Are Found Set

    debug_filter_state()\n

    Called When Debug Filter State != 0

    peb_being_debugged()\n

    Called When peb.BeingDebugged == True

    "},{"location":"configuration/Modules/Anti%20DLL/","title":"Anti DLL","text":""},{"location":"configuration/Modules/Anti%20DLL/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20DLL/#blockdlls","title":"BlockDLLs","text":"

    Blocks DLL's That Match A Given List Being Injected Into Our Process

    "},{"location":"configuration/Modules/Anti%20DLL/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20DLL/events/#anti-dll","title":"Anti DLL","text":"
    dll_attach(dlls: List[str])\n

    Called When Blacklisted DLL's Found Attached To Current Process

    "},{"location":"configuration/Modules/Anti%20DLL/events/#parameters","title":"Parameters","text":"
    • dlls (List[str]) - List Of Loaded DLL's
    "},{"location":"configuration/Modules/Anti%20Process/","title":"Anti Process","text":""},{"location":"configuration/Modules/Anti%20Process/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20Process/#checkprocesslist","title":"CheckProcessList","text":"

    Checks Current Process List Against A List To Detect Harmful Programs

    "},{"location":"configuration/Modules/Anti%20Process/#checkwindownames","title":"CheckWindowNames","text":"

    Checks Current Window Name Against A List To Detect Harmful Programs

    "},{"location":"configuration/Modules/Anti%20Process/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20Process/events/#anti-process","title":"Anti Process","text":"
    process_running(process: psutil.Process)\n

    Called When Blacklisted Process Found Running

    "},{"location":"configuration/Modules/Anti%20Process/events/#parameters","title":"Parameters","text":"
    • process (psutil.Process) - Process Found Running
    window_name_detected(window_name: str)\n

    Called When Blacklisted Window Name Found

    "},{"location":"configuration/Modules/Anti%20Process/events/#parameters_1","title":"Parameters","text":"
    • window_name (str) - Window Name
    "},{"location":"configuration/Modules/Anti%20VM/","title":"Anti VM","text":""},{"location":"configuration/Modules/Anti%20VM/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20VM/#checklists","title":"CheckLists","text":"

    Check Blacklisted Lists To Compare Data like HWID, IP, PC_NAME, etc.

    "},{"location":"configuration/Modules/Anti%20VM/#checkvirtualenv","title":"CheckVirtualEnv","text":"

    Checks if self._get_base_prefix_compat() != sys.prefix

    "},{"location":"configuration/Modules/Anti%20VM/#checkregistry","title":"CheckRegistry","text":"

    Checks Registry For VMWare Software

    "},{"location":"configuration/Modules/Anti%20VM/#checkmacaddress","title":"CheckMacAddress","text":"

    Checks Current Mac Address For VMWare Mac Addresses

    "},{"location":"configuration/Modules/Anti%20VM/#checkscreensize","title":"CheckScreenSize","text":"

    Checks If The Current Screen Size x or y is below 200

    "},{"location":"configuration/Modules/Anti%20VM/#checkprocessesandfiles","title":"CheckProcessesAndFiles","text":"

    Check For Blacklisted Virtual Machine Processes

    "},{"location":"configuration/Modules/Anti%20VM/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20VM/events/#anti-vm","title":"Anti VM","text":"
    blacklisted_hwid(hwid: str)\n

    Called When Blacklisted HWID Found Detected

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters","title":"Parameters","text":"
    • hwid (str) - Blacklisted HWID
    blacklisted_pc_username(pc_username: str)\n

    Called When Blacklisted PC Username Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_1","title":"Parameters","text":"
    • pc_username (str) - Blacklisted PC Username
    blacklisted_pc_name(pc_name: str)\n

    Called When Blacklisted PC Name Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_2","title":"Parameters","text":"
    • pc_name (str) - Blacklisted PC Name
    blacklisted_ip(ip: str)\n

    Called When Blacklisted IP Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_3","title":"Parameters","text":"
    • ip (str) - Blacklisted IP
    blacklisted_mac_address(mac_addr: str)\n

    Called When Blacklisted Mac Address Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_4","title":"Parameters","text":"
    • mac_addr (str) - Blacklisted Mac Address
    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_5","title":"Parameters","text":"
    blacklisted_gpu(gpu: str)\n

    Called When Blacklisted GPU Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_6","title":"Parameters","text":"
    • gpu (str) - Blacklisted GPU
    vmware_registry(reg1: int, reg2: int)\n

    Called When VMWare Registry Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_7","title":"Parameters","text":"
    • reg1 (int) - VMWare Registry Identifier
    • reg2 (int) - VMWare Registry Identifier
    vmware_mac(mac_addr: str)\n

    Called When VMWare MAC Address Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_8","title":"Parameters","text":"
    • mac_addr (str) - VMWare MAC Address
    screen_size(x: int, y: int)\n

    Called When x <= 200 or y <= 200

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_9","title":"Parameters","text":"
    • x (int) - Screen Size X
    • y (int) - Screen Size Y
    vm_process_running(processes: List[str])\n

    Called When VM Processes Found Running

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_10","title":"Parameters","text":"
    • processes (List[str]) - List Of Processes
    vmware_dll(dll: str)\n

    Called When VMWare DLL Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_11","title":"Parameters","text":"
    • dll (str) - VMWare DLL
    virtualbox_dll(dll: str)\n

    Called When VirtualBox DLL Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_12","title":"Parameters","text":"
    • dll (str) - VirtualBox DLL
    "},{"location":"configuration/Modules/Miscellaneous/","title":"Miscellaneous","text":""},{"location":"configuration/Modules/Miscellaneous/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Miscellaneous/#checkinternet","title":"CheckInternet","text":"

    Checks For A Valid Internet Connection

    "},{"location":"configuration/Modules/Miscellaneous/#checkram","title":"CheckRAM","text":"

    Checks If RAM is below 4GB

    "},{"location":"configuration/Modules/Miscellaneous/#checkisdebuggerpresent","title":"CheckIsDebuggerPresent","text":"

    Checks Both IsDebuggerPresent and CheckRemoteDebuggerPresent

    "},{"location":"configuration/Modules/Miscellaneous/#checkdisksize","title":"CheckDiskSize","text":"

    Checks If Disk Size Is Less Than Minimum

    "},{"location":"configuration/Modules/Miscellaneous/#killtasks","title":"KillTasks","text":"

    Kills Common Reverse Engineering Tasks

    "},{"location":"configuration/Modules/Miscellaneous/#checkpaths","title":"CheckPaths","text":"

    Checks PC Paths For Blacklisted Paths

    "},{"location":"configuration/Modules/Miscellaneous/#checkimports","title":"CheckImports","text":"

    Checks Python Imports Installed

    "},{"location":"configuration/Modules/Miscellaneous/#checkoutputdebugstring","title":"CheckOutPutDebugString","text":"

    Checks if OutputDebugString Not Equal To 0

    "},{"location":"configuration/Modules/Miscellaneous/#checkips","title":"CheckIPs","text":"

    Duplicate of Anti VM's CheckLists But IP Specific

    "},{"location":"configuration/Modules/Miscellaneous/#checkcpucores","title":"CheckCPUCores","text":"

    Check If The Current CPU Core Count Is Less Than Or Equal Too 1

    "},{"location":"configuration/Modules/Miscellaneous/#isusingproxy","title":"IsUsingProxy","text":"

    Checks If Proxy Headers, Proxy IP's or A Tor Network Is Detected

    "},{"location":"configuration/Modules/Miscellaneous/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Miscellaneous/events/#miscellaneous","title":"Miscellaneous","text":"
    ram_check(ram: int)\n

    Called When RAM Check Failed

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters","title":"Parameters","text":"
    • memory (int) - Current RAM
    disk_size_check(disk_size: int)\n

    Called When Disk Size Check Failed

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_1","title":"Parameters","text":"
    • disk_size (int) - Current Disk Size
    blacklisted_path(path: str)\n

    Called When Blacklisted Path Found

    • path (str) - Blacklisted Path
    blacklisted_import(package: str, dist: Distribution)\n

    Called When Blacklisted Import Found

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_2","title":"Parameters","text":"
    • package (str) - Name Of Package
    • dist (Distribution) - Distribution Object
    ip_check(ip: str)\n

    Called When Blacklisted IP Found

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_3","title":"Parameters","text":"
    • ip (str) - Blacklisted IP
    proxy_headers(header: str)\n

    Called When Proxy Headers Found

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_4","title":"Parameters","text":"
    • header (str) - Proxy Header
    proxy_ip(ip: str)\n

    Called When Proxy IP Found

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_5","title":"Parameters","text":"
    • ip (str) - Proxy IP
    "},{"location":"configuration/PythonProtector/","title":"Python Protector","text":"
    class PythonProtector:\ndef __init__(\nself,\ndebug: Optional[bool],\nmodules: Set[str],\nlogs_path: Optional[Union[Path, str]],\nwebhook_url: Optional[str],\non_detect: Optional[Set[str]],\n) -> None:\n
    "},{"location":"configuration/PythonProtector/#arguments","title":"Arguments","text":"
    • debug (bool) - Whether Or Not PythonProtector Should Log Actions.
    • modules (Set[str]) - List Of Modules You Would Like To Enable.
    • logs_path (Union[Path, str]) - Path For PythonProtector Logs.
    • webhook_url (str) - Webhook URL For Reporting Remotely.
    • on_detect (Set[str], optional) - List of Things PyProtector Does When Detections Are Caused
    "},{"location":"configuration/PythonProtector/#raises","title":"Raises","text":"
    • ModulesNotValid - Raises If Modules Are Not Valid
    • DetectionsNotValid - Raises If on_detect parameters are invalid
    • LogsPathEmpty - Raises If Debug Is Enabled But No Logs Path Are Provided
    "},{"location":"configuration/PythonProtector/#methods","title":"Methods","text":""},{"location":"configuration/PythonProtector/#start","title":"start","text":"

    Main Function Of PythonProtector, Initializes Everything.

    "},{"location":"configuration/PythonProtector/#raises_1","title":"Raises","text":"
    • DeprecationWarning - If Python Version < 3.11
    "},{"location":"configuration/PythonProtector/#properties","title":"Properties","text":""},{"location":"configuration/PythonProtector/#version","title":"version","text":"

    Returns The Current PythonProtector Version

    "},{"location":"configuration/PythonProtector/#type","title":"Type","text":"

    str

    "},{"location":"configuration/PythonProtector/#user","title":"user","text":"

    Returns a Tuple of User Information

    "},{"location":"configuration/PythonProtector/#type_1","title":"Type","text":"

    tuple

    "},{"location":"configuration/PythonProtector/#extra-notes","title":"Extra Notes","text":"

    List of Valid Modules:

    Modules: Final[Set[str]] = {\n\"Miscellaneous\",\n\"AntiProcess\",\n\"AntiDLL\",\n\"AntiVM\",\n\"AntiAnalysis\",\n}\n

    List of Valid Detections:

    Detections: Final[Set[str]] = {\"Screenshot\", \"Exit\", \"Report\"}\n
    "}]} \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index 75a6c35..a9b9bd4 100755 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,92 +2,92 @@ None - 2023-01-24 + 2023-01-25 daily None - 2023-01-24 + 2023-01-25 daily None - 2023-01-24 + 2023-01-25 daily None - 2023-01-24 + 2023-01-25 daily None - 2023-01-24 + 2023-01-25 daily None - 2023-01-24 + 2023-01-25 daily None - 2023-01-24 + 2023-01-25 daily None - 2023-01-24 + 2023-01-25 daily None - 2023-01-24 + 2023-01-25 daily None - 2023-01-24 + 2023-01-25 daily None - 2023-01-24 + 2023-01-25 daily None - 2023-01-24 + 2023-01-25 daily None - 2023-01-24 + 2023-01-25 daily None - 2023-01-24 + 2023-01-25 daily None - 2023-01-24 + 2023-01-25 daily None - 2023-01-24 + 2023-01-25 daily None - 2023-01-24 + 2023-01-25 daily None - 2023-01-24 + 2023-01-25 daily \ No newline at end of file diff --git a/sitemap.xml.gz b/sitemap.xml.gz index 730fcea0687c6e1985c81615c4a850ff6a7691c0..965f61b7736c7292022b92c1377bb41ec737934b 100755 GIT binary patch delta 189 zcmV;u07C!K0nq^mABzYGZNSly2OfXML=B~zqmw=Wq1cj8sDM`AUiuN!*_m57{#@?2 zLhE<0!Am-?tf^pu2n5my+bGjk@OC}t2UxR=KArY5fH-V?1-lT26UO5>BCmq%`QVXt zE%u^|7mwEv6Lf?u1F@zBOE(wQRdJ97)ipUeGL zX#MUrcuD7#H5Dunfj}Bz8)e!G-md5T0Be@fr_){r5QmMgU>Cx0!gw4<E@!^3U;wZQap9r2kt{}8&;BXmy;qd_i<#+He)TK Date: Sun, 29 Jan 2023 16:57:42 -0400 Subject: [PATCH 3/4] Deployed 1131d77 with MkDocs version: 1.4.2 --- configuration/Events/index.html | 16 +++++--- .../Modules/Miscellaneous/events/index.html | 32 ++++++++++++---- search/search_index.json | 2 +- sitemap.xml | 36 +++++++++--------- sitemap.xml.gz | Bin 209 -> 208 bytes 5 files changed, 55 insertions(+), 31 deletions(-) diff --git a/configuration/Events/index.html b/configuration/Events/index.html index a496f6d..2786ee9 100755 --- a/configuration/Events/index.html +++ b/configuration/Events/index.html @@ -778,11 +778,17 @@

    Intro To Events

    Events is a system implemented to notify when a specific function has raised a detection.

    -

    Example Event:

    -
    @security.event.obs.on("process_running") 
    -def on_process_running(text: str, module: str, process: psutil.Process):
    -    print(f"{module} - {text}\nProcess Name: {process.name()}")
    -    # Free To Do Whatever You Want Here...
    +

    There are two events that are called when the application detects suspicious activity, pyprotector_detect and the function's specific event found in the event reference.

    +

    Example pyprotector_detect Event:

    +
    @security.event.obs.on("pyprotector_detect")
    +def on_pyprotector_detect(text: str, module: str, **kwargs):
    +    print(f"{module} - {text}\nKwargs: {kwargs}")
    +
    +

    Example Function Specific Event:

    +
    @security.event.obs.on("process_running") 
    +def on_process_running(text: str, module: str, process: psutil.Process):
    +    print(f"{module} - {text}\nProcess Name: {process.name()}")
    +    # Free To Do Whatever You Want Here...
     

    Events Will Always Return text and module, any other kwargs are event specific.

    You Can Find All Events In Each Modules Respective Event Reference.

    diff --git a/configuration/Modules/Miscellaneous/events/index.html b/configuration/Modules/Miscellaneous/events/index.html index 5fdd8ba..364978e 100755 --- a/configuration/Modules/Miscellaneous/events/index.html +++ b/configuration/Modules/Miscellaneous/events/index.html @@ -919,27 +919,39 @@

    Event Reference

    Miscellaneous

    -
    ram_check(ram: int)
    +
    is_debugger_present()
    +
    +

    Called When IsDebuggerPresent Returns True

    +
    check_remote_debugger_present()
    +
    +

    Called When CheckRemoteDebuggerPresent Returns True

    +
    output_debug_string()
    +
    +

    Called When OutputDebugString != 0

    +
    ram_check(ram: int)
     

    Called When RAM Check Failed

    +
    cpu_count()
    +
    +

    Called When CPU Core Count Is Less Than OR Equal To 1

    Parameters
    • memory (int) - Current RAM
    -
    disk_size_check(disk_size: int)
    +
    disk_size_check(disk_size: int)
     

    Called When Disk Size Check Failed

    Parameters
    • disk_size (int) - Current Disk Size
    -
    blacklisted_path(path: str)
    +
    blacklisted_path(path: str)
     

    Called When Blacklisted Path Found

    • path (str) - Blacklisted Path
    -
    blacklisted_import(package: str, dist: Distribution)
    +
    blacklisted_import(package: str, dist: Distribution)
     

    Called When Blacklisted Import Found

    Parameters
    @@ -947,27 +959,33 @@
    Parameters
  • package (str) - Name Of Package
  • dist (Distribution) - Distribution Object
  • -
    ip_check(ip: str)
    +
    ip_check(ip: str)
     

    Called When Blacklisted IP Found

    Parameters
    • ip (str) - Blacklisted IP
    -
    proxy_headers(header: str)
    +
    proxy_headers(header: str)
     

    Called When Proxy Headers Found

    Parameters
    • header (str) - Proxy Header
    -
    proxy_ip(ip: str)
    +
    proxy_ip(ip: str)
     

    Called When Proxy IP Found

    Parameters
    • ip (str) - Proxy IP
    +
    tor_network()
    +
    +

    Called When A Tor Network Is Found In Use

    +
    transparent_proxies()
    +
    +

    Called When Transparent Proxies Detected

    diff --git a/search/search_index.json b/search/search_index.json index c26c3e1..2e0a383 100755 --- a/search/search_index.json +++ b/search/search_index.json @@ -1 +1 @@ -{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"PythonProtector \ud83d\udd12","text":"

    A modern, easy to use and feature-rich way to protect your Python Programs.

    "},{"location":"#features","title":"Features","text":"
    • Completely Configurable Module System
    • Completely Configurable On Detection System
    • Encrypted Logging System With Remote Uploading
    • Discord Webhook Support
    • Clean, Optimized Code
    • Constant Updates
    "},{"location":"#installation","title":"Installation","text":"

    Python 3.11 or higher is required

    Install The PyPi Version:

    py -3 -m pip install -U PythonProtector\n

    You may also install the development version:

    pip install git+https://github.com/xFGhoul/PythonProtector.git\n

    "},{"location":"#usage","title":"Usage","text":"

    Quick Example:

    from pathlib import Path\nfrom threading import Thread\nfrom pyprotector import PythonProtector\n# -- Define Constants\nLOGGING_PATH = (\nPath.home() / \"AppData/Roaming/PythonProtector/logs/[Security].log\"\n)  # -- This can be any path\n# -- Construct Class\nsecurity = PythonProtector(\ndebug=True,\nmodules=[\n\"AntiProcess\",\n\"AntiVM\",\n\"Miscellaneous\",\n\"AntiDLL\",\n\"AntiAnalysis\"],\nlogs_path=LOGGING_PATH,\nwebhook_url=\"\",\non_detect=[\n\"Report\",\n\"Exit\",\n\"Screenshot\"],\n)\n# -- Main Code\nif __name__ == \"__main__\":\nSecurityThread = Thread(\nname=\"Python Protector\", target=security.start\n)  # -- Start Before Any Other Code Is Run\nSecurityThread.start()\n# Other Code\n

    You can find more examples in the examples directory.

    "},{"location":"#files-and-explanations","title":"Files and Explanations","text":"

    \u251c\u2500\u2500.github \u2014 GitHub configuration including CI/CD workflows \u251c\u2500\u2500.vscode \u2014 VSCode Related Settings \u251c\u2500\u2500data \u2014 Data Files Needed By PythonProtector \u251c\u2500\u2500examples \u2014 Examples Showing How To Use PythonProtector \u251c\u2500\u2500pyprotector \u2014 Source Code Of PythonProtector \u251c\u2500\u2500scripts \u2014 Scripts Used In The Development Process

    Made With \u2764\ufe0f By ghoul#1337 and Marci#0101

    "},{"location":"code_of_conduct/","title":"Contributor Covenant Code of Conduct","text":""},{"location":"code_of_conduct/#our-pledge","title":"Our Pledge","text":"

    In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

    "},{"location":"code_of_conduct/#our-standards","title":"Our Standards","text":"

    Examples of behavior that contributes to creating a positive environment include:

    • Using welcoming and inclusive language
    • Being respectful of differing viewpoints and experiences
    • Gracefully accepting constructive criticism
    • Focusing on what is best for the community
    • Showing empathy towards other community members

    Examples of unacceptable behavior by participants include:

    • The use of sexualized language or imagery and unwelcome sexual attention or advances
    • Trolling, insulting/derogatory comments, and personal or political attacks
    • Public or private harassment
    • Publishing others' private information, such as a physical or electronic address, without explicit permission
    • Other conduct which could reasonably be considered inappropriate in a professional setting
    "},{"location":"code_of_conduct/#our-responsibilities","title":"Our Responsibilities","text":"

    Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

    Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

    "},{"location":"code_of_conduct/#scope","title":"Scope","text":"

    This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

    "},{"location":"code_of_conduct/#enforcement","title":"Enforcement","text":"

    Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the Project Leader on Discord Via DMing ghoul#0002. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

    Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

    "},{"location":"code_of_conduct/#attribution","title":"Attribution","text":"

    This Code of Conduct is adapted from the Contributor Covenant, version 1.4, available at https://contributor-covenant.org/version/1/4

    "},{"location":"faq/","title":"FAQ","text":""},{"location":"faq/#what-is-pythonprotector","title":"What is PythonProtector?","text":"

    Python Protector is a python library aimed at protecting your python program at runtime.

    "},{"location":"installation/","title":"Installation","text":""},{"location":"installation/#getting-started","title":"Getting Started","text":"

    You can add PythonProtector to your python project in a few easy steps. First of all, install the dependency:

    "},{"location":"installation/#default-dependency","title":"Default Dependency","text":"

    Python 3.11 or higher is required

    Install The PyPi Version:

    py -3 -m pip install -U PythonProtector\n

    You may also install the development version:

    pip install git+https://github.com/xFGhoul/PythonProtector.git\n
    "},{"location":"license/","title":"License","text":"
                    GNU GENERAL PUBLIC LICENSE\n                   Version 3, 29 June 2007\n

    Copyright (C) 2007 Free Software Foundation, Inc. https://fsf.org/ Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

                            Preamble\n

    The GNU General Public License is a free, copyleft license for software and other kinds of works.

    The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.

    When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.

    To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.

    For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.

    Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.

    For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.

    Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.

    Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.

    The precise terms and conditions for copying, distribution and modification follow.

                       TERMS AND CONDITIONS\n
    1. Definitions.

    \"This License\" refers to version 3 of the GNU General Public License.

    \"Copyright\" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.

    \"The Program\" refers to any copyrightable work licensed under this License. Each licensee is addressed as \"you\". \"Licensees\" and \"recipients\" may be individuals or organizations.

    To \"modify\" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a \"modified version\" of the earlier work or a work \"based on\" the earlier work.

    A \"covered work\" means either the unmodified Program or a work based on the Program.

    To \"propagate\" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.

    To \"convey\" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.

    An interactive user interface displays \"Appropriate Legal Notices\" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.

    1. Source Code.

    The \"source code\" for a work means the preferred form of the work for making modifications to it. \"Object code\" means any non-source form of a work.

    A \"Standard Interface\" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.

    The \"System Libraries\" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A \"Major Component\", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.

    The \"Corresponding Source\" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.

    The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.

    The Corresponding Source for a work in source code form is that same work.

    1. Basic Permissions.

    All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.

    You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.

    Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.

    1. Protecting Users' Legal Rights From Anti-Circumvention Law.

    No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.

    When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.

    1. Conveying Verbatim Copies.

    You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.

    You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.

    1. Conveying Modified Source Versions.

    You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:

    a) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7.  This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy.  This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged.  This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n

    A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an \"aggregate\" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.

    1. Conveying Non-Source Forms.

    You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:

    a) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source.  This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge.  You need not require recipients to copy the\nCorresponding Source along with the object code.  If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source.  Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n

    A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.

    A \"User Product\" is either (1) a \"consumer product\", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, \"normally used\" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.

    \"Installation Information\" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.

    If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).

    The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.

    Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.

    1. Additional Terms.

    \"Additional permissions\" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.

    When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.

    Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:

    a) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n

    All other non-permissive additional terms are considered \"further restrictions\" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.

    If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.

    Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.

    1. Termination.

    You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).

    However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.

    Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.

    Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.

    1. Acceptance Not Required for Having Copies.

    You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.

    1. Automatic Licensing of Downstream Recipients.

    Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.

    An \"entity transaction\" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.

    You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.

    1. Patents.

    A \"contributor\" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's \"contributor version\".

    A contributor's \"essential patent claims\" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, \"control\" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.

    Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.

    In the following three paragraphs, a \"patent license\" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To \"grant\" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.

    If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. \"Knowingly relying\" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.

    If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.

    A patent license is \"discriminatory\" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.

    Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.

    1. No Surrender of Others' Freedom.

    If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.

    1. Use with the GNU Affero General Public License.

    Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.

    1. Revised Versions of this License.

    The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.

    Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License \"or any later version\" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.

    If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.

    Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.

    1. Disclaimer of Warranty.

    THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

    1. Limitation of Liability.

    IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

    1. Interpretation of Sections 15 and 16.

    If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.

                     END OF TERMS AND CONDITIONS\n\n        How to Apply These Terms to Your New Programs\n

    If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.

    To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the \"copyright\" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>\nCopyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see <https://www.gnu.org/licenses/>.\n

    Also add information on how to contact you by electronic and paper mail.

    If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:

    <program>  Copyright (C) <year>  <name of author>\nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n

    The hypothetical commands show w' andshow c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an \"about box\".

    You should also get your employer (if you work as a programmer) or school, if any, to sign a \"copyright disclaimer\" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see https://www.gnu.org/licenses/.

    The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read https://www.gnu.org/licenses/why-not-lgpl.html.

    "},{"location":"release/","title":"Release Notes","text":""},{"location":"release/#10-2022-09-18","title":"1.0 - 2022-09-18","text":"

    Release Initial Project

    "},{"location":"release/#11-2022-12-28","title":"1.1 - 2022-12-28","text":"

    So It's been kind of a while since we released a new update, I had some pretty big stuff going on irl, no time to code, just recently came back and decided to make some updates.

    • Completely Configurable Module System - Users now have the choice of deciding what modules they use, currently there are only the main 4 me and marci provide, but we are open to pull requests and we will be adding more in the future, do check the repository or the example for more information.

    • should_exit argument - gives users the ability to decide if the program should exit if one of the detections were raised.

    • Overall Improvement/Refactoring - This update didn't bring everything me and marci are planning for, but this is just a couple, in the update I made to sure to cover some edge cases so you guys don't get confused

    "},{"location":"release/#15-2023-01-05","title":"1.5 - 2023-01-05","text":"

    I know this is a pretty quick release, and the jump from 1.1 to 1.5 but I felt it was only necessary with the amount of changes made.

    "},{"location":"release/#major-changes","title":"Major Changes:","text":"
    • Encrypted Logging - Instead of logs that anybody can read, logs are now encrypted at runtime and are only decrypted if malicious activity is detected

    • AntiAnalysis - Thanks to the work of Marci, a new module has been made!, this one comes with some pretty neat features, be sure to check it out

    • New On Detection System / on_detect - Similarly to the new configurable module system, I've gone ahead and done the same with what happens when malicious activity is detected, check out the examples for how it's used

    "},{"location":"release/#minor-changes","title":"Minor Changes","text":"
    • Updated Minimum Python Requirement To 3.11

    • Refactoring and Misc Improvements

    "},{"location":"release/#16-2023-01-07","title":"1.6 - 2023-01-07","text":"

    Minor bump for setup.py bug that didn't allow importing.

    "},{"location":"release/#17-2023-01-25","title":"1.7 - 2023-01-25","text":""},{"location":"release/#major-changes_1","title":"Major Changes","text":"
    • Live Documentation - Docs are now public at http://ghouldev.me/PythonProtector

    • Event System - Event System, see docs for more info

    "},{"location":"release/#minor-changes_1","title":"Minor Changes","text":"
    • Miscellaneous Changes/Refactoring - For A Better User Experience
    "},{"location":"configuration/Events/","title":"Intro To Events","text":"

    Events is a system implemented to notify when a specific function has raised a detection.

    Example Event:

    @security.event.obs.on(\"process_running\") \ndef on_process_running(text: str, module: str, process: psutil.Process):\nprint(f\"{module} - {text}\\nProcess Name: {process.name()}\")\n# Free To Do Whatever You Want Here...\n

    Events Will Always Return text and module, any other kwargs are event specific.

    You Can Find All Events In Each Modules Respective Event Reference.

    "},{"location":"configuration/Modules/Anti%20Analysis/","title":"Anti Analysis","text":""},{"location":"configuration/Modules/Anti%20Analysis/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20Analysis/#checkdebugprivilege","title":"CheckDebugPrivilege","text":"

    Checks If Debug Privilege is Found Enabled

    "},{"location":"configuration/Modules/Anti%20Analysis/#hidethreads","title":"HideThreads","text":"

    Hides Current Process Thread

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkdebugobject","title":"CheckDebugObject","text":"

    Checks if A Debug Object Handle Handle Has Been Found

    "},{"location":"configuration/Modules/Anti%20Analysis/#checksedebugname","title":"CheckSEDebugName","text":"

    Checks if SE_DEBUG_NAME privilege is found

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkntglobalflag","title":"CheckNtGlobalFlag","text":"

    Checks if NT_GLOBAL_FLAG_DEBUGGED is Found in the Process Environment Block

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkhardwarebreakpoints","title":"CheckHardwareBreakpoints","text":"

    Checks for set Hardware Breakpoints

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkdebugfilterstate","title":"CheckDebugFilterState","text":"

    Checks if Debug Filter State != 0

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkpeb","title":"CheckPEB","text":"

    Checks if peb.BeingDebugged == True

    "},{"location":"configuration/Modules/Anti%20Analysis/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20Analysis/events/#anti-analysis","title":"Anti Analysis","text":"
    debug_privilege_found()\n

    Called When Debug Privilege Found Enabled

    debug_object_handle_found()\n

    Called When Debug Object Handle Found

    nt_global_flag_debugged()\n

    Called When NT_GLOBAL_FLAG_DEBUGGED Is Found In The Process Environment Block

    hardware_breakpoint_set()\n

    Called When Hardware Breakpoints Are Found Set

    debug_filter_state()\n

    Called When Debug Filter State != 0

    peb_being_debugged()\n

    Called When peb.BeingDebugged == True

    "},{"location":"configuration/Modules/Anti%20DLL/","title":"Anti DLL","text":""},{"location":"configuration/Modules/Anti%20DLL/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20DLL/#blockdlls","title":"BlockDLLs","text":"

    Blocks DLL's That Match A Given List Being Injected Into Our Process

    "},{"location":"configuration/Modules/Anti%20DLL/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20DLL/events/#anti-dll","title":"Anti DLL","text":"
    dll_attach(dlls: List[str])\n

    Called When Blacklisted DLL's Found Attached To Current Process

    "},{"location":"configuration/Modules/Anti%20DLL/events/#parameters","title":"Parameters","text":"
    • dlls (List[str]) - List Of Loaded DLL's
    "},{"location":"configuration/Modules/Anti%20Process/","title":"Anti Process","text":""},{"location":"configuration/Modules/Anti%20Process/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20Process/#checkprocesslist","title":"CheckProcessList","text":"

    Checks Current Process List Against A List To Detect Harmful Programs

    "},{"location":"configuration/Modules/Anti%20Process/#checkwindownames","title":"CheckWindowNames","text":"

    Checks Current Window Name Against A List To Detect Harmful Programs

    "},{"location":"configuration/Modules/Anti%20Process/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20Process/events/#anti-process","title":"Anti Process","text":"
    process_running(process: psutil.Process)\n

    Called When Blacklisted Process Found Running

    "},{"location":"configuration/Modules/Anti%20Process/events/#parameters","title":"Parameters","text":"
    • process (psutil.Process) - Process Found Running
    window_name_detected(window_name: str)\n

    Called When Blacklisted Window Name Found

    "},{"location":"configuration/Modules/Anti%20Process/events/#parameters_1","title":"Parameters","text":"
    • window_name (str) - Window Name
    "},{"location":"configuration/Modules/Anti%20VM/","title":"Anti VM","text":""},{"location":"configuration/Modules/Anti%20VM/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20VM/#checklists","title":"CheckLists","text":"

    Check Blacklisted Lists To Compare Data like HWID, IP, PC_NAME, etc.

    "},{"location":"configuration/Modules/Anti%20VM/#checkvirtualenv","title":"CheckVirtualEnv","text":"

    Checks if self._get_base_prefix_compat() != sys.prefix

    "},{"location":"configuration/Modules/Anti%20VM/#checkregistry","title":"CheckRegistry","text":"

    Checks Registry For VMWare Software

    "},{"location":"configuration/Modules/Anti%20VM/#checkmacaddress","title":"CheckMacAddress","text":"

    Checks Current Mac Address For VMWare Mac Addresses

    "},{"location":"configuration/Modules/Anti%20VM/#checkscreensize","title":"CheckScreenSize","text":"

    Checks If The Current Screen Size x or y is below 200

    "},{"location":"configuration/Modules/Anti%20VM/#checkprocessesandfiles","title":"CheckProcessesAndFiles","text":"

    Check For Blacklisted Virtual Machine Processes

    "},{"location":"configuration/Modules/Anti%20VM/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20VM/events/#anti-vm","title":"Anti VM","text":"
    blacklisted_hwid(hwid: str)\n

    Called When Blacklisted HWID Found Detected

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters","title":"Parameters","text":"
    • hwid (str) - Blacklisted HWID
    blacklisted_pc_username(pc_username: str)\n

    Called When Blacklisted PC Username Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_1","title":"Parameters","text":"
    • pc_username (str) - Blacklisted PC Username
    blacklisted_pc_name(pc_name: str)\n

    Called When Blacklisted PC Name Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_2","title":"Parameters","text":"
    • pc_name (str) - Blacklisted PC Name
    blacklisted_ip(ip: str)\n

    Called When Blacklisted IP Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_3","title":"Parameters","text":"
    • ip (str) - Blacklisted IP
    blacklisted_mac_address(mac_addr: str)\n

    Called When Blacklisted Mac Address Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_4","title":"Parameters","text":"
    • mac_addr (str) - Blacklisted Mac Address
    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_5","title":"Parameters","text":"
    blacklisted_gpu(gpu: str)\n

    Called When Blacklisted GPU Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_6","title":"Parameters","text":"
    • gpu (str) - Blacklisted GPU
    vmware_registry(reg1: int, reg2: int)\n

    Called When VMWare Registry Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_7","title":"Parameters","text":"
    • reg1 (int) - VMWare Registry Identifier
    • reg2 (int) - VMWare Registry Identifier
    vmware_mac(mac_addr: str)\n

    Called When VMWare MAC Address Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_8","title":"Parameters","text":"
    • mac_addr (str) - VMWare MAC Address
    screen_size(x: int, y: int)\n

    Called When x <= 200 or y <= 200

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_9","title":"Parameters","text":"
    • x (int) - Screen Size X
    • y (int) - Screen Size Y
    vm_process_running(processes: List[str])\n

    Called When VM Processes Found Running

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_10","title":"Parameters","text":"
    • processes (List[str]) - List Of Processes
    vmware_dll(dll: str)\n

    Called When VMWare DLL Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_11","title":"Parameters","text":"
    • dll (str) - VMWare DLL
    virtualbox_dll(dll: str)\n

    Called When VirtualBox DLL Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_12","title":"Parameters","text":"
    • dll (str) - VirtualBox DLL
    "},{"location":"configuration/Modules/Miscellaneous/","title":"Miscellaneous","text":""},{"location":"configuration/Modules/Miscellaneous/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Miscellaneous/#checkinternet","title":"CheckInternet","text":"

    Checks For A Valid Internet Connection

    "},{"location":"configuration/Modules/Miscellaneous/#checkram","title":"CheckRAM","text":"

    Checks If RAM is below 4GB

    "},{"location":"configuration/Modules/Miscellaneous/#checkisdebuggerpresent","title":"CheckIsDebuggerPresent","text":"

    Checks Both IsDebuggerPresent and CheckRemoteDebuggerPresent

    "},{"location":"configuration/Modules/Miscellaneous/#checkdisksize","title":"CheckDiskSize","text":"

    Checks If Disk Size Is Less Than Minimum

    "},{"location":"configuration/Modules/Miscellaneous/#killtasks","title":"KillTasks","text":"

    Kills Common Reverse Engineering Tasks

    "},{"location":"configuration/Modules/Miscellaneous/#checkpaths","title":"CheckPaths","text":"

    Checks PC Paths For Blacklisted Paths

    "},{"location":"configuration/Modules/Miscellaneous/#checkimports","title":"CheckImports","text":"

    Checks Python Imports Installed

    "},{"location":"configuration/Modules/Miscellaneous/#checkoutputdebugstring","title":"CheckOutPutDebugString","text":"

    Checks if OutputDebugString Not Equal To 0

    "},{"location":"configuration/Modules/Miscellaneous/#checkips","title":"CheckIPs","text":"

    Duplicate of Anti VM's CheckLists But IP Specific

    "},{"location":"configuration/Modules/Miscellaneous/#checkcpucores","title":"CheckCPUCores","text":"

    Check If The Current CPU Core Count Is Less Than Or Equal Too 1

    "},{"location":"configuration/Modules/Miscellaneous/#isusingproxy","title":"IsUsingProxy","text":"

    Checks If Proxy Headers, Proxy IP's or A Tor Network Is Detected

    "},{"location":"configuration/Modules/Miscellaneous/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Miscellaneous/events/#miscellaneous","title":"Miscellaneous","text":"
    ram_check(ram: int)\n

    Called When RAM Check Failed

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters","title":"Parameters","text":"
    • memory (int) - Current RAM
    disk_size_check(disk_size: int)\n

    Called When Disk Size Check Failed

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_1","title":"Parameters","text":"
    • disk_size (int) - Current Disk Size
    blacklisted_path(path: str)\n

    Called When Blacklisted Path Found

    • path (str) - Blacklisted Path
    blacklisted_import(package: str, dist: Distribution)\n

    Called When Blacklisted Import Found

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_2","title":"Parameters","text":"
    • package (str) - Name Of Package
    • dist (Distribution) - Distribution Object
    ip_check(ip: str)\n

    Called When Blacklisted IP Found

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_3","title":"Parameters","text":"
    • ip (str) - Blacklisted IP
    proxy_headers(header: str)\n

    Called When Proxy Headers Found

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_4","title":"Parameters","text":"
    • header (str) - Proxy Header
    proxy_ip(ip: str)\n

    Called When Proxy IP Found

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_5","title":"Parameters","text":"
    • ip (str) - Proxy IP
    "},{"location":"configuration/PythonProtector/","title":"Python Protector","text":"
    class PythonProtector:\ndef __init__(\nself,\ndebug: Optional[bool],\nmodules: Set[str],\nlogs_path: Optional[Union[Path, str]],\nwebhook_url: Optional[str],\non_detect: Optional[Set[str]],\n) -> None:\n
    "},{"location":"configuration/PythonProtector/#arguments","title":"Arguments","text":"
    • debug (bool) - Whether Or Not PythonProtector Should Log Actions.
    • modules (Set[str]) - List Of Modules You Would Like To Enable.
    • logs_path (Union[Path, str]) - Path For PythonProtector Logs.
    • webhook_url (str) - Webhook URL For Reporting Remotely.
    • on_detect (Set[str], optional) - List of Things PyProtector Does When Detections Are Caused
    "},{"location":"configuration/PythonProtector/#raises","title":"Raises","text":"
    • ModulesNotValid - Raises If Modules Are Not Valid
    • DetectionsNotValid - Raises If on_detect parameters are invalid
    • LogsPathEmpty - Raises If Debug Is Enabled But No Logs Path Are Provided
    "},{"location":"configuration/PythonProtector/#methods","title":"Methods","text":""},{"location":"configuration/PythonProtector/#start","title":"start","text":"

    Main Function Of PythonProtector, Initializes Everything.

    "},{"location":"configuration/PythonProtector/#raises_1","title":"Raises","text":"
    • DeprecationWarning - If Python Version < 3.11
    "},{"location":"configuration/PythonProtector/#properties","title":"Properties","text":""},{"location":"configuration/PythonProtector/#version","title":"version","text":"

    Returns The Current PythonProtector Version

    "},{"location":"configuration/PythonProtector/#type","title":"Type","text":"

    str

    "},{"location":"configuration/PythonProtector/#user","title":"user","text":"

    Returns a Tuple of User Information

    "},{"location":"configuration/PythonProtector/#type_1","title":"Type","text":"

    tuple

    "},{"location":"configuration/PythonProtector/#extra-notes","title":"Extra Notes","text":"

    List of Valid Modules:

    Modules: Final[Set[str]] = {\n\"Miscellaneous\",\n\"AntiProcess\",\n\"AntiDLL\",\n\"AntiVM\",\n\"AntiAnalysis\",\n}\n

    List of Valid Detections:

    Detections: Final[Set[str]] = {\"Screenshot\", \"Exit\", \"Report\"}\n
    "}]} \ No newline at end of file +{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"PythonProtector \ud83d\udd12","text":"

    A modern, easy to use and feature-rich way to protect your Python Programs.

    "},{"location":"#features","title":"Features","text":"
    • Completely Configurable Module System
    • Completely Configurable On Detection System
    • Encrypted Logging System With Remote Uploading
    • Discord Webhook Support
    • Clean, Optimized Code
    • Constant Updates
    "},{"location":"#installation","title":"Installation","text":"

    Python 3.11 or higher is required

    Install The PyPi Version:

    py -3 -m pip install -U PythonProtector\n

    You may also install the development version:

    pip install git+https://github.com/xFGhoul/PythonProtector.git\n

    "},{"location":"#usage","title":"Usage","text":"

    Quick Example:

    from pathlib import Path\nfrom threading import Thread\nfrom pyprotector import PythonProtector\n# -- Define Constants\nLOGGING_PATH = (\nPath.home() / \"AppData/Roaming/PythonProtector/logs/[Security].log\"\n)  # -- This can be any path\n# -- Construct Class\nsecurity = PythonProtector(\ndebug=True,\nmodules=[\n\"AntiProcess\",\n\"AntiVM\",\n\"Miscellaneous\",\n\"AntiDLL\",\n\"AntiAnalysis\"],\nlogs_path=LOGGING_PATH,\nwebhook_url=\"\",\non_detect=[\n\"Report\",\n\"Exit\",\n\"Screenshot\"],\n)\n# -- Main Code\nif __name__ == \"__main__\":\nSecurityThread = Thread(\nname=\"Python Protector\", target=security.start\n)  # -- Start Before Any Other Code Is Run\nSecurityThread.start()\n# Other Code\n

    You can find more examples in the examples directory.

    "},{"location":"#files-and-explanations","title":"Files and Explanations","text":"

    \u251c\u2500\u2500.github \u2014 GitHub configuration including CI/CD workflows \u251c\u2500\u2500.vscode \u2014 VSCode Related Settings \u251c\u2500\u2500data \u2014 Data Files Needed By PythonProtector \u251c\u2500\u2500examples \u2014 Examples Showing How To Use PythonProtector \u251c\u2500\u2500pyprotector \u2014 Source Code Of PythonProtector \u251c\u2500\u2500scripts \u2014 Scripts Used In The Development Process

    Made With \u2764\ufe0f By ghoul#1337 and Marci#0101

    "},{"location":"code_of_conduct/","title":"Contributor Covenant Code of Conduct","text":""},{"location":"code_of_conduct/#our-pledge","title":"Our Pledge","text":"

    In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

    "},{"location":"code_of_conduct/#our-standards","title":"Our Standards","text":"

    Examples of behavior that contributes to creating a positive environment include:

    • Using welcoming and inclusive language
    • Being respectful of differing viewpoints and experiences
    • Gracefully accepting constructive criticism
    • Focusing on what is best for the community
    • Showing empathy towards other community members

    Examples of unacceptable behavior by participants include:

    • The use of sexualized language or imagery and unwelcome sexual attention or advances
    • Trolling, insulting/derogatory comments, and personal or political attacks
    • Public or private harassment
    • Publishing others' private information, such as a physical or electronic address, without explicit permission
    • Other conduct which could reasonably be considered inappropriate in a professional setting
    "},{"location":"code_of_conduct/#our-responsibilities","title":"Our Responsibilities","text":"

    Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

    Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

    "},{"location":"code_of_conduct/#scope","title":"Scope","text":"

    This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

    "},{"location":"code_of_conduct/#enforcement","title":"Enforcement","text":"

    Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the Project Leader on Discord Via DMing ghoul#0002. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

    Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

    "},{"location":"code_of_conduct/#attribution","title":"Attribution","text":"

    This Code of Conduct is adapted from the Contributor Covenant, version 1.4, available at https://contributor-covenant.org/version/1/4

    "},{"location":"faq/","title":"FAQ","text":""},{"location":"faq/#what-is-pythonprotector","title":"What is PythonProtector?","text":"

    Python Protector is a python library aimed at protecting your python program at runtime.

    "},{"location":"installation/","title":"Installation","text":""},{"location":"installation/#getting-started","title":"Getting Started","text":"

    You can add PythonProtector to your python project in a few easy steps. First of all, install the dependency:

    "},{"location":"installation/#default-dependency","title":"Default Dependency","text":"

    Python 3.11 or higher is required

    Install The PyPi Version:

    py -3 -m pip install -U PythonProtector\n

    You may also install the development version:

    pip install git+https://github.com/xFGhoul/PythonProtector.git\n
    "},{"location":"license/","title":"License","text":"
                    GNU GENERAL PUBLIC LICENSE\n                   Version 3, 29 June 2007\n

    Copyright (C) 2007 Free Software Foundation, Inc. https://fsf.org/ Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

                            Preamble\n

    The GNU General Public License is a free, copyleft license for software and other kinds of works.

    The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.

    When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.

    To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.

    For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.

    Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.

    For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.

    Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.

    Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.

    The precise terms and conditions for copying, distribution and modification follow.

                       TERMS AND CONDITIONS\n
    1. Definitions.

    \"This License\" refers to version 3 of the GNU General Public License.

    \"Copyright\" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.

    \"The Program\" refers to any copyrightable work licensed under this License. Each licensee is addressed as \"you\". \"Licensees\" and \"recipients\" may be individuals or organizations.

    To \"modify\" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a \"modified version\" of the earlier work or a work \"based on\" the earlier work.

    A \"covered work\" means either the unmodified Program or a work based on the Program.

    To \"propagate\" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.

    To \"convey\" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.

    An interactive user interface displays \"Appropriate Legal Notices\" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.

    1. Source Code.

    The \"source code\" for a work means the preferred form of the work for making modifications to it. \"Object code\" means any non-source form of a work.

    A \"Standard Interface\" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.

    The \"System Libraries\" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A \"Major Component\", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.

    The \"Corresponding Source\" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.

    The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.

    The Corresponding Source for a work in source code form is that same work.

    1. Basic Permissions.

    All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.

    You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.

    Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.

    1. Protecting Users' Legal Rights From Anti-Circumvention Law.

    No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.

    When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.

    1. Conveying Verbatim Copies.

    You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.

    You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.

    1. Conveying Modified Source Versions.

    You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:

    a) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7.  This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy.  This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged.  This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n

    A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an \"aggregate\" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.

    1. Conveying Non-Source Forms.

    You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:

    a) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source.  This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge.  You need not require recipients to copy the\nCorresponding Source along with the object code.  If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source.  Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n

    A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.

    A \"User Product\" is either (1) a \"consumer product\", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, \"normally used\" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.

    \"Installation Information\" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.

    If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).

    The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.

    Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.

    1. Additional Terms.

    \"Additional permissions\" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.

    When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.

    Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:

    a) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n

    All other non-permissive additional terms are considered \"further restrictions\" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.

    If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.

    Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.

    1. Termination.

    You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).

    However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.

    Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.

    Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.

    1. Acceptance Not Required for Having Copies.

    You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.

    1. Automatic Licensing of Downstream Recipients.

    Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.

    An \"entity transaction\" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.

    You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.

    1. Patents.

    A \"contributor\" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's \"contributor version\".

    A contributor's \"essential patent claims\" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, \"control\" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.

    Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.

    In the following three paragraphs, a \"patent license\" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To \"grant\" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.

    If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. \"Knowingly relying\" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.

    If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.

    A patent license is \"discriminatory\" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.

    Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.

    1. No Surrender of Others' Freedom.

    If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.

    1. Use with the GNU Affero General Public License.

    Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.

    1. Revised Versions of this License.

    The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.

    Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License \"or any later version\" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.

    If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.

    Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.

    1. Disclaimer of Warranty.

    THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

    1. Limitation of Liability.

    IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

    1. Interpretation of Sections 15 and 16.

    If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.

                     END OF TERMS AND CONDITIONS\n\n        How to Apply These Terms to Your New Programs\n

    If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.

    To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the \"copyright\" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>\nCopyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see <https://www.gnu.org/licenses/>.\n

    Also add information on how to contact you by electronic and paper mail.

    If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:

    <program>  Copyright (C) <year>  <name of author>\nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n

    The hypothetical commands show w' andshow c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an \"about box\".

    You should also get your employer (if you work as a programmer) or school, if any, to sign a \"copyright disclaimer\" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see https://www.gnu.org/licenses/.

    The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read https://www.gnu.org/licenses/why-not-lgpl.html.

    "},{"location":"release/","title":"Release Notes","text":""},{"location":"release/#10-2022-09-18","title":"1.0 - 2022-09-18","text":"

    Release Initial Project

    "},{"location":"release/#11-2022-12-28","title":"1.1 - 2022-12-28","text":"

    So It's been kind of a while since we released a new update, I had some pretty big stuff going on irl, no time to code, just recently came back and decided to make some updates.

    • Completely Configurable Module System - Users now have the choice of deciding what modules they use, currently there are only the main 4 me and marci provide, but we are open to pull requests and we will be adding more in the future, do check the repository or the example for more information.

    • should_exit argument - gives users the ability to decide if the program should exit if one of the detections were raised.

    • Overall Improvement/Refactoring - This update didn't bring everything me and marci are planning for, but this is just a couple, in the update I made to sure to cover some edge cases so you guys don't get confused

    "},{"location":"release/#15-2023-01-05","title":"1.5 - 2023-01-05","text":"

    I know this is a pretty quick release, and the jump from 1.1 to 1.5 but I felt it was only necessary with the amount of changes made.

    "},{"location":"release/#major-changes","title":"Major Changes:","text":"
    • Encrypted Logging - Instead of logs that anybody can read, logs are now encrypted at runtime and are only decrypted if malicious activity is detected

    • AntiAnalysis - Thanks to the work of Marci, a new module has been made!, this one comes with some pretty neat features, be sure to check it out

    • New On Detection System / on_detect - Similarly to the new configurable module system, I've gone ahead and done the same with what happens when malicious activity is detected, check out the examples for how it's used

    "},{"location":"release/#minor-changes","title":"Minor Changes","text":"
    • Updated Minimum Python Requirement To 3.11

    • Refactoring and Misc Improvements

    "},{"location":"release/#16-2023-01-07","title":"1.6 - 2023-01-07","text":"

    Minor bump for setup.py bug that didn't allow importing.

    "},{"location":"release/#17-2023-01-25","title":"1.7 - 2023-01-25","text":""},{"location":"release/#major-changes_1","title":"Major Changes","text":"
    • Live Documentation - Docs are now public at http://ghouldev.me/PythonProtector

    • Event System - Event System, see docs for more info

    "},{"location":"release/#minor-changes_1","title":"Minor Changes","text":"
    • Miscellaneous Changes/Refactoring - For A Better User Experience
    "},{"location":"configuration/Events/","title":"Intro To Events","text":"

    Events is a system implemented to notify when a specific function has raised a detection.

    There are two events that are called when the application detects suspicious activity, pyprotector_detect and the function's specific event found in the event reference.

    Example pyprotector_detect Event:

    @security.event.obs.on(\"pyprotector_detect\")\ndef on_pyprotector_detect(text: str, module: str, **kwargs):\nprint(f\"{module} - {text}\\nKwargs: {kwargs}\")\n

    Example Function Specific Event:

    @security.event.obs.on(\"process_running\") \ndef on_process_running(text: str, module: str, process: psutil.Process):\nprint(f\"{module} - {text}\\nProcess Name: {process.name()}\")\n# Free To Do Whatever You Want Here...\n

    Events Will Always Return text and module, any other kwargs are event specific.

    You Can Find All Events In Each Modules Respective Event Reference.

    "},{"location":"configuration/Modules/Anti%20Analysis/","title":"Anti Analysis","text":""},{"location":"configuration/Modules/Anti%20Analysis/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20Analysis/#checkdebugprivilege","title":"CheckDebugPrivilege","text":"

    Checks If Debug Privilege is Found Enabled

    "},{"location":"configuration/Modules/Anti%20Analysis/#hidethreads","title":"HideThreads","text":"

    Hides Current Process Thread

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkdebugobject","title":"CheckDebugObject","text":"

    Checks if A Debug Object Handle Handle Has Been Found

    "},{"location":"configuration/Modules/Anti%20Analysis/#checksedebugname","title":"CheckSEDebugName","text":"

    Checks if SE_DEBUG_NAME privilege is found

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkntglobalflag","title":"CheckNtGlobalFlag","text":"

    Checks if NT_GLOBAL_FLAG_DEBUGGED is Found in the Process Environment Block

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkhardwarebreakpoints","title":"CheckHardwareBreakpoints","text":"

    Checks for set Hardware Breakpoints

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkdebugfilterstate","title":"CheckDebugFilterState","text":"

    Checks if Debug Filter State != 0

    "},{"location":"configuration/Modules/Anti%20Analysis/#checkpeb","title":"CheckPEB","text":"

    Checks if peb.BeingDebugged == True

    "},{"location":"configuration/Modules/Anti%20Analysis/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20Analysis/events/#anti-analysis","title":"Anti Analysis","text":"
    debug_privilege_found()\n

    Called When Debug Privilege Found Enabled

    debug_object_handle_found()\n

    Called When Debug Object Handle Found

    nt_global_flag_debugged()\n

    Called When NT_GLOBAL_FLAG_DEBUGGED Is Found In The Process Environment Block

    hardware_breakpoint_set()\n

    Called When Hardware Breakpoints Are Found Set

    debug_filter_state()\n

    Called When Debug Filter State != 0

    peb_being_debugged()\n

    Called When peb.BeingDebugged == True

    "},{"location":"configuration/Modules/Anti%20DLL/","title":"Anti DLL","text":""},{"location":"configuration/Modules/Anti%20DLL/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20DLL/#blockdlls","title":"BlockDLLs","text":"

    Blocks DLL's That Match A Given List Being Injected Into Our Process

    "},{"location":"configuration/Modules/Anti%20DLL/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20DLL/events/#anti-dll","title":"Anti DLL","text":"
    dll_attach(dlls: List[str])\n

    Called When Blacklisted DLL's Found Attached To Current Process

    "},{"location":"configuration/Modules/Anti%20DLL/events/#parameters","title":"Parameters","text":"
    • dlls (List[str]) - List Of Loaded DLL's
    "},{"location":"configuration/Modules/Anti%20Process/","title":"Anti Process","text":""},{"location":"configuration/Modules/Anti%20Process/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20Process/#checkprocesslist","title":"CheckProcessList","text":"

    Checks Current Process List Against A List To Detect Harmful Programs

    "},{"location":"configuration/Modules/Anti%20Process/#checkwindownames","title":"CheckWindowNames","text":"

    Checks Current Window Name Against A List To Detect Harmful Programs

    "},{"location":"configuration/Modules/Anti%20Process/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20Process/events/#anti-process","title":"Anti Process","text":"
    process_running(process: psutil.Process)\n

    Called When Blacklisted Process Found Running

    "},{"location":"configuration/Modules/Anti%20Process/events/#parameters","title":"Parameters","text":"
    • process (psutil.Process) - Process Found Running
    window_name_detected(window_name: str)\n

    Called When Blacklisted Window Name Found

    "},{"location":"configuration/Modules/Anti%20Process/events/#parameters_1","title":"Parameters","text":"
    • window_name (str) - Window Name
    "},{"location":"configuration/Modules/Anti%20VM/","title":"Anti VM","text":""},{"location":"configuration/Modules/Anti%20VM/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Anti%20VM/#checklists","title":"CheckLists","text":"

    Check Blacklisted Lists To Compare Data like HWID, IP, PC_NAME, etc.

    "},{"location":"configuration/Modules/Anti%20VM/#checkvirtualenv","title":"CheckVirtualEnv","text":"

    Checks if self._get_base_prefix_compat() != sys.prefix

    "},{"location":"configuration/Modules/Anti%20VM/#checkregistry","title":"CheckRegistry","text":"

    Checks Registry For VMWare Software

    "},{"location":"configuration/Modules/Anti%20VM/#checkmacaddress","title":"CheckMacAddress","text":"

    Checks Current Mac Address For VMWare Mac Addresses

    "},{"location":"configuration/Modules/Anti%20VM/#checkscreensize","title":"CheckScreenSize","text":"

    Checks If The Current Screen Size x or y is below 200

    "},{"location":"configuration/Modules/Anti%20VM/#checkprocessesandfiles","title":"CheckProcessesAndFiles","text":"

    Check For Blacklisted Virtual Machine Processes

    "},{"location":"configuration/Modules/Anti%20VM/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Anti%20VM/events/#anti-vm","title":"Anti VM","text":"
    blacklisted_hwid(hwid: str)\n

    Called When Blacklisted HWID Found Detected

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters","title":"Parameters","text":"
    • hwid (str) - Blacklisted HWID
    blacklisted_pc_username(pc_username: str)\n

    Called When Blacklisted PC Username Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_1","title":"Parameters","text":"
    • pc_username (str) - Blacklisted PC Username
    blacklisted_pc_name(pc_name: str)\n

    Called When Blacklisted PC Name Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_2","title":"Parameters","text":"
    • pc_name (str) - Blacklisted PC Name
    blacklisted_ip(ip: str)\n

    Called When Blacklisted IP Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_3","title":"Parameters","text":"
    • ip (str) - Blacklisted IP
    blacklisted_mac_address(mac_addr: str)\n

    Called When Blacklisted Mac Address Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_4","title":"Parameters","text":"
    • mac_addr (str) - Blacklisted Mac Address
    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_5","title":"Parameters","text":"
    blacklisted_gpu(gpu: str)\n

    Called When Blacklisted GPU Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_6","title":"Parameters","text":"
    • gpu (str) - Blacklisted GPU
    vmware_registry(reg1: int, reg2: int)\n

    Called When VMWare Registry Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_7","title":"Parameters","text":"
    • reg1 (int) - VMWare Registry Identifier
    • reg2 (int) - VMWare Registry Identifier
    vmware_mac(mac_addr: str)\n

    Called When VMWare MAC Address Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_8","title":"Parameters","text":"
    • mac_addr (str) - VMWare MAC Address
    screen_size(x: int, y: int)\n

    Called When x <= 200 or y <= 200

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_9","title":"Parameters","text":"
    • x (int) - Screen Size X
    • y (int) - Screen Size Y
    vm_process_running(processes: List[str])\n

    Called When VM Processes Found Running

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_10","title":"Parameters","text":"
    • processes (List[str]) - List Of Processes
    vmware_dll(dll: str)\n

    Called When VMWare DLL Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_11","title":"Parameters","text":"
    • dll (str) - VMWare DLL
    virtualbox_dll(dll: str)\n

    Called When VirtualBox DLL Found

    "},{"location":"configuration/Modules/Anti%20VM/events/#parameters_12","title":"Parameters","text":"
    • dll (str) - VirtualBox DLL
    "},{"location":"configuration/Modules/Miscellaneous/","title":"Miscellaneous","text":""},{"location":"configuration/Modules/Miscellaneous/#methods","title":"Methods","text":""},{"location":"configuration/Modules/Miscellaneous/#checkinternet","title":"CheckInternet","text":"

    Checks For A Valid Internet Connection

    "},{"location":"configuration/Modules/Miscellaneous/#checkram","title":"CheckRAM","text":"

    Checks If RAM is below 4GB

    "},{"location":"configuration/Modules/Miscellaneous/#checkisdebuggerpresent","title":"CheckIsDebuggerPresent","text":"

    Checks Both IsDebuggerPresent and CheckRemoteDebuggerPresent

    "},{"location":"configuration/Modules/Miscellaneous/#checkdisksize","title":"CheckDiskSize","text":"

    Checks If Disk Size Is Less Than Minimum

    "},{"location":"configuration/Modules/Miscellaneous/#killtasks","title":"KillTasks","text":"

    Kills Common Reverse Engineering Tasks

    "},{"location":"configuration/Modules/Miscellaneous/#checkpaths","title":"CheckPaths","text":"

    Checks PC Paths For Blacklisted Paths

    "},{"location":"configuration/Modules/Miscellaneous/#checkimports","title":"CheckImports","text":"

    Checks Python Imports Installed

    "},{"location":"configuration/Modules/Miscellaneous/#checkoutputdebugstring","title":"CheckOutPutDebugString","text":"

    Checks if OutputDebugString Not Equal To 0

    "},{"location":"configuration/Modules/Miscellaneous/#checkips","title":"CheckIPs","text":"

    Duplicate of Anti VM's CheckLists But IP Specific

    "},{"location":"configuration/Modules/Miscellaneous/#checkcpucores","title":"CheckCPUCores","text":"

    Check If The Current CPU Core Count Is Less Than Or Equal Too 1

    "},{"location":"configuration/Modules/Miscellaneous/#isusingproxy","title":"IsUsingProxy","text":"

    Checks If Proxy Headers, Proxy IP's or A Tor Network Is Detected

    "},{"location":"configuration/Modules/Miscellaneous/events/","title":"Event Reference","text":""},{"location":"configuration/Modules/Miscellaneous/events/#miscellaneous","title":"Miscellaneous","text":"
    is_debugger_present()\n

    Called When IsDebuggerPresent Returns True

    check_remote_debugger_present()\n

    Called When CheckRemoteDebuggerPresent Returns True

    output_debug_string()\n

    Called When OutputDebugString != 0

    ram_check(ram: int)\n

    Called When RAM Check Failed

    cpu_count()\n

    Called When CPU Core Count Is Less Than OR Equal To 1

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters","title":"Parameters","text":"
    • memory (int) - Current RAM
    disk_size_check(disk_size: int)\n

    Called When Disk Size Check Failed

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_1","title":"Parameters","text":"
    • disk_size (int) - Current Disk Size
    blacklisted_path(path: str)\n

    Called When Blacklisted Path Found

    • path (str) - Blacklisted Path
    blacklisted_import(package: str, dist: Distribution)\n

    Called When Blacklisted Import Found

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_2","title":"Parameters","text":"
    • package (str) - Name Of Package
    • dist (Distribution) - Distribution Object
    ip_check(ip: str)\n

    Called When Blacklisted IP Found

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_3","title":"Parameters","text":"
    • ip (str) - Blacklisted IP
    proxy_headers(header: str)\n

    Called When Proxy Headers Found

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_4","title":"Parameters","text":"
    • header (str) - Proxy Header
    proxy_ip(ip: str)\n

    Called When Proxy IP Found

    "},{"location":"configuration/Modules/Miscellaneous/events/#parameters_5","title":"Parameters","text":"
    • ip (str) - Proxy IP
    tor_network()\n

    Called When A Tor Network Is Found In Use

    transparent_proxies()\n

    Called When Transparent Proxies Detected

    "},{"location":"configuration/PythonProtector/","title":"Python Protector","text":"
    class PythonProtector:\ndef __init__(\nself,\ndebug: Optional[bool],\nmodules: Set[str],\nlogs_path: Optional[Union[Path, str]],\nwebhook_url: Optional[str],\non_detect: Optional[Set[str]],\n) -> None:\n
    "},{"location":"configuration/PythonProtector/#arguments","title":"Arguments","text":"
    • debug (bool) - Whether Or Not PythonProtector Should Log Actions.
    • modules (Set[str]) - List Of Modules You Would Like To Enable.
    • logs_path (Union[Path, str]) - Path For PythonProtector Logs.
    • webhook_url (str) - Webhook URL For Reporting Remotely.
    • on_detect (Set[str], optional) - List of Things PyProtector Does When Detections Are Caused
    "},{"location":"configuration/PythonProtector/#raises","title":"Raises","text":"
    • ModulesNotValid - Raises If Modules Are Not Valid
    • DetectionsNotValid - Raises If on_detect parameters are invalid
    • LogsPathEmpty - Raises If Debug Is Enabled But No Logs Path Are Provided
    "},{"location":"configuration/PythonProtector/#methods","title":"Methods","text":""},{"location":"configuration/PythonProtector/#start","title":"start","text":"

    Main Function Of PythonProtector, Initializes Everything.

    "},{"location":"configuration/PythonProtector/#raises_1","title":"Raises","text":"
    • DeprecationWarning - If Python Version < 3.11
    "},{"location":"configuration/PythonProtector/#properties","title":"Properties","text":""},{"location":"configuration/PythonProtector/#version","title":"version","text":"

    Returns The Current PythonProtector Version

    "},{"location":"configuration/PythonProtector/#type","title":"Type","text":"

    str

    "},{"location":"configuration/PythonProtector/#user","title":"user","text":"

    Returns a Tuple of User Information

    "},{"location":"configuration/PythonProtector/#type_1","title":"Type","text":"

    tuple

    "},{"location":"configuration/PythonProtector/#extra-notes","title":"Extra Notes","text":"

    List of Valid Modules:

    Modules: Final[Set[str]] = {\n\"Miscellaneous\",\n\"AntiProcess\",\n\"AntiDLL\",\n\"AntiVM\",\n\"AntiAnalysis\",\n}\n

    List of Valid Detections:

    Detections: Final[Set[str]] = {\"Screenshot\", \"Exit\", \"Report\"}\n
    "}]} \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index a9b9bd4..5844db4 100755 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,92 +2,92 @@ None - 2023-01-25 + 2023-01-29 daily None - 2023-01-25 + 2023-01-29 daily None - 2023-01-25 + 2023-01-29 daily None - 2023-01-25 + 2023-01-29 daily None - 2023-01-25 + 2023-01-29 daily None - 2023-01-25 + 2023-01-29 daily None - 2023-01-25 + 2023-01-29 daily None - 2023-01-25 + 2023-01-29 daily None - 2023-01-25 + 2023-01-29 daily None - 2023-01-25 + 2023-01-29 daily None - 2023-01-25 + 2023-01-29 daily None - 2023-01-25 + 2023-01-29 daily None - 2023-01-25 + 2023-01-29 daily None - 2023-01-25 + 2023-01-29 daily None - 2023-01-25 + 2023-01-29 daily None - 2023-01-25 + 2023-01-29 daily None - 2023-01-25 + 2023-01-29 daily None - 2023-01-25 + 2023-01-29 daily \ No newline at end of file diff --git a/sitemap.xml.gz b/sitemap.xml.gz index 965f61b7736c7292022b92c1377bb41ec737934b..9da461ffd1faccd9ac089a477f58607c6302116a 100755 GIT binary patch delta 188 zcmV;t07L)L0nh;lABzYG#NF1B2OfVe)=;`RI_U!tiY*C+3TXB1r5`b!ow{}Kp>5UDvoT~ZcHrn+;sBp q<{$_E_iu delta 189 zcmV;u07C!J0nq^mABzYGZNSly2OfXML=B~zqmw=Wq1cj8sDM`AUiuN!*_m57{#@?2 zLhE<0!Am-?tf^pu2n5my+bGjk@OC}t2UxR=KArY5fH-V?1-lT26UO5>BCmq%`QVXt zE%u^|7mwEv6Lf?u1F@zBOE(wQR Date: Sat, 11 Feb 2023 12:19:00 -0400 Subject: [PATCH 4/4] Deployed 2527605 with MkDocs version: 1.4.2 --- 404.html | 70 +- code_of_conduct/index.html | 70 +- configuration/Events/index.html | 70 +- .../Modules/Anti Analysis/events/index.html | 70 +- .../Modules/Anti Analysis/index.html | 70 +- .../Modules/Anti DLL/events/index.html | 70 +- configuration/Modules/Anti DLL/index.html | 70 +- .../Modules/Anti Dump/events/index.html | 971 ++++++++++++++++ configuration/Modules/Anti Dump/index.html | 1001 +++++++++++++++++ .../Modules/Anti Process/events/index.html | 70 +- configuration/Modules/Anti Process/index.html | 70 +- .../Modules/Anti VM/events/index.html | 72 +- configuration/Modules/Anti VM/index.html | 70 +- .../Modules/Miscellaneous/events/index.html | 74 +- .../Modules/Miscellaneous/index.html | 76 +- configuration/PythonProtector/index.html | 202 +++- faq/index.html | 70 +- index.html | 70 +- installation/index.html | 70 +- license/index.html | 70 +- release/index.html | 134 ++- search/search_index.json | 2 +- sitemap.xml | 46 +- sitemap.xml.gz | Bin 208 -> 210 bytes 24 files changed, 3493 insertions(+), 65 deletions(-) create mode 100755 configuration/Modules/Anti Dump/events/index.html create mode 100755 configuration/Modules/Anti Dump/index.html diff --git a/404.html b/404.html index 23a1cbf..8400774 100755 --- a/404.html +++ b/404.html @@ -140,6 +140,10 @@
    - + diff --git a/code_of_conduct/index.html b/code_of_conduct/index.html index 56e6afe..db178f4 100755 --- a/code_of_conduct/index.html +++ b/code_of_conduct/index.html @@ -147,6 +147,10 @@
    - + diff --git a/configuration/Events/index.html b/configuration/Events/index.html index 2786ee9..10109fc 100755 --- a/configuration/Events/index.html +++ b/configuration/Events/index.html @@ -149,6 +149,10 @@
    - + diff --git a/configuration/Modules/Anti Analysis/events/index.html b/configuration/Modules/Anti Analysis/events/index.html index 7986ed8..54f683f 100755 --- a/configuration/Modules/Anti Analysis/events/index.html +++ b/configuration/Modules/Anti Analysis/events/index.html @@ -149,6 +149,10 @@
    - + diff --git a/configuration/Modules/Anti Analysis/index.html b/configuration/Modules/Anti Analysis/index.html index 1519835..f7620c2 100755 --- a/configuration/Modules/Anti Analysis/index.html +++ b/configuration/Modules/Anti Analysis/index.html @@ -149,6 +149,10 @@
    - + diff --git a/configuration/Modules/Anti DLL/events/index.html b/configuration/Modules/Anti DLL/events/index.html index 3094fab..ecbeeee 100755 --- a/configuration/Modules/Anti DLL/events/index.html +++ b/configuration/Modules/Anti DLL/events/index.html @@ -149,6 +149,10 @@
    - + diff --git a/configuration/Modules/Anti DLL/index.html b/configuration/Modules/Anti DLL/index.html index a7d490f..1ae598c 100755 --- a/configuration/Modules/Anti DLL/index.html +++ b/configuration/Modules/Anti DLL/index.html @@ -149,6 +149,10 @@
    - + diff --git a/configuration/Modules/Anti Dump/events/index.html b/configuration/Modules/Anti Dump/events/index.html new file mode 100755 index 0000000..10abbf3 --- /dev/null +++ b/configuration/Modules/Anti Dump/events/index.html @@ -0,0 +1,971 @@ + + + + + + + + + + + + + + + + + + + + + + + + Event Reference - PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + + +
    + + +
    + +
    + + + + + + +
    +
    + + + +
    +
    +
    + + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    + + + + + + + + +

    Event Reference

    + +

    Anti Dump

    +

    pe_header_erased()
    +
    +Called When PE Header Is Erased

    + + + + + + +
    +
    + + + + +
    + +
    + +
    + + +
    + +
    +
    +
    +
    + + + + + + + + + \ No newline at end of file diff --git a/configuration/Modules/Anti Dump/index.html b/configuration/Modules/Anti Dump/index.html new file mode 100755 index 0000000..c3f962f --- /dev/null +++ b/configuration/Modules/Anti Dump/index.html @@ -0,0 +1,1001 @@ + + + + + + + + + + + + + + + + + + + + + + + + Method Reference - PythonProtector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + + +
    + + +
    + +
    + + + + + + +
    +
    + + + +
    +
    +
    + + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    + + + + + + + + +

    Anti Dump

    +

    Methods

    +

    ErasePEHeaderFromMemory

    +

    Erases PE Header From Memory

    + + + + + + +
    +
    + + + + +
    + +
    + +
    + + +
    + +
    +
    +
    +
    + + + + + + + + + \ No newline at end of file diff --git a/configuration/Modules/Anti Process/events/index.html b/configuration/Modules/Anti Process/events/index.html index 08643d9..2297828 100755 --- a/configuration/Modules/Anti Process/events/index.html +++ b/configuration/Modules/Anti Process/events/index.html @@ -149,6 +149,10 @@
    - + diff --git a/configuration/Modules/Anti Process/index.html b/configuration/Modules/Anti Process/index.html index 9bd1cf1..0bbca3a 100755 --- a/configuration/Modules/Anti Process/index.html +++ b/configuration/Modules/Anti Process/index.html @@ -149,6 +149,10 @@