Coder Social home page Coder Social logo

vncpwd's People

Contributors

jeroennijhof avatar xambroz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vncpwd's Issues

Compiling error

when compiling few errors occur here is how to solve them (Not familiar with github so ill put them in Issues)
1:
replace: static u_char obfKey[8] = {23,82,107,6,35,78,88,7};
with: static unsigned char obfKey[8] = {23,82,107,6,35,78,88,7};
2:
add #include <stdint.h> to headers

Build warnings

During build there are warningsregarding using the "char" typed attributes where expected is "unsigned char":

+ /usr/bin/make -O -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic'
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o vncpwd vncpwd.c d3des.c
vncpwd.c: In function 'decryptPw':
vncpwd.c:32:9: warning: pointer targets in passing argument 1 of 'des' differ in signedness [-Wpointer-sign]
     des(pPW, clrtxt);
         ^~~
In file included from vncpwd.c:24:0:
d3des.h:57:13: note: expected 'unsigned char *' but argument is of type 'char *'
 extern void des(unsigned char *, unsigned char *);
             ^~~
vncpwd.c:32:14: warning: pointer targets in passing argument 2 of 'des' differ in signedness [-Wpointer-sign]
     des(pPW, clrtxt);
              ^~~~~~
In file included from vncpwd.c:24:0:
d3des.h:57:13: note: expected 'unsigned char *' but argument is of type 'char *'
 extern void des(unsigned char *, unsigned char *);
             ^~~
vncpwd.c: In function 'main':
vncpwd.c:40:9: warning: unused variable 'c' [-Wunused-variable]
     int c;
         ^
vncpwd.c:53:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
     fread(pwd, 1024, 1, fp);
     ^~~~~~~~~~~~~~~~~~~~~~~
+ exit 0

Password still not decrypted after running

Hi there, super cool program.

Would you mind giving some explanation or background as to how it works?

The main reason for this issue is that after I ran the program, it returned an encrypted password.

My vnc password is stored in /Library/vnc/vncpasswd so I ran the following command after making the files
./vncpwd /Library/vnc/vncpasswd

And it returned

Password: ?(NӬ??

Any thoughts as to why this is the output?

Wrong FSF address in the source code

Hello,
Robert-André Mauchin noticed during the vncpwd package review for Fedora that the address of the Free Software Foundation in the source code and a README file is obsolete and potentially target to misuse.

The address should be:
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301

Currently there is:
Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Best regards
Michal Ambroz

release

Hello,
as code seems stable ... please would you consider tagging the release number?
It is kinda ugly according to packaging guidelise refer to git date and abreviation of the git commit number.
Thank you
Michal Ambroz

Feature request - CFLAGS

Hello,
please could you during build honor at least the CFLAGS settings ?
It would make packaging easier.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.