Acunetix Secure WordPress - Version 2.0.0

Version Description

Download this release

Release Info

Developer WebsiteDefender
Plugin Icon wp plugin Acunetix Secure WordPress
Version 2.0.0
Comparing to
See all releases

Code changes from version 1.0.6 to 2.0.0

Secure WordPress-da_DK.txt DELETED
@@ -1,23 +0,0 @@
1
- Secure WordPress 0.8.5
2
-
3
- Sprogfilerne skal ligge i plugin-mappen secure-wordpress/languages
4
- Oplysning om stierne er pakket med.
5
- Underst�tter dit udpakningsprogram anvendelse heraf,
6
- kan du udpakke direkte til (formentlig) wp-content/plugins
7
-
8
- Evt. opdateringer eller info herom kan hentes via http://wordpress.blogos.dk/wpdadkdownloads
9
- eller direkte p� http://wordpress.blogos.dk/s%C3%B8g-efter-downloads/?did=175
10
-
11
- Se evt. ogs� http://wordpress.blogos.dk/tag/secure-wordpress
12
-
13
-
14
-
15
- FOR THE DEVELOPER
16
- You are very welcome to check for updated language files in one of the following ways:
17
-
18
- 1. On my downloads page that list all files available for download:
19
- http://wordpress.blogos.dk/wpdadkdownloads/
20
-
21
- 2. Directly on my Download Monitor download page: http://wordpress.blogos.dk/s%C3%B8g-efter-downloads/?did=175
22
-
23
- If I have blogged about your plugin, theme or other resource, you will be able to find it via this tag: http://wordpress.blogos.dk/tag/secure-wordpress
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/remove_login.css CHANGED
File without changes
css/remove_update_plugins.css CHANGED
File without changes
css/remove_wp_version.css CHANGED
File without changes
img/acunetix.png ADDED
Binary file
img/facebook.gif ADDED
Binary file
img/h2logo.png DELETED
Binary file
img/loading45.gif ADDED
Binary file
img/logo.png DELETED
Binary file
inc/WPlize.php CHANGED
File without changes
inc/readme_de.txt CHANGED
File without changes
inc/readme_en.txt CHANGED
File without changes
js/prepare_new_user_form.js ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var recaptchaPublic = "6Ld1jcASAAAAAAyGvwtF6ujAd0yf3jFlj220qcrZ";
2
+ var waiting = 0;
3
+
4
+ function ifLoaded(){
5
+ waiting++;
6
+ if(waiting>=20){
7
+ return false
8
+ }
9
+ if( wsd_form_fields != undefined &&
10
+ Recaptcha != undefined &&
11
+ document.getElementById("wsd_new_user_form") &&
12
+ wsd_commonPasswords != undefined)
13
+ constructForm();
14
+ else
15
+ setTimeout(ifLoaded, 250);
16
+ }
17
+
18
+ function addInputElement(holder, name, type, label, description){
19
+ var inputRow = document.createElement("TR");
20
+ var cell = document.createElement("TH");
21
+ cell.innerHTML = '<label for="' + name + '">' + label + ':</label>'
22
+ cell.setAttribute("scope", "row");
23
+ inputRow.appendChild(cell);
24
+ var cell = document.createElement("TD");
25
+ if(name=="account_website")
26
+ cell.innerHTML = '<input id="wsd_' + name + '" name="' + name + '" type="' + type + '" class="regular-text" value="' + wordpress_site_name + '"/>' +
27
+ (description?'<label for"' + name + '">' + description + '</label>':'');
28
+ else
29
+ cell.innerHTML = '<input id="wsd_' + name + '" name="' + name + '" type="' + type + '" class="regular-text"/>' +
30
+ (description?'<label for"' + name + '">' + description + '</label>':'');
31
+ inputRow.appendChild(cell);
32
+ holder.appendChild(inputRow);
33
+ }
34
+
35
+ function constructForm(){
36
+ var inputHolder = document.getElementById("wsd_new_user_form_dynamic_inputs_table");
37
+ if(!inputHolder)return false;
38
+
39
+ for(var i=0; i<wsd_form_fields.length; i++){
40
+ addInputElement(inputHolder, wsd_form_fields[i].name, wsd_form_fields[i].type, wsd_form_fields[i].label, wsd_form_fields[i].descr);
41
+ }
42
+ Recaptcha.create(recaptchaPublic, "wsd_new_user_form_captcha_div", {theme: "red"});
43
+ formReady = true;
44
+ if(img=document.getElementById("img_loading_animation"))img.style.display="none";
45
+ if(div=document.getElementById("wsd_new_user_form_div"))div.style.visibility="visible";
46
+ }
47
+
48
+ setTimeout(ifLoaded, 250);
js/verify_form.js ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var wsd_commonPasswords=['abc123','password','computer','123456','tigger','a1b2c3','qwerty','password1','carmen','mickey','secret','summer','internet','service','canada','ranger','shadow','baseball','donald','harley','hockey','letmein','maggie','mustang','snoopy','buster','dragon','jordan','michael','michelle','patrick','123abc','andrew','calvin','changeme','diamond','fuckme','fuckyou','matthew','miller','trustno1','12345678','123456789','avalon','brandy','chelsea','coffee','falcon','freedom','gandalf','helpme','merlin','molson','newyork','soccer','thomas','wizard','Monday','asdfgh','bandit','batman','butthead','dorothy','eeyore','fishing','football','george','iloveyou','jennifer','jonathan','marina','master','monday','monkey','natasha','ncc1701','newpass','pamela','pepper','piglet','poohbear','pookie','rabbit','rachel','rocket','sparky','spring','steven','success','sunshine','thx1138','victoria','whatever','zapata','8675309','Internet','amanda','august','barney','biteme','boomer','cowboy','doctor','fisher','foobar','island','joshua','marley','orange','please','rascal','richard','scooter','shalom','silver','skippy','stanley','taylor','welcome','zephyr','111111','aaaaaa','access','albert','alexander','andrea','anthony','asdfjkl;','ashley','basketball','beavis','booboo','bradley','brandon','caitlin','camaro','charlie','chicken','cricket','dakota','dallas','daniel','debbie','dolphin','elephant','friend','fucker','ginger','goodluck','hammer','heather','iceman','jessica','joseph','jupiter','justin','knight','lacrosse','lakers','lizard','madison','mother','muffin','murphy','ncc1701d','newuser','nirvana','pentium','phoenix','picture','rainbow','saturn','shannon','shithead','skeeter','sophie','special','stephanie','stephen','sweetie','teacher','tennis','test123','topgun','tristan','william','wilson','1q2w3e','654321','666666','a12345','a1b2c3d4','angela','archie','blazer','bond007','booger','charles','christin','claire','control','david1','dennis','digital','disney','edward','flipper','franklin','horses','hunter','indigo','jasper','jeremy','julian','kelsey','killer','kingfish','lauren','maryjane','matrix','maverick','mayday','mercury','mitchell','morgan','mountain','niners','nothing','oliver','peanut','pearljam','phantom','popcorn','princess','psycho','pumpkin','purple','rebecca','reddog','robert','salmon','samson','sharon','sierra','smokey','startrek','steelers','stimpy','sunflower','superman','support','sydney','techno','telecom','walter','willie','willow','winner','zxcvbnm','absolut','alaska','alexis','animal','apples','babylon5','backup','barbara','benjamin','bird33','bluebird','bonnie','camera','chocolate','claudia','cocacola','compton','connect','cookie','cruise','deliver','douglas','dreamer','dreams','duckie','eagles','einstein','explorer','family','ferrari','flamingo','flower','foxtrot','francis','freddy','friday','froggy','galileo','giants','global','gopher','hansolo','happy1','hendrix','herman','houston','iguana','indiana','insane','inside','ironman','jasmin','jeanne','justice','katherine','kermit','leslie','martin','minnie','nascar','nelson','netware','pantera','parker','passwd','penguin','porsche911','prince','punkin','pyramid','raymond','rosebud','route66','running','security','sergei','sheena','sheila','skiing','snapple','snowball','sparrow','spencer','stealth','student','sylvia','tamara','taurus','teresa','theresa','thunderbird','tigers','toyota','training','travel','tuesday','victory','viper1','wesley','whisky','winnie','winter','wolves','xyz123','123123','1234567','696969','888888','Anthony','Bond007','Friday','Hendrix','Joshua','Matthew','October','Taurus','Tigger','abcdef','adidas','adrian','alexandr','alfred','arthur','athena','austin','awesome','badger','bamboo','beagle','beatles','beautiful','beaver','bigmac','blonde','boogie','boston','brenda','bright','bubba1','bubbles','button','buttons','cactus','captain','carlos','caroline','carrie','casper','catalog','catch22','challenge','chance','charity','charlotte','cheese','cheryl','chris1','clancy','clipper','coltrane','compaq','conrad','cooper','cooter','copper','cosmos','cougar','cracker','crawford','crystal','curtis','cyclone','cyrano','deutsch','diablo','dilbert','dollars','dookie','dumbass','dundee','e-mail','elizabeth','europe','export','farmer','firebird','fletcher','fluffy','fountain','france','freak1','friends','fuckoff','gabriel','gabriell','galaxy','gambit','garden','garfield','garlic','garnet','genesis','genius','godzilla','goforit','golfer','goober','grateful','greenday','groovy','grover','guitar','hacker','hector','herbert','horizon','hornet','howard','icecream','imagine','impala','informix','janice','jasmine','jason1','jeanette','jeffrey','jenifer','jesus1','jewels','julie1','junior','justin1','kathleen','kelly1','kennedy','kevin1','knicks','larry1','ledzep','leonard','lestat','library','lincoln','lionking','london','louise','lucky1','maddog','mailman','majordomo','mantra','margaret','mariposa','market','marlboro','martin1','master1','mazda1','mensuck','mercedes','metallic','midori','millie','mirage','money1','monica','monopoly','mookie','moroni','nathan','ncc1701e','nesbitt','nguyen','nicholas','nicole','nimrod','october','olivia','online','oxford','pacific','painter','peaches','penelope','petunia','philip','phoenix1','pickle','player','poiuyt','porsche','porter','python','quality','raquel','remember','republic','research','robbie','robert1','runner','russell','sailing','sailor','samantha','savage','scarlett','school','shadow1','shelby','simple','skipper','smiley','snickers','sniper','snoopdog','snowman','spitfire','sprite','spunky','starwars','station','stella','stingray','stormy','stupid','sumuinen','sunny1','sunrise','surfer','teddy1','testing','theboss','theking','thumper','tintin','tomcat','trebor','trevor','tweety','unicorn','valentine','valerie','vanilla','veronica','victor','vincent','warrior','warriors','weasel','wheels','wilbur','winston','wisdom','wombat','xanadu','xavier','yellow','zaphod','zeppelin','!@#$%^','!@#$%^&*','10sne1','1p2o3i','3bears','Andrew','Broadway','Champs','Family','Fisher','Friends','Jeanne','Killer','Knight','Master','Michael','Michelle','Pentium','Pepper','Raistlin','Sierra','Snoopy','Tennis','Tuesday','abacab','abcd1234','abcdefg','abigail','account','acropolis','alice1','allison','alpine','anders','andre1','andrea1','angel1','annette','antares','apache','apollo','aragorn','arizona','arnold','arsenal','asdfasdf','asdfghjk','avenger','avenir','babydoll','bailey','banana','basket','batman1','beaner','beatrice','bertha','bigben','bigdog','biggles','bigman','biology','bishop','blondie','blowfish','bluefish','bobcat','braves','brazil','bridges','brutus','buffalo','bulldog','bullet','bullshit','business','butler','butter','california','cannondale','carebear','carol1','carole','cassie','castle','catalina','catherine','catnip','cccccc','celine','center','champion','chanel','chelsea1','chester1','chicago','christian','christy','church','cinder','colleen','colorado','columbia','commander','connie','content','cookies','cooking','cordelia','corona','cowboys','coyote','crack1','creative','cuddles','cuervo','daisie','daniel1','danielle','database','davids','deadhead','denali','depeche','design','destiny','dickens','dickhead','digger','dodger','dougie','dragonfly','eclipse','electric','emerald','emmitt','entropy','etoile','excalibur','express','farout','farside','feedback','fender','fireman','firenze','fletch','florida','flowers','foster','fozzie','francesco','francine','francois','french','fuckface','gargoyle','gasman','gemini','general','gerald','germany','gilbert','goaway','golden','goldfish','gordon','graham','graphic','gregory','gretchen','gunner','hal9000','hannah','harold','harrison','harvey','hawkeye','heaven','helena','herzog','hithere','hobbit','ibanez','idontknow','integra','intern','intrepid','ireland','isabel','jackie','jackson','jaguar','jamaica','jenny1','jessie','jethrotull','jkl123','johanna1','johnny','joker1','jordan23','judith','jumanji','kangaroo','karen1','keepout','keith1','kenneth','kidder','kimberly','kingdom','kitkat','kramer','kristen','lambda','laurie','lawrence','lawyer','legend','liberty','lindsay','lindsey','liverpool','logical','lonely','lorrie','lovely','loveme','madonna','malcolm','malibu','marathon','marcel','maria1','mariah','mariah1','marilyn','mariner','marvin','maurice','maxine','maxwell','meggie','melanie','melissa','melody','merlot','mexico','michael1','michele','midnight','midway','miracle','mishka','mmouse','molly1','monique','montreal','moocow','morris','mortimer','mouse1','mulder','nautica','nellie','nermal','newton','nicarao','nirvana1','nissan','norman','notebook','olivier','oranges','oregon','overkill','pacers','packer','pandora','panther','passion','patricia','peewee','pencil','people','person','peter1','picard','picasso','pierre','pinkfloyd','polaris','police','pookie1','predator','preston','primus','prometheus','public','q1w2e3','queenie','quentin','random','rangers','raptor','rastafarian','reality','redrum','remote','reptile','reynolds','rhonda','ricardo','ricardo1','roadrunner','robinhood','robotech','rocknroll','rocky1','ronald','ruthie','sabrina','sakura','salasana','sampson','samuel','sandra','sapphire','scarecrow','scarlet','scorpio','scott1','scottie','scruffy','scuba1','seattle','serena','sergey','shanti','shogun','singer','skibum','skywalker','slacker','smashing','smiles','snowflake','snowski','snuffy','soccer1','soleil','spanky','speedy','spider','spooky','stacey','star69','starter','steven1','sting1','stinky','strawberry','stuart','sunbird','sundance','superfly','suzanne','suzuki','swimmer','swimming','system','tarzan','teddybear','teflon','temporal','terminal','theatre','thejudge','thunder','thursday','tinker','tootsie','tornado','tricia','trident','trojan','truman','trumpet','tucker','turtle','utopia','valhalla','voyager','warcraft','warlock','warren','williams','windsurf','winona','woofwoof','wrangler','wright','xcountry','xfiles','xxxxxx','yankees','yvonne','zenith','zigzag','zombie','zxc123','000000','007007','11111111','123321','171717','181818','1a2b3c','1chris','1kitty','1qw23e','4runner','57chevy','7777777','789456','7dwarfs','88888888','Abcdefg','Alexis','Animals','Bailey','Bastard','Beavis','Bismillah','Booboo','Boston','Canucks','Cardinal','Celtics','ChangeMe','Charlie','Computer','Cougar','Creative','Curtis','Daniel','Darkman','Denise','Dragon','Eagles','Elizabeth','Esther','Figaro','Fishing','Fortune','Freddy','Front242','Gandalf','Geronimo','Gingers','Golden','Goober','Gretel','HARLEY','Hacker','Hammer','Harley','Heather','Hershey','Jackson','Jennifer','Jersey','Jessica','Joanna','Johnson','Jordan','KILLER','Kitten','Liberty','Lindsay','Lizard','Madeline','Margaret','Maxwell','Mellon','Merlot','Metallic','Michel1','Monster','Montreal','Newton','Nicholas','Noriko','Paladin','Pamela','Password','Peaches','Peanuts','Phoenix','Piglet','Pookie','Princess','Purple','Rabbit','Raiders','Random','Rebecca','Robert','Russell','Saturn','Service','Shadow','Sidekick','Skeeter','Smokey','Sparky','Speedy','Sterling','Steven','Summer','Sunshine','Superman','Sverige','Swoosh','Taylor','Theresa','Thomas','Thunder','Vernon','Victoria','Vincent','Waterloo','Webster','Willow','Winnie','Wolverine','Woodrow','aardvark','abbott','abcd123','accord','active','admin1','adrock','aerobics','africa','airborne','airwolf','aki123','alfaro','alicia','aliens','alison','allegro','allstate','alpha1','altamira','althea','altima','altima1','amanda1','amazing','america','anderson','andrew!','andrew1','andromed','angels','angie1','anneli','anything','apple1','apple2','applepie','aptiva','aquarius','ariane','arlene','artemis','asdf1234','asdf;lkj','asdfjkl','ashley1','ashraf','ashton','assmunch','asterix','attila','autumn','avatar','ayelet','aylmer','baraka','barbie','barney1','barnyard','barrett','bartman','beaches','beanie','beasty','beauty','beavis1','belgium','belize','belmont','benson','beowulf','bernardo','betacam','bharat','bichon','bigboss','bigred','billy1','bimmer','bioboy','biochem','birdie','birthday','biscuit','bitter','blackjack','blanche','blinds','blowjob','blowme','blueeyes','bluejean','bogart','bombay','boobie','bootsie','boulder','bourbon','boxers','branch','brandi','brewster','bridge','britain','broker','bronco','bronte','brooke','brother','bubble','buddha','budgie','buffett','burton','butterfly','c00per','calendar','calgary','calvin1','camille','campbell','camping','cancer','canela','cannon','carbon','carnage','carolyn','carrot','cascade','catfish','catwoman','cecile','celica','cement','cessna','chainsaw','chameleon','change','chantal','charger','cherry','chiara','chiefs','chinacat','chinook','chouette','chris123','christ1','christmas','christopher','chronos','cicero','cindy1','cinema','circuit','cirque','cirrus','clapton','clarkson','claude','claudel','clueless','cobain','colette','college','colors','colt45','concept','concorde','confused','coolbean','cornflake','corvette','corwin','country','courier','crescent','crowley','crusader','cthulhu','cunningham','cupcake','current','cutlass','cynthia','daedalus','dagger','dagger1','dammit','damogran','dancer','daphne','darkstar','darren','darryl','darwin','datatrain','daytek','deborah','december','decker','deedee','deeznuts','delano','delete','denise','desert','deskjet','detroit','devine','dexter','dharma','dianne','diesel','dillweed','dipper','director','dodgers','dogbert','doitnow','dollar','dominique','domino','dontknow','doogie','doudou','downtown','dragon1','driver','dudley','dutchess','dwight','eagle1','easter','eastern','edmund','element','elina1','elissa','elliot','empire','engage','enigma','enterprise','ernie1','escort','escort1','estelle','eugene','evelyn','explore','faculty','fairview','family1','fatboy','felipe','fenris','ferguson','ferret','ferris','finance','fireball','fishes','fishhead','fishie','flanders','fleurs','flight','florida1','flowerpot','flyboy','forward','franka','freddie','frederic','freebird','freeman','frisco','froggie','froggies','front242','frontier','fugazi','funguy','funtime','future','gaelic','gambler','gammaphi','garcia','garfunkel','gaston','gateway','gateway2','gator1','george1','georgia','german','germany1','getout','ggeorge','gibbons','gibson','gilgamesh','giselle','glider1','gmoney','goblin','goblue','godiva','goethe','gofish','gollum','gramps','grandma','gravis','gremlin','gretzky','grizzly','grumpy','guitar1','gustavo','h2opolo','haggis','hailey','halloween','hallowell','hamilton','hamlet','hanson','happy123','happyday','hardcore','harley1','harriet','harris','harvard','hawkeye1','health','health1','heather1','heather2','hedgehog','heikki','helene','hello1','hello123','hello8','hellohello','help123','helper','hermes','heythere','highland','hillary','histoire','history','hitler','hobbes','holiday','homerj','honda1','hongkong','hoosier','hootie','hosehead','hotrod','hudson','hummer','huskies','hydrogen','ib6ub9','if6was9','iforget','ilmari','iloveu','impact','indonesia','ingvar','insight','instruct','integral','iomega','irmeli','isabelle','israel','italia','j1l2t3','jackie1','james1','jamesbond','jamjam','jeepster','jeffrey1','jennie','jensen','jesse1','jester','jethro','jetta1','jimbob','joanie','joanna','joelle','john316','jordie','journey','jubilee','juhani','julia2','julien','juliet','junebug','juniper','justdoit','justice4','kalamazo','karine','katerina','katie1','keeper','keller','kendall','kerala','kerrya','ketchup','kissa2','kissme','kitten','kittycat','kkkkkk','kleenex','kombat','kristi','kristine','labtec','laddie','ladybug','laserjet','lassie1','laurel','lawson','leader','leblanc','leland','lester','letter','letters','lexus1','lights','lionel','lissabon','little','logger','loislane','lolita','lonestar','longer','longhorn','looney','lovers','loveyou','lucifer','lucky14','macross','macse30','maddie','madmax','madoka','magic1','magnum','maiden','makeitso','mallard','manageme','manson','manuel','marcus','marielle','marine','marino','marshall','martha','matti1','mattingly','maxmax','meatloaf','mechanic','medical','meister','melina','memphis','mercer','mermaid','merrill','michal','michel','michigan','michou','mickel','mickey1','microsoft','midvale','mikael','milano','millenium','million','miranda','miriam','mission','mmmmmm','mobile','mobydick','monkey1','monroe','montana','montana3','montrose','moomoo','moonbeam','morecats','morpheus','motorola','movies','mowgli','mozart','mulder1','munchkin','murray','muscle','mustang1','nadine','napoleon','nation','national','nesbit','nestle','neutrino','newaccount','newlife','newyork1','nexus6','nichole','nicklaus','nightshadow','nightwind','nikita','nintendo','nomore','nopass','normal','norton','notta1','nouveau','novell','nugget','number9','numbers','nutmeg','oaxaca','obiwan','obsession','ohshit','oicu812','openup','orchid','orlando','orville','paagal','packard','packers','packrat','paloma','pancake','paradigm','parola','parrot','partner','pascal','patches','patriots','pauline','payton','peanuts','pedro1','perfect','performa','peterk','peterpan','phialpha','philips','phillips','phishy','piano1','pianoman','pianos','pierce','pigeon','pioneer','pipeline','piper1','pirate','pisces','playboy','poetic','poetry','pontiac','pookey','popeye','prayer','precious','prelude','premier','printing','provider','puddin','pulsar','pussy1','qqq111','quebec','qwerty12','qwertyui','rabbit1','racerx','rachelle','racoon','rafiki','raleigh','randy1','rasta1','ravens','redcloud','redfish','redman','redskins','redwing','redwood','reggae','reggie','reliant','renegade','rescue','revolution','reznor','rhjrjlbk','richard1','richards','richmond','ripper','ripple','roberts','robocop','robotics','rocket1','rockie','rockon','roger1','rogers','roland','rommel','rookie','rootbeer','rossigno','rugger','ruthless','sabbath','sabina','safety','safety1','saigon','samIam','samiam','sammie','samsam','sanjose','saphire','sarah1','saskia','satori','saturday','saturn5','schnapps','science','scooby','scoobydoo','scooter1','scorpion','scotch','scotty','scouts','search','secret3','seeker','september','server','services','seven7','shaggy','shanghai','shanny','shaolin','shasta','shayne','shazam','shelly','shelter','sherry','shirley','shorty','shotgun','sidney','sigmachi','signal','signature','simba1','simsim','sinatra','sirius','skipper1','skydive','skyler','slayer','sleepy','slider','smegma','smile1','smiths','smitty','smurfy','snakes','snapper','sober1','solomon','sonics','sophia','sparks','spartan','sphynx','spike1','sponge','sprocket','squash','starbuck','stargate','starlight','steph1','stephi','steve1','stevens','stewart','stivers','stocks','storage','stranger','strato','stretch','strong','student2','studio','stumpy','sucker','suckme','sultan','summit','sunfire','sunset','superstar','surfing','susan1','susanna','sutton','swanson','sweden','sweetpea','sweety','switzer','swordfish','system5','t-bone','tabatha','tacobell','taiwan','tamtam','tanner','tapani','targas','target','tarheel','tattoo','tazdevil','tequila','terry1','tester','testtest','thankyou','theend','thelorax','thisisit','thompson','thorne','thrasher','tiger2','tightend','timber','timothy','tinkerbell','topcat','topher','toshiba','tototo','toucan','transfer','transit','transport','trapper','travis','treasure','tricky','triton','trombone','trophy','trouble','trucker','tucson','turbo2','tyler1','ultimate','unique','united','upsilon','ursula','vacation','valley','vampire','vanessa','vedder','venice','vermont','victor1','vikram','vincent1','violet','violin','virago','virgil','virginia','vision','visual','volcano','volley','voodoo','vortex','waiting','walden','walleye','wanker','warner','water1','wayne1','webmaster','webster','weezer','wendy1','western','whale1','whitney','whocares','whoville','wibble','wildcat','william1','window','winniethepooh','wolfgang','wolverine','wombat1','wonder','x-files','xxx123','xxxxxxxx','yamaha','yankee','yogibear','yolanda','yomama','yvette','zachary','zebras','zepplin','zoltan','zoomer','zxcvbn','!@#$%^&','00000000','121212','1234qwer','131313','21122112','99999999','@#$%^&','ABC123','Abcdef','Asdfgh','Changeme','FuckYou','Fuckyou','JSBach','Michel','NCC1701','Qwerty','Windows','Zxcvbnm','action','amelie','anaconda','apollo13','artist','asshole','benoit','bernard','bernie','bigbird','blizzard','bluesky','bonjour','booster','byteme','caesar','cardinal','carolina','chandler','changeit','chapman','charlie1','chiquita','chocolat','christia','christoph','classroom','cloclo','corrado','cougars','courtney','dolphins','dominic','donkey','eminem','energy','fearless','fiction','forest','forever','french1','gilles','gocougs','good-luck','graymail','guinness','hilbert','homebrew','hotdog','indian','johnson','kristin','lorraine','m1911a1','macintosh','mailer','maxime','memory','mirror','ne1410s','ne1469','ne14a69','nebraska','nemesis','network','newcourt','notused','oatmeal','patton','planet','players','politics','portland','praise','property','protel','psalms','qwaszx','raiders','rambo1','rancid','scrooge','shelley','skidoo','softball','speedo','sports','ssssss','steele','stephani','sunday','sylvie','symbol','tiffany','toronto','trixie','undead','valentin','velvet','viking','walker','watson','zhongguo','babygirl','1234567890','pretty','hottie','987654321','naruto','spongebob','daniela','princesa','christ','blessed','single','qazwsx','pokemon','iloveyou1','iloveyou2','fuckyou1','hahaha','blessing','blahblah','blink182','123qwe','trinity','passw0rd','google','looking','spirit','iloveyou!','qwerty1','rotimi','onelove','mylove','222222','ilovegod','football1','loving','emmanuel','1q2w3e4r','red123','blabla','112233'];
2
+
3
+ function showPasswordStrength(score)
4
+ {
5
+ var strengthDiv = document.getElementById("wsd_password_strength");
6
+ if(!strengthDiv)return false;
7
+ if(score == undefined)
8
+ {
9
+ strengthDiv.style.visibility = "hidden";
10
+ return true;
11
+ }
12
+ else {
13
+ strengthDiv.style.visibility = "visible";
14
+ if(score == -1)
15
+ {
16
+ strengthDiv.innerHTML = "too short";
17
+ strengthDiv.style.backgroundColor = "#ee0000"
18
+ }
19
+ else if(score == 0)
20
+ {
21
+ strengthDiv.innerHTML = "too obvious";
22
+ strengthDiv.style.backgroundColor = "#ee0000";
23
+ }
24
+ else if(score < 34)
25
+ {
26
+ strengthDiv.innerHTML = "not strong enough";
27
+ strengthDiv.style.backgroundColor = "#eeaaaa";
28
+ }
29
+ else if(score < 68)
30
+ {
31
+ strengthDiv.innerHTML = "good";
32
+ strengthDiv.style.backgroundColor = "#ffff00";
33
+ }
34
+ else
35
+ {
36
+ strengthDiv.innerHTML = "strong";
37
+ strengthDiv.style.backgroundColor = "#00ff00";
38
+ }
39
+ }
40
+ }
41
+
42
+ function evaluatePassStrength(pass)
43
+ {
44
+ if(typeof pass != 'string'){
45
+ showPasswordStrength();
46
+ return -1;
47
+ }
48
+ var len = pass.length;
49
+ if(len == 0){
50
+ showPasswordStrength();
51
+ return -1;
52
+ }
53
+ if(len < 6) {
54
+ showPasswordStrength(-1);
55
+ return -1;
56
+ }
57
+ for(var i=0;i<wsd_commonPasswords.length;i++) {
58
+ if(wsd_commonPasswords[i] == pass) {
59
+ showPasswordStrength(0);
60
+ return 0;
61
+ }
62
+ }
63
+
64
+ var score=len*4;
65
+ var a=0;
66
+ var C=0;
67
+ var n=0;
68
+ var s=0;
69
+ var l='';
70
+ for(var i=0;i<len;i++){
71
+ if(l==pass.charAt(i)) score -= 1; else l=pass.charAt(i);
72
+ if((pass.charAt(i)>='a')&&(pass.charAt(i)<='z')){a++;continue;}
73
+ if((pass.charAt(i)>='A')&&(pass.charAt(i)<='Z')){C++;continue;}
74
+ if((pass.charAt(i)>='0')&&(pass.charAt(i)<='9')){n++;continue;}
75
+ s++;
76
+ }
77
+ if(len == a) score -= 10;
78
+ if(len == n) score -= 10;
79
+ if(len == C) score -= 10;
80
+ if(n > 0) score += 5;
81
+ if(C > 0) score += 5;
82
+ if(s > 0) score += 5;
83
+ if((n>0)&&(a>0)) score += 15;
84
+ if((C>0)&&(a>0)) score += 15;
85
+ if((s>0)&&(a>0)) score += 15;
86
+ if(score > 100) score = 100;
87
+
88
+ showPasswordStrength(score);
89
+ return score;
90
+ }
91
+
92
+ function onPasswordChange(){
93
+ var passInput = document.getElementById("wsd_account_pass");
94
+ if(passInput){
95
+ evaluatePassStrength(passInput.value);
96
+ passwordMatch();
97
+ }
98
+ }
99
+
100
+ function passwordMatch(){
101
+ var passInput1 = document.getElementById("wsd_account_pass");
102
+ var passInput2 = document.getElementById("wsd_account_pass_re");
103
+ if(passInput1 && passInput2){
104
+ var match = (passInput1.value==passInput2.value);
105
+ var matchhDiv = document.getElementById("wsd_password_match");
106
+ if(match)matchhDiv.style.visibility = "hidden";
107
+ else {
108
+ matchhDiv.style.visibility = "visible";
109
+ matchhDiv.innerHTML = "passwords don't match";
110
+ matchhDiv.style.backgroundColor = "#eeaaaa";
111
+ }
112
+ return match;
113
+ }
114
+ else
115
+ return true;
116
+ }
117
+
118
+ function submitForm(){
119
+ var agree = document.getElementById("wsd_account_agree");
120
+ var passInput1 = document.getElementById("wsd_account_pass");
121
+ var passInput2 = document.getElementById("wsd_account_pass_re");
122
+
123
+ if(!agree || !passInput1 || !passInput2)return;
124
+
125
+ var errors = '';
126
+ if(passInput1.value == "")errors += " - Password cannot be blank\n";
127
+ else if(evaluatePassStrength(passInput1.value) <= 34)errors += " - Choose a better password\n";
128
+ if(!passwordMatch())errors += " - Passwords don't match\n";
129
+ if(agree.checked != 1)errors += " - You have to agree with the terms of service\n";
130
+ if(errors!=''){
131
+ alert("Please correct the following errors and try again:\n" + errors)
132
+ }
133
+ else {
134
+ if(form=document.getElementById("wsd_new_user_form"))form.submit();
135
+ Recaptcha.reload();
136
+ }
137
+ }
languages/secure_wp-be_BY.mo CHANGED
File without changes
languages/secure_wp-be_BY.po CHANGED
File without changes
languages/secure_wp-da_DK.mo CHANGED
File without changes
languages/secure_wp-da_DK.po CHANGED
File without changes
languages/secure_wp-de_DE.mo CHANGED
File without changes
languages/secure_wp-de_DE.po CHANGED
File without changes
languages/secure_wp-es_ES.mo CHANGED
File without changes
languages/secure_wp-es_ES.po CHANGED
File without changes
languages/secure_wp-fa_IR.mo CHANGED
File without changes
languages/secure_wp-fa_IR.po CHANGED
File without changes
languages/secure_wp-hu_HU.mo CHANGED
File without changes
languages/secure_wp-hu_HU.po CHANGED
File without changes
languages/secure_wp-it_IT.mo CHANGED
File without changes
languages/secure_wp-it_IT.po CHANGED
File without changes
languages/secure_wp-ja.mo CHANGED
File without changes
languages/secure_wp-ja.po CHANGED
File without changes
languages/secure_wp-nl_NL.mo CHANGED
File without changes
languages/secure_wp-nl_NL.po CHANGED
File without changes
languages/secure_wp-pl_PL.mo CHANGED
File without changes
languages/secure_wp-pl_PL.po CHANGED
File without changes
languages/secure_wp-ru_RU.mo CHANGED
File without changes
languages/secure_wp-ru_RU.po CHANGED
File without changes
languages/secure_wp-uk.mo CHANGED
File without changes
languages/secure_wp-uk.po CHANGED
File without changes
languages/secure_wp-zh_CN.mo CHANGED
File without changes
languages/secure_wp-zh_CN.po CHANGED
File without changes
languages/secure_wp.pot CHANGED
File without changes
license.txt CHANGED
File without changes
readme.txt CHANGED
@@ -1,47 +1,45 @@
1
  === Secure WordPress ===
2
- Contributors: jremillard
 
3
  Tags: secure, notice, hack, hacked, protection, version, security
4
  Requires at least: 2.6
5
- Tested up to: 3.1-alpha
6
- Stable tag: 1.0.6
7
 
8
- Secure your WordPress Installation with small functions.
9
 
10
  == Description ==
11
- Little help to secure your WordPress installation: Remove Error information on login page; adds index.html to plugin directory; removes the wp-version, except in admin area.
12
-
13
- 1. removes error-information on login-page
14
- 1. adds index.php plugin-directory (virtual)
15
- 1. removes the wp-version, except in admin-area
16
- 1. removes Really Simple Discovery
17
- 1. removes Windows Live Writer
18
- 1. remove core update information for non-admins
19
- 1. remove plugin-update information for non-admins
20
- 1. remove theme-update informationfor non-admins (only WP 2.8 and higher)
21
- 1. hide wp-version in backend-dashboard for non-admins
22
- 1. remove version on urls from scripts and stylesheets onyl on frontend
23
- 1. Block bad queries
24
 
25
  = Requirements =
26
- * WordPress version 2.6 and higher (tested at 3.1-beta)
27
  * PHP5 (tested with PHP Interpreter >= 5.2.9)
28
 
29
  = Localizations =
30
- Idea, first version and german translation by [Frank B&uuml;ltge](http://bueltge.de "bueltge.de"), italien translation by [Gianni Diurno](http://gidibao.net/ "gidibao.net"), polish translation by Michal Maciejewski, belorussian file by [Fat Cow](http://www.fatcow.com/ "www.fatcow.com"), ukrainian translation by [AzzePis](http://wordpress.co.ua/plugins/ "wordpress.co.ua/plugins/"), russian language by [Dmitriy Donchenko](http://blogproblog.com/ "blogproblog.com"), hungarian language files by [K&ouml;rmendi P&eacute;ter](http://www.seo-hungary.com/ "www.seo-hungary.com"), danish language files by [GeorgWP](http://wordpress.blogos.dk/s%C3%B8g-efter-downloads/?did=175 "S&oslash;g efter downloads")m spanish language files by [Pablo Jim&eacute;nez](http://www.ministeriosccc.org "www.ministeriosccc.org"), chinese language (zh_CN) by [tanghaiwei](http://dd54.net), french translation files by [Jez007](http://forum.gmstemple.com/ "forum.gmstemple.com"), japanese translation by [Fumito Mizuno](http://ounziw.com/ "Standing on the Shoulder of Linus"), dutch translation by [Rene](http://wpwebshop.com "wpwebshop.com"), persian language files by [ALiRezaCH](http://alirezach.co.cc), romanian translation by [ Selco Resita]( http://www.selco-computers.ro " selco-computers.ro") and arabic language files by [مدونة](http://www.r-sn.com/wp). Thanks a lot.
31
-
32
 
33
  == Installation ==
 
34
  1. Unpack the download-package
35
- 1. Upload the file to the `/wp-content/plugins/` directory
36
- 1. Activate the plugin through the 'Plugins' menu in WordPress
37
- 1. Configure the options
38
- 1. Ready
39
-
40
- See on [the official website](http://www.sitesecuritymonitor.com/secure-wordpress-plugin "Secure WordPress").
41
 
 
42
 
43
  == Screenshots ==
44
- 1. options-area (WordPress 3.1-alpha)
45
 
46
 
47
  == Other Notes ==
@@ -53,6 +51,13 @@ The plugin comes with various translations, please refer to the [WordPress Codex
53
 
54
 
55
  == Changelog ==
 
 
 
 
 
 
 
56
  = v1.0.6 (11/15/2010) =
57
  * Bugfix: change from `public` to `var` for variables to use the plugin on PHP5.2 and smaller
58
 
1
  === Secure WordPress ===
2
+ Contributors: WebsiteDefender
3
+ Author: WebsiteDefender
4
  Tags: secure, notice, hack, hacked, protection, version, security
5
  Requires at least: 2.6
6
+ Tested up to: 3.1
7
+ Stable tag: 2.0.0
8
 
9
+ WordPress Security Plugin
10
 
11
  == Description ==
12
+ Secure WordPress beefs up the security of your WordPress installation by removing error information on login pages, adds index.html to plugin directories, hides the WordPress version and much more.
13
+
14
+ 1. Removes error-information on login-page
15
+ 1. Adds index.php plugin-directory (virtual)
16
+ 1. Removes the wp-version, except in admin-area
17
+ 1. Removes Really Simple Discovery
18
+ 1. Removes Windows Live Writer
19
+ 1. Removes core update information for non-admins
20
+ 1. Removes plugin-update information for non-admins
21
+ 1. Removes theme-update information for non-admins (only WP 2.8 and higher)
22
+ 1. Hides wp-version in backend-dashboard for non-admins
23
+ 1. Removes version on URLs from scripts and stylesheets only on frontend
24
+ 1. Blocks any bad queries that could be harmful to your WordPress website
25
 
26
  = Requirements =
27
+ * WordPress version 2.6 and higher (tested at 3.1)
28
  * PHP5 (tested with PHP Interpreter >= 5.2.9)
29
 
30
  = Localizations =
31
+ Idea, first version and german translation by [Frank B&uuml;ltge](http://bueltge.de "bueltge.de"), Italian translation by [Gianni Diurno](http://gidibao.net/ "gidibao.net"), Polish translation by Michal Maciejewski, Belorussian file by [Fat Cow](http://www.fatcow.com/ "www.fatcow.com"), Ukrainian translation by [AzzePis](http://wordpress.co.ua/plugins/ "wordpress.co.ua/plugins/"), Russian language by [Dmitriy Donchenko](http://blogproblog.com/ "blogproblog.com"), Hungarian language files by [K&ouml;rmendi P&eacute;ter](http://www.seo-hungary.com/ "www.seo-hungary.com"), Danish language files by [GeorgWP](http://wordpress.blogos.dk/s%C3%B8g-efter-downloads/?did=175 "S&oslash;g efter downloads")m Spanish language files by [Pablo Jim&eacute;nez](http://www.ministeriosccc.org "www.ministeriosccc.org"), Chinese language (zh_CN) by [tanghaiwei](http://dd54.net), French translation files by [Jez007](http://forum.gmstemple.com/ "forum.gmstemple.com"), Japanese translation by [Fumito Mizuno](http://ounziw.com/ "Standing on the Shoulder of Linus"), Dutch translation by [Rene](http://wpwebshop.com "wpwebshop.com"), Persian language files by [ALiRezaCH](http://alirezach.co.cc), Romanian translation by [ Selco Resita]( http://www.selco-computers.ro " selco-computers.ro") and Arabic language files by [مدونة](http://www.r-sn.com/wp). WebsiteDefender would like to thank everyone that worked on making Secure WordPress a success.
 
32
 
33
  == Installation ==
34
+ 1. Make a backup of your current installation
35
  1. Unpack the download-package
36
+ 1. Upload the extracted files to the /wp-content/plugins/ directory
37
+ 1. Configure the desired options and activate the plugin from the 'Plugins' menu in WordPress
 
 
 
 
38
 
39
+ If you do encounter any bugs, or have comments or suggestions, please contact the WebsiteDefender team on support@websitedefender.com
40
 
41
  == Screenshots ==
42
+ 1. options-area (WordPress 3.1)
43
 
44
 
45
  == Other Notes ==
51
 
52
 
53
  == Changelog ==
54
+ = v2.0.0 (03/22/2011) =
55
+ * Feature: Relese new stable version
56
+ * Feature: Support for WordPress 3.1
57
+ * Feature: Change owner of the plugin to WebsiteDefender
58
+ * Feature: Rebranding of the plugin
59
+ * Feature: Integrated WebsiteDefender registration in Settings
60
+
61
  = v1.0.6 (11/15/2010) =
62
  * Bugfix: change from `public` to `var` for variables to use the plugin on PHP5.2 and smaller
63
 
screenshot-1.png CHANGED
Binary file
secure-wordpress.php CHANGED
@@ -1,20 +1,20 @@
1
  <?php
2
  /**
3
  * @package Secure WordPress
4
- * @author jremillard
5
- * @version 1.0.6
6
  */
7
 
8
  /**
9
  * Plugin Name: Secure WordPress
10
- * Plugin URI: http://www.sitesecuritymonitor.com/secure-wordpress-plugin
11
  * Text Domain: secure_wp
12
  * Domain Path: /languages
13
- * Description: Little basics for secure your WordPress-installation.
14
- * Author: jremillard
15
- * Version: 1.0.6
16
- * Author URI: http://www.sitesecuritymonitor.com/
17
- * Last Change: 15.11.2010 00:55
18
  * License: GPL
19
  */
20
 
@@ -37,10 +37,7 @@ if ( isset($_GET['resource']) && !empty($_GET['resource']) ) {
37
  # base64 encoding performed by base64img.php from http://php.holtsmark.no
38
  $resources = array(
39
  'secure_wp.gif' =>
40
- 'R0lGODlhCwALAKIEAPb29tTU1P///5SUlP///wAAAAAAAAAAAC'.
41
- 'H5BAEAAAQALAAAAAALAAsAAAMhSLrT+0MAMB6JIujKgN6Qp1HW'.
42
- 'MHKK06BXwDKulcby9T4JADs='.
43
- '',
44
  'wp.png' =>
45
  'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAFfKj/FAAAAB3RJTUUH1wYQEiwG0'.
46
  '0adjQAAAAlwSFlzAAALEgAACxIB0t1+/AAAAARnQU1BAACxjwv8YQUAAABOUExURZ'.
@@ -769,8 +766,8 @@ if ( !class_exists('SecureWP') ) {
769
  $secure_wp_win_opt = $GLOBALS['WPlize']->get_option('secure_wp_win_opt');
770
  ?>
771
  <div class="wrap">
772
- <div id="icon-sitesecuritymonitor" class="icon32" style="background: url('<?php echo $this->get_plugins_url( 'img/h2logo.png', __FILE__ ); ?>') no-repeat;"><br /></div>
773
- <h2><?php _e('Secure WordPress', FB_SWP_TEXTDOMAIN); ?></h2>
774
  <br class="clear" />
775
 
776
  <div id="poststuff" class="ui-sortable meta-box-sortables">
@@ -892,7 +889,7 @@ if ( !class_exists('SecureWP') ) {
892
  </th>
893
  <td>
894
  <input type="checkbox" name="secure_wp_amurlr" id="secure_wp_amurlr" value="1" <?php if ( $secure_wp_amurlr == '1') { echo "checked='checked'"; } ?> />
895
- <?php _e('Protect WordPress against malicious URL requests, read more information at the <a href="http://perishablepress.com/press/2009/12/22/protect-wordpress-against-malicious-url-requests/" title="read this post" >post from Jeff Starr</a>', FB_SWP_TEXTDOMAIN); ?>
896
  </td>
897
  </tr>
898
 
@@ -908,230 +905,57 @@ if ( !class_exists('SecureWP') ) {
908
  </div>
909
  </div>
910
 
911
- <!--
912
  <div id="poststuff" class="ui-sortable meta-box-sortables">
913
  <div id="secure_wp_win_opt" class="postbox <?php echo $secure_wp_win_opt ?>" >
914
  <div class="handlediv" title="<?php _e('Click to toggle'); ?>"><br/></div>
915
- <h3 id="uninstall"><?php _e('Validate your site with a free malware scan from www.sitesecuritymonitor.com', FB_SWP_TEXTDOMAIN) ?></h3>
916
  <div class="inside">
917
-
918
- <h4><?php _e('Take us for a Test Drive - Free Scan', FB_SWP_TEXTDOMAIN) ?></h4>
919
- <p><a href="http://www.sitesecuritymonitor.com/free-scan-for-secure-wordpress"><img src="<?php echo $this->get_plugins_url( 'img/logo.png', __FILE__ ); ?>" alt="Logo SiteSecurityMonitor.com" width="498" height="165" style="float:right;" /></a><?php _e('We understand you may have questions:', FB_SWP_TEXTDOMAIN) ?></p>
920
- <p><?php _e('What does this do for me?', FB_SWP_TEXTDOMAIN) ?></p>
921
- <p><?php _e('Am I really safe? I need to be sure.', FB_SWP_TEXTDOMAIN) ?></p>
922
- <p><?php _e('Rest Assured, Site Security Monitor has you covered.', FB_SWP_TEXTDOMAIN) ?></p>
923
- <ol>
924
- <li><?php _e('FREE scan looks for malware', FB_SWP_TEXTDOMAIN) ?></li>
925
- <li><?php _e('FREE report of website vulnerabilities found', FB_SWP_TEXTDOMAIN) ?></li>
926
- <li><?php _e('No setup, tuning and installation on your site - scan begins immediately', FB_SWP_TEXTDOMAIN) ?></li>
927
- </ol>
928
- <p><?php _e('We will deliver to you a detailed malware and web vulnerability report - FREE of charge. You are free to use the report to resolve issues, show your boss that you are clean, or show your clients that the site you built is safe!', FB_SWP_TEXTDOMAIN) ?></p>
929
- <p><?php _e('** Bonus: You will be able to use the Site Security Monitor "Safe-Seal" on your site after the scan - this shows the world that you are malware free!', FB_SWP_TEXTDOMAIN) ?></p>
930
-
931
- <h4><?php _e('The form', FB_SWP_TEXTDOMAIN) ?></h4>
932
- <p><?php _e('Use the follow form or use it on <a href="http://www.sitesecuritymonitor.com/free-scan-for-secure-wordpress">our website</a>.', FB_SWP_TEXTDOMAIN) ?></p>
933
- <form action="http://www.sitesecuritymonitor.com/Default.aspx?app=iframeform&hidemenu=true&ContactFormID=26978" method="post">
934
- <input type="hidden" name="FormSubmitRedirectURL" id="FormSubmitRedirectURL" value="http://www.sitesecuritymonitor.com" >
935
- <input type="hidden" name="Lead_Src" id="LeadSrc" value="Get a Free Scan" />
936
-
937
- <script type='text/javascript' language='javascript'>
938
- /* <![CDATA[ */
939
- HubSpotFormSpamCheck_LeadGen_ContactForm_26978_m0 = function() {
940
- var key = document.getElementById('LeadGen_ContactForm_26978_m0spam_check_key').value;
941
- var sig = '';
942
- for (var x = 0; x< key.length; x++ ) {
943
- sig += key.charCodeAt(x)+13;
944
- }
945
- document.getElementById('LeadGen_ContactForm_26978_m0spam_check_sig').value = sig;
946
- // Set the hidden field to contain the user token
947
- var results = document.cookie.match ( '(^|;) ?hubspotutk=([^;]*)(;|$)' );
948
- if (results && results[2]) {
949
- document.getElementById('LeadGen_ContactForm_26978_m0submitter_user_token').value = results[2];
950
- } else if (window['hsut']) {
951
- document.getElementById('LeadGen_ContactForm_26978_m0submitter_user_token').value = window['hsut'];
952
- }
953
- return true;
954
- };
955
- /*]]>*/
956
- </script>
957
-
958
- <input type="hidden" id='LeadGen_ContactForm_26978_m0submitter_user_token' name='LeadGen_ContactForm_26978_m0submitter_user_token' value='' />
959
- <input type="hidden" name='ContactFormId' value='26978' />
960
- <input type="hidden" id='LeadGen_ContactForm_26978_m0spam_check_key' name='LeadGen_ContactForm_26978_m0spam_check_key' value='jjnjrgslmerhsnofgnqqdsgnrsseldqfkpqssqkfvvweukiulhuqnmgmtvls' />
961
- <input type='hidden' id='LeadGen_ContactForm_26978_m0spam_check_sig' name='LeadGen_ContactForm_26978_m0spam_check_sig' value='' />
962
-
963
- <table class="form-table">
964
-
965
- <tr valign="top">
966
- <th scope="row">
967
- <label for="LeadGen_ContactForm_26978_m0_FullName"><?php _e('Full Name', FB_SWP_TEXTDOMAIN); ?></label>
968
- </th>
969
- <td>
970
- <input type="Text" name="LeadGen_ContactForm_26978_m0:FullName" class="StandardI AutoFormInput LeadGen_ContactForm_26978_m0_AutoForm" id="LeadGen_ContactForm_26978_m0_FullName" value="" /> <?php _e('*required', FB_SWP_TEXTDOMAIN); ?>
971
- </td>
972
- </tr>
973
- <tr valign="top">
974
- <th scope="row">
975
- <label for="LeadGen_ContactForm_26978_m0_Email"><?php _e('eMail Adress', FB_SWP_TEXTDOMAIN); ?></label>
976
- </th>
977
- <td>
978
- <input type="Text" name="LeadGen_ContactForm_26978_m0:Email" class="StandardI AutoFormInput LeadGen_ContactForm_26978_m0_AutoForm" id="LeadGen_ContactForm_26978_m0_Email" value="" /> <?php _e('*required', FB_SWP_TEXTDOMAIN); ?><?php _e(', eMail Address must match domain name', FB_SWP_TEXTDOMAIN); ?>
979
- </td>
980
- </tr>
981
- <tr valign="top">
982
- <th scope="row">
983
- <label for="LeadGen_ContactForm_26978_m0_WebSite"><?php _e('Website', FB_SWP_TEXTDOMAIN); ?></label>
984
- </th>
985
- <td>
986
- <input type="Text" name="LeadGen_ContactForm_26978_m0:WebSite" class="StandardI AutoFormInput LeadGen_ContactForm_26978_m0_AutoForm" id="LeadGen_ContactForm_26978_m0_WebSite" value="" /> <?php _e('*required', FB_SWP_TEXTDOMAIN); ?>
987
- </td>
988
- </tr>
989
- <tr valign="top">
990
- <th scope="row">
991
- <label for="LeadGen_ContactForm_26978_m0_Phone"><?php _e('Phone', FB_SWP_TEXTDOMAIN); ?></label>
992
- </th>
993
- <td>
994
- <input type="Text" name="LeadGen_ContactForm_26978_m0:Phone" class="StandardI AutoFormInput LeadGen_ContactForm_26978_m0_AutoForm" id="LeadGen_ContactForm_26978_m0_Phone" value="" /> <?php _e('*required', FB_SWP_TEXTDOMAIN); ?>
995
- </td>
996
- </tr>
997
- <tr valign="top">
998
- <th scope="row">
999
- <label for="LeadGen_ContactForm_26978_m0_Field_Checkboxes_5_cb_0"><?php _e('Yes, I need help!', FB_SWP_TEXTDOMAIN); ?></label>
1000
- </th>
1001
- <td>
1002
- <input type="checkbox" name="LeadGen_ContactForm_26978_m0:Field_Checkboxes_5" id="LeadGen_ContactForm_26978_m0_Field_Checkboxes_5_cb_0" value="Call me" > <?php _e('Call me', FB_SWP_TEXTDOMAIN); ?>
1003
- </td>
1004
- </tr>
1005
- <tr valign="top">
1006
- <th scope="row">
1007
- <label for="LeadGen_ContactForm_26978_m0_Field_Checkboxes_7_cb_0"><?php _e('Terms and Conditions', FB_SWP_TEXTDOMAIN); ?></label>
1008
- </th>
1009
- <td>
1010
- <input type="checkbox" name="LeadGen_ContactForm_26978_m0:Field_Checkboxes_7" id="LeadGen_ContactForm_26978_m0_Field_Checkboxes_7_cb_0" value="I accept" > <?php _e('*required', FB_SWP_TEXTDOMAIN); ?><?php _e(', I accept', FB_SWP_TEXTDOMAIN); ?>
1011
- </td>
1012
- </tr>
1013
-
1014
- </table>
1015
-
1016
- <p class="submit">
1017
- <input onclick='return HubSpotFormSpamCheck_LeadGen_ContactForm_26978_m0();' class='button' type='submit' name='LeadGen_ContactForm_Submit_LeadGen_ContactForm_26978_m0' value="<?php _e('Get my Free Web Scan', FB_SWP_TEXTDOMAIN); ?> &raquo;">
1018
- </p>
1019
- </form>
1020
-
1021
- </div>
1022
- </div>
1023
- </div>
1024
- -->
1025
- <div id="poststuff" class="ui-sortable meta-box-sortables">
1026
- <div id="secure_wp_win_opt" class="postbox <?php echo $secure_wp_win_opt ?>" >
1027
- <div class="handlediv" title="<?php _e('Click to toggle'); ?>"><br/></div>
1028
- <h3 id="uninstall"><?php _e('Safe Seal', FB_SWP_TEXTDOMAIN) ?></h3>
1029
- <div class="inside">
1030
-
1031
- <p><?php _e('Thankyou for using our plugin! You are free to use the scan below (outputs HTML for easy copy-pasting) into your blog. This seal does not give you scanning services - it simple does the basics of wordpress security - as recommended by the community and our own experiences with our customers.<br/>Should you wish to get regular vulnerability and malware scanning services, please <a href="http://www.sitesecuritymonitor.com/wordpress-secure-plugin/">see our main page here...</a>', FB_SWP_TEXTDOMAIN ); ?></p>
1032
-
1033
- <script type="text/javascript">
1034
- function updateSealPreview()
1035
- {
1036
- var seal_color = document.forms['seal_form'].seal_color.options[document.forms['seal_form'].seal_color.options.selectedIndex].value;
1037
- var seal_text = document.forms['seal_form'].seal_text.options[document.forms['seal_form'].seal_text.options.selectedIndex].value;
1038
- var seal_orientation = document.forms['seal_form'].seal_orientation.options[document.forms['seal_form'].seal_orientation.options.selectedIndex].value;
1039
- var seal_border = document.forms['seal_form'].seal_border.checked?"border":"noborder";
1040
- var country = document.forms['seal_form'].country.options[document.forms['seal_form'].country.options.selectedIndex].value;
1041
- var image_name = "https://reporting.sitesecuritymonitor.com/img_wp/<?php echo $_SERVER['HTTP_HOST']; ?>/" + seal_color + "_" + seal_text + "_" + seal_orientation + "_notext_" + seal_border + ".png";
1042
- document.seal_preview.src = image_name;
1043
- var gen_code = "<!-- Start sitesecuritymonitor.com code -->\n";
1044
- gen_code += "<a target='_blank' href='https://reporting.sitesecuritymonitor.com/clients/go.x?i=l0&site=<?php echo $_SERVER['HTTP_HOST']; ?>&l=" + country + "' title='Web Site Security Scanning - www.sitesecuritymonitor.com' alt='sitesecuritymonitor.com Security Seal'>\n";
1045
- gen_code += "<img src='" + image_name + "' oncontextmenu='return false;' border='0' alt='sitesecuritymonitor.com seal' />\n";
1046
- gen_code += "</a>\n";
1047
- gen_code += "<br />\n";
1048
- gen_code += "<span style=\"font-size:8px; font-face:Arial;\">Protected by WP-Secure Plugin<BR><a href='http://www.sitesecuritymonitor.com'>SiteSecurityMonitor.com</a></span>\n";
1049
- gen_code += "<!-- End sitesecuritymonitor.com code -->\n";
1050
- document.getElementById('seal_code').value = gen_code;
1051
- }
1052
- </script>
1053
- <form name="seal_form" action="javascript:void(0);" method="post" onsubmit="return false;">
1054
-
1055
- <table class="form-table">
1056
- <tr valign="top">
1057
- <th scope="row">
1058
- <label for="seal_color"><?php _e('Color', FB_SWP_TEXTDOMAIN); ?></label>
1059
- </th>
1060
- <td>
1061
- <select id="seal_color" name="seal_color" onchange="javascript:updateSealPreview();">
1062
- <option value="green" selected="selected"><?php _e('Green', FB_SWP_TEXTDOMAIN); ?></option>
1063
- <option value="blue"><?php _e('Blue', FB_SWP_TEXTDOMAIN); ?></option>
1064
- <option value="red"><?php _e('Red', FB_SWP_TEXTDOMAIN); ?></option>
1065
- <option value="brown"><?php _e('Brown', FB_SWP_TEXTDOMAIN); ?></option>
1066
- <option value="gray"><?php _e('Gray', FB_SWP_TEXTDOMAIN); ?></option>
1067
- </select>
1068
- </td>
1069
- <td rowspan="5">
1070
- <img src="" name="seal_preview" oncontextmenu='return false;' style="float:right; margin:10px;" />
1071
- </td>
1072
- </tr>
1073
- <tr valign="top">
1074
- <th scope="row">
1075
- <label for="seal_text"><?php _e('Text', FB_SWP_TEXTDOMAIN); ?></label>
1076
- </th>
1077
- <td>
1078
- <select id="seal_text" name="seal_text" onchange="javascript:updateSealPreview();">
1079
- <option value="pr" selected="selected"><?php _e('Protected', FB_SWP_TEXTDOMAIN); ?></option>
1080
- <option value="se"><?php _e('Secured', FB_SWP_TEXTDOMAIN); ?></option>
1081
- <option value="sc"><?php _e('Scanned', FB_SWP_TEXTDOMAIN); ?></option>
1082
- <option value="pb"><?php _e('Protected by', FB_SWP_TEXTDOMAIN); ?></option>
1083
- </select>
1084
- </td>
1085
- </tr>
1086
- <tr valign="top">
1087
- <th scope="row">
1088
- <label for="seal_orientation"><?php _e('Orientation', FB_SWP_TEXTDOMAIN); ?></label>
1089
- </th>
1090
- <td>
1091
- <select id="seal_orientation" name="seal_orientation" onchange="javascript:updateSealPreview();">
1092
- <option value="h" selected="selected"><?php _e('Horizontal', FB_SWP_TEXTDOMAIN); ?></option>
1093
- <option value="v"><?php _e('Vertical', FB_SWP_TEXTDOMAIN); ?></option>
1094
- </select>
1095
- </td>
1096
- </tr>
1097
- <tr valign="top">
1098
- <th scope="row">
1099
- <label for="seal_border"><?php _e('Image border', FB_SWP_TEXTDOMAIN); ?></label>
1100
- </th>
1101
- <td>
1102
- <input id="seal_border" type="checkbox" name="seal_border" onchange="javascript:updateSealPreview();" />
1103
- </td>
1104
- </tr>
1105
- <tr valign="top">
1106
- <th scope="row">
1107
- <label for="country"><?php _e('Language', FB_SWP_TEXTDOMAIN); ?></label>
1108
- </th>
1109
- <td>
1110
- <select id="country" name="country" onchange="javascript:updateSealPreview();">
1111
- <option value="EN-US" selected="selected"><?php _e('English (US)', FB_SWP_TEXTDOMAIN); ?></option>
1112
- <option value="EN-GB"><?php _e('English (UK)', FB_SWP_TEXTDOMAIN); ?></option>
1113
- <option value="ES"><?php _e('Spanish', FB_SWP_TEXTDOMAIN); ?></option>
1114
- <option value="DE"><?php _e('German', FB_SWP_TEXTDOMAIN); ?></option>
1115
- <option value="IT"><?php _e('Italian', FB_SWP_TEXTDOMAIN); ?></option>
1116
- <option value="JP"><?php _e('Japanese', FB_SWP_TEXTDOMAIN); ?></option>
1117
- <option value="CN"><?php _e('Chinese (Simplified)', FB_SWP_TEXTDOMAIN); ?></option>
1118
- <option value="CNT"><?php _e('Chinese (Traditional)', FB_SWP_TEXTDOMAIN); ?></option>
1119
- </select>
1120
- </td>
1121
- </tr>
1122
- </table>
1123
-
1124
- </form>
1125
-
1126
- <h4><?php _e( 'Source', FB_SWP_TEXTDOMAIN ); ?></h4>
1127
- <p><?php _e('Here is your generated code. Place it on your website (as html widget) to show that you are protected.', FB_SWP_TEXTDOMAIN); ?></p>
1128
- <textarea id="seal_code" name="seal_code" rows="10" cols="50" class="large-text code"></textarea>
1129
-
1130
- <script type="text/javascript">
1131
- updateSealPreview();
1132
- </script>
1133
-
1134
- <iframe src="http://www.facebook.com/plugins/likebox.php?id=346589752350&amp;width=680&amp;connections=10&amp;stream=true&amp;header=true&amp;height=587" scrolling="no" frameborder="0" style="margin:10px auto; border:none; overflow:hidden; width:680px; height:587px;" allowTransparency="true"></iframe>
1135
  </div>
1136
  </div>
1137
  </div>
@@ -1156,6 +980,7 @@ if ( !class_exists('SecureWP') ) {
1156
  </div>
1157
  </div>
1158
 
 
1159
  <script type="text/javascript">
1160
  //<![CDATA[
1161
  jQuery(document).ready( function($) {
@@ -1167,15 +992,17 @@ if ( !class_exists('SecureWP') ) {
1167
  });
1168
  //]]>
1169
  </script>
1170
-
 
 
 
 
1171
  </div>
1172
  <?php
1173
  }
1174
-
1175
  }
1176
  }
1177
 
1178
-
1179
  if ( !class_exists('WPlize') ) {
1180
  require_once('inc/WPlize.php');
1181
  }
1
  <?php
2
  /**
3
  * @package Secure WordPress
4
+ * @author WebsiteDefender
5
+ * @version 2.0.0
6
  */
7
 
8
  /**
9
  * Plugin Name: Secure WordPress
10
+ * Plugin URI: http://www.websitedefender.com/secure-wordpress-plugin/
11
  * Text Domain: secure_wp
12
  * Domain Path: /languages
13
+ * Description: Basic security checks for securing your WordPress installation
14
+ * Author: WebsiteDefender
15
+ * Version: 2.0.0
16
+ * Author URI: http://www.websitedefender.com/
17
+ * Last Change: 22.03.2011 12:00
18
  * License: GPL
19
  */
20
 
37
  # base64 encoding performed by base64img.php from http://php.holtsmark.no
38
  $resources = array(
39
  'secure_wp.gif' =>
40
+ 'R0lGODlhCwALAKIHALOzs8PDw9fX16GhoZSUlPz8/Orq6v///yH5BAEAAAcALAAAAAALAAsAAAMveLrMFtCwEoi1oZwCrgeFcA3BcAkdAQgBagEmIZiDSAzxfNtDajy/10PQYEkajQQAOw==',
 
 
 
41
  'wp.png' =>
42
  'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAFfKj/FAAAAB3RJTUUH1wYQEiwG0'.
43
  '0adjQAAAAlwSFlzAAALEgAACxIB0t1+/AAAAARnQU1BAACxjwv8YQUAAABOUExURZ'.
766
  $secure_wp_win_opt = $GLOBALS['WPlize']->get_option('secure_wp_win_opt');
767
  ?>
768
  <div class="wrap">
769
+ <div id="icon-acunetix" class="icon32" style="background: url('<?php echo $this->get_plugins_url( 'img/acunetix.png', __FILE__ ); ?>') no-repeat;"><br /></div>
770
+ <h2><?php _e('Secure WordPress by WebsiteDefender', FB_SWP_TEXTDOMAIN); ?></h2>
771
  <br class="clear" />
772
 
773
  <div id="poststuff" class="ui-sortable meta-box-sortables">
889
  </th>
890
  <td>
891
  <input type="checkbox" name="secure_wp_amurlr" id="secure_wp_amurlr" value="1" <?php if ( $secure_wp_amurlr == '1') { echo "checked='checked'"; } ?> />
892
+ <?php _e('Protect WordPress against malicious URL requests', FB_SWP_TEXTDOMAIN); ?>
893
  </td>
894
  </tr>
895
 
905
  </div>
906
  </div>
907
 
 
908
  <div id="poststuff" class="ui-sortable meta-box-sortables">
909
  <div id="secure_wp_win_opt" class="postbox <?php echo $secure_wp_win_opt ?>" >
910
  <div class="handlediv" title="<?php _e('Click to toggle'); ?>"><br/></div>
911
+ <h3>About WebsiteDefender.com</h3>
912
  <div class="inside">
913
+ <p><?php _e('WebsiteDefender.com is based upon web application scanning technology from <a href="http://www.acunetix.com/" target="_blank">Acunetix</a>; a pioneer in website security. WebsiteDefender requires no installation, no learning curve and no maintenance. Above all, there is no impact on site performance! WebsiteDefender regularly scans and monitors your WordPress website/blog effortlessly, efficient, easily and is available for Free! Start scanning your WordPress website/blog against malware and hackers, absolutely free!', FB_SWP_TEXTDOMAIN)?></p>
914
+ <h4><?php _e('Register here to use all the WebsiteDefender.com advanced features', FB_SWP_TEXTDOMAIN)?></h4>
915
+ <p><?php _e('WebsiteDefender is an online service that protects your website from any hacker activity by monitoring and auditing the security of your website, giving you easy to understand solutions to keep your website safe, always! WebsiteDefender\'s enhanced WordPress Security Checks allow it to optimise any threats on a blog or site powered by WordPress.', FB_SWP_TEXTDOMAIN)?></p>
916
+ <p><?php _e('With WebsiteDefender you can:', FB_SWP_TEXTDOMAIN)?></p>
917
+ <p> &ndash; <?php _e('Detect Malware present on your website', FB_SWP_TEXTDOMAIN)?></p>
918
+ <p> &ndash; <?php _e('Audit your website for security issues', FB_SWP_TEXTDOMAIN)?></p>
919
+ <p> &ndash; <?php _e('Avoid getting blacklisted by Google', FB_SWP_TEXTDOMAIN)?></p>
920
+ <p> &ndash; <?php _e('Keep your website content and data safe', FB_SWP_TEXTDOMAIN)?></p>
921
+ <p> &ndash; <?php _e('Get alerted to suspicious hacker activity', FB_SWP_TEXTDOMAIN)?></p>
922
+ <p><?php _e('WebsiteDefender.com does all this an more via an easy-to-understand web-based dashboard, which gives step by step solutions on how to make sure your website stays secure!', FB_SWP_TEXTDOMAIN)?></p>
923
+ <h4><?php _e('Sign up for your FREE account here', FB_SWP_TEXTDOMAIN)?></h4>
924
+ <div>
925
+ <img id="img_loading_animation" src="<?= $this->get_plugins_url( 'img/loading45.gif', __FILE__ )?>" width="100" height="100" alt="loading"/>
926
+ <div id="wsd_new_user_form_div" style="visibility:hidden">
927
+ <form action="https://dashboard.websitedefender.com/swpuser.php?NEWUSER" target="_blank" method="post" id="wsd_new_user_form" name="wsd_new_user_form">
928
+ <table id="wsd_new_user_form_dynamic_inputs_table" class="form-table">
929
+ </table>
930
+ <table id="wsd_new_user_form_fixed_inputs_table" class="form-table">
931
+ <tr>
932
+ <th scope="row"><label for="wsd_account_pass">Password:</label></th>
933
+ <td><input type="password" id="wsd_account_pass" name="account_pass" class="regular-text" onkeyup="onPasswordChange()"/><div id="wsd_password_strength" style="display:inline;padding-left:8px;padding-right:8px;visibility:hidden;margin-left:8px"></div></td>
934
+ </tr>
935
+ <tr>
936
+ <th scope="row"><label for="wsd_account_pass_re">Retype Password:</label></th>
937
+ <td><input type="password" id="wsd_account_pass_re" name="account_pass_re" class="regular-text" onkeyup="passwordMatch()"/><div id="wsd_password_match" style="display:inline;padding-left:8px;padding-right:8px;visibility:hidden;margin-left:8px"></div></td>
938
+ </tr>
939
+ <tr>
940
+ <th scope="row"><label>Captcha:</label></th>
941
+ <td><div id="wsd_new_user_form_captcha_div"></div></td>
942
+ </tr>
943
+ <tr>
944
+ <th scope="row"><label for="wsd_account_agree">I agree with the <a href="http://www.websitedefender.com/terms-of-service/" target="_blank">Terms of Service</a>:</label></th>
945
+ <td><input class="checkbox" type="checkbox" id="wsd_account_agree" name="account_agree"/></td>
946
+ </tr>
947
+ </table>
948
+ </form>
949
+ <table class="form-table">
950
+ <tr><td colspan="2"><button class="button-primary" onclick="submitForm()"><?php _e('Get Your Free Account Now', FB_SWP_TEXTDOMAIN) ?> &raquo;</button></td></tr>
951
+ </table>
952
+ <hr/>
953
+ <div style="text-align:right">
954
+ <a href="http://www.twitter.com/WebsiteDefender" target="_blank"><img src="http://twitter-badges.s3.amazonaws.com/twitter-b.png" alt="Follow WebsiteDefender on Twitter"/></a>
955
+ <a href="http://www.facebook.com/WebsiteDefender" target="_blank"><img src="<?= $this->get_plugins_url( 'img/facebook.gif', __FILE__ )?>" alt="Check WebsiteDefender on Facebook"/></a>
956
+ </div>
957
+ </div>
958
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
959
  </div>
960
  </div>
961
  </div>
980
  </div>
981
  </div>
982
 
983
+ <script type="text/javascript">var wordpress_site_name = "<?php echo htmlentities(get_bloginfo('siteurl'));?>"</script>
984
  <script type="text/javascript">
985
  //<![CDATA[
986
  jQuery(document).ready( function($) {
992
  });
993
  //]]>
994
  </script>
995
+ <script type="text/javascript" src="http://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
996
+ <script type="text/javascript" src="https://dashboard.websitedefender.com/swpuser.php?FIELDS"></script>
997
+ <script type="text/javascript" src="<?php echo $this->get_plugins_url( 'js/prepare_new_user_form.js', __FILE__ )?>"></script>
998
+ <script type="text/javascript" src="<?php echo $this->get_plugins_url( 'js/verify_form.js', __FILE__ )?>"></script>
999
+
1000
  </div>
1001
  <?php
1002
  }
 
1003
  }
1004
  }
1005
 
 
1006
  if ( !class_exists('WPlize') ) {
1007
  require_once('inc/WPlize.php');
1008
  }
uninstall.php CHANGED
File without changes