glenelkins Posted April 18, 2011 Share Posted April 18, 2011 Hi How can i fill a form on a web page with C# ? Specifically a password field, The field needs to be selected by its ID, not the field name. Link to comment https://forums.phpfreaks.com/topic/234066-fill-form-password-field-with-c/ Share on other sites More sharing options...
requinix Posted April 18, 2011 Share Posted April 18, 2011 Is the form too dynamic to simply pass the right values directly in a GET/POST submission and bypass even looking at the original ? Link to comment https://forums.phpfreaks.com/topic/234066-fill-form-password-field-with-c/#findComment-1203080 Share on other sites More sharing options...
glenelkins Posted April 18, 2011 Author Share Posted April 18, 2011 Well basically the issue is I am a PHP, JS etc programmer and im learning C# . I am writing an article submitter and a part of it is to login to a specific forum and post for me. It uses vBulletin but because the password field uses JS to take the value, rather than posting it with the form, it never fills the field in by name... if that makes sense? So i need something of the equivalent of the js: document.getElementById ().value for C# Link to comment https://forums.phpfreaks.com/topic/234066-fill-form-password-field-with-c/#findComment-1203112 Share on other sites More sharing options...
requinix Posted April 18, 2011 Share Posted April 18, 2011 So you're writing a bot... Assuming the forum is under your control, post stuff to the database directly. If that assumption happens to be wrong then does the forum owner/administrator know you're trying to do this? Link to comment https://forums.phpfreaks.com/topic/234066-fill-form-password-field-with-c/#findComment-1203152 Share on other sites More sharing options...
glenelkins Posted April 18, 2011 Author Share Posted April 18, 2011 the forum is not under my control no, not that it's really the concern of this discussion. the forum accounts are mine on the forum, the software is just to make my life easier in writing informative articles and posting them automatically rather than wasting valuable time posting myself. please continue to answer the question in the discussion. Link to comment https://forums.phpfreaks.com/topic/234066-fill-form-password-field-with-c/#findComment-1203164 Share on other sites More sharing options...
requinix Posted April 18, 2011 Share Posted April 18, 2011 The thread is about how to help you make a bot. Whether you're allowed to make and use one is most certainly "the concern of this discussion". Have you asked whoever runs the forum if you can make automated posts like this? Link to comment https://forums.phpfreaks.com/topic/234066-fill-form-password-field-with-c/#findComment-1203170 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.