File tree 1 file changed +2
-2
lines changed
2017-04-02-confidence-teaser/pki
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ def check_n(file):
45
45
r = get(url = " https://factordb.com/index.php?query=" + str (n))
46
46
soup = BeautifulSoup(r.text)
47
47
data = soup.getText().split(" \n " )
48
- return is_ok(data)
48
+ return is_ok(data[data.index( ' Result: ' ) + 4 ] )
49
49
```
50
50
51
51
With this after a while we manage to get two nice collisions with proper ` n ` values: [ col1] ( col1 ) , [ col2] ( col2 ) .
@@ -167,7 +167,7 @@ def check_n(file):
167
167
r = get(url = " https://factordb.com/index.php?query=" + str (n))
168
168
soup = BeautifulSoup(r.text)
169
169
data = soup.getText().split(" \n " )
170
- return is_ok(data)
170
+ return is_ok(data[data.index( ' Result: ' ) + 4 ] )
171
171
```
172
172
173
173
Dzięki temu po pewnym czasie udało nam się uzyskać kolizje z pasujacymi ` n ` : [ col1] ( col1 ) , [ col2] ( col2 ) .
You can’t perform that action at this time.
0 commit comments