AnonAccount: What is it, and what does it do? - Q&A Thread
Leave these fields empty (spam trap):
Name
You can leave this blank to post anonymously, or you can create a Tripcode by using the float Name#Password
A subject is required when posting a new thread
Subject
Comment
[*]Italic Text[/*]
[**]Bold Text[/**]
[~]Taimapedia Article[/~]
[%]Spoiler Text[/%]
>Highlight/Quote Text
[pre]Preformatted & Monospace text[/pre]
1. Numbered lists become ordered lists
* Bulleted lists become unordered lists
File

Sandwich


My attempt at c programming by Emma Suffinglet - Fri, 04 Jul 2014 03:37:53 EST ID:KH9l0Yka No.32003 Ignore Report Reply Quick Reply
1404459473787.png -(3411 B, 480x301) Thumbnail displayed, click image for full size. 3411
Idk where else to turn to but I cannot get my code to count the number of times a user defined "codon" appears" within my first char array (gene).
So far ive gotten it to return values of 0 and 6.
I don't know what Im doing wrong.
can someone show me where my code is wrong?

http://pastebin.com/tyksqNZA


PS the while loop is unfinished. I still need to add a "do you want to continue y/n" type deals but that's not the part im having issues with.
13 posts omitted. Click Reply to view.
>>
Molly Sarringwill - Mon, 07 Jul 2014 20:06:56 EST ID:ZMQnkpih No.32030 Ignore Report Quick Reply
>>32029
Another thing, you are searching 'user' at [0], [1] and [2], but declare it as user[2], which is going beyond the bounds of the buffer. You need a character for each of the characters you are going to enter into the buffer as well as one additional one for the terminating zero.

Using scanf() for strings is pretty dangerous, if someone enters a string into your program that's longer than 1 character then it will begin to overwrite the "count" variable and then will start eating into whatever next is placed on the call stack. You might want to look at fgets(), it takes a size parameter so that it can't exceed the given buffer length.

char boo[2];
fgets( boo, sizeof( boo ), stdin );
>>
Ebenezer Fanridge - Mon, 07 Jul 2014 22:27:48 EST ID:KH9l0Yka No.32031 Ignore Report Quick Reply
1404786468781.png -(21798 B, 581x388) Thumbnail displayed, click image for full size. 21798
>>32029
Thanks, I didnt catch this.

>>32030
I'm not sure if I'm allowed to use that function.
Only thing we've learned in class so far is scanf.


also, i got my code working for the most part.
Not sure why my while loop isn't breaking when a user inputs 'n'.
and if you enter the same codon twice it just adds the result to the previous result. (attatched screenshot)
actual code: http://pastebin.com/AYLKYFv2


Also, not sure if it matters but Im writing/compiling/running the code using codeblocks in Ubuntu 14.04
>>
Edwin Hibblefield - Mon, 07 Jul 2014 23:45:11 EST ID:I31z+CiS No.32032 Ignore Report Quick Reply
>>32031
>my while loop isn't breaking when a user inputs 'n'
Just read in a string instead of a character and compare the same way you are comparing the codons

>it just adds the result to the previous result
This is because you are declaring and initializing your count variable to 0 outside the loop
>>
Ebenezer Fanridge - Tue, 08 Jul 2014 00:16:06 EST ID:KH9l0Yka No.32033 Ignore Report Quick Reply
>>32032
thanks!!
>>
Molly Sarringwill - Tue, 08 Jul 2014 02:10:54 EST ID:ZMQnkpih No.32034 Ignore Report Quick Reply
1404799854646.jpg -(1330122 B, 2837x1901) Thumbnail displayed, click image for full size. 1330122
>>32031
>I'm not sure if I'm allowed to use that function. Only thing we've learned in class so far is scanf.

I don't know if you're interested in pursuing this sort of thing long-term or if this is just a class that you need to slog through, but you might want to ask about scanf() use in class.

Buffer overflow vulnerabilities have laid a carnage-filled road to hell and back (including heartbleed) and I think it's worth knowing about those things right from the start. When you're first learning you'll fuck up with pointers, memory allocation and the like (at least, I know I did...and still do from time-to-time). But telling someone who isn't in the know to grab strings with scanf() is kind of like telling someone to hammer in fence posts with a large container of nitroglycerin.

There are certain functions in C that you can really fuck yourself with if you're not careful or don't know about beforehand. Food for thought maybe, you can decide if this sort of thing is important to you or not.

Anyhow, I'm glad your stuff is working now.


Determining the color of a pixel by Brick Shittington - Sat, 05 Jul 2014 18:39:07 EST ID:Ao5vURDI No.32014 Ignore Report Reply Quick Reply
1404599947618.png -(11083 B, 756x110) Thumbnail displayed, click image for full size. 11083
I'm trying to make a program that determines the color of a pixel at a specific point on the screen. I tried to do it in C using the code given at RosettaCode.

When I attempt to compile it (gcc using cygwin on a windows 8 pc) I get this error. Tried to find some more information elsewhere but I couldn't find anybody experiencing the same error.
>>
Brick Shittington - Sat, 05 Jul 2014 18:42:07 EST ID:Ao5vURDI No.32015 Ignore Report Quick Reply
>>32014
My source code
http://pastebin.com/
>>
Brick Shittington - Sat, 05 Jul 2014 18:43:17 EST ID:Ao5vURDI No.32016 Ignore Report Quick Reply
>>32015
fuck
http://pastebin.com/5GhWvwht
>>
Lillian Sopperstone - Sat, 05 Jul 2014 19:53:02 EST ID:ZMQnkpih No.32017 Ignore Report Quick Reply
>>32014
You've got to link to the library that holds those missing functions. I think this is what you're looking for,

http://stackoverflow.com/questions/11302318/linking-issue-with-x11-in-c
>>
Brick Shittington - Sat, 05 Jul 2014 20:53:31 EST ID:Ao5vURDI No.32018 Ignore Report Quick Reply
>>32017
Linked the library and it's compiling now, thanks!


Bump When Unraring by Edwin Borringbad - Mon, 23 Jun 2014 04:55:36 EST ID:P68obXhY No.31950 Ignore Report Reply Quick Reply
1403513736625.jpg -(10831 B, 480x360) Thumbnail displayed, click image for full size. 10831
>BWUR Don't know if it's a thing, don't give a fuck
Post your steaming pile of "holy fuck I wish this shit would Unrar already" Because you're bored
Currently unpacking the delicious and nutritious OMNISPHERE!
https://www.youtube.com/watch?v=zF8SYLjl07g
>>
Basil Blatherwater - Mon, 23 Jun 2014 12:31:27 EST ID:FaQqdZHU No.31951 Ignore Report Quick Reply
Extracting Caustic Window lost album, fuck yes
http://boards.420chan.org/m/res/426946.php
>>
Eliza Worthingspear - Tue, 24 Jun 2014 03:30:53 EST ID:P68obXhY No.31955 Ignore Report Quick Reply
>>31951
That's pretty fuckin cool, I like when people come together for the artists
>>
Ernest Pommermat - Fri, 04 Jul 2014 21:48:15 EST ID:P68obXhY No.32012 Ignore Report Quick Reply
>>31950
Sony Soundforge, get iiiit!


why start coding? by Nigger Sugglefug - Tue, 24 Jun 2014 06:47:49 EST ID:GHX510P7 No.31956 Ignore Report Reply Quick Reply
1403606869479.jpg -(23776 B, 700x575) Thumbnail displayed, click image for full size. 23776
http://www.youtube.com/watch?v=Xq_eU4tehac
>>
Jack Gonnernick - Thu, 03 Jul 2014 06:01:57 EST ID:GHX510P7 No.31997 Ignore Report Quick Reply
1404381717971.jpg -(29252 B, 700x553) Thumbnail displayed, click image for full size. 29252
>>31956
http://www.andrews.edu/~aldy/women_and_programmers.html


kali linux by Eliza Lightdock - Wed, 25 Jun 2014 14:10:00 EST ID:fs9BcuOp No.31971 Ignore Report Reply Quick Reply
1403719800385.png -(89331 B, 1280x1024) Thumbnail displayed, click image for full size. 89331
trying to create a persistent usb but at boot it wont recognize any suggestions everything is aimed to correct position. had it working without persist also
"on a 64gb 3.0"
>>
Jarvis Pittwill - Wed, 25 Jun 2014 20:37:29 EST ID:SVZjhRzL No.31975 Ignore Report Quick Reply
Try another USB, I have no idea I don't use Kali linux.
What I do know is USBs are generally big pieces of shit, poorly made and die frequently so just go buy another one for $10
http://docs.kali.org/installation/kali-linux-live-usb-persistence

I wouldn't trust persistence whatsoever, especially on a device with wear levelling (all USB/SDmicro/flash drives). Instead just create a LUKS container with cryptsetup, and put your evilware in there. Then back it up to bitbucket or github so when you boot you simply type 'git clone https://bitbucket/derp.git' and your container full of evil is ready to go.
>>
Isabella Bassleworth - Mon, 30 Jun 2014 22:43:38 EST ID:ssOAU605 No.31993 Ignore Report Quick Reply
grab a bootable iso, use the dd command to drop iso onto a usb stick.

been like 5 years since I played with those =/ they're not that interesting and usb sticks don't have enough write cycles to do anything really interesting, use something like puppy linux that unpacks into a ram disk or it'll die fast.
>>
Isabella Bassleworth - Mon, 30 Jun 2014 22:46:06 EST ID:ssOAU605 No.31994 Ignore Report Quick Reply
>>31993
ooo putting grub on the stick and installing to it can work too; if you have a bootable partition and the motherboard is smart enough to pick it up.


ANDROID + C by Nell Dartcocke - Wed, 18 Jun 2014 15:56:41 EST ID:gawhOahX No.31923 Ignore Report Reply Quick Reply
1403121401844.jpg -(58426 B, 491x600) Thumbnail displayed, click image for full size. 58426
Sup /prog/,

I'm just wondering if it's feasible to code android apps in C because that's pretty much the only language I know to use in this kind of thing. Please tell me it's possible, because I definitely don't want to start learning a new language all over again and download all the shit that comes with it. I'm absolutely sure there are some libraries that can be used to translate C code that can be run in android , or even certain flavor of android, or a certain environment, or an emulator, or something.

And if it's possible, where should I start? I'm past the point of busting my ass to get info like this and for that I apologize, it's just that I need to know. Thanks again.

Oh also, I'm not gonna make games and whatnot, just simple apps for convenience and such, and just gonna fiddle with simple pre-existing open-source projects.
11 posts omitted. Click Reply to view.
>>
Jarvis Pittwill - Wed, 25 Jun 2014 20:34:30 EST ID:SVZjhRzL No.31974 Ignore Report Quick Reply
Install native dev kit
Write C code all day long

Personally I wouldn't bother unless it's for crypto engineering. Java is much easier just point and click basically to drop in Android API calls and then your app runs in the Java virtual machine as it's supposed to instead of a C program with crazy privileges

I also share your hatred of Java. As soon as Golang is fully supported I will never touch Java again for the rest of my life hopefully
>>
James Dinningkud - Sun, 29 Jun 2014 08:19:04 EST ID:2PLGUfus No.31983 Ignore Report Quick Reply
>>31974
I know some people here hated on Python, but I say it's unfounded and they simple never learned it's full power. Python/Kivy is an ungodly combo for simple ways to make an app that's cross platform (same code on Windows, Linux, Mac OSX, Android, iOS but that's the odd one out :<).
>>
Faggy Guddlemone - Sun, 29 Jun 2014 12:55:11 EST ID:7alaund4 No.31984 Ignore Report Quick Reply
>>31945
>I'm not in my teens anymore.

... so what? This looks like a complete non-sequitor to me.
>>
Polly Pupperfoot - Sun, 29 Jun 2014 20:00:30 EST ID:SkgVApkK No.31985 Ignore Report Quick Reply
>>31983
It would be better if you could just run python programs directly on Android. If Heroku/Google App Engine can figure how to do this in a VM then Google can get "ART" (dalvik replacement) to do it.

I mainly code in Lisp so have been using Clojure lately to build apps. Now playing around with Golang
>>
Ernest Poshtat - Mon, 30 Jun 2014 12:31:11 EST ID:xtelIQ1k No.31992 Ignore Report Quick Reply
>If Heroku/Google App Engine can figure how to do this in a VM then Google can get "ART" (dalvik replacement) to do it.

Well, that's the most retarded thing I'll read all day.


Design Documentation by Jack Fandledire - Fri, 14 Feb 2014 18:11:03 EST ID:1h0XTwmn No.30979 Ignore Report Reply Quick Reply
1392419463601.png -(14653 B, 800x535) Thumbnail displayed, click image for full size. 14653
Where can a really rusty programmer who was never good in the first place go to learn design documentation and program architecture independent of coding? Preferably something that explains design concepts on my level.
8 posts omitted. Click Reply to view.
>>
Charlotte Chaddlebid - Sun, 16 Feb 2014 16:05:51 EST ID:G82NQpRZ No.31001 Ignore Report Quick Reply
>>30989
Cool! Any particular videos you recomend. No Bump?
>>
Sidney Crerringhuck - Sun, 16 Feb 2014 18:19:15 EST ID:vhgZIlcV No.31002 Ignore Report Quick Reply
>>30979
If you cannot program, you don't know the limitations, best practices or realities of programming.
I'm ready to say that the hundreds of millions spent on failed public IT-projects in my country are due to people who cannot program,
but think they can do architecture. Then the software ends up with absolutely no coherency.
Please, save a lot of people a lot of frustration and money - If you cannot program, don't try to design a program.
>>
Dr. Reuben !xmwplAg9wU - Fri, 27 Jun 2014 08:30:31 EST ID:919Kdj1F No.31977 Ignore Report Quick Reply
1403872231408.jpg -(1392050 B, 1936x1936) Thumbnail displayed, click image for full size. 1392050
>tl;dr How about extra noises???

How do you folks design dj-toys into playable format with MAC OS MAVERICKS?!

I want to do more with noise and I know I should be in music, but I want to run many formats.
>>
William Chottingnid - Fri, 27 Jun 2014 17:18:52 EST ID:FaQqdZHU No.31978 Ignore Report Quick Reply
>>31977
what the fuck
>>
Ian Mucklestut - Sun, 29 Jun 2014 07:34:16 EST ID:CjiZuQru No.31982 Ignore Report Quick Reply
>>31001
THIS!


Java 3D by Albert Pockham - Wed, 25 Jun 2014 11:19:19 EST ID:+a1sjAmY No.31970 Ignore Report Reply Quick Reply
1403709559358.gif -(20476 B, 360x357) Thumbnail displayed, click image for full size. 20476
Sup guys.
I need to learn Java 3D over this summer for a project that I'll be working on later this year. Are there any good worthwhile books for beginners on the subject or should I just go on with online material?


how to - destroy a system (noobish question) by Matilda Ganningnotch - Wed, 11 Jun 2014 14:56:21 EST ID:iBmh7oR/ No.31899 Ignore Report Reply Quick Reply
1402512981845.jpg -(542794 B, 1048x1500) Thumbnail displayed, click image for full size. 542794
is there a way to destroy a computer by remote (throught some blackhat actions)
like deleting all data on harddrive or start an format
and much more important
where can i learn how to do this or find someone willing to do it for some gratuity
1 posts omitted. Click Reply to view.
>>
Augustus Barrydock - Wed, 11 Jun 2014 18:40:46 EST ID:dUqCye/w No.31901 Ignore Report Quick Reply
>>31900
>go to jail
This is the important part.
Also, all you are doing is inconveniencing a sysadmin for a few minutes while they kick off a restore from backup.
>>
Hannah Heckleworth - Thu, 12 Jun 2014 17:38:26 EST ID:ssOAU605 No.31906 Ignore Report Quick Reply
>>31901
could leave something that sleeps for 2-3 years and runs at x date, that would take like a whole hour to clean the backup up :o
>>
Hannah Heckleworth - Thu, 12 Jun 2014 17:42:51 EST ID:ssOAU605 No.31907 Ignore Report Quick Reply
ooooo or swap out the drivers for something explicitly meant to break the hardware.

then they'd have to bounce everything off to a remote site, and do an rmi on the part.
>>
Nathaniel Buzzshaw - Mon, 16 Jun 2014 20:32:51 EST ID:EMsIIdyI No.31920 Ignore Report Quick Reply
Step 1. acquire portals
Step 2. reach through portal with hammer in hand
Step 3. destroy system with hammer, remotely
Step 4. ??????
Step 5. Go to jail
>>
DJ BrU - Sat, 21 Jun 2014 23:27:41 EST ID:5Mbyzmad No.31942 Ignore Report Quick Reply
>>31899
admin/root access via trojan or some other exploit.

del autoexe.bat /y

or

format c: /y

or in vbs

kill "c:\windows\system32" 'Path of most important files on a windows machine/

Be more creative though and not so malicious. I did this crap when I was in grade school.


CCS <ul> by Matilda Brivingchut - Thu, 19 Jun 2014 19:45:28 EST ID:T9M/zhKz No.31933 Ignore Report Reply Quick Reply
1403221528054.png -(818243 B, 1702x973) Thumbnail displayed, click image for full size. 818243
okay i'm trying to get a 12 kb png picture to take place of boring bullets in un ordered lists through css take a look at this please

<html>
<head>
<style type="text/css">
ul {list-style-image:url();}
</style>
</head>
<body>
<ul>
<li>1</li>
<li>2</li>
</ul>
</body>
</html>
3 posts omitted. Click Reply to view.
>>
Molly Dunderridge - Thu, 19 Jun 2014 20:43:41 EST ID:T9M/zhKz No.31937 Ignore Report Quick Reply
>>31935
i have the image in the url() i just left it out. i put in what you had now my bullets are gone

<html>
<head>
<style type="text/css">
ul {
list-style-type: none;
}

ul li {
background: url("desktop/1403236071_Bullet Bill.png") no-repeat top left;
}
</style>
</head>
Comment too long. Click here to view the full text.
>>
Whitey Bassleworth - Thu, 19 Jun 2014 21:49:47 EST ID:cKEfxqpM No.31938 Ignore Report Quick Reply
>>31937
>i put in what you had now my bullets are gone

Right. "list-style-type: none" removes the actual bullet from the list items, so you can use an image instead. I just tested your HTML and CSS with an image of my own and it worked just fine.

What browser are you using? In most, you can hit F12 to bring up the developer console to see, among other things, warnings about bad URLs (which is what I suspect is the case). Ensure that you're referencing the image correctly relative to your HTML file. Remove the spaces from the image's file name - better yet, give it an extremely simple name (a.png) and place it in the same folder as your HTML file so you can make sure you're not missing something obvious.

Also keep in mind that depending on the dimensions of your list items and the composition of the PNG (i.e. what's transparent and what isn't) the "visible" portion of the image might be hidden outside of the element. Try replacing "top left" (which should actually be "left top" now that I think about it) with "center center" or "right bottom".

nb
>>
Hannah Puddlefuck - Thu, 19 Jun 2014 22:04:42 EST ID:+W7D84xm No.31939 Ignore Report Quick Reply
>>31938
man idk what im doing i ran all that in firefox IE and chrome none of which worked.
>>
Isabella Fedgechut - Fri, 20 Jun 2014 05:45:28 EST ID:5MeqeWWk No.31940 Ignore Report Quick Reply
>>31937

Probably you've messed up with the path. is the HTML document exactly one level above the "desktop" directory?

I would try moving the image into the same directory as the html file first (remember to update the path in your HTML to not include "desktop/"). Then, after you have it working from the same directory, you can try to include it from another directory.
>>
Betsy Guffingbudging - Fri, 20 Jun 2014 20:25:32 EST ID:cKEfxqpM No.31941 Ignore Report Quick Reply
>>31939
Original respondent here,

No clue what to tell you, friend. Your HTML/CSS (as you posted it) works fine with a valid image path. I once again recommend installing Firebug and seeing if your page generates any error messages. It's an invaluable tool that will save you lots of time and headaches, no matter how trivial the problem might be.

Good luck! nb


Web security by Caroline Drocklewell - Thu, 19 Jun 2014 02:51:12 EST ID:QTrEIfu8 No.31931 Ignore Report Reply Quick Reply
1403160672108.gif -(182547 B, 400x267) Thumbnail displayed, click image for full size. 182547
A friend told me i should start with kali linux or back track,
but I know he really doesn't know shit about it,
although it seems to be in the right direction.
Where should I start if I want to learn more about this?
>>
Cornelius Dommlefoot - Thu, 19 Jun 2014 08:27:00 EST ID:vhgZIlcV No.31932 Ignore Report Quick Reply
Depends on what you do know.
First I guess one would have to know the basic languages in web dev: html, js, php, sql etc.
Also you should have a good grasp on (at least) the most common protocols, such as http, tls/ssl and dns.
After that revisit the hacks you've most likely already heard about and that have sparked your interest:
SQL injection, XSS, CSRF. Now you should get quite a bit more out of them. Build something with a
web framework, attack it with CSRF and then protect your project from that attack.
During all this keep notes, and you will see you always have an infinite swamp of abbreviations to look
up next.

It's not about the software you are running.


Learning by Edwin Grimworth - Sun, 18 May 2014 09:32:56 EST ID:JhNckzNP No.31759 Ignore Report Reply Quick Reply
1400419976945.jpg -(68349 B, 704x960) Thumbnail displayed, click image for full size. 68349
How long will it take a noob from start to finish to learn how to hack into NASA?
5 posts and 1 images omitted. Click Reply to view.
>>
Charles Chaggleshit - Wed, 04 Jun 2014 14:55:41 EST ID:CmcHTLaD No.31863 Ignore Report Quick Reply
>>31859
>5Mbyzmad
Carry on with your 5 megabytes of mad.
>>
Walter Fuzzletut - Fri, 06 Jun 2014 22:29:09 EST ID:5M822B0h No.31881 Ignore Report Quick Reply
>>31863
I do get quite mad and ignorant ppl. :-)
>>
Sidney Sicklebury - Mon, 09 Jun 2014 20:44:38 EST ID:ssOAU605 No.31892 Ignore Report Quick Reply
Probably surprisingly short amount of time.

If you can find their work from home vlan gateway, and it has a prepackaged zero day exploit available for it. (very likely given a lot of government patching policies)

I dunno if nasa air gaps important stuff though some gov stuff does that, not even sure they'd have anything important enough to do that for though. If that's the case nothing to do then, unless you wanna pull some sirris James Bond ninja shit.

No point though for nasa, everything they do is openly published.

hope you don't go to jail
>>
Simon Sipperworth - Tue, 10 Jun 2014 15:56:32 EST ID:CmcHTLaD No.31893 Ignore Report Quick Reply
>>31881
I get quit mad at typoes that change the meaning out posts. Anyway, I think sarcasm was the wrong word, I'd change that to "that's the joke" if I could.

>>31892
This. It's likely not too hard, but the gains for potentially fucking yourself over badly are very little.
>>
Charles Bremmleshit - Wed, 18 Jun 2014 23:51:35 EST ID:60jBojSU No.31928 Ignore Report Quick Reply
1403149895975.jpg -(199752 B, 640x853) Thumbnail displayed, click image for full size. 199752
The trick is learning what button to press to hack


<<Last Pages Next>>
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Report Post
Reason
Note
Please be descriptive with report notes,
this helps staff resolve issues quicker.