Skip to content

Commit 6341ca6

Browse files
authored
Update README.md
1 parent bbf2def commit 6341ca6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

2017-04-02-confidence-teaser/pki/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def check_n(file):
4545
r = get(url="https://factordb.com/index.php?query="+str(n))
4646
soup = BeautifulSoup(r.text)
4747
data = soup.getText().split("\n")
48-
return is_ok(data)
48+
return is_ok(data[data.index('Result:')+4])
4949
```
5050

5151
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):
167167
r = get(url="https://factordb.com/index.php?query="+str(n))
168168
soup = BeautifulSoup(r.text)
169169
data = soup.getText().split("\n")
170-
return is_ok(data)
170+
return is_ok(data[data.index('Result:')+4])
171171
```
172172

173173
Dzięki temu po pewnym czasie udało nam się uzyskać kolizje z pasujacymi `n`: [col1](col1), [col2](col2).

0 commit comments

Comments
 (0)