This is a file with the funcion, if its working as desired, how can I update
the kb ?
On Mon, Mar 23, 2009 at 7:04 PM, Andres Riancho <andres.rian...@gmail.com>wrote:
> Leo,
>
> On Mon, Mar 23, 2009 at 6:10 PM, leo fishman <leo.mail...@gmail.com>
> wrote:
> > Hello,
> >
> > I want to help with some microtask.
> > Please, bare in mind that I don't know the framwork very well.
>
> Thanks for your email! New contributors are ALWAYS welcome =)
>
> I just found a nice task that you could perform [0]. Basically, we
> need to perform these steps:
>
> 1.- In core/controllers/misc/ you should create a new file named
> make_leet.py . Inside that file, you have to create a function that
> converts: "admin" into "4dm1n"... you know... make it "elite". You
> should name the function make_leet.
>
> 2.- After the function is working, you should modify the
> passwordProfiling plugin, in order to add "leet versions" of all the
> top words to the result. Example of result before your patch:
>
> - admin
> - global
> - spam
> - eggs
>
> Result after your patch:
>
> - admin
> - 4dm1n
> - global
> - gl0b4l
> - spam
> - 5p4m
> - eggs
> - 3gg5
>
>
> Results are saved in kb.kb.getData( 'passwordProfiling',
> 'passwordProfiling' ) and used in bruteforce plugins as passwords for
> default users.
>
> If you have any questions, don't hesitate to ask them here!
>
> [0]
> https://sourceforge.net/tracker/?func=detail&aid=2664893&group_id=170274&atid=853655
>
> > Thanks,
> >
> > Leo
> >
> >
> ------------------------------------------------------------------------------
> > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> > easily build your RIAs with Flex Builder, the Eclipse(TM)based
> development
> > software that enables intelligent coding and step-through debugging.
> > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> > _______________________________________________
> > W3af-develop mailing list
> > W3af-develop@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/w3af-develop
> >
> >
>
>
>
> --
> Andrés Riancho
> http://www.bonsai-sec.com/
> http://w3af.sourceforge.net/
>
'''
make_leet.py
Copyright 2009 Leonardo Jose Fishman
This file is part of w3af, w3af.sourceforge.net .
w3af is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation version 2 of the License.
w3af is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with w3af; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
'''
import core.data.kb.knowledgeBase as kb
'''
Based in Paul McGuire: ptmcg at austin.rr.com
contribution for a python list:
http://mail.python.org/pipermail/python-list/2009-February/700090.html
'''
LEET_LETTERS = dict( zip("eEaAiItTsSoObB", "33441177550088") )
def make_leet( pass2leet="1" ):
'''
convert elite passwords like: "admin" into "4dm1n
'''
return ''.join( LEET_LETTERS.get(c,c) for c in pass2leet )
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
W3af-develop mailing list
W3af-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-develop