Got an idea for enhancing SpiderBasic? New command(s) you'd like to see?
User avatar
Paul
 
Posts: 100
Joined: Wed Feb 26, 2014 6:46 pm
Location: Canada

Ability to upload file

by Paul Thu Oct 24, 2019 1:24 pm

Ability to upload a file natively from SpiderBasic.

Basically to be able to do something as simple as this...

Code: Select all
<form action='https://127.0.0.1/cgi-bin/mydata.cgi' method='post' enctype='multipart/form-data'>
Subject<br>
  <input type='text' name='subject'><br>
  <input type='hidden' name='pass' value='test data'><br>
  <input type='file' name='file1' id='file1'><br>
  <input type='file' name='file2' id='file2'><br>
  <br>
  <input type='reset' value='Clear' name='clear'>
  &nbsp;&nbsp;&nbsp;&nbsp;
  <input type='submit' value='Send' name='senddata'>
</form>
Dirk Geppert
 
Posts: 183
Joined: Fri Sep 22, 2017 7:02 am

Re: Ability to upload file

by Dirk Geppert Wed Jun 10, 2020 11:55 am

+1
falsam
 
Posts: 277
Joined: Mon May 05, 2014 9:49 pm
Location: France

Re: Ability to upload file

by falsam Wed Jun 10, 2020 2:24 pm


➽ Windows 10 - JDK 1.8 - SB 2.20 - Android 5.5
http://falsam.com

Sorry for my poor english
User avatar
Paul
 
Posts: 100
Joined: Wed Feb 26, 2014 6:46 pm
Location: Canada

Re: Ability to upload file

by Paul Wed Jun 10, 2020 3:13 pm



Although this "UploadGadget" you mention has its purpose, it does not do the same as the code snippet above so it cannot be used as a workaround.
User avatar
Peter
 
Posts: 772
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080

Re: Ability to upload file

by Peter Thu Jun 11, 2020 2:33 pm

@Paul: What about this one?
User avatar
Paul
 
Posts: 100
Joined: Wed Feb 26, 2014 6:46 pm
Location: Canada

Re: Ability to upload file

by Paul Thu Jun 11, 2020 6:43 pm

Peter wrote:@Paul: What about this one?


Thanks Peter,
It looks like I can use formData.append in that code to add the extra text fields to go with the files so it may work for what I need.
I'll let you know my progress. :)
User avatar
Peter
 
Posts: 772
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080

Re: Ability to upload file

by Peter Thu Jun 11, 2020 8:25 pm

Paul wrote:
Peter wrote:@Paul: What about this one?


Thanks Peter,
It looks like I can use formData.append in that code to add the extra text fields to go with the files so it may work for what I need.
I'll let you know my progress. :)

Currently I am working on an upload dialog.

Prototype:
Image
Dirk Geppert
 
Posts: 183
Joined: Fri Sep 22, 2017 7:02 am

Re: Ability to upload file

by Dirk Geppert Fri Jun 12, 2020 6:05 am

@Peter: That sounds promising!
User avatar
Peter
 
Posts: 772
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080

Re: Ability to upload file

by Peter Fri Jun 12, 2020 8:13 am

Dirk Geppert
 
Posts: 183
Joined: Fri Sep 22, 2017 7:02 am

Re: Ability to upload file

by Dirk Geppert Fri Jun 12, 2020 11:59 am

Looks good. :) During testing I noticed, that if you have already started once the upload, every new added file is marked as successfully uploaded then.
Return to Feature Requests and Wishlists

Who is online

Users browsing this forum: No registered users and 1 guest