Commit Graph

115 Commits

Author SHA1 Message Date
Ahmed Aboul-Ela ff641efe56 Updated sublist3r.py 2015-12-16 23:58:50 +02:00
Ahmed Aboul-Ela 4dea5ce6fd Fixed typo in Banner 2015-12-16 23:25:21 +02:00
Ahmed Aboul-Ela 61abd7dc01 Updated sublist3r.py 2015-12-16 23:22:19 +02:00
Ahmed Aboul-Ela 13feabda83 Merge pull request #2 from cclauss/patch-1
Avoid [] or {} as default value for function params
2015-12-16 23:04:48 +02:00
cclauss 3ade887acf Update sublist3r.py 2015-12-16 21:56:40 +01:00
Ahmed Aboul-Ela 229a6640df Merge pull request #1 from yurilaaziz/master
Fix the SSL warning
2015-12-16 17:53:13 +02:00
cclauss cc2d9578bf Avoid [] or {} as default value for function params
This is a great idea with a slick implementation.

__I made these mods on a train journey without the ability to test them!__  I believe them to be correct but please run the app to make sure that IGot it right.

Here is why you should avoid [] or {} as default value for function params:

```python
def func0(subdomains=[]):
    print('before', subdomains)
    subdomains.append(1)
    print(' after', subdomains)

func0()
func0()

print('-' * 10)

def func1(subdomains=None):
    subdomains = subdomains or []
    print('before', subdomains)
    subdomains.append(1)
    print(' after', subdomains)

func1()
func1()
print('')
```
2015-12-16 07:54:31 +01:00
Med Amine Ben Asker bca4b19092 Fix the SSL warning for those who cannot install some of the required development packages 2015-12-15 19:50:19 +01:00
Ahmed Aboul-Ela f33b6f2cba remove unnecessary file 2015-12-15 15:55:17 +02:00
Ahmed Aboul-Ela e38ae8f4a0 Merge branch 'master' of https://github.com/aboul3la/Sublist3r 2015-12-15 15:49:58 +02:00
Ahmed Aboul-Ela 2446dc3877 initial commit 2015-12-15 15:31:23 +02:00
Ahmed Aboul-Ela a0908e2aee Update README.md 2015-12-15 03:34:03 +02:00
Ahmed Aboul-Ela 041bfab251 Update README.md 2015-12-15 03:02:50 +02:00
Ahmed Aboul-Ela c26702c635 Update README.md 2015-12-15 02:56:43 +02:00
Ahmed Aboul-Ela 8cd0b9fb44 Initial commit 2015-12-15 02:55:25 +02:00