Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Scripting .onion sites

Name: Anonymous 2012-06-25 18:08

What web `development' language do you recommend for doing work behind a hidden service? PHP, perl, python, whatever other garbage scripting language you have. Once you know one of them you basically know the other anyway. My only requirement is that it can be silent and secure about it's identity.

I want to make a FLOSS project that is going to infringe on some patents.... I mean, a CP site.

Name: Anonymous 2012-06-25 18:19

definitely php mixed with js, js should be a must

Name: Anonymous 2012-06-25 18:26

>>2
You're a bad person and you should feel bad.

Name: Anonymous 2012-06-25 20:52

LISP, with a hashbang to make it CGI.

Name: Anonymous 2012-06-25 20:58

Might as well run Ruby. It's not as if it's going to be able to get much slower.

Name: Anonymous 2012-06-25 21:03

>>1
I want to make a FLOSS project that is going to infringe on some patents.... I mean, a CP site.
Stop misusing the fucking network.

Name: Anonymous 2012-06-25 21:08

l o l i c i o u s

Name: Anonymous 2012-06-25 21:08

l o l i c i o u sl o l i c i o u sl o l i c i o u sl o l i c i o u sl o l i c i o u sl o l i c i o u sl o l i c i o u sl o l i c i o u sl o l i c i o u sl o l i c i o u s
l
o l i c i o u sl o l i c i o u sl o l i c i o u sl o l i c i o u sl o l i c i o u s
l
o l i c i o u sl o l i c i o u sl o l i c i o u sl o l i c i o u s
l
o l i c i o u sl o l i c i o u sl o l i c i o u s

Name: FFP 2012-06-25 21:09

>>6
i don't think using tor for cp would be misusing it

Name: Anonymous 2012-06-25 21:14

>>5
This.

Name: Anonymous 2012-06-25 21:17

>>6
What is misuse?

Name: Anonymous 2012-06-25 21:18

We live in dark times if it is indeed preferable to express interest in operation a CP ring to violating patent law.

Name: Anonymous 2012-06-25 22:36

>>12
There's no money to be made in CP unless you don't care about going to jail. There's lots of money to be made in government-sponsored extortion, with very little risk.
It is indeed an indication that we live in dark times, but I doubt anyone who doesn't benefit greatly from this situation has the power to change it.

Name: bampu pantsu 2012-06-26 3:03

bampu pantsu

Name: Anonymous 2012-06-26 4:06

④㉓喂晙Ѐ眕Զմ啸扁У╁睢䊀㕖㌶✸⌱ᜡ艅ん熂瀃畸䐸荆妓饉搤ᄓ露Ą䀐搱ጦ鑇䆗㙸爳爈ԉ硥聤᥆ʖ̙ॶ၃㠣͡΁間卤⌹䑙堳灘♥睱垉ᘤᝅ㒄㑇攗堗䈢垔舃䅀塑᥂㉳煇⁈茳碕茢‑搴㘳㘒聧ɳ䕵ᕠ猲䈀却脇ܢ领镰晦䁷鐗ᘦ男でႇ逈䁇備ٰݹघ〈ቶ舡灶ቀ焅玔玒刧晉暂␃㢃䌰ࢂᙈ瑲蚔ك╅㤴顙ձ蘳अ⁡挗遑怡‑Ԥհ鈤銀➕㎅饳ա刵♉芒㦆㖓≨䕥ᘖ薓㠅ㅑ㎐ᔹ偗䙴≓䘧脣㜔΅昒a䙓ጳ⥴鈩䕧鐸攙䔄版椸⍤玒甓㐡⒗靕ᜥ䤳䉙偉瘲ᄦ抅㎙愉ʒ㥐枀咁啕蠢ₓ璃☡恐㑣㡥ᅳ薁芗‵慢䘁衒ሁ熁劄捨牠悈銕ţ螑晦ࡕ❕ڗ折眲瑒⡷剴ፒᄡ到ȸ煤⤅䑔❃虰琙⅑⒑慔蔉锠ᕨⅸ坑噑䥂ڑ祆ݨ䉩㥕⁁⠠啶⡃坶聨栀充煒衩瑄蝤ԉ撁က鈣猲䍧閐㔓杴袄☰䅢蚃ع陧⁇靨祕鐘㎗ㆉᙔን舥攀萨鄙ډ䌆爃䥷甇掕㙩逡

Name: Anonymous 2012-06-26 4:14

酴㜔⢅䘤䍀䅡ጦ⊔ƃ須虅啒ᠹ⠇ʘ蔇㤙ၢ餳ᑑ脲᜷奒㕷瘘䂕ᖅ奱╸疅еቴ䁹⦁楢ሀ㈂ƈ扳֕ࡐ錗兢̐癸ᘸ䜩晕ᔔ瑦朦噁圠蘵䘹鑧祡靴虴‵䡣✹陸奙̐葧⥙⌄酇晖┉䠙攕䕧䤈祐研䜨㑢抔࡙㈰陙剅ₕɹሀᐔ礙ၰ錉ᙀ攄蠡鐖㖖煦㤐㒃ᅙ炙㔩禗㘇霩梕虡ₘ析昧垂ᒁᤨ䆑灀兢ᙈㄓ眧鞒╆ᅆ♴ᡥŦݗ刱㐥ញ䙁睅䢀撔ᚉ匇鑰敥㊕┅癖搒礦㘨茖偨䥕ᕔw搲瞄ɴ⅀㡡酡蜕䞖碑変ᤀ睉 ㄔᤈ✄⑸堒š錶餘⑉琁牐儰ᐡ塂兹㈱慙备ℱ餠ن㑑搘煄̢圀钐㜉硦㎁栨⁇舨睑咁ᝢ耒ॹ䎀腴薄暔蔹䒘掘枘㦂ᠴ冇⊙䙤ら恆ጁࠠ眧ňᠥ⢔㒐镶吵砗瘅ㄶ䠢䖃፣梅圑ę搶␵霵栐―⠈儸㥘璐䉳虒㦔ᑔ呰剢ख䕶遒ၗᙕ蠃❵䐲瑸癕別挕場焔礵၆芔暔䑣爢蠢剡卵省⍉捖錨⠕荳憄䂖⤷㎅hЖ㜶䖘灥馗搸唉坦瑖荖⍠劆膉░⠐㍶ᕔԆ␐

Name: Anonymous 2012-06-26 4:19

⠤蘩艖ᘃ蝘ᝆ⡸㈩᝶吃眃煔萕䠄ㄱ薅┤၅堦➇葈敇᎘牣栲莘”到唠蠱聗ᄡ圧鞈䜹耶ᘀ焠膔ᕀ陇⦖䈦ፈ瘅䈶ᄤ钂䜤蜣⎔蒔䡆奒塠煤䕑坑☇陥覒梄⁠もᤵ⚈处儈襁⎈昳栈⁕䁙ጣ鈗爸桐暐╙ᝁ㚒搃霣䑘敇㍢ᜑ䍲؅䤸梖頂ᖒ昉呕ᑉ楆煂ᡓʗ奐•戀ډ㈹ѧ镧䠁䄧␖睕虀ጦ茆瞅ၤ✁扵靓ȵ݄唳嚖畕剹ㅄ蝔ᘦ㠃蔉ፒ∷喐噂獑⤅木鈣䒂ؔፆ㢔℃㐁坃嚁श偵厔ҕ㜤千䉓䔈䥥ᕥ❉礐牀芕ȑ鐖倧⠶蒃䑕頖饕眲㘹閘䙉⁹琧҅堔䁠唐餱䀳晀③㤱㜠☲ᥦ≨С獇䂑Ց␨䕒䁙♒⌕㡘ᙹ䂈醇⌴陕@鐅䙇褃䌷癹瑁┩袑瞐䢖鑔硤杒⡅瀖ᖃ摄妉ፀ䄰塖億ֈ脄袉㕈搗ѩဇ䔶☒摄杷䞓Ճᝂ⒕鈗蘱䒘蔨砓健掐耦䅂㍴Ҕᜨ 癐顧መ桤褠У血刘⎄᥈䑇፱こᡦ❀⡧ၡ掉螙䉴㊀鐆㉙䒁嘳甇醂喃霅ᙁ瞙Ո㒉鐙煁䅑΁肙判蚆蝧⦆肅癁嘇梀

Name: Anonymous 2012-06-26 15:32

>>5
If speed doesn't matter, he might as well use python. Any retard could crank out hundreds of lines of semi-functional code a day with that garbage. I'm not sure how it is on security though.

Name: Anonymous 2012-06-26 15:47

Use C to glue it, then do any processing you need in LISP. You can do whatever sanitation of data that you need in the C CGI when it's on the way out.

Name: Anonymous 2012-06-26 16:36

>>19

>sanitation
>C

enjoy C's string functions.

hint: they suck BAWLZ, enjoy rewriting the std::string functions/string functions that come free in other languages

Name: Anonymous 2012-06-26 16:50

>>20
std::string
C
standard template
C
Class
C
I think it is time for you to hang your head in shame and take your leave.

Also, those functions are written in C for the most part. And it's for a cryptographically anonymous purpose. He could steal the code directly from Microsoft and know one would know he was the one who did it. If he wants to copy Perl's shitty implementation of the `.' operator, Stallman isn't going to fuck with him either.

Name: Anonymous 2012-06-26 17:00

>>20
#include <cgic.h>
#include <iconv.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/file.h>

#define cgi_main cgiMain
#define cgi_out cgiOut
#define cgi_header_location cgiHeaderLocation
#define cgi_header_content_type cgiHeaderContentType
#define cgi_form_string cgiFormString
#define cgi_form_integer cgiFormInteger

#define MAX_POSTS 256
#define MAX_POST_LENGTH 4096
#define POSTS_FILENAME "posts.xml"
#define INDEX_FILENAME "index.html"

#define LOCK_SH 0x01
#define LOCK_EX 0x02
#define LOCK_NB 0x04
#define LOCK_UN 0x08

void build_main_page();
void clean_text(unsigned char*,unsigned char*);
int do_post();
void do_redirect();

int cgi_main(){
 if(access(POSTS_FILENAME,F_OK))
  build_main_page();
 if(do_post())
  do_redirect();
 return 0;
}

void do_redirect(){
 cgi_header_location(INDEX_FILENAME);
 return;
}

int do_post(){
 int wrote_post=0;
 char text[MAX_POST_LENGTH+1]={0};
 char text2[MAX_POST_LENGTH+1]={0};
 char text_out[MAX_POST_LENGTH*5+1]={0};
 char line[MAX_POST_LENGTH*5+29]={0};
 char post_num[32]={0};
 const char *textp=text;
 char *text2p=text2;
 int inbytesleft=strlen(text),outbytesleft=strlen(text);
 int redirect;
 FILE* post_file_in;
 FILE* post_file_out;
 cgi_form_string("text",text,MAX_POST_LENGTH+1);
 cgi_form_integer("redirect",&redirect,0);
 if(!text[0])
  return 1;
 iconv_t cd=iconv_open("UTF-8","UTF-8");
 int iconv_result=iconv(cd,&textp,&inbytesleft,&text2p,&outbytesleft);
 if(iconv_result==-1)
  return 1;
 iconv_close(cd);
 clean_text(text,text_out);
 srandomdev();
 snprintf(post_num,32,"\"%d\">",random()%MAX_POSTS);
 rename(POSTS_FILENAME,"temp");
 post_file_in=fopen("temp","r");
 post_file_out=fopen(POSTS_FILENAME,"w");
 flock(fileno(post_file_in),LOCK_EX);
 flock(fileno(post_file_out),LOCK_EX);
 while(!feof(post_file_in)){
  fgets(line,MAX_POST_LENGTH*5+29,post_file_in);
  if(strstr(line,post_num)||(strstr(line,"</posts>")&&!wrote_post)){
   fprintf(post_file_out," <post id=%s<text>%s</text></post>\n",post_num,text_out);
   wrote_post=1;
  }
  if(!strstr(line,post_num)&&!feof(post_file_in)){
   fputs(line,post_file_out);
  }
 }
 flock(fileno(post_file_in),LOCK_UN);
 flock(fileno(post_file_out),LOCK_UN);
 fclose(post_file_in);
 fclose(post_file_out);
 remove("temp");
 if(redirect)
  return 1;
 cgi_header_content_type("text/plain");
 fputs("\n\n",cgi_out);
 return 0;
}

void clean_text(unsigned char* text_in,unsigned char* text_out){
 int j,k=0;
 for(j=0;j<MAX_POST_LENGTH;j++){
  switch(text_in[j]){
   case '&':
    text_out[k++]='&';
    text_out[k++]='a';
    text_out[k++]='m';
    text_out[k++]='p';
    text_out[k++]=';';
    break;
   case '<':
    text_out[k++]='&';
    text_out[k++]='l';
    text_out[k++]='t';
    text_out[k++]=';';
    break;
   case '>':
    text_out[k++]='&';
    text_out[k++]='g';
    text_out[k++]='t';
    text_out[k++]=';';
    break;
   case '\n':
    text_out[k++]='&';
    text_out[k++]='#';
    text_out[k++]='1';
    text_out[k++]='0';
    text_out[k++]=';';
    break;
   default:
    if(text_in[j]>31)
     text_out[k++]=text_in[j];
    break;
  }
 }
}

void build_main_page(){
 FILE* index;
 index=fopen(POSTS_FILENAME,"w");
 if(index){
  fputs("<?xml version\"1.0\" encoding=\"utf-8\"?>\n",index);
  fputs("<posts>\n</posts>\n",index);
  fclose(index);
 }
 return;
}

Name: Anonymous 2012-06-26 17:30

Use Fabrice Bellard's beautiful and lovely TCC to run C as a script.

Name: Anonymous 2012-06-26 18:19

>>23
+1

Name: Anonymous 2012-06-26 18:36


          ∧_∧  
          ( ´∀`)
        /    |   
       /       .|     
       / "⌒ヽ |.イ |     
   __ |   .ノ | || |__  
  .    ノく__つ∪∪   \.
   _((_________\ .
    ̄ ̄ヽつ ̄ ̄ ̄ ̄ ̄ ̄ | | ̄
   ___________| |
    ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄| |

Name: Anonymous 2012-06-26 19:24

just use mod_php

Name: Anonymous 2012-06-26 19:35

>>26
Fuck off with your Apache shit!

Name: Anonymous 2012-06-26 21:50

bump-.

Name: Anonymous 2012-06-26 22:12

PHP is a good language. It is not a perfect language because it inherits from Ada. Ada is a flawed language where many things are left undefined. Ada is an ancient artifact that serves no purpose outside of the domain of airplane codes. Because of the improvements made upon Ada to form PHP, beginning programmers and veteran programmers alike may be led astray, thinking that modern Ada usage is a good idea. It is a mistake to believe the success of PHP justifies the continued use and popularity of Ada. Just because PHP is successful does not mean the language it has inherited from is of high quality.

Name: Anonymous 2012-06-26 22:18

bump.x

Name: Anonymous 2012-06-26 22:22

mp

Name: Anonymous 2012-06-27 1:03

I once tulpaforced a website into existence. No one else could see it though, obviously.

Name: bampu pantsu 2012-07-06 5:04

bampu pantsu

Don't change these.
Name: Email:
Entire Thread Thread List