Shaare your links...
3325 links
L!NKS Retour au blog Login RSS Feed ATOM Feed Tag cloud Picture wall Daily
Links per page: 20 50 100
page 1 / 1
18 results for tags script x
  • Self-Destructing Python Script - Programming / Tutorials - 0x00sec
    On Linux:

    #!/usr/bin/env python

    import subprocess as sp
    from os import path

    # This gives us the absolute(full) path to this python script
    self_path = path.abspath(__file__)

    # Do stuff -- I just created a folder
    sp.call(["mkdir", "/home/User/Desktop/thinair"])

    # At the end of the script, the file shreds itself
    sp.call(["/usr/bin/shred", "-fuz" , self_path])

    On Windows:

    import os

    # This gives us the absolute(full) path to this python script
    file_path = os.path.abspath(__file__)

    # Do stuff -- I just created a folder
    os.system("mkdir %USERPROFILE%\Desktop\dontlook")

    # At the end of the script, the file is deleted & over-written
    os.remove(file_path)
    folder_path = os.path.dirname(file_path)
    os.system("cipher /W:%s" % folder_path)

    The Python codes needed to actually delete a file/folder are given in this4 stackoverflow accepted answer, those being:

    os.remove() will remove a file.
    os.rmdir() will remove an empty directory.
    shutil.rmtree() will delete a directory and all its contents.
    permalink -
    - https://0x00sec.org/t/self-destructing-python-script/898/3
    script
  • Tiny-Python-Snapshot-Server
    Petit script python pour prendre régulièrement une photo avec une camera pour raspberry et la diffuser sur une serveur web
    permalink -
    - https://github.com/modmypi/Tiny-Python-Snapshot-Server/blob/master/snapshot.py
    photo python raspberry script
  • EyeWitness - A Rapid Web Application Triage Tool
    script python pour prendre un screenshot (capture d'écran) d'un site web. Comme peeping tom (Tim Tomes aka LaNMaSteR53)
    permalink -
    - https://www.christophertruncer.com/eyewitness-triage-tool/
    screenshot script web
  • https://github.com/imgbi/img.bi
    imb.bi is a secure image hosting. Images are encrypted using AES-256 with random key in browser before upload/
    permalink -
    - https://github.com/imgbi/img.bi
    crypt hébergement image script
  • Tipiak: récupérer les ressources d'une page web - Warrior du Dimanche
    Ce mercredi, vous aurez droit à un script dont la seule fonction est de récupérer sélectivement les ressources d'une page web dont vous lui donnez l'adresse.

    Le script parse le contenu à la recherche de fichiers appelés dans le corps de la page. Il constitue ensuite une liste qu'il soumet à l'utilisateur.
    A ce stade, on peut récupérer directement un seul fichier ou en sélectionner plusieurs pour que tipiak en fasse un zip et vous le télécharge.
    permalink -
    - http://www.warriordudimanche.net/article217/tipiak-recuperer-les-ressources-d-une-page-web
    script
  • Suppression d’anciens fichiers - Linux Attitude
    tmpreaper vide le /tmp régulièrement grâce à une tâche `cron`
    permalink -
    - http://linux-attitude.fr/post/suppression-danciens-fichiers
    linux script
  • md5 récursif - Liens en vrac de sebsauvage
    OUI !!!
    #!/bin/bash
    nice find . -type f -print0 | xargs -0 md5sum | sort -k2 > all.md5

    Et vérifier ce fichier:
    md5sum -c all.md5
    permalink -
    - http://sebsauvage.net/links/?LTvfMw
    bash linux script
  • Creating a Self-Elevating Script - Elevation PowerToys for Windows - Site Home - TechNet Blogs
    Script qui s'appuie sur Elevation Power Toys ou elevate.vbs pour lancer une commande avec privilèges administrateur malgré l'UAC actif.
    permalink -
    - http://blogs.technet.com/b/elevationpowertoys/archive/2010/06/20/creating-a-self-elevating-script.aspx
    script windows
  • ShellCheck – Online shell script analyzer
    via Korben
    permalink -
    - http://www.shellcheck.net/
    bash linux online script shell
  • Mon script de configuration iptables - Tym-Project
    permalink -
    - http://blog.tym-project.fr/2011/04/06/iptables-et-lancement-automatique/
    init.d iptables script
  • Getting IPTables to survive a reboot
    script iptables
    permalink -
    - http://www.debian-administration.org/articles/445
    iptables script
  • A Python htdigest Generator
    créer des fichiers htdigest :
       (sudo apt-get install apache2-utils)
       htdigest [ -c ] passwdfile realm username

    sinon, si htdigest n'est pas présent comme sous arch, il y a un script python qui fait la même chose !
    permalink -
    - http://jonforums.github.io/python/2011/03/07/python-htdigest.html
    archlinux lighttpd python script
  • setuid on shell scripts
    Solutions pour exécuter un script avec les droits root (sans passer par un sudo)
    permalink -
    - http://www.tuxation.com/setuid-on-shell-scripts.html
    linux script shell
  • Script d’envoi de fichiers minimaliste drag'n'drop pure JS - Le Hollandais Volant
    permalink -
    - http://lehollandaisvolant.net/index.php?d=2012/07/25/18/35/32-script-denvoi-de-fichiers-minimaliste-dragndrop-pure-js
    javascript php script upload
  • Sécuriser un formulaire PHP d'upload | malekal's site
    permalink -
    - http://www.malekal.com/2012/09/29/securiser-un-formulaire-php-dupload/
    php script upload
  • Python HubiC - ZeroBin - Links
    un script python 3 ( a voir pour adapter en python 2) qui permet d'interagir avec hubic (lister/uploader/...)
    viabsebsauvage
    permalink -
    - https://www.ecirtam.net/links/?sGJFdQ
    hubic script
  • Scripts Linux (Bash, Python…) - lehollandaisvolant.net
    Les petits scripts de Timo
    permalink -
    - http://lehollandaisvolant.net/linux/scripts/
    script
  • youtube-dl, je t'aime - Mitsu'liens
    Bon, j'en ai déjà parlé, mais je ne l'avais pas encore essayé et je ne savais pas qu'il pouvait choper sur tant de plateforme.

    ChÂPo !
    permalink -
    - http://root.suumitsu.eu/links/?E2uTDw
    cli download script software video
Links per page: 20 50 100
page 1 / 1
Shaarli 0.0.41 beta - The personal, minimalist, super-fast, no-database delicious clone. By sebsauvage.net. Theme by idleman.fr.