openbullet / openbullet.github.io

Official OpenBullet documentation site.
27 stars 14 forks source link

lack of documentation about how to create a password rule #2

Open shdf2 opened 5 years ago

shdf2 commented 5 years ago

Hello, could you please make some documentation about how to create a password rule ? let's say i want my passwords to be : Minimum 8 characters Maximum 32 characters with Digits with uppercase with lowercase

how i do that ?

Thank you very much for your help

openbullet commented 5 years ago

Alright I'll see where to put more info about that, but anyways let's say your password slice is called PASSWORD. You will need to add rules like PASSWORD MinLength 8 PASSWORD MaxLength 32 PASSWORD Contains Digit PASSWORD Contains Lowercase PASSWORD Contains Uppercase If these are all verified then your password will be accepted as valid and it will be checked with the config, otherwise it will be immediately flagged as a FAIL and OB will move to the next one.

shdf2 commented 5 years ago

Like this ?

MeowBullet commented 5 years ago

@shdf2 it depends what is your slice named in environment.ini?

example below

[WLTYPE]
Name=Credentials
Regex=^.*:.*$
Verify=True
Separator=:
Slices=USER,PASS

so if your slice is called Pass1 which would for example be

Slices=User1,Pass1

If it however was PASSWORD

Slices=USERNAME,PASSWORD

Then you would do it like this

PASSWORD MinLength 8
PASSWORD MaxLength 32
PASSWORD Contains Digit
PASSWORD Contains Lowercase
PASSWORD Contains Uppercase
openbullet commented 5 years ago

Thank you @MeowBullet for the explanation.

openbullet commented 5 years ago

Actually let me reopen so I remember to update the documentation with a section on this ^_^

shdf2 commented 5 years ago

i have to study that thing because i really don't understand what is that "Slice" thing and its meaning...

The way to do it in BB what very clear, i don't understand why it is made that way now ?

Thanks @MeowBullet i'll try to understand...

MeowBullet commented 5 years ago

Go to your settings folder, open it up locate the environment.ini file, edit It to change your slice under credential to whatever it is you desire. The default is USERNAME, PASSWORD, However others including me reverted to USER,PASS.

The reason it's like this is its opened a big door of possibilities. It's handy to have the environment file and many of us like it.

shdf2 commented 5 years ago

OK ! After reading your explanation 36 times i understood !! in my environnement.ini i have this :

[WLTYPE] Name=Credentials Regex=^.:.$ Verify=True Separator=: Slices=USERNAME,PASSWORD

i loaded a config made under BB 2.5.1 and converted to loli. and this is what i can see once loaded : image

So i guess there is a probleme, the slice must be renamed to PASSWORD in the GUI above or the ini file modded with USER,PASS like you said, right ?

MeowBullet commented 5 years ago

Correct. Whichever you choose... I would probably convert to USER,PASS so all old configs work again without modification.

shdf2 commented 5 years ago

i think USER,PASS must be the standard. if eveyone customize its environment.ini there will be many problems, because when you share your Configs you'll never remember that people have to change their ini file too...it will not work as expected and you'll never know why...

MeowBullet commented 5 years ago

I don't share them I sell mine, and I have Modified open bullet, in a version I call MeowBullet which is made specifically for my customers, so it will always be USER,PASS as default. But Yes I see your point.

shdf2 commented 5 years ago

ok, but that's specific to you :) Anyway thank you very much because without any explanation it was (for me) impossible to understand what i was supposed to do...

MeowBullet commented 5 years ago

The point is I took measures for mine, you can do the same wether its having a modified version to go with the configs, your own modified environment file zipped with it, or you merely just add a readme to the folder. Lol. It's not hard to let someone know. But yes 99% of people have switched to USER,PASS and I actually do like that it's set as USERNAME,PASSWORD to begin with, kind of keeps the idiots at bay lol. And yes before I read the documentation and opened up the project I was too a bit like what at first.

shdf2 commented 5 years ago

Well, so actually, all converted configs from .bbc to .loli uses the slice name : PASS while the environment.ini file says : USERNAME,PASSWORD

Ruri maybe switch to USER,PASS then ? as @MeowBullet said 99% are switching to this. but that 99% is 99% of people aware about it, which is in fact probably only 1% of everyone :)

MeowBullet commented 5 years ago

But it's good.... It keeps the idiots a bay

openbullet commented 5 years ago

OpenBullet should not be used for credential stuffing so I will not put USER and PASS by default, in order to prevent people who don't know what they are doing to use it for malicious purposes. This was intended, it's not been overlooked.

kiviniitty commented 5 years ago

Hello ! anyone know what is my issue here if user:pass contains any symbol like # OB will stuck to just that combo it change just proxy nothing else? I already made some data rules but I dont know what I do wrong Näyttökuva (5) here

ghost commented 3 years ago

Alright I'll see where to put more info about that, but anyways let's say your password slice is called PASSWORD. You will need to add rules like PASSWORD MinLength 8 PASSWORD MaxLength 32 PASSWORD Contains Digit PASSWORD Contains Lowercase PASSWORD Contains Uppercase If these are all verified then your password will be accepted as valid and it will be checked with the config, otherwise it will be immediately flagged as a FAIL and OB will move to the next one.