4 ms·
just tried searching for a few obscure things I can find through Github and the site couldn't find anything. meh... not much of an index then
by adzicg 12y ago
just tried searching for a few obscure things I can find through Github and the site couldn't find anything. meh... not much of an index then
- zapt02 12y agoI tried searching for: eval($_GET No results. Same search on GitHub gives over 100 000 results for PHP. Doh. https://github.com/search?q=eval%28%24_GET&ref=searchresults&type=Code https://github.com/search?q=eval%28%24_GET&ref=searchresults...
- boyter 12y agoHowdy. Thats mostly because searchcode is trying to match exactly "eval($_GET" and currently has none in the index. Looking at GitHub it seems to come back with only 4 results which are exact and the rest as loose matches. I am seeing a pattern that most people would prefer the loose match over exact to get back more results, but with the exact matches (if any) at the top. I will take this onboard and see if I can improve things.
- zapt02 12y agoIf you search for an exact match you still get almost 600 results, see: https://github.com/search?q=%22eval%28%24_GET%22&type=Code&ref=searchresults https://github.com/search?q=%22eval%28%24_GET%22&type=Code&r... I would definitely expect the google pattern of doing exact match when in quotes. Throw in a regexp engine as well, because I tried using wildcards and that didn't do anything. For example, if searching for vulnerabilities I would like to be able to do something like: eval(.*$_[(GET|POST)].*)
- boyter 12y agoSorry about that. I don't actually index as much of Github as they have their own index. I mostly focus on Bitbucket and Codeplex. If you could supply some specific examples that would be very useful though.