403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/security/fuzz/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/security/fuzz/files/patch-fuzz.c
--- fuzz.c.orig	Mon May 12 01:49:39 2003
+++ fuzz.c	Mon May 12 01:53:44 2003
@@ -387,10 +387,16 @@
     int progpipe[2],status;
     char sendnewline=0;
     unsigned long curchar=0,linelen=0;
+    int fd;
 
     // finish setting up files
     if(!execute_filename){
-      snprintf(outfilename,MAXPATH,"/tmp%s.%lu",strrchr(progname,'/'),runs);
+      snprintf(outfilename,MAXPATH,"/tmp%s.%lu.XXXXXX",strrchr(progname,'/'),runs);
+      if ((fd=mkstemp(outfilename)) < 0) {
+         perror("Unable to create temporary file");
+         abort();
+      }
+      close(fd);
       if((outfile=fopen(outfilename,"w"))==NULL){
 	fprintf(stderr,"Can't fopen outfile.\n");
 	abort();

Youez - 2016 - github.com/yon3zu
LinuXploit