Search:

Type: Posts; User: lance bermudez; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    2
    Views
    282

    python 3 input() not do spacing

    -----BEGIN PGP MESSAGE-----
    Version: GnuPG v1

    hQIMA3qClorwwKU+AQ//ZIPVedWt+dKzmWgqv8TQVEmLjxOoju8MKdwUVL6pwvI1
    toeJ/p9DEgBq59K0kJjV0pD7RCbDUnYqjqgc3RQSyYQpctYVxJ22svd5RB5ORb76...
  2. Re: Python 3 Need help writing to csv file

    Sorry for not making my self more clear and thank you for the help. With your help I at least have the hash of the file but how do I get the rest of the output?

    How do i save the print outs to a...
  3. Python 3 Need help writing to csv file

    import csv

    stud1 = {}
    stud2 = {}

    with open('fsreport-FriSep022016.csv') as csvfile:
    reader = csv.DictReader(csvfile)
    for row in reader:
    sha = row['SHA512']
    files =...
  4. ubuntu looking for incremental backup Solution with GPG public key encryption

    Hi looking to backup my /home/user to external harddrive

    looking for
    want GPG public key encryption
    incremental backups
    away to get rid of any thing more than 6 months old

    do not like deja...
  5. PlayonLinux Lord of the rings on line Error

    $ lspci
    00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1566
    00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R4/R5 Graphics]
    00:01.1 Audio...
  6. help needed with ddrescue to make file

    to make 1gb file using dd
    dd if=/dev/urandom of=/root/test3 bs=1M count=1048576

    so how do i do that with ddrescure?
  7. Ubuntu 15.10 apparmor /run/ntpd.pid denied_mask="r"

    When I login to my Ubuntu pc I get apparmor error denied r message
    /var/log$ tail kern.log | grep denied
    Jun 29 06:44:16 Tardis kernel: [ 196.762638] audit: type=1400 audit(1467204256.961:29):...
  8. Re: ubuntu 16.04 LTS black screen with cuser after upgrade

    I did crtl+alt+f1 to get cli screen to log in then type "startx" then crtl+alt+f7 left mouse click screen then I get a gui. How do I fix this???
  9. ubuntu 16.04 LTS black screen with cuser after upgrade

    did upgrade now have black screen put lucks password then still black screen then type user password then I have black screen but with white mouse cuser.

    I did crtl+alt+f1 to get cli screen to log...
  10. ubuntu Ubuntu 15.10 ssh keybased notworking

    I'm trying to set up ssh with keys so I do not have to use my user login password.
    used
    https://help.ubuntu.com/community/SSH/OpenSSH/Configuring#disable-password-authentication...
  11. Re: Lubuntu 15.10 freshclam error for AppArmor

    usr.bin.freshclam has in it


    # vim:syntax=apparmor
    # Author: Jamie Strandboge <jamie@ubuntu.com>
    # Last Modified: Sun Aug 3 09:39:03 2008

    #include <tunables/global>

    /usr/bin/freshclam {
  12. Lubuntu 15.10 freshclam error for AppArmor

    AppArmor Message
    /var/log/kern.log contains 1 denied message in the last day

    AppArmor Message
    profile: /usr/bin/freshclam
    Operation: open
    Name: /var/log/clamav/freshclam.log.1
    denied: r...
  13. firewalld port forwarding not working with dansguardian

    I do not like ufw so I uninstalled it for firewalld. I have tried both
    firewall-cmd --zone=home --list-all
    home (active)
    interfaces: wlp4s0
    sources:
    services: dhcpv6-client https mdns nfs...
  14. Re: newbie with python 3 gnupg module not decrypting text

    How do I turn the input into a loop? I found out once be fore but have lost the script.



    f = ' '

    for line in f:
    f = str(input('Copy paste encrypted text here:\n '))

    gpg =...
  15. Delete all file and Directories in a folder but not top folder

    Using python 3.4

    /tmp/1 is the main folder and I want to delete all that is in it without deleting /tmp1.
    The names change but below is a basic layout.

    root or top is /tmp/1
    subfolder of ...
  16. Replies
    10
    Views
    1,319

    Re: How do you shred a file with python?

    elija told me


    # A quick and dirty example to shred a single file in the current directory.
    def generate_data(length):

    chars = string.ascii_lowercase + string.ascii_uppercase +...
  17. Replies
    10
    Views
    1,319

    Re: How do you shred a file with python?

    I was told by elija that shred is not native to windows like it is for linux. I was advised to do something like this


    Get length of file
    Get number of passes
    Open file for writing
    For each...
  18. Replies
    10
    Views
    1,319

    How do you shred a file with python?

    In bash you have can shred -vu somefile so how do you do that with python 3.4?
    I know how to remove a file using os module but how do I shred it? I need this to work on linux and windows.
    ...
  19. [SOLVED] Re: Python 3.4 help changing plain text file to csv

    Thank you Vaphell that is what I was trying to do.
  20. [SOLVED] Re: Python 3.4 help changing plain text file to csv

    Vaphell
    Thank your for your help. As shown above I have 2 different file that look like the one given above and I want to be able to search then to find what is the same and what is different. I...
  21. [SOLVED] Python 3.4 help changing plain text file to csv

    Using python3.4

    I have 2 plain text file looks like this


    =========================================================
    Starting Quick Hash V 1.2, Ptyhon-Forensics.org

    Investigator: Jon Doe...
  22. Help needed changing python2 to python3 script

    The code was written in python2 using the strand library used 2to3 on script to change to python3 I'm getting the error.


    $ python3 pfish.py --sha256 -d /tmp/Test/ -r...
  23. Replies
    1
    Views
    582

    python 3 Error trying to move file

    I'm trying to move a zip file to a directory then unzip the file keeping the file name it has but with out the zip. So far I can not do it keep getting this error

    error is


    Traceback (most...
  24. Re: help changing python2 script to python3

    Thank you Vaphell, that works.
  25. help changing python2 script to python3

    iI have this code from https://www.youtube.com/watch?v=lSrrhP2vFS8


    import os, random
    from Crypto.Cipher import AES
    from Crypto.Hash import SHA256

    def encrypt(key, filename):
    ...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4