Advertisement
Ollie920049

QScanner.q

May 3rd, 2012
2,506
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
q/kdb+ 1.03 KB | None | 0 0
  1. location: .z.x 0;
  2. system ["cd ",location];
  3. \l qscan/functions.q
  4.  
  5. / load virus md5's, sigs and filetype sigs
  6. load `:database/virus_sigs;
  7. load `:database/md5_sigs;
  8. load `:database/filetype_sigs;
  9. load `:database/filetype_iden;
  10.  
  11. 1 "Wecome to QScanner.\nUsage: qscan[ filename ; directory ] ...\n(filename) is the file to be scanned accepted as\na string (10h). Note if left blank all files in\nthe selected directory will be scanned.\n\n(directory) is the path to the filename specified\naccepted as a string (10h). Note if left blank\nit will assume current working directory.\n\nEample Usage:\nq)qscan[\"\";\"\"]\n -scans all files in the current directory. (\\ls)\n\nq)qscan[\"file.ext\";\"\"]\n- scans \"file.ext\" in the current directory\n\nq)qscan[\"\";\"/home/username/Documents\"]\n- scans all the files in the directory\n/home/username/Documents\n\nq)qscan[\"file.ext\";\"/home/user/Documents\"]\n- scans \"file.ext\" in the directory\n/home/username/Documents\n\nFor complete documentation please see the user\nmanual in the doc folder.\n";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement