Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Scambaiting word replace script for AutoHotkey
- ; This script randomly selects one of several replacements for a typed
- ; word. For instance, if the scammer types ipconfig, there is a 30%
- ; chance that it will be replaced with 'ifconfig', a 30% chance it will
- ; be replaced with 'piconfig', a 20% chance it will be replaced with
- ; 'I pee config', and a 20% chance that it stays as it is.
- ; It is possible to disable keywords to stay the same, this is done by
- ; either passing the 0 parameter to the program when starting the script
- ; or by changing the default from true to false in the 'Parameters'
- ; section below. However, it might be useful to leave the feature
- ; enabled, because then it is less likely that the scammer quits the
- ; connection immediately.
- ; Obviously, keywords can be added or removed and propabilities of
- ; replacements can be changed.
- ; By the way, the assigned weights do not need to add up to 100%, any
- ; sum will do.
- ; Happy scambaiting and don't let any wiruses onto your dextop!
- ; =====================================================================
- ; AutoHotkey Config Commands
- #NoEnv ; Variables are not treated as environment vars
- SendMode Input ; Setting send mode to input
- ; =====================================================================
- ; Method
- WeightSelect(options) ; options is a map string->integer.
- {
- threshold := {}
- words := []
- current := 0
- for word, weight in options
- {
- current += weight
- threshold[word] := current
- words.push(word)
- }
- Random, rand, 0, current - 1
- for word in words
- {
- if (rand < threshold[words[word]])
- return words[word]
- }
- }
- ; =====================================================================
- ; Parameters
- AllowCorrect := true ; By default, correct words are enabled.
- if 0 > 0
- AllowCorrect = %1% ; If the startup parameter is 0, correct words
- ; are never allowed. If it is 1, correct words
- ; can be generated randomly (usually 20% chance)
- ; =====================================================================
- ; Hotstrings
- ; Commands
- :o*:cmd::
- Send % WeightSelect({
- ( Join
- "cd": 16,
- "dmc": 16,
- "md": 16,
- "mmc": 16,
- "cm": 16,
- "cmd": (AllowCorrect ? 20 : 0)
- )})
- return
- :o*:eventvwr::
- Send % WeightSelect({
- ( Join
- "evntvwr": 30,
- "logbook": 5,
- "eventwaiver": 30,
- "eventweaver": 15,
- "eventvwr": (AllowCorrect ? 20 : 0)
- )})
- return
- :o*:tree::
- Send % WeightSelect({
- ( Join
- "treee": 50,
- "treeee": 15,
- "treeeee": 10,
- "treeeeee": 5,
- "tree": (AllowCorrect ? 20 : 0)
- )})
- return
- :o*:msconfig::
- Send % WeightSelect({
- ( Join
- "em es confix": 10,
- "smconfig": 40,
- "smsconfig": 15,
- "msgonfic": 15,
- "msconfig": (AllowCorrect ? 20 : 0)
- )})
- return
- :o*:cd ..:: ; Note: The second and third option grab the first or second directory by tabbing and cd to it
- Send % WeightSelect({
- ( Join
- "cd..": 40,
- "cd ": 25,
- "cd ": 15,
- "cd": 10,
- "cd ..": (AllowCorrect ? 20 : 0)
- )})
- return
- :o*:netstat::
- Send % WeightSelect({
- ( Join
- "netflix": 25,
- "netscape": 25,
- "netscam": 20,
- "nutstat": 10,
- "netstat": (AllowCorrect ? 20 : 0)
- )})
- return
- :o*:ipconfig:: ; Bonus: Create a program called piconfig in system32 that outputs pi, then increase weight of piconfig here
- Send % WeightSelect({
- ( Join
- "ifconfig": 30,
- "I pee config": 20,
- "piconfig": 30,
- "ipconfig": (AllowCorrect ? 20 : 0)
- )})
- return
- :o*:syskey::
- Send % WeightSelect({
- ( Join
- "syksey": 25,
- "syykey": 25,
- "scamkey": 20,
- "suckkey": 10,
- "syskey": (AllowCorrect ? 20 : 0)
- )})
- return
- ; Words usually typed in notepad
- :o*:desktop::
- Send % WeightSelect({
- ( Join
- "dextop": 50,
- "deskpod": 5,
- "tesktop": 5,
- "dekstop": 10,
- "desktop": (AllowCorrect ? 20 : 0)
- )})
- return
- :o*:virus::
- Send % WeightSelect({
- ( Join
- "wirus": 50,
- "bloody wirus": 5,
- "WIRUS": 5,
- "y-rus": 10,
- "virus": (AllowCorrect ? 20 : 0)
- )})
- return
- :o*:scan::
- Send % WeightSelect({
- ( Join
- "scam": 50,
- "skan": 20,
- "scaaaaaaaannnnnnnnnnnnn": 10,
- "scan": (AllowCorrect ? 20 : 0)
- )})
- return
- :o*:name::
- Send % WeightSelect({
- ( Join
- "naam": 40,
- "naaaaaaaaaaaaaaammmmmmmmmmmmmmmmmmmeeeeeeeeeeeeeeeeeeee": 20,
- "YOUR FUCKING NAME": 20,
- "name": (AllowCorrect ? 20 : 0)
- )})
- return
- :o*:e-mail::
- :o*:email::
- Send % WeightSelect({
- ( Join
- "weemail": 30,
- "eeh mail": 30,
- "peemail": 10,
- "YOUR FUCKING EMAIL": 10,
- "email": (AllowCorrect ? 20 : 0)
- )})
- return
- :o*:visa::
- Send % WeightSelect({
- ( Join
- "WISA": 50,
- "PISA": 20,
- "WEESA": 10,
- "VISA": (AllowCorrect ? 20 : 0)
- )})
- return
- :o*:master::
- Send % WeightSelect({
- ( Join
- "masturbator": 40,
- "wisa": 30,
- "masasa": 10,
- "master": (AllowCorrect ? 20 : 0)
- )})
- return
- :o*:cvv::
- Send % WeightSelect({
- ( Join
- "see wee wee": 50,
- "see me me": 20,
- "VVC": 10,
- "cvv": (AllowCorrect ? 20 : 0)
- )})
- return
- :o*:year::
- Send % WeightSelect({
- ( Join
- "साल": 40,
- "yay": 20,
- "day": 20,
- "year": (AllowCorrect ? 20 : 0)
- )})
- return
- :o*:anti::
- Send % WeightSelect({
- ( Join
- "pro": 50,
- "new ": 20,
- "dandy": 10,
- "anti": (AllowCorrect ? 20 : 0)
- )})
- return
- :o*:minute::
- Send % WeightSelect({
- ( Join
- "hour": 50,
- "day": 20,
- "week": 10,
- "minute": (AllowCorrect ? 20 : 0)
- )})
- return
- :o*:USD::
- Send % WeightSelect({
- ( Join
- "XXX": 10,
- "CAD": 10,
- "JPY": 10,
- "CHF": 10,
- "FJD": 10,
- "HRK": 10,
- "MXN": 10,
- "NOK": 10,
- "USD": (AllowCorrect ? 20 : 0)
- )})
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement