Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 758a858

Browse files
committed
Minor adjustments
1 parent 5556db8 commit 758a858

3 files changed

Lines changed: 23 additions & 2 deletions

File tree

lib/utils/timeout.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
#!/usr/bin/env python
22

3+
"""
4+
$Id$
5+
6+
This file is part of the sqlmap project, http://sqlmap.sourceforge.net.
7+
8+
Copyright (c) 2007-2010 Bernardo Damele A. G. <[email protected]>
9+
Copyright (c) 2006 Daniele Bellucci <[email protected]>
10+
11+
sqlmap is free software; you can redistribute it and/or modify it under
12+
the terms of the GNU General Public License as published by the Free
13+
Software Foundation version 2 of the License.
14+
15+
sqlmap is distributed in the hope that it will be useful, but WITHOUT ANY
16+
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17+
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
18+
details.
19+
20+
You should have received a copy of the GNU General Public License along
21+
with sqlmap; if not, write to the Free Software Foundation, Inc., 51
22+
Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23+
"""
24+
325
import threading
426

527
from lib.core.data import logger
@@ -20,6 +42,7 @@ def run(self):
2042
thread = InterruptableThread()
2143
thread.start()
2244
thread.join(duration)
45+
2346
if thread.isAlive():
2447
return default
2548
else:

plugins/dbms/oracle/connector.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
except ImportError, _:
2828
pass
2929

30-
from lib.core.data import conf
3130
from lib.core.data import logger
3231
from lib.core.exception import sqlmapConnectionException
3332

plugins/dbms/postgresql/connector.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
except ImportError, _:
2828
pass
2929

30-
from lib.core.data import conf
3130
from lib.core.data import logger
3231
from lib.core.exception import sqlmapConnectionException
3332

0 commit comments

Comments
 (0)