John the Ripper / Hashcat rule, reject candidate if char at position X is the same as character at position Y

I’m using John to generate some word lists and I’m trying to figure out the most optimized way to do the next step. What I want to do is add ever possible 3 digit number to a set where the first digit of the number is not the same as the first digit in the set

Set example 123ABC

to add

+ 213 = 123ABC213 OK

+ 131 = 123ABC131 REJECT

I see rules that reject unless a string includes, but not a comparison function like this.

I could make the whole list and prune it after with a python script, but it would be way bigger than needed.

Thank you!

[ Global Warming ] Open Question : Presidential Democratic candidate Marianne Willamson calls for conscription to combat “climate change.” Will her idea catch on?

Marianne Williamson wants a national mandatory service for people ages 18-26 to combat climate change —– Jeanine Santucci, USA TODAY Published 3:22 p.m. ET Sept. 19, 2019 Passage from article….. “At a presidential climate change forum on Thursday, author and Democratic presidential hopeful Marianne Williamson floated the idea of a national mandatory year of service for young adults to tackle climate change. “I would like to ask your opinion, I think during the ‘season of repair,’ we should have a mandatory national service, one year, for people between 18 and 26 because we need you,” Williamson said. “We need to fix this climate. We need to fix this country.” https://www.usatoday.com/story/news/politics/elections/2019/09/19/marianne-williamson-proposes-mandatory-national-service-climate-forum/2376414001/

[ Politics ] Open Question : Could Dem candidate & spiritualist: Marianne Williamson convince Trumpers to give up hate & white identity politics & embrace love and peace?

“Our deepest fear is not that we are inadequate. Our deepest fear is that we are powerful beyond measure. It is our Light, not our Darkness, that most frightens us. ” Marianne Williamson

gitlab-ci : Package ‘mysql-client’ has no installation candidate

I am using “mysql 5.7” in my “gitlab-ci” file and use “apt-get -y install mysql-client” to install sql client but it is always giving me error. ERROR : “Package mysql-client is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source”. Thanks in advance…

Package ‘xorg-input-abi-22’ has no installation candidate error

I am installing LCD 5 Inch for Raspberry Zero with Debian base OS (Rasbian) when i want to install the LCD Driver i get this error:

pi@raspberrypi:~/Desktop $   cd L* pi@raspberrypi:~/Desktop/LCD-show $   sudo ./LCD5-show mkdir: cannot create directory ā€˜/etc/X11/xorg.conf.dā€™: File exists this is raspberrypi kernel 1200 need to update touch configuration dpkg: warning: downgrading xserver-xorg-input-evdev from 1:2.10.5-1 to 1:2.10.3-1 (Reading database ... 80962 files and directories currently installed.) Preparing to unpack xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb ... Unpacking xserver-xorg-input-evdev (1:2.10.3-1) over (1:2.10.5-1) ... dpkg: dependency problems prevent configuration of xserver-xorg-input-evdev:  xserver-xorg-input-evdev depends on xorg-input-abi-22; however:   Package xorg-input-abi-22 is not installed.  dpkg: error processing package xserver-xorg-input-evdev (--install):  dependency problems - leaving unconfigured Processing triggers for man-db (2.7.6.1-2) ... Errors were encountered while processing:  xserver-xorg-input-evdev reboot Connection to 192.168.7.2 closed by remote host. Connection to 192.168.7.2 closed. 

Based of the OS response i thought to install Package xorg-input-abi-22 manually and i print this command firstly:

sudo apt-get update   sudo apt-get upgrade  

then trying to install Package xorg-input-abi-22 but i get this error:

pi@raspberrypi:~ $   sudo apt-get install  xorg-input-abi-22 Reading package lists... Done Building dependency tree        Reading state information... Done Package xorg-input-abi-22 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'xorg-input-abi-22' has no installation candidate 

So what can i do to solve this problem?

This question is related to other my question in this link.

Thanks.

Find candidate keys given functional dependencies

In my database class we practiced how to find the candidate keys, given the functional dependencies. However they were easy examples, based on a single attribute being functionally dependent on a single attribute but in our book it gives the following example of more complex functional dependencies. Let’s say that I have the following relationship:

$ $ R(A,B,C,D,E,F)$ $

with the following functional dependencies:

$ $ f_1: \{A,B,C\} \to \{D,F\}$ $ $ $ f_2: \{D,E,F\} \to \{A,C,E\}$ $ $ $ f_3: \{D\} \to \{B\}$ $

and I need to find all the candidate keys. Because we need at least $ 3$ of the attributes to make candidate keys. Through writing out each of the tuples made up of $ 3$ or more attributes, I found that $ \{A, D,E,F\}$ , $ \{A,B,C,E\}$ , $ \{D,E,F\}$ and $ \{A,C,D,E\}$ are all candidate keys. However the catch is that either $ \{A, D,E,F\}$ , $ \{A,B,C,E\}$ or $ \{D,E,F\}$ ,$ \{A,C,D,E\}$ , $ \{A,B,C,E\}$ are the candidate keys.

I think that because the definition of a candidate key is that there can’t be a subset of it that’s also a candidate key. Using this logic, $ \{A, D,E,F\}$ would also not be candidate key as $ \{D,E,F\}$ is already a candidate key. Therefore, the final candidate keys would be:

$ $ \{D,E,F\},\{A,C,D,E\}, \{A,B,C,E\}$ $

Is my understanding of the topic correct or have I gone of the rails?