Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Code Request - Could somebody make this please?Code Request - Could somebody make this please?
Previous
 
Next
New Post
12/1/2006 11:07 PM
 
Easy?  I think that would be hideous to create, if at all possible (due to possible non standard urls, such as a custom login page).  Screenscraping a web app does not sound like fun to me.  Basically a bunch of HttpRequests and HttpResponses, parsing strings....that would be awful.  Not a good time.  I'd rather watch figure skating with my wife. *shudder*

And again, because many people unfortunately do not change the default passwords for the admin and host accounts, just like they do not generate their own keys for the machinekey settings, it's a tool that could be used for malicious purposes.  In this case, its even easier to be used for mischief.

What is it you are trying to achieve with this that cannot be accomplished with many user import/export tools available?  There are plenty of user import/export modules out there.  I use one I bought for $20.
 
New Post
12/1/2006 11:23 PM
 
I would look into WATIR. It uses ruby to automate web pages and can probably do what you are wanting to with some ease . You can call it from the command line too. There are even some apps that will record actions (like creating a user) and then you can call that script over and over. I'm betting you could have something working in an hour or so.

I use it to login to DNN when I'm debugging. Saves a bunch of steps!

Resources:
http://www.hanselman.com/blog/IntroducingWatirMakerRecordingForRubybasedWatir.aspx
http://www.openqa.org/watir-recorder/
 
New Post
12/1/2006 11:23 PM
 
timtimtimtimtim wrote
To make this easier, we can assume this program would be using a DNN database that is NOT USING encrypted passwords.

Tanks!



Maybe I should have noticed this earlier.  I wasn't basing my previous responses on this.  I was thinking encrypted passwords.  Sorry.
 
New Post
12/2/2006 1:12 AM
 
Hello,

I'm not sure what you mean by screenscraping.  That isn't required at all.  All you need to do is figure out what is passed over HTTP.  I know it isn't difficult because I've done something very simple before with C#.  Yes, you'd have to figure out what HTTP POST/GET strings were required, but I don't think that would be difficult.

But lets say you skip that...

My initial goal was to get this done with passwords not being encrypted.  With that said, would this be something that would be a lot simplier to handle?  Couldn't some of the DNN DB Sprocs like AddUser be reused in some fashion?

Thanks :)
T
 
New Post
12/2/2006 9:39 AM
 

If you look at the page from my blog post earlier in this thread, all you would need to do is pass it the variables required to create a new user , you could pass them on the querystring or with a post.

The page is removing any authentication that may be required to actually create the user (like logging in as admin), so you would not want it to be reached by the general public.


DotNetNuke Modules from Snapsis.com
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Code Request - Could somebody make this please?Code Request - Could somebody make this please?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out