205 Commits

Author SHA1 Message Date
pancake
ac036b6301 Add Pd to delete projects, Remove rmrf util function, better project file checks 2015-01-22 00:30:19 +01:00
Jeffrey Crowell
1fc3a177f6 Separate fortunes to fortunes.{fun,tips,nsfw}
add `e cfg.fortunetype = fun,tips,nsfw`

Add some "legacy" nsfw fortunes.
2015-01-15 10:43:09 +01:00
jvoisin
8ac1616daf Fix some coverity issues 2015-01-14 02:53:34 +01:00
pancake
31d1ec7349 Implement r_file_dirname and support DOS paths in r_file_basename too 2014-12-12 13:59:39 +01:00
pancake
3a9a733ebf Implement rax2 -F (r_stdin_slurp(), r_hex_from_c())
- Update rax2 manpage
2014-10-20 00:46:59 +02:00
pancake
718e175892 Add $p for getpid(), hide UNKNOWN refs, 'cat' works with bigger chunk if unknown size 2014-10-18 00:25:55 +02:00
pancake
fef835ccb6 Fix file-mmap-write on w32 2014-09-23 10:59:52 +02:00
pancake
fc2bb2af7f Fix 4GB issue file and some more warnings 2014-09-20 15:53:29 +02:00
pancake
4c4173769b Revert "Fixing the issue where file size exceeds size of an integer":
3adb00621b84b271b6473cc35edabaff889141e5
e2afa84443b51faa6be1f09e465aa3d4ebadb879
0761955fdbaa671f87ac67d0f2e6c9918db08fae
17cc18fad09ca92ba88e668e3586054ec34c584f
135c62fb5de928fbc3c85bacb458ba4e9ef410c0
2014-09-20 15:33:59 +02:00
Adam Pridgen
135c62fb5d Fixing *most* warnings related to the change in r_file_slurp 2014-09-17 22:37:54 -05:00
deeso
3adb00621b Fixing the issue where file size exceeds size of an integer 2014-09-17 23:53:25 +02:00
pancake
7e37fb0131 Fix #1292 - Fix file create and write on w32 2014-09-15 03:35:02 +02:00
Jody Frankowski
f930a97adc Unify gzip and zip 2014-09-05 15:12:40 +02:00
Anton Kochkov
759a6345d4 Fix OS detection 2014-09-01 18:58:09 +04:00
pancake
504f006d5d Fixes more gunzip support in r_util 2014-08-10 18:24:00 +02:00
pancake
3d66ed5378 Add r_file_gzslurp() to read GZIPped files easily 2014-08-10 18:13:12 +02:00
pancake
f67850fcb2 FIx w32 build 2014-06-25 04:19:23 +02:00
pancake
b788deac00 Fix latest coverity issues
CID 1221463
CID 1221462
CID 1221461
2014-06-07 11:23:14 +02:00
pancake
06ec145106 Fix r_file_truncate 2014-06-06 01:10:43 +02:00
pancake
e06b6695e8 Fix r_file_slurp() for /proc files 2014-06-04 03:51:18 +02:00
pancake
2890b25e42 Fix w32 build 2014-05-19 10:54:29 +02:00
deeso
1fbc7f2168 Added load_bytes, Pushed curplugin down to RBinObj, Reworking the RBinFIle loading to accomodate RBinObj reworked how all bins are loaded. Needed to hack IO to make
this work with rbinfiles and rbinobjects.

Conflicts:
	libr/bin/bin.c
	libr/bin/p/bin_te.c
2014-05-13 21:54:18 -05:00
Adam Pridgen
e9cabecc45 Fix CIDs: 1211131, 1211134, 1211136, 1211133, 1211143 2014-05-04 22:09:20 -05:00
deeso
3adcb54f17 Overhauled how files are loaded. Now *all* files use an IO plugin the default one is mmap'ed 2014-05-01 20:13:57 -05:00
Fedor Sakharov
179147bf77 util: Read strings from file correctly 2014-04-21 19:22:37 +04:00
jvoisin
ea2363d926 Fix some coverity issues 2014-03-16 00:16:43 +01:00
Fedor Sakharov
bb68fa072c util: Fix umask when making temp file 2014-03-09 00:01:04 +04:00
Fedor Sakharov
61193c6527 Fix coverity issues in r_util 2014-03-08 11:56:15 +01:00
pancake
8b40a53080 Update sdb from git and fix 'test.cparse' 2014-02-08 03:09:03 +01:00
pancake
99a6dec209 Fix r_file_is_directory() 2014-01-21 02:08:51 +01:00
pancake
cacb12cafc Fix opening block devices (S_IFDIR wtf) 2014-01-20 15:04:16 +01:00
pancake
da33633680 Fix #491 - Project untrusted input
- Fix various project related issues
- Do not save in directories. Projects are file + file.d/
- Do not show division by zero issue (e cfg.foo=/bin/ls)
2013-12-28 02:34:15 +01:00
pancake
05d7188a9a Fix dynamic format string functions
- s/r_str_dup_printf/r_str_newf/g
- Add r_strbuf_setf()
2013-12-04 00:20:52 +01:00
pancake
42a8bb440e Fix #345 - fix some segfaults in yank and num.c 2013-09-05 05:10:57 +02:00
jvoisin
da002cc95d Fix a memory leak 2013-09-27 18:57:07 +02:00
pancake
e25567cb09 Implement .-. Fixes for cfg.editor and handle RCons.editor() 2013-09-04 00:35:48 +02:00
pancake
a46eb958e7 Initial implementation of the wip multiline text editor 2013-08-28 03:06:10 +02:00
pancake
602bb70a30 Simplify shlr build and some w32 fixes 2013-08-27 01:18:42 +02:00
pancake
ced24c443d Load <file>.r2 if exists, last 3 args of 'S' are now optional 2013-06-09 01:09:47 +02:00
pancake
735bcc2fb9 Use r_file_abspath() and add dir.projects eval config var 2013-05-05 18:35:14 +02:00
Shane Peelar
24ccb7aabb Fixed compilation problems on Windows with MinGW-w64 4.8 2013-05-02 10:17:59 +02:00
pancake
8afdf330ae List and remove projects using '-p' and '-p -$prj' 2013-04-18 09:39:37 +02:00
pancake
dacede5ae9 Initial port of io-mmap to w32 2013-03-12 13:24:48 +01:00
pancake
8f4d23a5ce Initial implementation of io.map plugin 2013-03-12 01:50:55 +01:00
pancake
2fa48384ad Fix some bugs reported by clang-analyzer 2013-02-08 11:42:46 +01:00
pancake
150c43d33c Oops. w32 typo 2013-01-23 18:41:31 +01:00
pancake
9b1df62609 Fix mmap and other minor issues on w32 2013-01-23 18:38:08 +01:00
pancake
3635f85336 Better http support and handle asm.offset in 'px'.
Implement dirlisting in http
get in /up/. Honor asm.offset in 'px'.
Fix r_file_root and crosspath vuln in http server
2013-01-04 10:16:41 +01:00
pancake
a8a4c5e3e8 Initial implementation of http.upload (disabled by default)
Open http://localhost:9090/upload.html to upload
curl -F file=@/bin/ls http://localhost:9090/up/ls.bin
Tested on 10MB files without problems
Default upload directory is $TMPDIR
2013-01-03 00:47:58 +01:00
pancake
e48b9b2f30 Add cfg.sandbox functionality
f.example: $ r2 -c=H -e cfg.sandbox=true -
2012-10-20 00:31:18 +02:00