vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin.org Site Feedback (https://vborg.vbsupport.ru/forumdisplay.php?f=7)
-   -   Official definitions of "hack" categories. (https://vborg.vbsupport.ru/showthread.php?t=92235)

Brad 07-04-2005 11:39 PM

Quote:

Originally Posted by Ron1n
Wrong. Probably the best example of this is paypal... It is quite easy to try to connect to another server and then debug problems along the way. If worst comes to worst then the user sees "transfer error: try a manual install."

What about hacks that include many images, lots of php/js/whatever files? These can be much larger then 1mb, and you aren't pushing that to a php script via http in most cases. Sure it can be done without http/php but then we start getting into other problems, mainly requiring things to be done at the server level that don't need to be in place to install vBulletin in the first place, making the entire system useless to most.

Quote:

Originally Posted by Ron1n
I can respond to this in two ways, which I will do. (a) This is less exploitable than the majority of hacks because it is 100% admin side. In addition, it wouldn't be explotable at vBulletin because there is no way to exploit the 10 lines of code that it would take. (b) Would you like some vB 3.0.7 exploits?

a) Just because it is on the admin side doesn't make it un-exploitable or less exploitable. Said system requires us to access your server, the code used to govern this access can/will have some bugs over time. If every bored had to have this code in place to install other hacks that would mean a large number of customers would be at risk is a bug was found.

b) I think I've seen you post this multiple times now, it is a moot point. Why don't you show said exploits to the dev team via the bug tracker so they can get fixed? We all know bugs exisit in the code and vB is not perfect, no software is :rolleyes:

Quote:

Originally Posted by Ron1n
Yes yes, a very democratic approach to the world. The huddled masses are too stupid to manage things so lets dumb it down for them even if it means they have to do more work. However, your logic here is wrong. Authors would not have to release their work in any format exactly, it would be flexible. All the installer would have to support is 'do=install' 'do=upgrade' 'do=uninstall.' And, it would not require users to install the hackinstaller.php file, because all they would have to do is access the regular install file without the aid of hackinstaller.php.

Here is the problem, and yes it is a problem, I've seen it happen with HTL and multihack (although that is used mainly in the ubb community). Using a system like this leads to one of three things:

1) Hack author has to do double the work by providing a method to install his hack via the 'installer system' in addition to including a way to install it without said system.

or

2) End user must install 'installer system' to install hacks made for it that do not include a txt file (asuming we followed the same rules as we did for htl this would not be allowed in the first place)

or

3) Asuming there is a way to extract a .txt (or some other form of installtion manual be it html or pdf or whatever). The end user would have to install the 'installer system' just to generate said file.

I almost forgot the most important point, the code base is always changing, which means we (the vB.org staff) would not only have to code the proposed installer system, but would have to patch it everytime the code in vB changed in some way that would render old installation methods useless. All of this while insuring 'legacy' hacks would still work with the new code.

Like I said it sounds good in concept, but it doesn't work in real life. You might get it to work with a few of your servers, but remember that no two servers are alike, and many customers that use vB have no control of their server beyound simple things like ftp, sql managment, and some form of control panel.

Ron1n 07-05-2005 12:23 AM

Quote:

What about hacks that include many images, lots of php/js/whatever files?
Good point. Fsck the images ;)
Quote:

Said system requires us to access your server, the code used to govern this access can/will have some bugs over time. If every bored had to have this code in place to install other hacks that would mean a large number of customers would be at risk is a bug was found.
NONONO! The only accessing would be from the client server to your server, not the other way around. I think you misunderstood me the first time.
Quote:

I think I've seen you post this multiple times now, it is a moot point.
I have posted this multiple times? :O News to me... lol.
Quote:

Hack author has to do double the work by providing a method to install his hack via the 'installer system' in addition to including a way to install it without said system.
To make this hack compatable all that a user would need to do is make their hack installable/upgradeable/uninstallable via do=install/do=upgrade/do=uninstall respectively
Quote:

End user must install 'installer system' to install hacks made for it that do not include a txt file (asuming we followed the same rules as we did for htl this would not be allowed in the first place)
Huh?
Quote:

I almost forgot the most important point, the code base is always changing, which means we (the vB.org staff) would not only have to code the proposed installer system, but would have to patch it everytime the code in vB changed in some way that would render old installation methods useless. All of this while insuring 'legacy' hacks would still work with the new code.
I will respond to this after the fireworks :-P
[edit]The proposed installer system would take about 30 minutes to make and 1 hour to test. In addition, you would never have to patch it or make sure that legacy hacks would still work. This hack doesnt do any installing, it is just the middle man.[/edit]
Quote:

You might get it to work with a few of your servers, but remember that no two servers are alike, and many customers that use vB have no control of their server beyound simple things like ftp, sql managment, and some form of control panel.
it only requires FTP

Brad 07-05-2005 04:39 AM

Here is what you have proposed...

Quote:

Originally Posted by Ron1n
That is 100% possible. All admins need to do is install one hack on their board that can download files to the server. WHen you click install, it goes to:

http://www.domain.ext/dir/admincp/h...load&hack=23432

23432 is the thread ID for vBDownloads, and that would then download the vBDownloads file to /admincp/hacks/23432/ by accessing vbulletin.org/forum/hackinstaller.php?do=download&hack=24532&username= x&password=y

A header is sent to the browser "location: hackinstaller.php?do=install&hack=23432

THe user then sees /admincp/hacks/23432/install.php which is fetched by the hackinstaller mod.

The hackinstaller mod would require each hack have support for different functions:

- add template, remove template, upgrade template
- add phrase, remove phrase, upgrade phrase
- install sq, remove sql, upgrade sql
- add files, remove files

Each hack could be managed so easily with no errors, EVER!

Never mind the fact that you didn't mention file edits, which a lot of hacks will still do (you guys give plug-ins to much credit..). I will assume you meant to include this, because not doing so renders the whole thing useless imho (maybe not totally useless, but it certainly would not cover everything).

Just to make sure we are on the same page here, this is what I gather from your post:

User clicks install at vB.org hack thread -> User is redirected to his admincp and loads the php script that fetches the hack's files from vB.org -> after files are fetched the files are un packed and ran through an installing php file that does the needed edits.

Now this sounds nice in concept (like I have said multiple times), but it just doesn't work in the real world because it causes more problems then it fixes.

First and foremost all hacks would have to be released in a standard format to work with said installer. You can't throw random files at a script now can you? This has to be done to insure the script will work there is no way around it.

This poses problems for the author.. What if I want to do something that is impossible due to a limitation in installer system? More often then not the author would probably opt not to use the installer system all together in this case, and just release his own instructions.

The next problem like I said before are large files. Php scripts can only run for so long before they hit the internal timeout setting. This is not a problem in most cases but when you are dealing with file transfers it pops up very often. This is the same kind of thing you run into when uploading large attachments.

While it can be argued that a server is going to have a bigger pipe and thus will download these files quicker, we can't overlook this issue and would have to build a lot of error checking to get around it.

All of that still assumes a perfect connection between vB.org's server and the one hosting your vBulletin. What if vB.org goes offline in the middle of a file transfer? As there is no way to monitor a file transfer as it happens in php the end user is going to run into a timeout error.

Quote:

Originally Posted by Ron1n
Good point. Fsck the images

Yes I am sure that would go over well with the authors...

Quote:

Originally Posted by Ron1n
I have posted this multiple times? :O News to me... lol.

It may not have been you, but I've seen it posted a number of times in the past week when someone brings up an exploit. It is a useless point, it's the same as someone pointing out a bug in firefox for windows and me coming back with 'I can show you x number of exploits in windows'.

Quote:

Originally Posted by Ron1n
To make this hack compatable all that a user would need to do is make their hack installable/upgradeable/uninstallable via do=install/do=upgrade/do=uninstall respectively

Which as I said before, this would require standard file formats and standards enforced inside of these files (xml perhaps?). You can't give the author total freedom in the way they prep/release their work and expect an automated installer script to work at the same time!

Quote:

Originally Posted by Ron1n
Huh?

As I said before an automated installer requires the files to follow certain standards, ones the php script will expect and be able to pick up on. No matter how nice the automated installer is there are going to be a large number of users that prefer to do installation the 'hard' way, that is following a .txt (or .html) and do the needed modifications by hand.

What about these users?

Look at the whole HTL situation we had not to long ago. A lot of users liked the fact that this hack made it easier to install hacks, and began releasing their hacks to work with the hack tracking log, many of them not including .txt file for people that did not have the HTL hack installed. This got the rest of the users angry because there was no way to install these hacks without installing the HTL hack, something they did not want to do.

Eventually this rule was made:

Quote:

Regarding hacks that use the HTL hack, you MUST supply a seperate text file for people who do not have the HTL hack installed. If your hack does not follow these rules, we will delete it until you supply text file instuctions. If your hack DOES include a seperate text file, then please add in your hack title, [HTL] & [Normal] as the prefix.
We are basically faced with the same situation here.

Quote:

Originally Posted by Ron1n
The proposed installer system would take about 30 minutes to make and 1 hour to test.

30 minutes to make and 1 hour to test? Do you honestly think we would put something online like this after only 1 hour of testing? If the proposed system is going to do SQL queries that is one very large backdoor waiting the happen right there.

Please keep in mind that this is not your normal forum, any mistake made by us can hurt Jelsoft's reputation very badly. I would really hate to come online one morning after this is released only to find a large number of vB's cracked (I use the term lightly here..) due to some oversight in our code. This wouldn't be very good for Jelsoft nor would it be good for us....

Quote:

Originally Posted by Ron1n
In addition, you would never have to patch it or make sure that legacy hacks would still work. This hack doesn't do any installing, it is just the middle man.

It would have to do the installing, we can't pass random files to the scripts and expect it all to work. The automated installer would have to look for certain text in our standardized file format then take that needed text and run the operation it was created for (run a query, add a template, add a word, move file to certain directory, etc).

Things change between version, in time the system would have to be patched, on both ends as a matter of fact. We would also have to re-build the entire thing over again every major upgrade (2.x -> 3.0.x -> 3.5 begin major upgrades).

Quote:

Originally Posted by Ron1n
it only requires FTP

And giving php scripts permission to write to certain folders (something that you don't have to do durring a vB installation). While most all ftp clients come with chmoding ability, hardly any newbie I've come across understands the concept until they are forced to learn it. Not to mention requiring the use to use an ftp program defeats the point of plug-in's that can be installed via the admincp only (something that won't be possible under an automated installer as the end user needs to ftp in to install the automated installer).

I'm not trying to target you or bash your idea, I'm just trying to show you why it doesn't work in the real world. You are making this sound way more simple then it would be.

Wayne Luke 07-05-2005 05:37 AM

Quote:

Originally Posted by tamarian
vBulletin support shouldn't really be used to classify mods into caegories. Just add a check box, and let it be categorized wherever it belongs. Really, one could write a single plugin file that I'm sure vBulletin would not support, based on the actions and queries the plugin would do ;)

Jelsoft will not support any hack or plugin whether it modifies the code or not. The only reason plugins do not invalidate support is because they can be turned off.

The "Support" checkbox is to signify that the hack/plugin author will provide support for their modifications via this forum. And yes this is a big deal to many people.

Andreas 07-05-2005 07:00 AM

Well, I think some kind of installer System would be useful for both sides - Autors and Users.
Even for a medium-sized Hack, it's a pain in the Ass having to write dozens of "Create a Template with the following Content", "Create the following Phrase", etc. Instructions.
And it takes ages to install a Hack this way.
Best thing would be an installer here, but not everybody is willing and/or able to do so.
It is not that hard to write a system that could support a large scale of Hacks while keeping it easy for the Author and the User.
If Jelsoft could provide some standard Interface to Export and Import Phrases/Templates/Settings, tha would be a large Step forward.
In fact the basic functions are there already.

Princeton 07-05-2005 12:56 PM

you have my vote

an installer system would be great...
but, it's success depends on who creates/supports it

a vb.org installer would definately be successful

Revan 07-05-2005 01:40 PM

I'm still abit baffled as to why my Soft Deleted Archive was moved to Code Modifications, when the last entry in the Features say "NO Code Modifications needed!".
By the definitions of the Subforums, it is an Extension.
For all the lazy staff, https://vborg.vbsupport.ru/showthread.php?t=90840 is the link. Now shoo, and go do your job :p

Hialls 07-05-2005 09:42 PM

Ah nice to see some order in place

Paul M 07-05-2005 10:18 PM

Could we have a tick box added to the [first post] classification list for "Adds/Modifys Third Party Files" :)

Mr Blunt 07-05-2005 11:34 PM

Quote:

Originally Posted by Paul M
Could we have a tick box added to the [first post] classification list for "Adds/Modifys Third Party Files" :)

I second the motion
:cool:


All times are GMT. The time now is 06:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01208 seconds
  • Memory Usage 1,805KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete