vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   PM Encryption - Encrypt all your PMS! (https://vborg.vbsupport.ru/showthread.php?t=79484)

Deaths 04-05-2005 10:00 PM

PM Encryption - Encrypt all your PMS!
 
PM Encryption v 1.0.0


As requested by Sully02, here: https://vborg.vbsupport.ru/showthrea...780#post636780
This nifty little hack encrypts your user's (and your), PMs when sent, and unencrypts them when they are read :)!
It also supports the downloading of the PMS, all PMs downloaded will be unencrypted.

Creator: Deaths
Live Demo: Theres nothing to see.
Screenshots: Nothing to see.
Support is in this thread, and preferably at vBadditions.com

I have included an Installer, which will encrypt all previously sent PMs!

Tested on 3.0.7, should work with all 3.0.x's.

Stats:
Files to Edits: 1
New Files: 0
Templates to edit: 0
Templates to add: 0
Dont underestimate this hack though, its not a mini-mod ;).

Follow the instructions in the install file, and everything should go just fine :).

Todo list:
  • Your suggestions.

Zachery 04-06-2005 05:12 PM

There is no hack attached.

Deaths 04-06-2005 05:13 PM

Lol, you're very fast ^^.

I still needed to get the threadid, for the "Click Install" link in the file ;)

j_86 04-06-2005 05:44 PM

Hi - what is the use in this hack? I can only think.. to stop admins using the "Read Your Users PMs" hack, or people with access to the database reading people PMs.

But it uses Base64. This is not encryption. It is encoding - ANYONE can decrypt base64 things - base64_decode(message) in php, $base64(message.txt) in mIRC.

Deaths 04-06-2005 06:02 PM

This was requested by a member, so I created it.

And if you dont know this is base64, you can't decode it ;)

Bolas 04-06-2005 06:05 PM

maybe... just prevent lamers admin to read pms ;)

Nice idea this hack, you can increase protection using your algo to crypt and to decrypt messages (instead using base64).

like
Code:

function cryptalgo($message) {
 // blah blah
 return $cryptedmessage
}

and..
Code:

function decryptalgo($cryptedmessage) {
  // halb halb
  return $message
 }

etc..

Zachery 04-06-2005 06:22 PM

I was thinki9ng about this myself, It would be better off to use mycrypt providing it is installed with your php.

Deaths 04-06-2005 06:23 PM

Hmm, good idea.

I'll look into that, together with some other suggestions.

Marco van Herwaarden 04-06-2005 06:29 PM

Quote:

Originally Posted by JimpsEd
Hi - what is the use in this hack? I can only think.. to stop admins using the "Read Your Users PMs" hack, or people with access to the database reading people PMs.

But it uses Base64. This is not encryption. It is encoding - ANYONE can decrypt base64 things - base64_decode(message) in php, $base64(message.txt) in mIRC.

Correct, using a base64_encode is NOT encrypting message. It is just used to create a binairy safe representation of a string.

Anybody can decode it. This will not protect private message from being read. The only way you could protect private messages would be to first exchange a private key, then use that to encrypt your PM's with someone.

Zachery 04-06-2005 06:31 PM

http://us3.php.net/manual/en/ref.mcrypt.php :)


All times are GMT. The time now is 11:21 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.01048 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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