The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 19, 2013, 09:18:02 AM

Login with username, password and session length


  Show Posts
Pages: [1] 2 3 4
1  Level 2 Cache: Speciality Items / PHP / Re: SQLi Scanner that works? on: April 06, 2011, 12:04:11 PM
its a sprawling oscommerce based largely bespoke pile of code
2  Level 2 Cache: Speciality Items / PHP / SQLi Scanner that works? on: April 05, 2011, 03:37:46 AM
Hi all

I have a client (in the day job) that has some unkown SQLi vulnerabilities.

I have access to the source code etc, but its massive

Anyone recommend any tools (FOSS) that will help me to track down these vulnerabilites?

I know this is probably script kiddie territory so if you don't want to disclose in the open a PM would be appreciated
3  Level 1 Cache: General Discussion / All Things General Tech / Re: In case you missed the memo. amazon cloud drive on: March 29, 2011, 03:25:47 PM
s3 with a skin basically

https://forums.aws.amazon.com/thread.jspa?messageID=233344
4  Level 2 Cache: Speciality Items / JavaScript / Re: quick and dirty but cool on: March 16, 2011, 06:17:39 PM
sorry to clarify - cos im using it all over the place i put the JS into a PHP function so I can just go
<?php echo filterBox()?>
<table class="filterable>...etc

nice way of breathing life into legacy stuff
5  Level 2 Cache: Speciality Items / JavaScript / quick and dirty but cool on: March 16, 2011, 06:15:54 PM
got a massive table of data

can't be arsed to create some kind of ajax blah blah blah autocomplete search thing

check this out

http://kobikobi.wordpress.com/2008/09/15/using-jquery-to-filter-table-rows/

basically just apply the class="filterable" to your table and then dump this in - uses jquery so assumes you are including that in the head etc

function filterBox(){
    
$return=<<<NOWDOC
<script type="text/javascript">
$(document).ready(function(){
    //add index column with all content.
    $(".filterable tr:has(td)").each(function(){
        var t = $(this).text().toLowerCase(); //all row text
        $("<td class='indexColumn'></td>")
        .hide().text(t).appendTo(this);
    });//each tr
    $("#FilterTextBox").keyup(function(){
        var s = $(this).val().toLowerCase().split(" ");
        //show all rows.
        $(".filterable tr:hidden").show();
        $.each(s, function(){
            $(".filterable tr:visible .indexColumn:not(:contains('"
                + this + "'))").parent().hide();
        });//each
    });//key up.
});//document.ready
</script>
<h1><b>Jquery Filter Box:</b><input id="FilterTextBox"/></h1>
NOWDOC;
    return 
$return;
}
6  Level 2 Cache: Speciality Items / PHP / Re: How to determine what is causing High Load? on: March 10, 2011, 03:07:06 PM
nice, apachetop never heard of it

looks useful, will get that set up tomorrow Grin
7  Level 1 Cache: General Discussion / freemem() & Garbage Collection / retired? on: March 08, 2011, 02:27:00 PM
just noticing that you hardly ever talk about coding any more
8  Level 2 Cache: Speciality Items / PHP / Re: PHP SMB Wrapper: Hot stuff on: February 18, 2011, 02:37:00 PM
v nice Smiley
9  Level 1 Cache: General Discussion / freemem() & Garbage Collection / amusing on: January 07, 2011, 10:21:48 AM
http://images.neaturl.net/mj/Robots_Cant_Read_Captchas.png
10  Level 2 Cache: Speciality Items / PHP / Re: PHP compilation tip: Can't Find mysql_config on: December 01, 2010, 05:24:05 PM
nice

http://www.google.com/search?client=ubuntu&channel=fs&q=PHP+compilation+tip%3A+Can%27t+Find+mysql_config&ie=utf-8&oe=utf-8
11  Level 1 Cache: General Discussion / All Things General Tech / massive ebook library + ebook, you need calibre on: December 01, 2010, 05:21:26 PM
just thought i woudl mention this awesome app i stumbled across trying to figure out how i was going to manage the GB of ebooks i've managed to procure

calibre

written in python, a little on the buggy side but really slick, powerful and cross platform

its actually inspired me to learn python

check it out
http://calibre-ebook.com/

p.s. I bought a booken cybook gen 3

very good, but dont sit on it when you go to bed with the lights out - expensive mistake
12  Level 2 Cache: Speciality Items / PHP / Re: PHP Notice: Undefined variable: on: August 04, 2010, 02:31:42 PM
you know what - i turned my error reporting up to the max, and then used a custom error handler to turn even the slightest error into an exception

that then gives me a detailed stack trace so I can easily figure out whats gone wrong

since then, although im fixing fairly nit picking notices etc, the code is proving to be a lot more stable and takes less time to fix bigger errors
13  Level 2 Cache: Speciality Items / PHP / Re: viewing a gigantic text file in the cloud on: August 04, 2010, 02:25:22 PM
yeah thats cool

generally use less on the command line for this kind of thing

any great ideas on how you could get some basic searching going on there as well - don't generally want to page through a zillion lines

I suppose just
while(!preg_match($pattern$data)){ 
$start+=512
fseek
($fp$start);
fread($fp$chunksize);
}

would do it
14  Level 1 Cache: General Discussion / All Things *nix / Re: specifying NIC a script should use, running multiple instances using separate on: August 04, 2010, 02:13:22 PM
cheers

yeah I abandonded this in the end..

easier to just set up curl slaves elsewhere and use them
15  Level 1 Cache: General Discussion / All Things *nix / Re: specifying NIC a script should use, running multiple instances using separate on: July 16, 2010, 09:16:45 AM
this was bs actually - best just remove it..
Pages: [1] 2 3 4
Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!