Re: [sqlmap-users] File Dump Write Error
Brought to you by:
inquisb
From: lnxg33k <ah...@is...> - 2011-12-20 13:37:39
|
On 12/20/2011 02:43 PM, Chris Oakley wrote: > Hi > > The first table in a DB is called: "dbo. " (with spaces). After > dumping the table, the following output is received: > > [12:40:39] [CRITICAL] there has been a file opening error for filename > 'C:\Program Files\sqlmap\output\***\dump\ > ***\dbo." ".csv'. Please check write permissions on a file and that > it's not locked by another process. > > I think this is down to the spaces (certainly no permission problems). > > Regards > > Chris > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > > > _______________________________________________ > sqlmap-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlmap-users If it's space related try to edit line 327 in sqlmap/lib/core/dump.py from: dumpFileName = "%s%s%s.csv" % (dumpDbPath, os.sep, table) to: dumpFileName = "%s%s%s.csv" % (dumpDbPath, os.sep, table.rstrip().rstrip('.')) |