Сложный пароль в пару или одно действие

Поддержка
  • @Bigma said in Сложный пароль в пару или одно действие:

    надо тогда предупреждать пользователей из разряда, хочешь повторять скрипт поставь в конце паузу не меньше.

    Тут несовсем согласен тк такая ситуация в обычном скрипте где есьт работа с браузером или запросами почти исключена, если только скрипт сразу не будет падать с ошибкой. Но и это можно понять если поставить лог и посмотреть.

    @Bigma said in Сложный пароль в пару или одно действие:

    хочешь чтоб куки сохранялись поставь паузу в 30 секунд в конце скрипта ...

    А с профилями действительно хрень.

    Просто разработчик же один и пилит только важные вещик(по его мнению). А то с чем жить можно так и висит видимо в списке "Надо сделать"

  • @UserTrue said in Сложный пароль в пару или одно действие:

    Ну это даже плюс, и так порог входа низкий и работу обесценивает дак хоть небольшой тормоз есть )

    да я заметил, что тут +- 15 человек выживших :)

  • @UserTrue Может и с регуляркой подскажешь че не так, выше в посте
    https://community.bablosoft.com/topic/11364/сложный-пароль-в-пару-или-одно-действие/22#

  • @Bigma Мне лень перепечатывать с картинки, а ваш powershell у меня не работает и мне не хочется думать почему. Для всех было бы проще, если бы вы приложили строку к которой хотите применить выражение, само выражение и результат который ожидаете.

  • @UserTrue выглядит вот так в выводе
    2020-06-06_08-03-45.png

    Чисто теоретически там лежит вот это:

    C:\2_BrowserAutomationStudio\apps\22.7.1>chcp 65001 
    Active code page: 65001
    
    C:\2_BrowserAutomationStudio\apps\22.7.1>cd c:\ 
    :hK~f5:jcs 
    

    то есть чисто теоретически после пароля там есть пробел.
    Но это не точно.

    Регулярку пытаюсь вот такую

    (?<=c:\\\ )[\w\W]*(?=\ )
    

    но ничего не получает.
    если убрать ограничение, то есть так:

    (?<=c:\\\ )[\w\W]*
    

    то парсит с пробелом.

  • @Bigma said in Сложный пароль в пару или одно действие:

    (?<=c:\\ )[\w\W]*(?=\ )

    Потомучто пробелы бывают разные...

    (?<=c:\\\s)[\w\W]*(?=\s)
    
  • @Bigma said in Сложный пароль в пару или одно действие:

    Единственно когда я регуляркой парсю результат цепляется лишний пробел после пароля, пробовал ограничить в регулярки окончание пробелом, но тогда регулярка не работает. @Fox помоги понять почему пробел цепляется. Просто если после переменной поставить что нить типо mmm то выведет в лог с пробелом 9.WRLv0O7% mmm
    если использовать регулярку типо

    Вы сами написали эту регулярку или использовали конструктор для ленивых? Просто хочу понять, есть ли смысл расписывать почему это происходит

    Вот пример регулярки, которая получает нужную строку:

    c:\\[\s\S]*?(\S+)
    

    https://regex101.com/r/Yxs6AY/1

    d4cd93fc-68f8-44ae-a92a-fd4a35f0b201-изображение.png

  • @Bigma said in Сложный пароль в пару или одно действие:

    @tet-vivi да спасибо, но я не понял, почему регулярка то не работает, которая должна.

    Вообщем с чисткой пробелов итоговый рабочий скрипт
    psw.zip

    У меня ваш скрипт не работает:

    1e209bc8-ba29-4d46-9a89-04b5c7d0c0ba-изображение.png

    Здесь выше уже предлагали использовать готовые библиотеки на js, но для чего использовать чужой код на PowerShell?
    http://www.uvm.edu/~gcd/tag/programming/

    Так же выше я уже описал дословно алгоритм действий BAS, которые решили бы задачу топикастера.

    @Bigma said in Сложный пароль в пару или одно действие:

    @fluffik если длина пароля ограничена 4 или 5 символов, то соглашусь, мой метод не подойдет. При длине в 15 символов, бракованных практически не будет. Да и по мне легче сделать проверку прошел пароль или нет и перегенерировать если вдруг. Вообще все от задачи, если там от пентагона ключи нужно делать, то понятное дело.

    Была озвучена задача, было предоставлено полноценное решение этой задачи, причём здесь пентагон?

  • @Fox said in Сложный пароль в пару или одно действие:

    c:[\s\S]*?(\S+)

    Вы слеш пропустили, но действительно ваш вариант работает

    c:\\[\s\S]*?(\S+)
    

    Точнее форум съедает один слеш.

  • эх, вот генерка паролей из слов, выглядит намного человечнее)

    var a = _spintax('{abandon|abduct|abnormal|aboard|abolish|abound|abroad|abrupt|absent|absorb|abundant|accelerate|accept|access|accessory|accident|accident|acclaim|accommodate|accompany|accomplish|accord|account|account|accurate|accuse|accustom|achieve|acknowledge|acquaint|acquire|acquit|across|adamant|addict|addition|adhere|adjacent|adjective|adjust|admire|adolescent|adultery|advance|advantage|adventure|adverb|adversary|adverse|advertise|advice|advise|advocate|aerial|aerial|affair|affair|affect|affection|affiliate|affirm|afflict|affluent|afford|afraid|aftermath|agenda|aggravate|aggregate|agitate|agreement|agriculture|ailment|airborne|aircraft|airline|albeit|alienate|allege|allegiance|allocate|allowance|allude|allure|almost|alongside|alternate|although|altitude|altogether|amateur|ambassador|ambiguous|ambulance|ambush|amenity|ammunition|amount|amplify|ancestor|anchor|ancient|anguish|animate|anniversary|announce|annual|anthem|anticipate|antique|anxiety|anxious|anymore|anytime|anyway|anywhere|apartment|apiece|apology|apparent|appeal|appear|appear|applause|appliance|appoint|appraise|appreciate|apprentice|approach|appropriate|appropriate|approve|approximate|aquatic|arbitrary|archive|arouse|arrange|arrest|arrive|arrogant|article|article|artificial|ascend|ascertain|ashamed|ashtray|asleep|aspire|assassin|assault|assemble|assert|assess|assign|assimilate|assist|associate|assume|assume|assure|astonish|astound|asylum|atrocity|attach|attack|attain|attempt|attend|attitude|attorney|attract|attribute|audible|audience|augment|authorities|authority|authorize|available|avalanche|average|awesome|awhile|awkward|bachelor|bachelor|backbone|backdrop|background|background|backpack|baffled|balloon|ballot|bandage|banish|bankrupt|banner|baptize|barber|barefoot|barely|bargain|barrel|barren|bartender|basement|basket|bastard|batter|battle|beauty|beaver|beckon|beetle|beforehand|behave|behavior|behold|belief|bellow|beloved|beneath|benefit|benevolent|beside|besides|bestow|betray|beverage|beware|bewilder|beyond|bicycle|billboard|billion|bishop|bitter|bizarre|blackmail|blanket|blatant|bleach|blizzard|blonde|blossom|blouse|bolster|bonfire|border|borough|borrow|bother|bottom|boulder|bounce|boundary|bounds|bounty|bracket|branch|branch|brazen|breach|breadth|breakthrough|breast|breath|breathe|bridge|briefcase|bright|brilliant|bristle|brittle|broadcast|bruise|bubble|bucket|buckle|buffalo|bullet|bullshit|bundle|burden|burglar|burrow|bustle|butcher|butter|butterfly|button|bypass|cabbage|cancel|cancer|candid|candle|cannon|canopy|canvas|capable|capacity|capacity|capital|captive|capture|carbohydrate|carbon|carcass|cardboard|career|caress|carpenter|carpet|carriage|carrot|cartoon|casket|casual|casualty|catering|cathedral|cattle|caution|caviar|cavity|ceiling|celebrate|celebrity|celestial|cellar|cellular|cemetery|censorship|census|century|cereal|certain|chairman|challenge|chamber|chancellor|change|chapel|chapter|character|charge|charge|charge|charity|chatter|checkup|cheerful|chemistry|cherish|chestnut|childhood|chimney|choice|chorus|Christmas|chuckle|church|cinema|cinnamon|circle|circuit|circumstance|circus|citizen|civilian|clamour|clarify|clause|cleanse|cleave|clench|clergy|clerical|clever|climax|clockwise|closet|closure|clothe|clumsy|clutch|clutter|coarse|coaster|coconut|coerce|coffin|coherent|cohesion|coincide|coincidence|collaborate|collapse|collar|collect|collide|colonel|column|combat|combine|comedian|comfort|commemorate|commence|commend|commercial|commission|commit|commitment|commitment|commodity|common|common|commonplace|commonwealth|communicate|community|commute|compact|compare|comparison|compartment|compassion|compatible|compel|compete|complain|complement|complement|complete|complex|complicate|comply|compose|compound|comprehend|comprehensive|compress|comprise|compulsory|comrade|conceal|concede|conceive|concept|concern|conclude|concrete|concur|condemn|condition|condition|conduct|confer|confer|confess|confide|confident|confine|confirm|conform|confront|confuse|congestion|congratulate|conjunction|connect|conquer|conquest|conscience|conscious|consecutive|consent|consequence|consequent|conserve|consider|consider|considerable|consistent|console|conspicuous|conspire|constant|constellation|constitute|constrain|construct|consult|consume|contain|contaminate|contemplate|contemporary|contempt|contend|content|contest|contingency|continue|contract|contradict|contrary|contribute|controversy|convene|convenient|conventional|converge|converse|convert|convey|convict|conviction|convince|cookie|cooperate|copper|corner|corpse|correct|correlate|correspond|corrupt|cotton|council|counsel|counter|counter|counterfeit|counterpart|countryside|county|couple|courage|courtesy|courtyard|coverage|coward|crackle|cradle|crayon|crease|create|creature|credential|credible|creepy|criminal|crimson|cringe|cripple|crossroads|crouch|crucial|crumble|crumple|crunch|crusade|cucumber|cuddle|cuisine|cupboard|curious|currency|current|current|curtain|cushion|custody|custom|custom|customer|customs|dagger|damage|dangle|darling|database|dazzle|debate|debris|decade|deceased|deceive|decent|deception|decide|decisive|declare|decline|decline|decorate|decrease|decree|dedicate|deduct|defeat|defend|deficient|define|definite|deflect|degree|degree|deliberate|delicate|delicious|delight|delinquent|deliver|deliver|delusion|demand|demand|demise|demolish|denote|denounce|dental|depart|department|depend|dependent|depict|deplete|deploy|depress|deprive|deputy|derive|descend|describe|desert|desert|deserve|designate|desire|desktop|desolate|despair|desperate|despise|despite|destination|destiny|destroy|detach|detain|detect|detention|deteriorate|determine|determined|detriment|devastate|develop|deviate|devise|devoid|devote|devour|diamond|dictionary|differ|different|difficulty|diffuse|digest|dignity|diligent|dilute|dimension|diminish|direct|direct|directory|disable|disabled|disappoint|disaster|discard|discern|disciple|disclose|discount|discourage|discourse|discover|discreet|discrepancy|discrete|discretion|discriminate|discuss|disdain|disease|disgrace|disguise|disgust|disillusion|dislocate|dismantle|dismay|dismiss|dismiss|disorder|disparity|dispatch|dispel|dispense|disperse|displace|display|dispute|disrupt|dissent|dissipate|dissolve|distant|distinct|distinguish|distort|distract|distress|distribute|district|disturb|diverge|diverse|divert|divide|divine|divorce|domain|domestic|domestic|donate|donkey|doorway|dormitory|double|doughnut|downtown|downturn|drastic|drawback|drawer|drills|drizzle|drought|dubious|duckling|duplicate|durable|duration|during|dwindle|earnest|earring|Easter|eclipse|edible|educate|efficacy|efficient|effort|either|either|either|elaborate|elevate|elicit|eligible|eliminate|eloquent|embarrass|embassy|embody|embrace|emerge|emergency|eminent|emperor|emphasis|empire|employ|employ|empower|enable|enchant|enclose|encompass|encounter|encourage|endanger|endorse|endure|enforce|engaged|engender|engine|enhance|enlarge|enlighten|enlist|enormous|enrich|ensemble|ensure|entail|enterprise|entertain|entice|entire|entitle|entitle|entity|entrepreneur|envelope|environment|envision|equation|equity|eradicate|errand|escape|essence|essential|establish|esteem|estimate|eternal|evaluate|evaporate|eventual|evidence|evident|evolve|exaggerate|examine|example|excavate|exceed|excellent|except|excerpt|excess|exchange|excite|exclaim|exclude|excuse|execute|execute|exempt|exercise|exhale|exhaust|exhaust|exhibit|expand|expanse|expect|expenditure|expense|experience|expertise|expire|explain|explicit|explode|exploit|explore|expose|express|exquisite|extend|extent|exterior|external|extinct|extinguish|extort|extract|extreme|exuberant|eyebrow|eyelid|fabric|fabulous|facial|facilitate|facility|facility|faction|factory|faculty|failure|fairly|falter|familiar|famine|famous|faraway|farewell|fascinate|fashion|fashion|fasten|fatigue|faucet|feasible|feather|feature|feeble|feedback|fellow|fellow|female|feminine|ferocious|fertile|fiction|fiddle|fidelity|fierce|figure|fingertip|firefighter|fireplace|firework|fisherman|fishing|fixture|flakes|flashlight|flatter|flavor|fleeting|flicker|flight|flight|flinch|flourish|fluctuate|fluent|fluffy|flurry|flutter|folder|foliage|follow|footage|footing|footprint|forcible|forecast|forehead|foreign|foreman|foremost|foresee|former|former|formidable|forthcoming|fortify|fortunate|fortune|fortune|fossil|foster|foster|foundation|fountain|fraction|fracture|fragile|fragrant|framework|frantic|frayed|freeway|freight|frenzy|frequent|friction|friendly|fright|fringe|frontier|fruitless|frustrate|fugitive|fulfil|fumble|funeral|fungus|funnel|furnace|furnish|furnish|furniture|further|futile|future|gamble|garbage|garden|garlic|garment|garnish|gather|gender|general|generation|generous|gentle|genuine|gesture|giggle|glacier|glamour|glance|glasses|glimpse|glitter|goddess|gorgeous|gospel|gossip|govern|gradual|graduate|grapple|grateful|gratify|gratitude|gravel|grease|greenhouse|grievance|grieve|grocery|groove|grudge|grumble|guideline|gutter|habitat|haircut|hallmark|hammer|hamper|handbook|handcuffs|handful|handicap|handkerchief|handle|handle|handsome|handwriting|hangover|happen|harass|hardly|hardware|harness|harvest|hassle|hatred|hazard|headlight|headline|headquarters|health|healthcare|heaven|hebrew|height|helicopter|helpful|helpless|hemisphere|herald|heritage|hesitate|hideous|hierarchy|highlight|highway|hijack|hilarious|hinder|hobble|holler|hollow|homeland|homicide|honest|hopeful|horizon|horrible|horrify|horseback|hospitality|hostage|hostile|household|housewife|however|huddle|humble|humiliate|hunger|hurdle|hurricane|hustle|hustle|hydrogen|hypocrite|ignite|ignorant|illicit|illuminate|imagine|immediate|immense|immerse|imminent|impact|impair|impede|impending|imperative|implement|implicate|implicit|importance|impose|imposing|impress|imprint|improve|incentive|incidence|incline|include|income|incoming|incorporate|increase|incredible|incumbent|indeed|indicate|indifferent|indigenous|induce|indulge|industry|inevitable|inexplicable|infamous|infant|infantry|infect|inferior|infinite|inflame|inflate|inflict|influence|infuse|ingenious|inhabit|inhale|inherent|inherit|inhibit|initial|inject|injure|inland|inmate|innocent|inquire|insect|insert|inside|insight|insist|inspect|inspire|install|instance|instant|instead|insulate|insult|insure|insurgent|intact|intake|integral|integrity|integrity|intelligence|intelligent|intelligible|intend|intended|interact|intercept|intercourse|interfere|interim|interior|intermediate|intern|internal|interpret|interpreter|interrogate|interrupt|intersect|intervene|intestine|intimate|intimidate|intricate|intrinsic|introduce|introduce|invade|invent|inventory|invert|investigate|invite|invoke|involve|involve|inward|irritate|island|jacket|janitor|jealous|jeopardy|jingle|journalism|journey|judicial|jumble|jumper|junction|junior|junkie|justice|justify|kernel|kettle|kidnap|kidney|kindergarten|kitten|knight|knowledge|labour|ladder|lament|landlord|landmark|landscape|lantern|laptop|lateral|latter|laughter|launch|laundry|lavish|lawsuit|layout|leather|leftover|legacy|legislation|legitimate|leisure|length|lessen|letter|lettuce|liable|liaison|liberate|liberty|library|lifelong|lightning|likely|likewise|lineage|lineup|linger|lipstick|liquid|literal|literary|literate|litter|livelihood|livestock|lizard|loathe|lobster|locate|locker|longevity|lounge|lounge|lovely|lucrative|ludicrous|luggage|lumber|luncheon|luxury|lyrics|magazine|magician|magnificent|magnify|magnitude|maiden|mainland|maintain|majesty|makeup|mammal|mammoth|manage|mandatory|manifest|mankind|mansion|mantle|manual|manual|manufacture|manure|marble|margin|margin|marine|marital|maritime|martial|martyr|marvel|massacre|master|master|masterpiece|maternal|matter|matter|matter|mature|meadow|meager|meantime|meanwhile|measure|measure|mediate|medicine|medieval|mediocre|meditate|medium|member|memoirs|memories|memory|menace|mental|mention|mentor|merchandise|merchant|mercury|metropolitan|middle|midnight|midwife|mileage|military|millennium|mindful|mingle|miracle|mischief|miserable|misery|misery|missile|missing|mistake|mistress|mistress|mitigate|mixture|moderate|modest|modify|molest|monastery|monetary|moreover|mortal|mortgage|mosque|mosquito|mostly|motion|mountain|multiple|multiply|multitude|mumble|murder|murmur|muscle|mushroom|Muslim|mustard|muster|mutter|mutual|muzzle|mystery|napkin|narrate|narrow|native|native|natural|naughty|nausea|navigate|necessary|necklace|needle|neglect|negligent|negotiate|neighbour|neither|neither|nephew|network|nevertheless|newcomer|newspaper|nightmare|nipple|nitrogen|nominate|nonetheless|noodles|nostril|notice|notify|notion|notorious|notwithstanding|nourish|novelty|nuclear|nuisance|numerous|nurture|nutrient|nutrition|obedience|object|objective|oblige|oblique|obscene|obscure|observe|obsess|obsolete|obstacle|obstruct|obtain|obvious|occasion|occupation|occupy|offence|offend|officer|offset|offspring|ominous|ongoing|opaque|opening|operate|opinion|opportunity|oppose|opposite|oppress|option|orchard|ordinary|oriental|origin|original|orphan|ostensibly|otherwise|outcome|outdated|outfit|outgoing|outing|outlaw|outlet|outline|outlook|outnumber|output|outrage|outright|outset|outskirts|outstanding|outstanding|outweigh|overall|overcome|overflow|overhead|overhear|overlap|overlook|overnight|override|overseas|oversee|oversight|overtake|overthrow|overtime|overturn|overview|overwhelm|oxygen|oyster|paddle|palace|pancake|paperwork|paragraph|parcel|pardon|parlor|parrot|parsley|participate|particle|particular|partisan|partition|passage|passenger|passion|pastime|pastry|pasture|pathetic|patient|patrol|patron|pattern|payment|peaceful|peacekeeper|peanut|peasant|pebble|peculiar|peddle|pedestrian|penalty|pending|penetrate|peninsula|pepper|perceive|perception|perennial|perfect|perform|perhaps|period|perish|permanent|permit|perpetual|perplex|persecute|persist|persist|personnel|persuade|pervasive|pervert|petroleum|physician|pickle|pierce|pigeon|pillar|pillow|pineapple|placement|placid|plague|plaque|plaster|plausible|playground|please|pleasure|pledge|pledge|plenty|plight|plumbing|plunge|plural|pocket|poison|policy|polish|polite|pollute|ponder|population|porcelain|portable|porter|portray|possess|possible|postpone|posture|potato|potent|poultry|poverty|powder|powerful|practice|prairie|praise|preach|precarious|precaution|precede|precious|precise|preclude|predator|predecessor|predict|predominant|prefer|pregnant|prejudice|preliminary|premature|premise|premises|preoccupy|prepare|prescribe|present|present|preserve|preside|presume|pretend|pretty|pretty|prevail|prevent|previous|priest|primary|primitive|principal|prison|pristine|privacy|private|probable|procedure|proceed|process|proclaim|procure|produce|proficient|profit|profound|prohibit|prolong|prominent|promise|promote|prompt|prompt|pronounce|propagate|propel|proper|property|prophet|proponent|propose|prosecute|prosecute|prospect|prosper|protect|proverb|provide|provided|provisional|proximity|prudent|publish|puddle|pumpkin|punish|puppet|purchase|purple|purpose|pursue|pursuit|puzzle|quaint|quality|quantity|quarrel|quarry|quarter|question|questionnaire|rabbit|radiate|railway|rainbow|raisin|ramble|random|ransom|raspberry|rather|rationale|rattle|ravage|realize|reason|reason|rebound|recall|recede|receipt|receipt|receive|recent|reception|recess|recess|recipe|recipient|reciprocal|recite|reckless|reckon|recognize|recollection|reconcile|record|recount|recover|recreation|recruit|rectangle|recycle|redeem|reduce|redundant|refine|reflect|refrain|refresh|refrigerator|refuge|refugee|refund|refuse|refute|regain|regard|regard|regiment|register|regret|regular|rehearse|reinforce|reject|rejoice|relate|relative|relative|release|relentless|relevant|relief|relieve|relish|reluctant|remain|remainder|remains|remark|remedy|remind|reminiscent|remnant|remorse|remote|remove|render|render|renovate|renown|repair|repeal|replace|replicate|report|represent|repress|reproduce|request|require|rescue|research|resemble|resent|reserve|reserve|reserved|reside|residue|resign|resilient|resist|resolute|resolve|resolve|resort|respective|respond|response|responsible|restore|restrain|restrict|resume|resurrect|retail|retain|retaliate|retarded|retention|retire|retract|retreat|retrieve|retrospect|return|reveal|revenge|revenue|revere|reverse|review|revise|revive|revolt|revolve|reward|ribbon|riddle|ridicule|ridiculous|righteous|rigorous|ripple|roadside|roadway|robust|rodent|rotate|rotate|rotten|rubber|rubbish|rubble|ruffle|rugged|rumble|runaway|runway|rupture|rustic|rustle|ruthless|sacred|sacrifice|saddle|salary|salesperson|salient|saliva|salmon|salvage|salvation|sample|sanctuary|satellite|satisfy|saturated|saucepan|saucer|sausage|savage|savings|savior|scaffold|scales|scarce|scarlet|scatter|schedule|scheme|scholar|science|scissors|scramble|scramble|scrape|scratch|scream|screech|screenplay|scribble|scrutiny|scurry|search|seasoning|secular|secure|sediment|seduce|segregate|seldom|select|selfish|senior|sensation|sensible|sensitive|sentence|sentence|sentiment|separate|sequence|serene|series|sermon|settle|settle|several|severe|sewage|shabby|shadow|shallow|shareholder|shatter|shelter|shepherd|shield|shimmer|shiver|shortage|shoulder|shovel|showcase|shower|shrewd|shriek|shrimp|shrine|shroud|shudder|shuffle|siblings|sideline|sidewalk|sideways|signature|significant|signify|silent|similar|simmer|simple|simulate|simultaneous|sincere|single|singular|sinister|situate|sketch|skillet|skinny|slaughter|sleeve|slender|slight|slipper|slippery|sloppy|sludge|smooth|smother|smudge|smuggle|snapshot|snatch|sneakers|sneeze|snowball|soccer|society|socket|soften|software|solemn|solitary|solitude|solution|solution|someday|somewhat|soothe|sophisticated|sorrow|source|sovereign|sparkle|sparse|special|species|specific|specify|specimen|spectacle|spectator|speculate|spirit|splash|splendid|splinter|spokesman|sponge|spooky|spotlight|spouse|sprawl|sprinkle|sprout|square|square|squash|squeak|squeal|squeeze|squint|squirm|squirrel|squirt|stable|stagger|stairs|stance|standpoint|staple|startle|starve|stature|statutory|steady|stealth|stellar|stifle|stitch|stocking|stomach|straight|straightforward|strain|strait|strand|strand|strangle|strawberry|streak|stream|strength|stress|stretch|strict|strike|string|stringent|stripe|stroke|stroll|struggle|stubborn|stuffy|stumble|stupid|sturdy|subdue|subject|subject|sublime|submerge|submit|subordinate|subscribe|subsequent|subside|subsidiary|subsist|substance|substantial|substantive|substitute|subtitle|subtle|subtract|suburb|subvert|subway|succeed|success|succession|successor|succumb|sudden|suffer|suffice|sufficient|suffocate|suggest|suitcase|summary|summit|summon|sunset|superb|superficial|superintendent|superior|supervise|supplement|supply|supply|support|suppose|suppress|supreme|surface|surgery|surpass|surplus|surprise|surrender|surround|surveillance|survey|survive|susceptible|suspect|suspend|suspicious|sustain|swallow|sweetheart|switch|syllable|symbol|sympathy|syringe|tablet|tackle|tackle|tailor|tangible|tangle|target|tattered|tedious|teenage|temper|temple|temple|temporary|tenant|tender|tentative|terminal|terminate|terrain|terrible|terrify|terror|testament|testify|testimony|thereafter|thereby|therefore|thermal|thirst|thorough|thought|thread|threat|threshold|thrift|thrill|thrive|throat|throng|thrust|thunder|thwart|ticket|tickle|timber|timely|timetable|tissue|tissue|toddler|tolerate|tongue|topple|torment|torture|tournament|traitor|tranquil|transcend|transcript|transfer|transition|transmit|transparent|treachery|treasure|treaty|tremble|tremendous|trench|triangle|tribute|trickle|trigger|triple|trophy|troublesome|trousers|trumpet|tuition|tumble|turkey|turmoil|turnover|turtle|twilight|twinkle|twitch|ultimate|umbrella|unanimous|unbelievable|undergo|underground|underlie|underline|undermine|underneath|underpants|underscore|undertake|underwear|unique|universe|unless|upcoming|update|uphill|uphold|upright|upright|urgent|useful|utility|utilize|vacation|valley|vanish|variety|various|varnish|vegetable|vegetation|vehicle|velocity|velvet|vendor|vengeance|venture|verify|versatile|vessel|vessel|viable|vicinity|vicious|victim|village|villain|vinegar|violate|violent|violet|violin|virgin|virtual|virtue|visible|vision|vocabulary|vocation|volatile|volume|volume|volume|voluntary|voyage|vulnerable|waffle|waiter|wallet|wallpaper|walnut|wander|warden|wardrobe|warehouse|warfare|warmth|warrant|warrior|watchful|watercolor|waterfall|wealth|weapon|wedding|weight|welcome|welfare|welfare|whatsoever|whereabouts|whereas|whereby|whether|whisper|whistle|wholesale|wicked|widespread|wiggle|wilderness|wildlife|willow|windowpane|withdraw|wither|withhold|within|within|withstand|witness|wizard|wobble|wonder|wonder|workshop|worldwide|worsen|worship|worthwhile|wreath|wrench|wrestle|wretched|wrinkle|wrongdoing|youngster|zipper}');
    var arr = a.split('');
    VAR_T = arr;
    var l = arr.length-1;
    for(z=0;z<rand(2,l);z++){
        var i = rand(0,l);
        arr.splice(i,1,arr[i].toUpperCase());
    };
    var l = arr.length;
    if(rand(0,1)){
        for(z=0;z<rand(1,rand(1,4));z++){
            arr.splice(0,0,rand(0,9));
        };
    }else{
        for(z=0;z<rand(1,rand(1,4));z++){
            var l = arr.length;
            arr.splice(l,0,rand(0,9));
        };
    };
    if(rand(0,1)){
        for(z=0;z<rand(1,rand(1,4));z++){
            var s = Array(1).join().split(',').map(function() { return ("!\u0022#$%\u0026\u0027()*+,-./:;\u003c=\u003e?@[\u005c]^_`\u007b|\u007d").charAt(Math.floor(Math.random() * "!\u0022#$%\u0026\u0027()*+,-./:;\u003c=\u003e?@[\u005c]^_`\u007b|\u007d".length)); }).join('')
            arr.splice(0,0,s);
        };
    }else{
        for(z=0;z<rand(1,rand(1,4));z++){
            var l = arr.length;
            var s = Array(1).join().split(',').map(function() { return ("!\u0022#$%\u0026\u0027()*+,-./:;\u003c=\u003e?@[\u005c]^_`\u007b|\u007d").charAt(Math.floor(Math.random() * "!\u0022#$%\u0026\u0027()*+,-./:;\u003c=\u003e?@[\u005c]^_`\u007b|\u007d".length)); }).join('')
            arr.splice(l+1,0,s);
        };
    };
    VAR_PASSWORD = arr.join('');
    log(VAR_PASSWORD);
    

    3871e8f3-78c1-49bf-8066-72c619ba7c8a-image.png

  • @Fox said in Сложный пароль в пару или одно действие:

    Была озвучена задача, было предоставлено полноценное решение этой задачи

    Ну смотри зато сколько вариантов появилось :) это ж здорово.

  • @artihorror Класс :) Но вообще то, словарные пароли зло :) (шутка)

  • @Bigma зло конечно же, но на простую генерку смотреть не нравится, сразу бота видно:D

  • @Fox said in Сложный пароль в пару или одно действие:

    но для чего использовать чужой код на PowerShell?

    я и не говорил что он мой, я просто показал как его можно использовать в бас. Собственно в скрипте все ссылки на автора есть.
    PowerShell у вас на политики ругается там ключ надо какой то поставить чтоб разрешил сессию, но точно не подскажу.

    Там надо отключить политику безопасности. Тут есть подробнее как
    http://get-powershell.ru/2014/zapusk-skripta-powershell/

  • @artihorror said in Сложный пароль в пару или одно действие:

    @Bigma зло конечно же, но на простую генерку смотреть не нравится, сразу бота видно:D

    Кстати не факт, сейчас любой браузер предлагает сгенерировать пароль, и там они далеки от читабельности :)

  • This post is deleted!
  • @GameBot как найти это действие? Это в одно действие?

  • @colombo said in Сложный пароль в пару или одно действие:

    @GameBot как найти это действие? Это в одно действие?

    a69d18a2-574a-487b-a240-230b5b327483-изображение.png