ivana_andreevska

Password Strength and Progress Bar

Dec 9th, 2021 (edited)
5,612
1
Never
13
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 1.42 KB | None | 1 0
  1. //HTML
  2.  
  3. <input type="text" id="autocomplete" placeholder="Enter product name here">
  4.  
  5. <div>
  6.     <input type="password" id="pass">
  7.     <div id="progress">
  8.  
  9.     </div>
  10. </div>
  11.  
  12.  
  13.  
  14. //JQUERY
  15.  
  16.     $("#pass").keydown( function (){
  17.         var strength=check_strength($("#pass").val())
  18.  
  19.         if(strength==1){
  20.             $("#progress").progressbar({
  21.                 value:33
  22.             })
  23.             $("#progress").find(".ui-progressbar-value").css({
  24.                 background:"red"
  25.             })
  26.         }
  27.         if(strength==2)
  28.         {
  29.             $("#progress").progressbar({
  30.                 value:66
  31.             })
  32.             $("#progress").find(".ui-progressbar-value").css({
  33.                 background:"yellow"
  34.             })
  35.         }
  36.         if(strength==3)
  37.         {
  38.             $("#progress").progressbar({
  39.                 value:100
  40.             })
  41.             $("#progress").find(".ui-progressbar-value").css({
  42.                 background:"green"
  43.             })
  44.         }
  45.     })
  46.  
  47.     function check_strength(pass)
  48.     {
  49.         var result=0
  50.  
  51.         result+=/[a=zA-Z]+/.test(pass)?1:0;
  52.         result+=/[0-9]+/.test(pass)?1:0;
  53.         var special_sign="!@#$%^&*() :"
  54.         for(var i=0;i<special_sign.length;i++)
  55.         {
  56.             if(pass.indexOf(special_sign[i]>-1)){
  57.                 result+=1;
  58.                 break;
  59.             }
  60.         }
  61.         return result;
  62.     }
  63. })
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Gelnevor
    129 days
    # CSS 0.85 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
  • User was banned
Add Comment
Please, Sign In to add comment