Commit Graph

146 Commits

Author SHA1 Message Date
Kelvin Sherlock d8552c1317 set filetype based on destination name 2014-09-22 17:48:32 -04:00
Kelvin Sherlock 5915160c21 set binary mode for binary files 2014-09-22 17:48:13 -04:00
Kelvin Sherlock a83502fa20 fsettext macro for orca 2014-09-22 17:47:51 -04:00
Kelvin Sherlock a570a37fa3 only dump responses if -v -v 2014-09-11 16:53:05 -04:00
Kelvin Sherlock 8602e64314 fflush file (for stdout) 2014-09-11 15:31:34 -04:00
Kelvin Sherlock f1be63acb3 make -v flag increment (-v -v -> _v = 2) 2014-09-11 15:31:07 -04:00
Kelvin Sherlock 55610990e1 include leading / with directory 2014-09-10 22:01:03 -04:00
Kelvin Sherlock d2642a63d5 \ for directory separator 2014-09-10 21:55:20 -04:00
Kelvin Sherlock a8fd9c9a96 write data to stdout. 2014-09-09 17:32:55 -04:00
Kelvin Sherlock 5559c8ffaf breaks out negotiate/tree connect 2014-09-09 13:26:28 -04:00
Kelvin Sherlock 37fa05d5d9 don't exit early if file opened successfully 2014-09-08 14:56:02 -04:00
Kelvin Sherlock 39728fa3cf invalid path error 2014-09-08 14:41:08 -04:00
Kelvin Sherlock bf6354c448 get user name / password from url 2014-09-08 14:36:05 -04:00
Kelvin Sherlock ca27e1e924 log command names. 2014-09-08 14:35:18 -04:00
Kelvin Sherlock b2cdd5d879 directory error 2014-09-08 14:35:00 -04:00
Kelvin Sherlock b92f24697c use file from url / check for file not found errors. 2014-09-07 20:17:59 -04:00
Kelvin Sherlock 298ed7dc70 more errors / file not found 2014-09-07 20:17:34 -04:00
Kelvin Sherlock be2b0f8c1e get host/share from the url 2014-09-07 11:45:26 -04:00
Kelvin Sherlock 3393dc47b8 tweak read algo 2014-09-05 21:35:30 -04:00
Kelvin Sherlock e8987d0cc4 read_req needs a null buffer byte 2014-09-05 21:35:19 -04:00
Kelvin Sherlock 941c324744 fix dump 2014-09-05 21:34:48 -04:00
Kelvin Sherlock 480a22ba48 read the file, sort of 2014-09-05 20:58:32 -04:00
Kelvin Sherlock 2f0f7c2a09 debug smb_read 2014-09-05 20:56:03 -04:00
Kelvin Sherlock a5bda4e74e clean up packet dumping 2014-09-05 16:04:02 -04:00
Kelvin Sherlock 43e304cb79 open/close the file... 2014-09-05 15:47:10 -04:00
Kelvin Sherlock 35f31cef2d file attributes [MS-FSCC] 2014-09-05 15:45:18 -04:00
Kelvin Sherlock 519f2c8d0f move disconnect logic to separate function 2014-09-05 14:01:25 -04:00
Kelvin Sherlock 3bfbe9a8c0 more smb create enums 2014-09-05 12:36:25 -04:00
Kelvin Sherlock 5186962c48 update makefile 2014-09-05 12:35:43 -04:00
Kelvin Sherlock fe92e14e8f disconnect and logoff. 2014-09-04 22:35:09 -04:00
Kelvin Sherlock 07d7504d76 unify/simplify response checking 2014-09-04 22:09:56 -04:00
Kelvin Sherlock 21fb820030 more enums 2014-09-04 22:09:34 -04:00
Kelvin Sherlock 57af78487b more smb2 structs 2014-09-04 13:47:30 -04:00
Kelvin Sherlock a90ea4ad97 smb2 create request / response 2014-09-04 12:06:45 -04:00
Kelvin Sherlock 288e7ea7dc tree connect after session setup 2014-09-03 14:54:34 -04:00
Kelvin Sherlock b8ea992aa6 anonymous login! 2014-09-03 14:46:04 -04:00
Kelvin Sherlock 3108c5f050 move common message dumping code to read_response 2014-09-03 13:55:52 -04:00
Kelvin Sherlock e3346e4598 parse asn1 from the session setup response 2014-09-03 10:40:52 -04:00
Kelvin Sherlock 6c28aa2a6a asn1 enums vs values 2014-09-02 14:16:53 -04:00
Kelvin Sherlock 0e7abcf048 parse asn.1 from negprot response. 2014-08-30 13:26:45 -04:00
Kelvin Sherlock bfc20eedae tree request, unichar strings 2014-08-24 09:38:48 -04:00
Kelvin Sherlock 441098df8d update makefile dependencies 2014-08-24 09:36:45 -04:00
Kelvin Sherlock 5ddbe480e9 more errors 2014-08-24 09:33:08 -04:00
Kelvin Sherlock 54442ea3a1 stdint since it's not standard in orca/c 2014-08-24 07:56:24 -04:00
Kelvin Sherlock 32751b6943 more fields 2014-08-22 22:43:58 -04:00
Kelvin Sherlock b1b50596c1 setup logging, fatal/non-fatal errors 2014-08-22 22:03:08 -04:00
Kelvin Sherlock 812d6760ad common smb/nt errors 2014-08-22 22:02:47 -04:00
Kelvin Sherlock 6b125e9430 better response dumping 2014-08-22 16:25:04 -04:00
Kelvin Sherlock dc943bb428 fix typo 2014-08-22 14:14:08 -04:00
Kelvin Sherlock 79725bef69 more smb debugging 2014-08-22 12:22:22 -04:00