MageFirewall_Firewall - Version 0.1.1

Version Notes

Next version

Download this release

Release Info

Developer paimpozhil
Extension MageFirewall_Firewall
Version 0.1.1
Comparing to
See all releases


Code changes from version 0.1.0 to 0.1.1

app/code/community/MageFirewall/Firewall/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <MageFirewall_Firewall>
5
- <version>0.1.0</version>
6
  </MageFirewall_Firewall>
7
  </modules>
8
  <admin>
2
  <config>
3
  <modules>
4
  <MageFirewall_Firewall>
5
+ <version>0.1.1</version>
6
  </MageFirewall_Firewall>
7
  </modules>
8
  <admin>
app/design/adminhtml/default/default/template/firewall/dashboard.phtml CHANGED
@@ -11,7 +11,8 @@
11
  $wallHelper = Mage::helper('firewall');
12
  $getIncludedFile = get_included_files();
13
  $rootPath = $_SERVER['DOCUMENT_ROOT'];
14
- $paths = $rootPath.'/lib/firewall/firewall.php';
 
15
  $optionsAll = Mage::getModel('firewall/options')->getCollection()->getData();
16
  $firewalFile = ini_get('auto_prepend_file');
17
  $autoprepend = '<b>No</b>.';
11
  $wallHelper = Mage::helper('firewall');
12
  $getIncludedFile = get_included_files();
13
  $rootPath = $_SERVER['DOCUMENT_ROOT'];
14
+ $libPath = Mage::getBaseDir('lib');
15
+ $paths = $libPath.'/firewall/firewall.php';
16
  $optionsAll = Mage::getModel('firewall/options')->getCollection()->getData();
17
  $firewalFile = ini_get('auto_prepend_file');
18
  $autoprepend = '<b>No</b>.';
lib/firewall/firewall.php CHANGED
@@ -317,7 +317,7 @@ function nf_check_upload() {
317
  if ($tmp) {
318
  if ($MagenfCheckDebug) { $nfdebug.= '[FAIL] file upload attempt : '. nf_bin2hex_string($tmp) . ETAG; }
319
  nf_write2log('File upload attempt', rtrim($tmp, ' '), 2, 0);
320
- nf_block();
321
  }
322
 
323
  if ($MagenfCheckDebug) { $nfdebug.= '[----] upload field is empty' . ETAG; }
317
  if ($tmp) {
318
  if ($MagenfCheckDebug) { $nfdebug.= '[FAIL] file upload attempt : '. nf_bin2hex_string($tmp) . ETAG; }
319
  nf_write2log('File upload attempt', rtrim($tmp, ' '), 2, 0);
320
+ //nf_block();
321
  }
322
 
323
  if ($MagenfCheckDebug) { $nfdebug.= '[----] upload field is empty' . ETAG; }
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>MageFirewall_Firewall</name>
4
- <version>0.1.0</version>
5
  <stability>stable</stability>
6
  <license>OSL v. 3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Opensource Magento Firewall for securing your e-commerce system.</summary>
10
  <description>It protects users magneto ecommerce systems with several security features.</description>
11
- <notes>First release</notes>
12
  <authors><author><name>paimpozhil</name><user>paimpozhil</user><email>paimpozhil@gmail.com</email></author></authors>
13
- <date>2014-09-18</date>
14
- <time>12:48:17</time>
15
- <contents><target name="magecommunity"><dir name="MageFirewall"><dir name="Firewall"><dir name="Block"><dir name="Adminhtml"><dir name="Blacklist"><dir name="Edit"><file name="Form.php" hash="d26360056e1af1941f2055ce2f6d43c3"/><dir name="Tab"><file name="Form.php" hash="0bb50bc1207256d40e7bae26e7919789"/></dir><file name="Tabs.php" hash="ef545ebdef29eb8a07a0fe514e96a838"/></dir><file name="Edit.php" hash="8a0b682b1b1a13693828654fc465d03a"/><file name="Grid.php" hash="458ace727ba696dcff27220b702d9869"/></dir><file name="Blacklist.php" hash="8aafc52116e077dfd7568f02085ee216"/><dir name="Logs"><file name="Grid.php" hash="211ce1ba3dc311ea3a9926626d7549ab"/></dir><file name="Logs.php" hash="cfaf8454e04b9c29c19d49188e92278b"/><dir name="Rules"><dir name="Edit"><file name="Form.php" hash="af6478cdc0e8597539270574bf580732"/><dir name="Tab"><file name="Form.php" hash="964beb6b05ed7cfcdad228322700d680"/></dir><file name="Tabs.php" hash="588f28856122a51bbfcdc88b07eb7c78"/></dir><file name="Edit.php" hash="31a84e45679addebf887c283509cad74"/><file name="Grid.php" hash="177f832f0bf29b5b35e407c30bc3d53d"/></dir><file name="Rules.php" hash="a9b1815f6c762a33fe4af0d9e825e6b1"/><dir name="Whitelist"><dir name="Edit"><file name="Form.php" hash="24f87e125d1d354dcd49096e2da1a90d"/><dir name="Tab"><file name="Form.php" hash="bf8f74d7665ed79991081c4edef5a998"/></dir><file name="Tabs.php" hash="ce02a58a943827ccb9dde071e8777a1b"/></dir><file name="Edit.php" hash="c00bd6da06bb01bfbeeaed24e026de96"/><file name="Grid.php" hash="fe80f5ae18c2e74b53e90def5b1c7ce8"/></dir><file name="Whitelist.php" hash="e5ddc033500ffe525ce9b9a46e1686bf"/></dir></dir><dir name="Helper"><file name="Data.php" hash="c84897bcb7a2e6f36955f4261bf89486"/></dir><dir name="Model"><file name="Blacklist.php" hash="b9f445d0e476b13bba2d6082cafcf413"/><file name="Cron.php" hash="27fd2731368dd6b41d107361f450b794"/><file name="Logs.php" hash="81e0eeeb79349075393f37994edf2f45"/><dir name="Mysql4"><dir name="Blacklist"><file name="Collection.php" hash="70d70ef8a916a611852bb4403c833907"/></dir><file name="Blacklist.php" hash="78c956b15cb27ab5771585425b6e55ac"/><dir name="Logs"><file name="Collection.php" hash="8dbd26450f38fd779adeb2d4c8c6ecfc"/></dir><file name="Logs.php" hash="8597c4053eb34f82aa4f315648a55eae"/><dir name="Options"><file name="Collection.php" hash="551289eb76b05c994c92f7a7a03344ec"/></dir><file name="Options.php" hash="b6c0c2f3fe6090f24a19532087ba19c2"/><dir name="Rules"><file name="Collection.php" hash="0e16336936eea930eb9be37760cd3859"/></dir><file name="Rules.php" hash="708f759852fdfda07c04209e0cc4666c"/><dir name="Version"><file name="Collection.php" hash="d2742547114e9824f2a69efa094a2bcb"/></dir><file name="Version.php" hash="07c11bd747b44ef08b3772057c9a1b95"/><dir name="Whitelist"><file name="Collection.php" hash="ae8cac841ebd6cb95630b53dbcbee435"/></dir><file name="Whitelist.php" hash="921942f5c7d5f294e07fb73257a7e23d"/></dir><file name="Observer.php" hash="645cc56e5039f188e95e2797dd67a9e2"/><file name="Options.php" hash="3d3562b526556480e38e3f5939292a13"/><file name="Rules.php" hash="26f3b465b377fb3cc620c3e646a901ef"/><file name="Version.php" hash="dcafc9db7dfae1b4bc661824a5ceb8d0"/><file name="Whitelist.php" hash="f9c48424055eff408351eb7a995a756e"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BlacklistController.php" hash="eafd2d348873ab7ed8818a181adeaee2"/><dir name="Dashboard"><file name="DiagnosticController.php" hash="87c41a95b25174c03078bf46cf3b1419"/><file name="FilecheckerController.php" hash="12b8bb4454bcb6b78e4b7f8556856f70"/><file name="RecentController.php" hash="478f5b5aea6861764d29af9146c52764"/><file name="ViewController.php" hash="9fe90eac61581484055357ab52245848"/></dir><file name="LogsController.php" hash="555ab9ab642e538b3619d60ba2f12187"/><file name="RulesController.php" hash="185a0da146bc4a5aec80b227065aa53d"/><file name="WhitelistController.php" hash="544c62f98e22d1b5d0d561778df7d310"/></dir></dir><dir name="data"><dir name="firewall_setup"><file name="data-install-0.1.0.php" hash="c6a2451a59e0cea5d4ebbf7d36f20a95"/></dir></dir><dir name="etc"><file name="config.xml" hash="c7d67c3014f973ea2f4293d3b13bdcc9"/></dir><dir name="sql"><dir name="firewall_setup"><file name="mysql4-install-0.1.0.php" hash="535a6fd1a31529f877521f2378f7bfba"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="firewall"><file name="dashboard.phtml" hash="b5c056f7651668f40003d95f6f87868f"/><file name="diagnostic.phtml" hash="700a66064a5536f116c1e95c44f1fd60"/><file name="filechecker.phtml" hash="080be0a8975e968c68717831d1d8cd23"/><file name="recentfile.phtml" hash="d731d305ae36c3c930ccf521d02eb150"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="MageFirewall_Firewall.xml" hash="58c9780878d409245f613b460d080d96"/></dir></target><target name="magelib"><dir name="firewall"><file name="firewall.php" hash="a2a84e69a9854203d7c20af000e4c6d8"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>5.6.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>MageFirewall_Firewall</name>
4
+ <version>0.1.1</version>
5
  <stability>stable</stability>
6
  <license>OSL v. 3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Opensource Magento Firewall for securing your e-commerce system.</summary>
10
  <description>It protects users magneto ecommerce systems with several security features.</description>
11
+ <notes>Next version</notes>
12
  <authors><author><name>paimpozhil</name><user>paimpozhil</user><email>paimpozhil@gmail.com</email></author></authors>
13
+ <date>2014-10-07</date>
14
+ <time>19:28:13</time>
15
+ <contents><target name="magecommunity"><dir name="MageFirewall"><dir name="Firewall"><dir name="Block"><dir name="Adminhtml"><dir name="Blacklist"><dir name="Edit"><file name="Form.php" hash="d26360056e1af1941f2055ce2f6d43c3"/><dir name="Tab"><file name="Form.php" hash="0bb50bc1207256d40e7bae26e7919789"/></dir><file name="Tabs.php" hash="ef545ebdef29eb8a07a0fe514e96a838"/></dir><file name="Edit.php" hash="8a0b682b1b1a13693828654fc465d03a"/><file name="Grid.php" hash="458ace727ba696dcff27220b702d9869"/></dir><file name="Blacklist.php" hash="8aafc52116e077dfd7568f02085ee216"/><dir name="Logs"><file name="Grid.php" hash="211ce1ba3dc311ea3a9926626d7549ab"/></dir><file name="Logs.php" hash="cfaf8454e04b9c29c19d49188e92278b"/><dir name="Rules"><dir name="Edit"><file name="Form.php" hash="af6478cdc0e8597539270574bf580732"/><dir name="Tab"><file name="Form.php" hash="964beb6b05ed7cfcdad228322700d680"/></dir><file name="Tabs.php" hash="588f28856122a51bbfcdc88b07eb7c78"/></dir><file name="Edit.php" hash="31a84e45679addebf887c283509cad74"/><file name="Grid.php" hash="177f832f0bf29b5b35e407c30bc3d53d"/></dir><file name="Rules.php" hash="a9b1815f6c762a33fe4af0d9e825e6b1"/><dir name="Whitelist"><dir name="Edit"><file name="Form.php" hash="24f87e125d1d354dcd49096e2da1a90d"/><dir name="Tab"><file name="Form.php" hash="bf8f74d7665ed79991081c4edef5a998"/></dir><file name="Tabs.php" hash="ce02a58a943827ccb9dde071e8777a1b"/></dir><file name="Edit.php" hash="c00bd6da06bb01bfbeeaed24e026de96"/><file name="Grid.php" hash="fe80f5ae18c2e74b53e90def5b1c7ce8"/></dir><file name="Whitelist.php" hash="e5ddc033500ffe525ce9b9a46e1686bf"/></dir></dir><dir name="Helper"><file name="Data.php" hash="c84897bcb7a2e6f36955f4261bf89486"/></dir><dir name="Model"><file name="Blacklist.php" hash="b9f445d0e476b13bba2d6082cafcf413"/><file name="Cron.php" hash="27fd2731368dd6b41d107361f450b794"/><file name="Logs.php" hash="81e0eeeb79349075393f37994edf2f45"/><dir name="Mysql4"><dir name="Blacklist"><file name="Collection.php" hash="70d70ef8a916a611852bb4403c833907"/></dir><file name="Blacklist.php" hash="78c956b15cb27ab5771585425b6e55ac"/><dir name="Logs"><file name="Collection.php" hash="8dbd26450f38fd779adeb2d4c8c6ecfc"/></dir><file name="Logs.php" hash="8597c4053eb34f82aa4f315648a55eae"/><dir name="Options"><file name="Collection.php" hash="551289eb76b05c994c92f7a7a03344ec"/></dir><file name="Options.php" hash="b6c0c2f3fe6090f24a19532087ba19c2"/><dir name="Rules"><file name="Collection.php" hash="0e16336936eea930eb9be37760cd3859"/></dir><file name="Rules.php" hash="708f759852fdfda07c04209e0cc4666c"/><dir name="Version"><file name="Collection.php" hash="d2742547114e9824f2a69efa094a2bcb"/></dir><file name="Version.php" hash="07c11bd747b44ef08b3772057c9a1b95"/><dir name="Whitelist"><file name="Collection.php" hash="ae8cac841ebd6cb95630b53dbcbee435"/></dir><file name="Whitelist.php" hash="921942f5c7d5f294e07fb73257a7e23d"/></dir><file name="Observer.php" hash="645cc56e5039f188e95e2797dd67a9e2"/><file name="Options.php" hash="3d3562b526556480e38e3f5939292a13"/><file name="Rules.php" hash="26f3b465b377fb3cc620c3e646a901ef"/><file name="Version.php" hash="dcafc9db7dfae1b4bc661824a5ceb8d0"/><file name="Whitelist.php" hash="f9c48424055eff408351eb7a995a756e"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BlacklistController.php" hash="eafd2d348873ab7ed8818a181adeaee2"/><dir name="Dashboard"><file name="DiagnosticController.php" hash="87c41a95b25174c03078bf46cf3b1419"/><file name="FilecheckerController.php" hash="12b8bb4454bcb6b78e4b7f8556856f70"/><file name="RecentController.php" hash="478f5b5aea6861764d29af9146c52764"/><file name="ViewController.php" hash="9fe90eac61581484055357ab52245848"/></dir><file name="LogsController.php" hash="555ab9ab642e538b3619d60ba2f12187"/><file name="RulesController.php" hash="185a0da146bc4a5aec80b227065aa53d"/><file name="WhitelistController.php" hash="544c62f98e22d1b5d0d561778df7d310"/></dir></dir><dir name="data"><dir name="firewall_setup"><file name="data-install-0.1.0.php" hash="c6a2451a59e0cea5d4ebbf7d36f20a95"/></dir></dir><dir name="etc"><file name="config.xml" hash="56ee91ebc98a4be479f3403d5a236286"/></dir><dir name="sql"><dir name="firewall_setup"><file name="mysql4-install-0.1.0.php" hash="535a6fd1a31529f877521f2378f7bfba"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="firewall"><file name="dashboard.phtml" hash="51bd4343c44edc91c4a2b08b51d16193"/><file name="diagnostic.phtml" hash="700a66064a5536f116c1e95c44f1fd60"/><file name="filechecker.phtml" hash="080be0a8975e968c68717831d1d8cd23"/><file name="recentfile.phtml" hash="d731d305ae36c3c930ccf521d02eb150"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="MageFirewall_Firewall.xml" hash="58c9780878d409245f613b460d080d96"/></dir></target><target name="magelib"><dir name="firewall"><file name="firewall.php" hash="ca974341fc52ac77866be1e5a5f18ea0"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>5.6.0</max></php></required></dependencies>
18
  </package>