Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 18 Jul 2016, 03:14
akz645 akz645 is offline
 
Join Date: Jul 2015
Question What does this PHP code do?

Hi, can somebody please help me understand what the PHP code below is meant to do?

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Edit:
I just realised I posted this is the wrong section. Sorry about that.
vB4 Programming Discussions - The moderators can move this thread over there if they want.
Edit 2:
Thanks for moving it.

Last edited by akz645; 19 Jul 2016 at 13:46.
Reply With Quote
  #2  
Old 18 Jul 2016, 14:45
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
It's a contact form.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #3  
Old 18 Jul 2016, 16:46
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Real name: Eric
odd that the THIS_SCRIPT is index though, but yes, as Dave mentioned that is a contact form.
Reply With Quote
  #4  
Old 18 Jul 2016, 20:17
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
You would think this gives it away really ;


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #5  
Old 19 Jul 2016, 13:44
akz645 akz645 is offline
 
Join Date: Jul 2015
Originally Posted by Paul M View Post
You would think this gives it away really ;


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Well I got that much. I probably should have explained the context.

It was a file php file named "ws_send_email", which was inside a mod somebody created.

Hence I was suspicious whether or not there was any malicious code in it.
That's why I'm asking, since I don't understand why it's needed for the modification to work.

If the purpose was malicious, this is what I was thinking:
All the details I have stored in the 'contact us' section will be sent to the coder. Also, if anybody else uses that part in my forum, their details will be sent to the coder too.

Last edited by akz645; 19 Jul 2016 at 13:59.
Reply With Quote
  #6  
Old 19 Jul 2016, 15:05
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Real name: Kris
If I recall that is part of a mod by Wolfshead Solutions. Mosh Shigdar has been effectively retired for quite some time but he was among the finest coders vBulletin had and certainly not malicious by any reasonable measure.
Reply With Quote
  #7  
Old 19 Jul 2016, 18:51
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
I have not seen Mosh around for ages (last logged on the site in 2013).
He wrote quite a few add-ons to my mods for Flashchat, and borrowed (with permission) some other bits of my code.

Not sure which of his mods that would be part of, but nothing of his would be malicious.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 10:05.

Layout Options | Width: Wide Color: