diff --git a/Makefile b/Makefile
deleted file mode 100644
index 9c05626..0000000
--- a/Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-CC=gcc
-CFLAGS=-O2
-GUESS_SID_OBJS=log.o SIDGuesser.o
-LDFLAGS=-pthread
-
-all: sidguess
-
-
-sidguess: $(GUESS_SID_OBJS)
-	$(CC) -o sidguess $(GUESS_SID_OBJS) $(LDFLAGS)
-
-clean:
-	rm -f *~ *.o sidguess sidguess.exe
-
-distclean: clean
-	rm -f Makefile config.h
diff --git a/config.h b/config.h
deleted file mode 100644
index f1277f3..0000000
--- a/config.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/* config.h.  Generated by configure.  */
-/* config.h.in.  Generated from configure.in by autoheader.  */
-
-/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
-/* #undef HAVE_DOPRNT */
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define to 1 if you have the `memset' function. */
-#define HAVE_MEMSET 1
-
-/* Define to 1 if you have the `socket' function. */
-#define HAVE_SOCKET 1
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* Define to 1 if you have the `strchr' function. */
-#define HAVE_STRCHR 1
-
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Define to 1 if you have the `vprintf' function. */
-#define HAVE_VPRINTF 1
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS"
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "FULL-PACKAGE-NAME"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION"
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME "full-package-name"
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION "VERSION"
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Define to empty if `const' does not conform to ANSI C. */
-/* #undef const */
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3fd962e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,19 @@
+sidguesser (1.0.5-1kali1) kali-dev; urgency=medium
+
+  [ Raphaƫl Hertzog ]
+  * Update Maintainer field
+  * Update Vcs-* fields for the move to gitlab.com
+  * Add GitLab's CI configuration file
+  * Configure git-buildpackage for Kali
+  * Update URL in GitLab's CI configuration file
+
+  [ Sophie Brun ]
+  * Update packaging
+
+ -- Sophie Brun <sophie@offensive-security.com>  Wed, 13 Jan 2021 10:12:30 +0100
+
+sidguesser (1.0.5-1kali0) kali; urgency=low
+
+  * Initial release
+
+ -- Devon Kearns <dookie@kali.org>  Sat, 29 Dec 2012 07:15:22 -0700
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..89cb693
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,17 @@
+Source: sidguesser
+Section: utils
+Priority: optional
+Maintainer: Kali Developers <devel@kali.org>
+Build-Depends: debhelper-compat (= 13)
+Standards-Version: 4.5.1
+Homepage: http://www.cqure.net/wp/tools/database/sidguesser/
+Vcs-Git: https://gitlab.com/kalilinux/packages/sidguesser.git
+Vcs-Browser: https://gitlab.com/kalilinux/packages/sidguesser
+
+Package: sidguesser
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Guesses sids against an Oracle database
+ Guesses sids/instances against an Oracle database according
+ to a predefined dictionary file. The speed is slow (80-100
+ guesses per second) but it does the job.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8aaba49
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,41 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: sidguesser
+Source: http://www.cqure.net/wp/tools/database/sidguesser/
+
+Files: *
+Copyright: 2006- Patrik Karlsson <patrik@cqure.net>
+License: GPL-2+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+Files: debian/*
+Copyright: 2012 Devon Kearns <dookie@kali.org>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..d9115b4
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,10 @@
+[DEFAULT]
+debian-branch = kali/master
+debian-tag = kali/%(version)s
+pristine-tar = True
+
+[pq]
+patch-numbers = False
+
+[dch]
+multimaint-merge = True
diff --git a/debian/kali-ci.yml b/debian/kali-ci.yml
new file mode 100644
index 0000000..058e396
--- /dev/null
+++ b/debian/kali-ci.yml
@@ -0,0 +1,2 @@
+include:
+  - https://gitlab.com/kalilinux/tools/kali-ci-pipeline/raw/master/recipes/kali.yml
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..71cd4cc
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+override_dh_auto_install:
+	dh_installdirs
+	install sidguess $(CURDIR)/debian/sidguesser/usr/bin/
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)