security
Tag
4 posts found
If hacker needs to get your absolute path they easily can go to any core file by direct access like showed in below, DIRECT ACCESS ANY CORE FILE OF LARAVEL domain.com/app/controllers/HomeController.php laravel-APP-Path/tests/TestCase.php Fatal Error: Class ‘Illuminate\Foundation\Testing\Testcase’ not found in laravel-APP-Path/tests/TestCase.php on line 3 DIRECT ACCESS LARAVEL HOME CONTROLLER domainname.com/laravel-APP-Path/controllers/HomeController.php Fatal Error:
Please do not validate file extension on uploading file from user [php] $_FILE[‘file_name’]; $ext = pathinfo($_FILE[‘file_name’],PATHINFO_EXTENSION); $allow_ext=array(‘jpg’,’jpeg’,’png’,’gif’); if(in_array($ext,$allow_ext)){ //DO UPLOAD CODE } [/php] Hackers are created a fake jpg image with no preview and they add code encode on base64 or gzinflate on picture source when you will open that
Post in
WordPress theme development tricks don’t forget them. CALL WP_HEAD FUNCTION IN YOUR THEME’S HEADER.PHP FILE Call wp_head() function in your theme header.php file because many plugins even theme developer add javascript, css files through functions.php file with many some functions like wp_eneque_script() wp_eneque_style(), and many seo plugins like WordPress SEO, All
Post in
users can easily access or hacker’s programmed bots will send login request to your yoursite.com/wp-login page, but #wordpress have a good security with admin login panel, I have a wrote little code using #wordpress #hooks to prevent from other all users from your site wordpress wp admin login page. Prevent
Post in
TOP COMMENTED
laravel remove public from url
This is weird thing from #laravel on fresh installation, so…
3 comments
Pakistani Web Designer’s Web Designing…
Web Design Illustrations - IdealHut.com by Design-Maker…
2 comments
MEASURE UNITS PX, CM, IN, MM CONVERSION…
[php]function measure_conversation($value = null, $measurein = null, $returnin = 'px',…
2 comments
28 Android IOS Mobile Application Frameworks
jQuery Mobile Ionic: Advanced HTML5 Hybrid Mobile App Framework Mobile…
2 comments
20 jQuery HTML5 Video Player for Website
Video.js The Player Framework MediaElement.js - HTML5 video player Create…
2 comments