I am trying to create a poc in order to achieve the following vulnerabilty bug class in my code for my research porpuses based on the top 25 from cwe I got the following list ...
hey guys ,I want to do the following if the folder doesnt exist then then create it , but if I execute my script (second time) obviously will be already so I need to remove th...
my code is doing mostly a generation of xml based on a template , but I want to print every new filename after generate is executed , but I think I code it in the wrong way. h...
how can I can limit download size to 1 mb ? self.MAX_SIZE = 1000000 # 1024 * 1024 this doesnt work either try: response = requests.head(href) total = ...
I am trying to build a criminal investigative analysis platform for an event , but I would like to know what stack tech can I use in order to manage a large-scale data informa...
why after resezing the stack it doesnt work anymore? #include <cstdio> #pragma comment(lib, "Ws2_32.lib") #pragma warning(disable : 4996) _declspec(noinline) int old_main() {...
how can I do a proof concept to show it? I Know it is 512 , and then if it's a multiple of 8 which translate to A*8*6*65 then it should crash, but dont signed __int64 result; ...
In my case the epilog is never reached because of the bounds checking but We overwrote the SEH chain but no exception was generated so the SEH chain wasn’t even used. I need t...
I got a question, my run function looks like this https://dpaste.org/sPoh, but I need to create a pipeline from multiples sources, should I need to perform my data ingestion h...
why am I getting download the same file inside while loop ? while counter < self.max_results: print(href) r = requests.get(href) ...
why am not getting the correct values instead getting the matched than non mathed?``` rowCallback: function( row, data ) { let matches = 0; for (var i = 0;...
how can I fix this to properly enter to v6 == 16 instead of else? char buf[8]; int msg; unsigned int v6{}; if (v6 == 16) { if (stricmp("0x41414141414141", buf) == 0) { str...
I am trying to download files from internet for research purposes, but when I tried to move to python2 to python3 . I got an error TypeError: a bytes-like object is required, ...
my piece of code downloads more then 1MB when it should be 1 MB max. how can I ? self.MAX_SIZE = 1024 * 1024 try: response = requests.get(href, stream=True) total = respon...
what people use to release a c++/c compilation in production?
yeah bugs. format strings, stack overflows , more more into one function , but what is the best easy way to do it in terms of complex code?
is mingw used in production?
how can I make more manageable function in order to call it like funct(data) ? def flipmask(p): return functools.reduce(lambda a, b: (a << 1) | int(random.random() < ...
in terms of python vs c / c++ native is the same using ctypes of course with a bit slow compare with native , but fast than orginal python?
My scraper takes. Aprox 30min to finish how can I improve it? it takes 31:31.66elapsed 8%CPU for 1k rss input 159.03user 1.36system 31:31.66elapsed 8%CPU (0avgtext+0avgdata 4...