Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nazywam committed Apr 3, 2017
1 parent bbf2def commit 6341ca6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 2017-04-02-confidence-teaser/pki/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def check_n(file):
r = get(url="https://factordb.com/index.php?query="+str(n))
soup = BeautifulSoup(r.text)
data = soup.getText().split("\n")
return is_ok(data)
return is_ok(data[data.index('Result:')+4])
```

With this after a while we manage to get two nice collisions with proper `n` values: [col1](col1), [col2](col2).
Expand Down Expand Up @@ -167,7 +167,7 @@ def check_n(file):
r = get(url="https://factordb.com/index.php?query="+str(n))
soup = BeautifulSoup(r.text)
data = soup.getText().split("\n")
return is_ok(data)
return is_ok(data[data.index('Result:')+4])
```

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

0 comments on commit 6341ca6

Please sign in to comment.