Anonosurf debian buster

hello i would like to install parrot-anosurf on my other pc debian buster but there is no installer nor binary and i don’t want to install kali-anonsurf so is it possible?(the tuto of 2019 doesn’t work anymore)

It is a fork of version 2.x. I don’t recommend using it

As long as all dependencies are good. For now the Makefile of anonsurf is just to compile binaries and package anonsurf is mixed of compiling and use debian package install method to install files into system.
All you have to do is:

  1. Install requirements: devscripts, nim
  2. Install gintro nimble install gintro
  3. Clone the project source, go to anonsurf/nimsrc/anonsurf/, remove any line switch("path", "/usr/include/nim/") in .nims files. It should be AnonSurfCli.nims and AnonSurfGTK.nims
  4. Go to parrent folder, the anonsurf and run debuild -us -uc -b. The .deb package will be at parent folder of it. You just need to install .deb file (don’t install dbgsym)

thanks! but many warning for nimble install gintro

Prompt: No local packages.json found, download it from internet? [y/N]
Answer: y
Downloading Official package list
Success Package list downloaded.
Downloading GitHub - StefanSalewski/gintro: High level GObject-Introspection based GTK3/GTK4 bindings for Nim language using git
preparing gintro
–2021-03-15 21:04:55-- https://raw.githubusercontent.com/StefanSalewski/oldgtk3/master/oldgtk3/gobject.nim
Résolution de raw.githubusercontent.com (raw.githubusercontent.com)… 185.199.108.133, 185.199.110.133, 185.199.109.133, …
Connexion à raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 108015 (105K) [text/plain]
Sauvegarde en : « gobject.nim »

gobject.nim 100%[===================>] 105,48K --.-KB/s ds 0,1s

2021-03-15 21:04:55 (729 KB/s) — « gobject.nim » sauvegardé [108015/108015]

–2021-03-15 21:04:55-- https://raw.githubusercontent.com/StefanSalewski/oldgtk3/master/oldgtk3/glib.nim
Résolution de raw.githubusercontent.com (raw.githubusercontent.com)… 185.199.111.133, 185.199.108.133, 185.199.110.133, …
Connexion à raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 256798 (251K) [text/plain]
Sauvegarde en : « glib.nim »

glib.nim 100%[===================>] 250,78K 1,13MB/s ds 0,2s

2021-03-15 21:04:56 (1,13 MB/s) — « glib.nim » sauvegardé [256798/256798]

–2021-03-15 21:04:56-- https://raw.githubusercontent.com/StefanSalewski/oldgtk3/master/oldgtk3/gir.nim
Résolution de raw.githubusercontent.com (raw.githubusercontent.com)… 185.199.109.133, 185.199.111.133, 185.199.108.133, …
Connexion à raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 33340 (33K) [text/plain]
Sauvegarde en : « gir.nim »

gir.nim 100%[===================>] 32,56K --.-KB/s ds 0,03s

2021-03-15 21:04:56 (1,21 MB/s) — « gir.nim » sauvegardé [33340/33340]

Hint: used config file ‘/etc/nim/nim.cfg’ [Conf]
Hint: used config file ‘/etc/nim/config.nims’ [Conf]

/tmp/gintrosalewski/glib.nim(2914, 3) Hint: ‘G_NORMALIZE_NFKC’ is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(3040, 3) Hint: ‘G_IO_FLAGS_GET_MASK’ is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(31, 3) Hint: ‘GTK_DOC_IGNORE’ is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(34, 3) Hint: ‘INC_STDLIB’ is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(1806, 3) Hint: ‘G_TRAVERSE_MASK’ is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(26, 3) Hint: ‘MINGW_H’ is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(1807, 3) Hint: ‘G_TRAVERSE_LEAFS’ is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(23, 3) Hint: ‘GLIB_COMPILATION’ is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(2912, 3) Hint: ‘G_NORMALIZE_NFC’ is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(1808, 3) Hint: ‘G_TRAVERSE_NON_LEAFS’ is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(2911, 3) Hint: ‘G_NORMALIZE_NFD’ is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(22, 3) Hint: ‘GLIB_H_INSIDE’ is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(4652, 3) Hint: ‘G_REGEX_MATCH_PARTIAL_SOFT’ is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(27, 3) Hint: ‘STDLIB_H’ is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(2913, 3) Hint: ‘G_NORMALIZE_NFKD’ is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(29, 3) Hint: ‘MSC_VER’ is declared but not used [XDeclaredButNotUsed]
.
/tmp/gintrosalewski/gobject.nim(658, 3) Hint: ‘G_PARAM_READWRITE’ is declared but not used [XDeclaredButNotUsed]

/tmp/gintrosalewski/gen.nim(186, 6) Hint: ‘endsWith’ is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/gen.nim(65, 10) Hint: ‘isTypeInfo’ is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/gen.nim(238, 6) Hint: ‘renumber’ is declared but not used [XDeclaredButNotUsed]
CC: stdlib_assertions.nim
CC: stdlib_dollars.nim
CC: stdlib_formatfloat.nim
CC: stdlib_io.nim
CC: stdlib_system.nim
CC: stdlib_math.nim
CC: stdlib_algorithm.nim
CC: stdlib_strutils.nim
CC: stdlib_pathnorm.nim
CC: stdlib_times.nim
CC: stdlib_os.nim
CC: glib.nim
CC: gobject.nim
CC: gir.nim
CC: stdlib_sequtils.nim
CC: stdlib_streams.nim
CC: stdlib_hashes.nim
CC: stdlib_sets.nim
CC: stdlib_tables.nim
CC: stdlib_editdistance.nim
CC: maxby.nim
CC: stdlib_dynlib.nim
CC: gen.nim
Hint: [Link]
Hint: 65220 lines; 5.450s; 117.289MiB peakmem; Debug build; proj: /tmp/gintrosalewski/gen.nim; out: /tmp/gintrosalewski/gen [SuccessX]
First we try generating bindings for GTK4, this may fail when GTK4 is not properly installed
on your computer. But don’t worry, you can still use GTK3
Can’t load gtk4 library!
Failed to load Gtk
Typelib file for namespace ‘Gtk’, version ‘4.0’ not found
Maybe for your OS you have to install additional GTK related packages?
We continue with the remaining packages…
Failed to load Gdk
Typelib file for namespace ‘Gdk’, version ‘4.0’ not found
Maybe for your OS you have to install additional GTK related packages?
We continue with the remaining packages…
Failed to load GdkX11
Typelib file for namespace ‘GdkX11’, version ‘4.0’ not found
Maybe for your OS you have to install additional GTK related packages?
We continue with the remaining packages…
Failed to load Gsk
Typelib file for namespace ‘Gsk’ (any version) not found
Maybe for your OS you have to install additional GTK related packages?
We continue with the remaining packages…
Failed to load Graphene
Typelib file for namespace ‘Graphene’ (any version) not found
Maybe for your OS you have to install additional GTK related packages?
We continue with the remaining packages…
gobject…: Remaining delayed methods: 0 (Fine!)
glib…: Remaining delayed methods: 0 (Fine!)
gio…: Remaining delayed methods: 0 (Fine!)
gdkpixbuf…: Remaining delayed methods: 0 (Fine!)
gmodule…: Remaining delayed methods: 0 (Fine!)
gtksource5…: Remaining delayed methods: 0 (Fine!)
atk…: Remaining delayed methods: 0 (Fine!)
pango…: Remaining delayed methods: 0 (Fine!)
pangocairo…: Remaining delayed methods: 0 (Fine!)
pangoft2…: Remaining delayed methods: 0 (Fine!)
fontconfig…: Remaining delayed methods: 0 (Fine!)
freetype2…: Remaining delayed methods: 0 (Fine!)

** (process:9443): WARNING **: 21:05:22.634: Failed to load shared library ‘libharfbuzz-gobject.so.0’ referenced by the typelib: libharfbuzz-gobject.so.0: cannot open shared object file: No such file or directory
Caution: No free/unref found for (hb_blob_copy_writable_or_fail)
Caution: No free/unref found for (hb_blob_create_from_file)
Caution: No free/unref found for (hb_blob_create_sub_blob)
Caution: No free/unref found for (hb_blob_get_empty)
Caution: No free/unref found for (hb_buffer_create)
Caution: No free/unref found for (hb_buffer_get_empty)
Caution: No free/unref found for (hb_face_builder_create)
Caution: No free/unref found for (hb_face_create)
Caution: No free/unref found for (hb_face_create_for_tables)
Caution: No free/unref found for (hb_face_get_empty)
Caution: No free/unref found for (hb_face_reference_blob)
Caution: No free/unref found for (hb_face_reference_table)
Caution: No free/unref found for (hb_font_funcs_create)
Caution: No free/unref found for (hb_font_funcs_get_empty)
Caution: No free/unref found for (hb_font_create)
Caution: No free/unref found for (hb_font_create_sub_font)
Caution: No free/unref found for (hb_font_get_empty)
Caution: No free/unref found for (hb_glib_blob_create)
Caution: No free/unref found for (hb_map_create)
Caution: No free/unref found for (hb_map_get_empty)
Caution: No free/unref found for (hb_ot_color_glyph_reference_png)
Caution: No free/unref found for (hb_ot_color_glyph_reference_svg)
Caution: No free/unref found for (hb_ot_meta_reference_entry)
Caution: No free/unref found for (hb_set_create)
Caution: No free/unref found for (hb_set_get_empty)
Caution: No free/unref found for (hb_shape_plan_create)
Caution: No free/unref found for (hb_shape_plan_create2)
Caution: No free/unref found for (hb_shape_plan_create_cached)
Caution: No free/unref found for (hb_shape_plan_create_cached2)
Caution: No free/unref found for (hb_shape_plan_get_empty)
Caution: No free/unref found for (hb_buffer_get_unicode_funcs)
Caution: No free/unref found for (hb_unicode_funcs_create)
Caution: No free/unref found for (hb_unicode_funcs_get_empty)
Caution: No free/unref found for (hb_unicode_funcs_get_parent)
harfbuzz…: Remaining delayed methods: 0 (Fine!)
Failed to load Rsvg
Typelib file for namespace ‘Rsvg’ (any version) not found
Maybe for your OS you have to install additional GTK related packages?
We continue with the remaining packages…
xlib…: Remaining delayed methods: 0 (Fine!)
notify…: Remaining delayed methods: 0 (Fine!)
Failed to load Nice
Typelib file for namespace ‘Nice’ (any version) not found
Maybe for your OS you have to install additional GTK related packages?
We continue with the remaining packages…
cairo…: Remaining delayed methods: 0 (Fine!)
Failed to load WebKit2
Typelib file for namespace ‘WebKit2’, version ‘5.0’ not found
Maybe for your OS you have to install additional GTK related packages?
We continue with the remaining packages…
Failed to load JavaScriptCore
Typelib file for namespace ‘JavaScriptCore’, version ‘5.0’ not found
Maybe for your OS you have to install additional GTK related packages?
We continue with the remaining packages…
soup…: Remaining delayed methods: 0 (Fine!)
Failed to load WebKit2WebExtension
Typelib file for namespace ‘WebKit2WebExtension’, version ‘5.0’ not found
Maybe for your OS you have to install additional GTK related packages?
We continue with the remaining packages…
gst…: Remaining delayed methods: 0 (Fine!)
gstbase…: Remaining delayed methods: 0 (Fine!)
gstallocators…: Remaining delayed methods: 0 (Fine!)
gstapp…: Remaining delayed methods: 0 (Fine!)
gstaudio…: Remaining delayed methods: 0 (Fine!)
gstcheck…: Remaining delayed methods: 0 (Fine!)
gstcontroller…: Remaining delayed methods: 0 (Fine!)
gstgl…: Remaining delayed methods: 0 (Fine!)
gstinsertbin…: Remaining delayed methods: 0 (Fine!)
gstmpegts…: Remaining delayed methods: 0 (Fine!)
gstnet…: Remaining delayed methods: 0 (Fine!)
gstplayer…: Remaining delayed methods: 0 (Fine!)
gstrtp…: Remaining delayed methods: 0 (Fine!)
gstrtsp…: Remaining delayed methods: 0 (Fine!)
gstsdp…: Remaining delayed methods: 0 (Fine!)
gsttag…: Remaining delayed methods: 0 (Fine!)
gstvideo…: Remaining delayed methods: 0 (Fine!)
gstwebrtc…: Remaining delayed methods: 0 (Fine!)
gstapp…: Remaining delayed methods: 0 (Fine!)
gstpbutils…: Remaining delayed methods: 0 (Fine!)
Generating bindings for GTK3…

(gen:9487): Gtk-WARNING **: 21:06:03.156: Theme parsing error: gtk.css:4184:13: negative values are not allowed.

(gen:9487): Gtk-WARNING **: 21:06:03.172: Theme parsing error: gtk.css:7712:4: Expected semicolon

(gen:9487): Gtk-WARNING **: 21:06:03.172: Theme parsing error: gtk.css:7728:4: Expected semicolon

(gen:9487): Gtk-WARNING **: 21:06:03.172: Theme parsing error: gtk.css:7734:4: Expected semicolon

(gen:9487): Gtk-WARNING **: 21:06:03.173: Theme parsing error: gtk.css:7941:13: negative values are not allowed.

(gen:9487): Gtk-WARNING **: 21:06:03.173: Theme parsing error: gtk.css:8125:19: negative values are not allowed.

(gen:9487): Gtk-WARNING **: 21:06:03.175: Theme parsing error: gtk.css:8403:21: negative values are not allowed.

(gen:9487): Gtk-WARNING **: 21:06:03.175: Theme parsing error: gtk.css:8404:24: negative values are not allowed.
gtk…: Remaining delayed methods: 0 (Fine!)
gdk…: Remaining delayed methods: 0 (Fine!)
gdkx11…: Remaining delayed methods: 0 (Fine!)
Failed to load Graphene
Typelib file for namespace ‘Graphene’ (any version) not found
Maybe for your OS you have to install additional GTK related packages?
We continue with the remaining packages…
gobject…: Remaining delayed methods: 0 (Fine!)
glib…: Remaining delayed methods: 0 (Fine!)
gio…: Remaining delayed methods: 0 (Fine!)
gdkpixbuf…: Remaining delayed methods: 0 (Fine!)
gmodule…: Remaining delayed methods: 0 (Fine!)
gtksource…: Remaining delayed methods: 0 (Fine!)
atk…: Remaining delayed methods: 0 (Fine!)
pango…: Remaining delayed methods: 0 (Fine!)
pangocairo…: Remaining delayed methods: 0 (Fine!)
pangoft2…: Remaining delayed methods: 0 (Fine!)
fontconfig…: Remaining delayed methods: 0 (Fine!)
freetype2…: Remaining delayed methods: 0 (Fine!)

** (gen:9487): WARNING **: 21:06:38.940: Failed to load shared library ‘libharfbuzz-gobject.so.0’ referenced by the typelib: libharfbuzz-gobject.so.0: Ne peut ouvrir le fichier d’objet partagé: Aucun fichier ou dossier de ce type
Caution: No free/unref found for (hb_blob_copy_writable_or_fail)
Caution: No free/unref found for (hb_blob_create_from_file)
Caution: No free/unref found for (hb_blob_create_sub_blob)
Caution: No free/unref found for (hb_blob_get_empty)
Caution: No free/unref found for (hb_buffer_create)
Caution: No free/unref found for (hb_buffer_get_empty)
Caution: No free/unref found for (hb_face_builder_create)
Caution: No free/unref found for (hb_face_create)
Caution: No free/unref found for (hb_face_create_for_tables)
Caution: No free/unref found for (hb_face_get_empty)
Caution: No free/unref found for (hb_face_reference_blob)
Caution: No free/unref found for (hb_face_reference_table)
Caution: No free/unref found for (hb_font_funcs_create)
Caution: No free/unref found for (hb_font_funcs_get_empty)
Caution: No free/unref found for (hb_font_create)
Caution: No free/unref found for (hb_font_create_sub_font)
Caution: No free/unref found for (hb_font_get_empty)
Caution: No free/unref found for (hb_glib_blob_create)
Caution: No free/unref found for (hb_map_create)
Caution: No free/unref found for (hb_map_get_empty)
Caution: No free/unref found for (hb_ot_color_glyph_reference_png)
Caution: No free/unref found for (hb_ot_color_glyph_reference_svg)
Caution: No free/unref found for (hb_ot_meta_reference_entry)
Caution: No free/unref found for (hb_set_create)
Caution: No free/unref found for (hb_set_get_empty)
Caution: No free/unref found for (hb_shape_plan_create)
Caution: No free/unref found for (hb_shape_plan_create2)
Caution: No free/unref found for (hb_shape_plan_create_cached)
Caution: No free/unref found for (hb_shape_plan_create_cached2)
Caution: No free/unref found for (hb_shape_plan_get_empty)
Caution: No free/unref found for (hb_buffer_get_unicode_funcs)
Caution: No free/unref found for (hb_unicode_funcs_create)
Caution: No free/unref found for (hb_unicode_funcs_get_empty)
Caution: No free/unref found for (hb_unicode_funcs_get_parent)
harfbuzz…: Remaining delayed methods: 0 (Fine!)
Failed to load Rsvg
Typelib file for namespace ‘Rsvg’ (any version) not found
Maybe for your OS you have to install additional GTK related packages?
We continue with the remaining packages…
xlib…: Remaining delayed methods: 0 (Fine!)
vte…: Remaining delayed methods: 0 (Fine!)
notify…: Remaining delayed methods: 0 (Fine!)
handy…: Remaining delayed methods: 0 (Fine!)
Failed to load Nice
Typelib file for namespace ‘Nice’ (any version) not found
Maybe for your OS you have to install additional GTK related packages?
We continue with the remaining packages…
cairo…: Remaining delayed methods: 0 (Fine!)
webkit2…: Remaining delayed methods: 0 (Fine!)
javascriptcore…: Remaining delayed methods: 0 (Fine!)
soup…: Remaining delayed methods: 0 (Fine!)
webkit2webextension…: Remaining delayed methods: 0 (Fine!)
gst…: Remaining delayed methods: 0 (Fine!)
gstbase…: Remaining delayed methods: 0 (Fine!)
gstallocators…: Remaining delayed methods: 0 (Fine!)
gstapp…: Remaining delayed methods: 0 (Fine!)
gstaudio…: Remaining delayed methods: 0 (Fine!)
gstcheck…: Remaining delayed methods: 0 (Fine!)
gstcontroller…: Remaining delayed methods: 0 (Fine!)
gstgl…: Remaining delayed methods: 0 (Fine!)
gstinsertbin…: Remaining delayed methods: 0 (Fine!)
gstmpegts…: Remaining delayed methods: 0 (Fine!)
gstnet…: Remaining delayed methods: 0 (Fine!)
gstplayer…: Remaining delayed methods: 0 (Fine!)
gstrtp…: Remaining delayed methods: 0 (Fine!)
gstrtsp…: Remaining delayed methods: 0 (Fine!)
gstsdp…: Remaining delayed methods: 0 (Fine!)
gsttag…: Remaining delayed methods: 0 (Fine!)
gstvideo…: Remaining delayed methods: 0 (Fine!)
gstwebrtc…: Remaining delayed methods: 0 (Fine!)
gstapp…: Remaining delayed methods: 0 (Fine!)
gstpbutils…: Remaining delayed methods: 0 (Fine!)
Failed to load GtkLayerShell
Typelib file for namespace ‘GtkLayerShell’ (any version) not found
Maybe for your OS you have to install additional GTK related packages?
We continue with the remaining packages…
Verifying dependencies for gintro@0.8.8
Installing gintro@0.8.8
Success: gintro installed successfully.

Warning of gintro is just fine.But anonsurf was developed on gintro 0.8.0

im install all dep and Capture d’écran du 2021-03-15 22-17-53
Maybe its control-port ?
and


im disable .service
Could you give me the bleachbit configuration?
Capture d’écran du 2021-03-15 22-43-03

OK after testing in terminal it s work but not in gtk and data cleaner no work maybe after setting

Please install bleachbit. Client calls bleachbit subprocess

WDYM you disable service?

hello
I have already installed bleachbit and two other dependencies because when I did the debuild command (even adding the -d option) I was missing 3 dependencies and anonsurf and anonsurf gtk were broken.
I’m not sure if this is the reason why data cleaner is not working, so I need to know which checkboxes to check please.

and i have disabled anonsurfgtk.service because anonsurf was enabled at startup (no firefox) i think this problem is related to the demon

anonsurf by terminal ok
the problem with the browser is not a problem anymore i don’t want to go through tor when i use firefox and since i have tor browser so …

So there is still the problem gtk and the configuration of bleachbit

Install all missing pacakges then. For the libnim-gintro-dev, remove that text in debian/control, Buid-Depends section

There is no service like that

ok thanks .it s anonsurfd.service i think…

Please try clone anonsurf on our gitlab and run make build && sudo make install :slight_smile: i created very basic makefile for installation
If you don’t have experience with makefile, you can do from parrot apt download anonsurf anonsurf-cli anonsurf-gtk then put the .deb files to debian and install.

1 Like

hello i have installed all requirements and clone the repos but one error with build && sudo make install.

/home/cedric/anonsurf/nimsrc/utils/dnsutils.nim(89, 8) Error: undeclared identifier: ‘isEmptyOrWhitespace’
make: *** [Makefile:23 : build] Erreur 1

and sudo debuild -us -uc -b

/home/cedric/anonsurf/nimsrc/utils/dnsutils.nim(89, 8) Error: undeclared identifier: ‘isEmptyOrWhitespace’
make[2]: *** [Makefile:14 : build-parrot] Erreur 1
make[2] : on quitte le répertoire « /home/cedric/anonsurf »
make[1]: *** [debian/rules:10 : override_dh_auto_build] Erreur 2
make[1] : on quitte le répertoire « /home/cedric/anonsurf »
make: *** [debian/rules:4 : build] Erreur 2
dpkg-buildpackage: erreur: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -b failed